demos.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. body, html {
  2. margin: 0;
  3. font-family: Tahoma;
  4. font-size: 11pt;
  5. }
  6. body {
  7. padding: 15px;
  8. }
  9. br {
  10. display: block;
  11. content: "";
  12. margin-top: 15px;
  13. }
  14. h2 {
  15. padding-top: 1em;
  16. }
  17. canvas {
  18. position: absolute;
  19. top: 0;
  20. bottom: 0;
  21. left: 0;
  22. right: 0;
  23. width: 100%;
  24. height: 100%;
  25. }
  26. .aspect {
  27. position: relative;
  28. width: 100%;
  29. }
  30. .standalone {
  31. width: 640px;
  32. height: 480px;
  33. }
  34. .demo {
  35. clear: both;
  36. }
  37. .demo-container {
  38. float: left;
  39. width: 58%;
  40. }
  41. .demo-text {
  42. float: left;
  43. width: 38%;
  44. margin-left: 2%;
  45. margin-right: 2%;
  46. }
  47. .timeline, .timeline td:nth-child(2) {
  48. width: 100%;
  49. }
  50. .play {
  51. background: black;
  52. background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20fill%3D%27%23F2F2F2%27%20d%3D%27M30.185%2C15.5L12.556%2C24.8V6.201L30.185%2C15.5z%27%2F%3E%3C%2Fsvg%3E");
  53. width: 40px;
  54. height: 30px;
  55. }
  56. .pause {
  57. background: black;
  58. background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20fill%3D%22%23F2F2F2%22%20d%3D%22M26.94%2C6.978v17.045h-5.249V6.978H26.94z%22%2F%3E%3Cpath%20fill%3D%22%23F2F2F2%22%20d%3D%22M18.975%2C6.978v17.045h-5.249V6.978H18.975z%22%2F%3E%3C%2Fsvg%3E");
  59. width: 40px;
  60. height: 30px;
  61. margin: 0;
  62. }
  63. .checkbox {
  64. display: inline;
  65. }
  66. .slider {
  67. width: 100%;
  68. max-width: 800px;
  69. border-radius: 3px;
  70. text-align: left;
  71. transform: translateZ(0);
  72. background: #222;
  73. display: inline-block;
  74. }
  75. .slider, .slider.filled span {
  76. height: 15px;
  77. border: 1px solid #c5c5c5;
  78. }
  79. .slider div {
  80. position: absolute;
  81. top: -2px;
  82. width: 10px;
  83. height: 17px;
  84. background: white;
  85. border: #000 1px solid;
  86. border-radius: 2px;
  87. z-index: 10;
  88. }
  89. .slider.filled {
  90. border: 0;
  91. }
  92. .slider.filled div {
  93. top: -1px;
  94. margin-left: 1px;
  95. }
  96. .slider.filled span {
  97. display: block;
  98. position: absolute;
  99. background: #3ea9f5;
  100. border-top-left-radius: 3px;
  101. border-bottom-left-radius: 3px;
  102. z-index: 5;
  103. }
  104. .slider.filled span:last-child {
  105. background: #222;
  106. border-top-right-radius: 3px;
  107. border-bottom-right-radius: 3px;
  108. }
  109. .overlay {
  110. opacity: 1;
  111. transition: opacity 0.5s ease;
  112. z-index: 10;
  113. }
  114. .overlay-hide {
  115. opacity: 0;
  116. }
  117. .overlay-label {
  118. display: none;
  119. }