themes.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. /* Common stuff */
  2. .picker-wrapper,
  3. .slide-wrapper {
  4. position: relative;
  5. float: left;
  6. }
  7. .picker-indicator,
  8. .slide-indicator {
  9. position: absolute;
  10. left: 0;
  11. top: 0;
  12. pointer-events: none;
  13. }
  14. .picker,
  15. .slide {
  16. cursor: crosshair;
  17. float: left;
  18. }
  19. /* Default skin */
  20. .cp-default {
  21. background-color: gray;
  22. padding: 12px;
  23. box-shadow: 0 0 40px #000;
  24. border-radius: 15px;
  25. float: left;
  26. }
  27. .cp-default .picker {
  28. width: 200px;
  29. height: 200px;
  30. }
  31. .cp-default .slide {
  32. width: 30px;
  33. height: 200px;
  34. }
  35. .cp-default .slide-wrapper {
  36. margin-left: 10px;
  37. }
  38. .cp-default .picker-indicator {
  39. width: 5px;
  40. height: 5px;
  41. border: 2px solid darkblue;
  42. -moz-border-radius: 4px;
  43. -o-border-radius: 4px;
  44. -webkit-border-radius: 4px;
  45. border-radius: 4px;
  46. opacity: .5;
  47. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  48. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  49. filter: alpha(opacity=50);
  50. background-color: white;
  51. }
  52. .cp-default .slide-indicator {
  53. width: 100%;
  54. height: 10px;
  55. left: -4px;
  56. opacity: .6;
  57. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  58. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  59. filter: alpha(opacity=60);
  60. border: 4px solid lightblue;
  61. -moz-border-radius: 4px;
  62. -o-border-radius: 4px;
  63. -webkit-border-radius: 4px;
  64. border-radius: 4px;
  65. background-color: white;
  66. }
  67. /* Small skin */
  68. .cp-small {
  69. padding: 5px;
  70. background-color: white;
  71. float: left;
  72. border-radius: 5px;
  73. }
  74. .cp-small .picker {
  75. width: 100px;
  76. height: 100px;
  77. }
  78. .cp-small .slide {
  79. width: 15px;
  80. height: 100px;
  81. }
  82. .cp-small .slide-wrapper {
  83. margin-left: 5px;
  84. }
  85. .cp-small .picker-indicator {
  86. width: 1px;
  87. height: 1px;
  88. border: 1px solid black;
  89. background-color: white;
  90. }
  91. .cp-small .slide-indicator {
  92. width: 100%;
  93. height: 2px;
  94. left: 0px;
  95. background-color: black;
  96. }
  97. /* Fancy skin */
  98. .cp-fancy {
  99. padding: 10px;
  100. /* background-color: #C5F7EA; */
  101. background: -webkit-linear-gradient(top, #aaa 0%, #222 100%);
  102. float: left;
  103. border: 1px solid #999;
  104. box-shadow: inset 0 0 10px white;
  105. }
  106. .cp-fancy .picker {
  107. width: 200px;
  108. height: 200px;
  109. }
  110. .cp-fancy .slide {
  111. width: 30px;
  112. height: 200px;
  113. }
  114. .cp-fancy .slide-wrapper {
  115. margin-left: 10px;
  116. }
  117. .cp-fancy .picker-indicator {
  118. width: 24px;
  119. height: 24px;
  120. background-image: url(http://cdn1.iconfinder.com/data/icons/fugue/bonus/icons-24/target.png);
  121. }
  122. .cp-fancy .slide-indicator {
  123. width: 30px;
  124. height: 31px;
  125. left: 30px;
  126. background-image: url(http://cdn1.iconfinder.com/data/icons/bluecoral/Left.png);
  127. }
  128. /* Normal skin */
  129. .cp-normal {
  130. padding: 10px;
  131. background-color: white;
  132. float: left;
  133. border: 4px solid #d6d6d6;
  134. box-shadow: inset 0 0 10px white;
  135. }
  136. .cp-normal .picker {
  137. width: 200px;
  138. height: 200px;
  139. }
  140. .cp-normal .slide {
  141. width: 30px;
  142. height: 200px;
  143. }
  144. .cp-normal .slide-wrapper {
  145. margin-left: 10px;
  146. }
  147. .cp-normal .picker-indicator {
  148. width: 5px;
  149. height: 5px;
  150. border: 1px solid gray;
  151. opacity: .5;
  152. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  153. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  154. filter: alpha(opacity=50);
  155. background-color: white;
  156. pointer-events: none;
  157. }
  158. .cp-normal .slide-indicator {
  159. width: 100%;
  160. height: 10px;
  161. left: -4px;
  162. opacity: .6;
  163. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  164. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  165. filter: alpha(opacity=60);
  166. border: 4px solid gray;
  167. background-color: white;
  168. pointer-events: none;
  169. }