Просмотр файла delta_framework-main/admin/styles/css/colorpicker.css

Размер файла: 3.67Kb
  1. .colorpicker {
  2. width: 356px;
  3. height: 176px;
  4. overflow: hidden;
  5. position: absolute;
  6. background: url(../images/colorpicker/colorpicker_background.png);
  7. font-family: Arial, Helvetica, sans-serif;
  8. display: none;
  9. }
  10. .colorpicker_color {
  11. width: 150px;
  12. height: 150px;
  13. left: 14px;
  14. top: 13px;
  15. position: absolute;
  16. background: #f00;
  17. overflow: hidden;
  18. cursor: crosshair;
  19. }
  20. .colorpicker_color div {
  21. position: absolute;
  22. top: 0;
  23. left: 0;
  24. width: 150px;
  25. height: 150px;
  26. background: url(../images/colorpicker/colorpicker_overlay.png);
  27. }
  28. .colorpicker_color div div {
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. width: 11px;
  33. height: 11px;
  34. overflow: hidden;
  35. background: url(../images/colorpicker/colorpicker_select.gif);
  36. margin: -5px 0 0 -5px;
  37. }
  38. .colorpicker_hue {
  39. position: absolute;
  40. top: 13px;
  41. left: 171px;
  42. width: 35px;
  43. height: 150px;
  44. cursor: n-resize;
  45. }
  46. .colorpicker_hue div {
  47. position: absolute;
  48. width: 35px;
  49. height: 9px;
  50. overflow: hidden;
  51. background: url(../images/colorpicker/colorpicker_indic.gif) left top;
  52. margin: -4px 0 0 0;
  53. left: 0px;
  54. }
  55. .colorpicker_new_color {
  56. position: absolute;
  57. width: 60px;
  58. height: 30px;
  59. left: 213px;
  60. top: 13px;
  61. background: #f00;
  62. }
  63. .colorpicker_current_color {
  64. position: absolute;
  65. width: 60px;
  66. height: 30px;
  67. left: 283px;
  68. top: 13px;
  69. background: #f00;
  70. }
  71. .colorpicker input {
  72. background-color: transparent !important;
  73. border: 1px solid transparent !important;
  74. position: absolute !important;
  75. font-size: 10px !important;
  76. font-family: Arial, Helvetica, sans-serif !important;
  77. color: #898989 !important;
  78. top: 4px !important;
  79. right: 11px !important;
  80. text-align: right !important;
  81. margin: 0 !important;
  82. padding: 0 !important;
  83. height: 11px !important;
  84. -moz-box-shadow: none !important;
  85. -webkit-box-shadow: none !important;
  86. box-shadow: none !important;
  87. }
  88. .colorpicker_hex {
  89. position: absolute;
  90. width: 72px;
  91. height: 22px;
  92. background: url(../images/colorpicker/colorpicker_hex.png) top;
  93. left: 212px;
  94. top: 142px;
  95. }
  96. .colorpicker_hex input {
  97. right: 6px;
  98. }
  99. .colorpicker_field {
  100. height: 22px;
  101. width: 62px;
  102. background-position: top;
  103. position: absolute;
  104. }
  105. .colorpicker_field span {
  106. position: absolute;
  107. width: 12px;
  108. height: 22px;
  109. overflow: hidden;
  110. top: 0;
  111. right: 0;
  112. cursor: n-resize;
  113. }
  114. .colorpicker_rgb_r {
  115. background-image: url(../images/colorpicker/colorpicker_rgb_r.png);
  116. top: 52px;
  117. left: 212px;
  118. }
  119. .colorpicker_rgb_g {
  120. background-image: url(../images/colorpicker/colorpicker_rgb_g.png);
  121. top: 82px;
  122. left: 212px;
  123. }
  124. .colorpicker_rgb_b {
  125. background-image: url(../images/colorpicker/colorpicker_rgb_b.png);
  126. top: 112px;
  127. left: 212px;
  128. }
  129. .colorpicker_hsb_h {
  130. background-image: url(../images/colorpicker/colorpicker_hsb_h.png);
  131. top: 52px;
  132. left: 282px;
  133. }
  134. .colorpicker_hsb_s {
  135. background-image: url(../images/colorpicker/colorpicker_hsb_s.png);
  136. top: 82px;
  137. left: 282px;
  138. }
  139. .colorpicker_hsb_b {
  140. background-image: url(../images/colorpicker/colorpicker_hsb_b.png);
  141. top: 112px;
  142. left: 282px;
  143. }
  144. .colorpicker_submit {
  145. position: absolute;
  146. width: 22px;
  147. height: 22px;
  148. background: url(../images/colorpicker/colorpicker_submit.png) top;
  149. left: 322px;
  150. top: 142px;
  151. overflow: hidden;
  152. }
  153. .colorpicker_focus {
  154. background-position: center;
  155. }
  156. .colorpicker_hex.colorpicker_focus {
  157. background-position: bottom;
  158. }
  159. .colorpicker_submit.colorpicker_focus {
  160. background-position: bottom;
  161. }
  162. .colorpicker_slider {
  163. background-position: bottom;
  164. }
  165.  
  166. .colorselector {
  167. display: inline-block; height: 28px; width: 28x; vertical-align: middle;
  168. position: relative; vertical-align: middle; margin-left: 5px;
  169. }
  170. .colorselector span {
  171. display: block; height: 28px; width: 28px; position: absolute; left: 0; top: 0; cursor: pointer;
  172. background: #000 url(../images/colorpicker/select2.png) no-repeat -4px -4px;
  173. }
  174.