Projet

Général

Profil

Paste
Télécharger (4,5 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / sweaver / plugins / sweaver_plugin_editor / colorpicker / css / colorpicker.css @ 651307cd

1
.colorpicker {
2
        width: 409px;
3
        height: 170px;
4
        overflow: hidden;
5
        position: absolute;
6
        background: url(../images/colorpicker_background.png);
7
        font-family: Arial, Helvetica, sans-serif;
8
        display: none;
9
}
10

    
11

    
12
.colorpicker_color {
13
        width: 150px;
14
        height: 150px;
15
        left: 11px;
16
        top: 10px;
17
        position: absolute;
18
        background: #f00;
19
        overflow: hidden;
20
        cursor: crosshair;
21
}
22

    
23

    
24
.colorpicker_color div {
25
        position: absolute;
26
        top: 0;
27
        left: 0;
28
        width: 150px;
29
        height: 150px;
30
        background: url(../images/colorpicker_overlay.png);
31
}
32

    
33

    
34
.colorpicker_color div div {
35
        position: absolute;
36
        top: 0;
37
        left: 0;
38
        width: 11px;
39
        height: 11px;
40
        overflow: hidden;
41
        background: url(../images/colorpicker_select.gif);
42
        margin: -5px 0 0 -5px;
43
}
44

    
45

    
46
.colorpicker_hue {
47
        position: absolute;
48
        top: 13px;
49
        left: 168px;
50
        width: 35px;
51
        height: 150px;
52
        cursor: n-resize;
53
}
54

    
55

    
56
.colorpicker_hue div {
57
        position: absolute;
58
        width: 35px;
59
        height: 9px;
60
        overflow: hidden;
61
        background: url(../images/colorpicker_indic.gif) left top;
62
        margin: -4px 0 0 0;
63
        left: 0px;
64
}
65

    
66

    
67
.colorpicker_new_color {
68
        position: absolute;
69
        width: 60px;
70
        height: 30px;
71
        left: 210px;
72
        top: 10px;
73
        background: #f00;
74
}
75

    
76

    
77
.colorpicker_current_color {
78
        position: absolute;
79
        width: 60px;
80
        height: 30px;
81
        left: 280px;
82
        top: 10px;
83
        background: #f00;
84
}
85

    
86

    
87
.colorpicker input {
88
        background-color: transparent;
89
        border: 1px solid transparent;
90
        position: absolute;
91
        font-size: 10px;
92
        font-family: Arial, Helvetica, sans-serif;
93
        color: #898989;
94
        top: 4px;
95
        right: 11px;
96
        text-align: right;
97
        margin: 0;
98
        padding: 0;
99
        height: 11px;
100
}
101

    
102

    
103
.colorpicker_hex {
104
        position: absolute;
105
        width: 72px;
106
        height: 22px;
107
        background: url(../images/colorpicker_hex.png) top;
108
        left: 209px;
109
        top: 139px;
110
}
111

    
112

    
113
.colorpicker_hex input {
114
        right: 6px;
115
}
116

    
117

    
118
.colorpicker_field {
119
        height: 22px;
120
        width: 62px;
121
        background-position: top;
122
        position: absolute;
123
}
124

    
125

    
126
.colorpicker_field span {
127
        position: absolute;
128
        width: 12px;
129
        height: 22px;
130
        overflow: hidden;
131
        top: 0;
132
        right: 0;
133
        cursor: n-resize;
134
}
135

    
136

    
137
.colorpicker_rgb_r {
138
        background-image: url(../images/colorpicker_rgb_r.png);
139
        top: 49px;
140
        left: 209px;
141
}
142

    
143

    
144
.colorpicker_rgb_g {
145
        background-image: url(../images/colorpicker_rgb_g.png);
146
        top: 79px;
147
        left: 209px;
148
}
149

    
150

    
151
.colorpicker_rgb_b {
152
        background-image: url(../images/colorpicker_rgb_b.png);
153
        top: 109px;
154
        left: 209px;
155
}
156

    
157

    
158
.colorpicker_hsb_h {
159
        background-image: url(../images/colorpicker_hsb_h.png);
160
        top: 49px;
161
        left: 279px;
162
}
163

    
164

    
165
.colorpicker_hsb_s {
166
        background-image: url(../images/colorpicker_hsb_s.png);
167
        top: 79px;
168
        left: 279px;
169
}
170

    
171

    
172
.colorpicker_hsb_b {
173
        background-image: url(../images/colorpicker_hsb_b.png);
174
        top: 109px;
175
        left: 279px;
176
}
177

    
178

    
179
.colorpicker_submit {
180
        position: absolute;
181
        width: 22px;
182
        height: 22px;
183
        background: url(../images/colorpicker_submit.png) top;
184
        left: 319px;
185
        top: 139px;
186
        overflow: hidden;
187

    
188
        cursor: pointer;
189
}
190

    
191

    
192
.colorpicker_transparent {
193
  position: absolute;
194
  height: 22px;
195

    
196
  width: 22px;
197
  left: 289px;
198
  top: 139px;
199
  overflow: hidden;
200
}
201

    
202

    
203
.colorpicker_transparent a {
204
        color: #898989 !important;
205

    
206
        text-indent: -10000px;
207

    
208
        overflow: hidden;
209

    
210
        display: block;
211

    
212
        background: transparent url(../images/colorpicker_transparent.png) no-repeat top left;
213

    
214
        height: 22px;
215

    
216
  width: 22px;
217
}
218

    
219

    
220

    
221
.colorpicker_transparent a:hover {
222

    
223
        background-position: bottom;
224

    
225
}
226

    
227

    
228
.colorpicker_focus {
229
        background-position: center;
230
}
231

    
232

    
233
.colorpicker_hex.colorpicker_focus {
234
        background-position: bottom;
235
}
236

    
237

    
238
.colorpicker_submit.colorpicker_focus {
239
        background-position: bottom;
240
}
241

    
242

    
243
.colorpicker_slider {
244
        background-position: bottom;
245
}
246

    
247
/* sweaver color widget overrides */
248

    
249
#sweaver_plugin_editor .colorSelector-wrapper {
250
  height:36px;
251
  width: 36px;
252
  background: transparent url(../images/transparent.gif) no-repeat 3px 3px !important;
253
  position:relative;
254
  float: left;
255
}
256

    
257
.colorpicker {
258
  z-index: 10001;
259
}
260

    
261
#sweaver_plugin_editor .colorSelector {
262
  background: url(../images/select2.png) repeat scroll 0 0 !important;
263
  height:36px;
264
  left:0;
265
  position:absolute;
266
  top:0;
267
  width:36px;
268
}
269

    
270
#sweaver_plugin_editor .colorSelector div {
271
  background: url(../images/select2.png) repeat scroll center center !important;
272
  height:28px;
273
  left:4px;
274
  position:absolute;
275
  top:4px;
276
  width:28px;
277
  box-shadow: 1px 1px 2px #8A9F16 !important;
278
  -moz-box-shadow: 1px 1px 2px #8A9F16 !important;
279
  -webkit-box-shadow: 1px 1px 2px #8A9F16 !important;
280
}
281

    
282
/* sweaver previous colors */
283

    
284
.colorpicker_previous_colors {
285
  position: absolute;
286
  left: 348px;
287
  top: 8px;
288
}
289

    
290
.colorpicker_previous_colors_color {
291
  width: 14px;
292
  height: 14px;
293
  border: 1px solid #eee;
294
  margin: 1px 1px;
295
  float: left;
296
  cursor: pointer;
297
}