epiclock.retro-countdown.css 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*!
  2. * Retro Style Countdown
  3. * Copyright (c) 2009 Eric Garside (http://eric.garside.name)
  4. * Dual licensed under:
  5. * MIT: http://www.opensource.org/licenses/mit-license.php
  6. * GPLv3: http://www.opensource.org/licenses/gpl-3.0.html
  7. */
  8. /* Master Style
  9. ----------------------------------*/
  10. .epiclock-retro .epiclock, .epiclock-retro .epiclock-img
  11. { display: block; float: left; }
  12. .epiclock-retro-countdown .epiclock-img .epiclock-animation,
  13. .epiclock-retro-countdown .epiclock-separator { display: block; float: left; background-image: url(epiclock.retro-countdown.png); background-repeat: no-repeat; height: 40px; }
  14. /* Individual Styles
  15. ----------------------------------*/
  16. .epiclock-retro-countdown .epiclock-spacer { display: block; float: left; width: 10px; height: 1px; margin: 0; }
  17. .epiclock-retro-countdown .epiclock-animation { width: 40px; }
  18. .epiclock-retro-countdown .epiclock-separator { width: 26px; text-indent: -999999px; background-position: -120px -360px; }
  19. /* Container Clearfix
  20. ----------------------------------*/
  21. .epiclock-retro-countdown:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
  22. .epiclock-retro-countdown { display: inline-block; }
  23. * html .epiclock-retro-countdown { height:1%; }
  24. .epiclock-retro-countdown { display:block; }
  25. /* Static Positions
  26. ----------------------------------*/
  27. .epiclock-retro-countdown .d0 .s { background-position: 0 -360px; }
  28. .epiclock-retro-countdown .d1 .s { background-position: 0 -320px; }
  29. .epiclock-retro-countdown .d2 .s { background-position: 0 -280px; }
  30. .epiclock-retro-countdown .d3 .s { background-position: 0 -240px; }
  31. .epiclock-retro-countdown .d4 .s { background-position: 0 -200px; }
  32. .epiclock-retro-countdown .d5 .s { background-position: 0 -160px; }
  33. .epiclock-retro-countdown .d6 .s { background-position: 0 -120px; }
  34. .epiclock-retro-countdown .d7 .s { background-position: 0 -80px; }
  35. .epiclock-retro-countdown .d8 .s { background-position: 0 -40px; }
  36. .epiclock-retro-countdown .d9 .s { background-position: 0 0; }
  37. /* Animation Phase 1
  38. ----------------------------------*/
  39. .epiclock-retro-countdown .d9 .a1 { background-position: -40px -360px; }
  40. .epiclock-retro-countdown .d0 .a1 { background-position: -40px -320px; }
  41. .epiclock-retro-countdown .d1 .a1 { background-position: -40px -280px; }
  42. .epiclock-retro-countdown .d2 .a1 { background-position: -40px -240px; }
  43. .epiclock-retro-countdown .d3 .a1 { background-position: -40px -200px; }
  44. .epiclock-retro-countdown .d4 .a1 { background-position: -40px -160px; }
  45. .epiclock-retro-countdown .d5 .a1 { background-position: -40px -120px; }
  46. .epiclock-retro-countdown .d6 .a1 { background-position: -40px -80px; }
  47. .epiclock-retro-countdown .d7 .a1 { background-position: -40px -40px; }
  48. .epiclock-retro-countdown .d8 .a1 { background-position: -40px 0; }
  49. /* Animation Phase 2
  50. ----------------------------------*/
  51. .epiclock-retro-countdown .d9 .a2 { background-position: -80px -360px; }
  52. .epiclock-retro-countdown .d0 .a2 { background-position: -80px -320px; }
  53. .epiclock-retro-countdown .d1 .a2 { background-position: -80px -280px; }
  54. .epiclock-retro-countdown .d2 .a2 { background-position: -80px -240px; }
  55. .epiclock-retro-countdown .d3 .a2 { background-position: -80px -200px; }
  56. .epiclock-retro-countdown .d4 .a2 { background-position: -80px -160px; }
  57. .epiclock-retro-countdown .d5 .a2 { background-position: -80px -120px; }
  58. .epiclock-retro-countdown .d6 .a2 { background-position: -80px -80px; }
  59. .epiclock-retro-countdown .d7 .a2 { background-position: -80px -40px; }
  60. .epiclock-retro-countdown .d8 .a2 { background-position: -80px 0; }