The version of vichan running on lainchan.org
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

160 rindas
6.5KB

  1. /*---------------------------*/
  2. .container {
  3. margin: auto;
  4. width : 50%;
  5. }
  6. .progress-bar {
  7. background-color: #1a1a1a;
  8. height: 25px;
  9. padding: 5px;
  10. width: 350px;
  11. position: relative;
  12. margin: 70px 0 20px 0;
  13. -moz-border-radius: 5px;
  14. -webkit-border-radius: 5px;
  15. border-radius: 5px;
  16. -moz-box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
  17. -webkit-box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
  18. box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
  19. }
  20. .progress-bar span {
  21. display: inline-block;
  22. height: 100%;
  23. background-color: #777;
  24. -moz-border-radius: 3px;
  25. -webkit-border-radius: 3px;
  26. border-radius: 3px;
  27. -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
  28. -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
  29. box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
  30. -webkit-transition: width .4s ease-in-out;
  31. -moz-transition: width .4s ease-in-out;
  32. -ms-transition: width .4s ease-in-out;
  33. -o-transition: width .4s ease-in-out;
  34. transition: width .4s ease-in-out;
  35. }
  36. .blue span {
  37. background-color: #34c2e3;
  38. }
  39. .red span {
  40. background-color: #f42323;
  41. background-image: -webkit-gradient(linear, left top, left bottom, from(#f42323), to(#ff0000));
  42. background-image: -webkit-linear-gradient(top, #f42323, #ff0000);
  43. background-image: -moz-linear-gradient(top, #f42323, #ff0000);
  44. background-image: -ms-linear-gradient(top, #f42323, #ff0000);
  45. background-image: -o-linear-gradient(top, #f42323, #ff0000);
  46. background-image: linear-gradient(top, #f42323, #ff0000);
  47. }
  48. .green span {
  49. background-color: #a5df41;
  50. background-image: -webkit-gradient(linear, left top, left bottom, from(#a5df41), to(#4ca916));
  51. background-image: -webkit-linear-gradient(top, #a5df41, #4ca916);
  52. background-image: -moz-linear-gradient(top, #a5df41, #4ca916);
  53. background-image: -ms-linear-gradient(top, #a5df41, #4ca916);
  54. background-image: -o-linear-gradient(top, #a5df41, #4ca916);
  55. background-image: linear-gradient(top, #a5df41, #4ca916);
  56. }
  57. /*---------------------------*/
  58. .stripes span {
  59. -webkit-background-size: 30px 30px;
  60. -moz-background-size: 30px 30px;
  61. background-size: 30px 30px;
  62. background-image: -webkit-gradient(linear, left top, right bottom,
  63. color-stop(.25, rgba(255, 255, 255, .15)), color-stop(.25, transparent),
  64. color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .15)),
  65. color-stop(.75, rgba(255, 255, 255, .15)), color-stop(.75, transparent),
  66. to(transparent));
  67. background-image: -webkit-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
  68. transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
  69. transparent 75%, transparent);
  70. background-image: -moz-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
  71. transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
  72. transparent 75%, transparent);
  73. background-image: -ms-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
  74. transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
  75. transparent 75%, transparent);
  76. background-image: -o-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
  77. transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
  78. transparent 75%, transparent);
  79. background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
  80. transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
  81. transparent 75%, transparent);
  82. -webkit-animation: animate-stripes 3s linear infinite;
  83. -moz-animation: animate-stripes 3s linear infinite;
  84. }
  85. @-webkit-keyframes animate-stripes {
  86. 0% {background-position: 0 0;} 100% {background-position: 60px 0;}
  87. }
  88. @-moz-keyframes animate-stripes {
  89. 0% {background-position: 0 0;} 100% {background-position: 60px 0;}
  90. }
  91. /*---------------------------*/
  92. .shine span {
  93. position: relative;
  94. }
  95. .shine span::after {
  96. content: '';
  97. opacity: 0;
  98. position: absolute;
  99. top: 0;
  100. right: 0;
  101. bottom: 0;
  102. left: 0;
  103. background: #fff;
  104. -moz-border-radius: 3px;
  105. -webkit-border-radius: 3px;
  106. border-radius: 3px;
  107. -webkit-animation: animate-shine 2s ease-out infinite;
  108. -moz-animation: animate-shine 2s ease-out infinite;
  109. }
  110. @-webkit-keyframes animate-shine {
  111. 0% {opacity: 0; width: 0;}
  112. 50% {opacity: .5;}
  113. 100% {opacity: 0; width: 95%;}
  114. }
  115. @-moz-keyframes animate-shine {
  116. 0% {opacity: 0; width: 0;}
  117. 50% {opacity: .5;}
  118. 100% {opacity: 0; width: 95%;}
  119. }
  120. .glow span {
  121. -moz-box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset, 0 -5px 5px rgba(255, 255, 255, .7) inset;
  122. -webkit-box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset, 0 -5px 5px rgba(255, 255, 255, .7) inset;
  123. box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset, 0 -5px 5px rgba(255, 255, 255, .7) inset;
  124. -webkit-animation: animate-glow 1s ease-out infinite;
  125. -moz-animation: animate-glow 1s ease-out infinite;
  126. }
  127. @-webkit-keyframes animate-glow {
  128. 0% { -webkit-box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset, 0 -5px 5px rgba(255, 255, 255, .7) inset;}
  129. 50% { -webkit-box-shadow: 0 5px 5px rgba(255, 255, 255, .3) inset, 0 -5px 5px rgba(255, 255, 255, .3) inset;}
  130. 100% { -webkit-box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset, 0 -5px 5px rgba(255, 255, 255, .7) inset;}
  131. }
  132. @-moz-keyframes animate-glow {
  133. 0% { -moz-box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset, 0 -5px 5px rgba(255, 255, 255, .7) inset;}
  134. 50% { -moz-box-shadow: 0 5px 5px rgba(255, 255, 255, .3) inset, 0 -5px 5px rgba(255, 255, 255, .3) inset;}
  135. 100% { -moz-box-shadow: 0 5px 5px rgba(255, 255, 255, .7) inset, 0 -5px 5px rgba(255, 255, 255, .7) inset;}
  136. }