Advertisement
Guest User

Untitled

a guest
Apr 21st, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.67 KB | None | 0 0
  1.         html { height: 100% }
  2.         body { height: 100%; margin: 0; padding: 0; position: relative; }
  3.         #imageView { height: 100%; background-size: cover; display: none; }
  4.         #progressViewDisplay { padding: 10% 60px 20px 60px; text-align: center; font-family: Arial; font-size: 36px; }
  5.         #slideShowControls { position: absolute; top: 10px; right: 20px; width: 100%; height: 60px; line-height: 60px; text-align: right; display: none; }
  6.  
  7. .meter {
  8.     height: 40px;
  9.     position: relative;
  10.     margin: 0 60px 60px 60px;
  11.     background: #ccc;
  12.     -moz-border-radius: 25px;
  13.     -webkit-border-radius: 25px;
  14.     border-radius: 25px;
  15.     padding: 10px;
  16.     -webkit-box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
  17.     -moz-box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
  18.     box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
  19. }
  20. .meter > span {
  21.     display: block;
  22.     height: 100%;
  23.     -webkit-border-top-right-radius: 8px;
  24.     -webkit-border-bottom-right-radius: 8px;
  25.     -moz-border-radius-topright: 8px;
  26.     -moz-border-radius-bottomright: 8px;
  27.     border-top-right-radius: 8px;
  28.     border-bottom-right-radius: 8px;
  29.     -webkit-border-top-left-radius: 20px;
  30.     -webkit-border-bottom-left-radius: 20px;
  31.     -moz-border-radius-topleft: 20px;
  32.     -moz-border-radius-bottomleft: 20px;
  33.     border-top-left-radius: 20px;
  34.     border-bottom-left-radius: 20px;
  35.     background-color: rgb(43, 194, 83);
  36.     background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(43, 194, 83)), color-stop(1, rgb(84, 240, 84)));
  37.     background-image: -moz-linear-gradient( center bottom, rgb(43, 194, 83) 37%, rgb(84, 240, 84) 69%);
  38.     -webkit-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  39.     -moz-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  40.     box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  41.     position: relative;
  42.     overflow: hidden;
  43. }
  44. .meter > span:after,
  45. .animate > span > span {
  46.     content: "";
  47.     position: absolute;
  48.     top: 0;
  49.     left: 0;
  50.     bottom: 0;
  51.     right: 0;
  52.     background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, rgba(255, 255, 255, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.75, rgba(255, 255, 255, .2)), color-stop(.75, transparent), to(transparent));
  53.     background-image: -moz-linear-gradient( -45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
  54.     z-index: 1;
  55.     -webkit-background-size: 50px 50px;
  56.     -moz-background-size: 50px 50px;
  57.     background-size: 50px 50px;
  58.     -webkit-animation: move 2s linear infinite;
  59.     -moz-animation: move 2s linear infinite;
  60.     -webkit-border-top-right-radius: 8px;
  61.     -webkit-border-bottom-right-radius: 8px;
  62.     -moz-border-radius-topright: 8px;
  63.     -moz-border-radius-bottomright: 8px;
  64.     border-top-right-radius: 8px;
  65.     border-bottom-right-radius: 8px;
  66.     -webkit-border-top-left-radius: 20px;
  67.     -webkit-border-bottom-left-radius: 20px;
  68.     -moz-border-radius-topleft: 20px;
  69.     -moz-border-radius-bottomleft: 20px;
  70.     border-top-left-radius: 20px;
  71.     border-bottom-left-radius: 20px;
  72.     overflow: hidden;
  73. }
  74. .animate > span:after {
  75.     display: none;
  76. }
  77. @-webkit-keyframes move {
  78.     0% {
  79.         background-position: 0 0;
  80.     }
  81.     100% {
  82.         background-position: 50px 50px;
  83.     }
  84. }
  85. @-moz-keyframes move {
  86.     0% {
  87.         background-position: 0 0;
  88.     }
  89.     100% {
  90.         background-position: 50px 50px;
  91.     }
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement