jquery-minicolors-rails 2.1.4.0 → 2.2.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,293 +0,0 @@
1
- .minicolors {
2
- position: relative;
3
- }
4
-
5
- .minicolors-swatch {
6
- position: absolute;
7
- vertical-align: middle;
8
-
9
- <% if JqueryMinicolorsRails.use_data_urls? %>
10
- background: url(<%= JqueryMinicolorsRails.image_data_url :swatch %>) 0 0;
11
- <% else %>
12
- background: url(<%= image_path 'jquery.minicolors.png' %>) -80px 0;
13
- <% end %>
14
-
15
- border: solid 1px #ccc;
16
- cursor: text;
17
- padding: 0;
18
- margin: 0;
19
- display: inline-block;
20
- }
21
-
22
- .minicolors-swatch-color {
23
- position: absolute;
24
- top: 0;
25
- left: 0;
26
- right: 0;
27
- bottom: 0;
28
- }
29
-
30
- .minicolors input[type=hidden] + .minicolors-swatch {
31
- width: 28px;
32
- position: static;
33
- cursor: pointer;
34
- }
35
-
36
- /* Panel */
37
- .minicolors-panel {
38
- position: absolute;
39
- width: 173px;
40
- height: 152px;
41
- background: white;
42
- border: solid 1px #CCC;
43
- box-shadow: 0 0 20px rgba(0, 0, 0, .2);
44
- z-index: 99999;
45
- -moz-box-sizing: content-box;
46
- -webkit-box-sizing: content-box;
47
- box-sizing: content-box;
48
- display: none;
49
- }
50
-
51
- .minicolors-panel.minicolors-visible {
52
- display: block;
53
- }
54
-
55
- /* Panel positioning */
56
- .minicolors-position-top .minicolors-panel {
57
- top: -154px;
58
- }
59
-
60
- .minicolors-position-right .minicolors-panel {
61
- right: 0;
62
- }
63
-
64
- .minicolors-position-bottom .minicolors-panel {
65
- top: auto;
66
- }
67
-
68
- .minicolors-position-left .minicolors-panel {
69
- left: 0;
70
- }
71
-
72
- .minicolors-with-opacity .minicolors-panel {
73
- width: 194px;
74
- }
75
-
76
- .minicolors .minicolors-grid {
77
- position: absolute;
78
- top: 1px;
79
- left: 1px;
80
- width: 150px;
81
- height: 150px;
82
-
83
- <% if JqueryMinicolorsRails.use_data_urls? %>
84
- background: url(<%= JqueryMinicolorsRails.image_data_url :grid %>) 0 0;
85
- <% else %>
86
- background: url(<%= image_path 'jquery.minicolors.png' %>) -120px 0;
87
- <% end %>
88
-
89
- cursor: crosshair;
90
- }
91
-
92
- .minicolors .minicolors-grid-inner {
93
- position: absolute;
94
- top: 0;
95
- left: 0;
96
- width: 150px;
97
- height: 150px;
98
- background: none;
99
- }
100
-
101
- .minicolors-slider-saturation .minicolors-grid {
102
- <% if JqueryMinicolorsRails.use_data_urls? %>
103
- background-position: -300px 0;
104
- <% else %>
105
- background-position: -420px 0;
106
- <% end %>
107
- }
108
-
109
- .minicolors-slider-saturation .minicolors-grid-inner {
110
- <% if JqueryMinicolorsRails.use_data_urls? %>
111
- background: url(<%= JqueryMinicolorsRails.image_data_url :grid %>) -150px 0;
112
- <% else %>
113
- background: url(<%= image_path 'jquery.minicolors.png' %>) -270px 0;
114
- <% end %>
115
- }
116
-
117
- .minicolors-slider-brightness .minicolors-grid {
118
- <% if JqueryMinicolorsRails.use_data_urls? %>
119
- background-position: -450px 0;
120
- <% else %>
121
- background-position: -570px 0;
122
- <% end %>
123
- }
124
-
125
- .minicolors-slider-brightness .minicolors-grid-inner {
126
- background: black;
127
- }
128
-
129
- .minicolors-slider-wheel .minicolors-grid {
130
- <% if JqueryMinicolorsRails.use_data_urls? %>
131
- background-position: -600px 0;
132
- <% else %>
133
- background-position: -720px 0;
134
- <% end %>
135
- }
136
-
137
- .minicolors-slider,
138
- .minicolors-opacity-slider {
139
- position: absolute;
140
- top: 1px;
141
- left: 152px;
142
- width: 20px;
143
- height: 150px;
144
-
145
- <% if JqueryMinicolorsRails.use_data_urls? %>
146
- background: white url(<%= JqueryMinicolorsRails.image_data_url :slider %>) 0 0;
147
- <% else %>
148
- background: white url(<%= image_path 'jquery.minicolors.png' %>) 0 0;
149
- <% end %>
150
-
151
- cursor: row-resize;
152
- }
153
-
154
- .minicolors-slider-saturation .minicolors-slider {
155
- background-position: -60px 0;
156
- }
157
-
158
- .minicolors-slider-brightness .minicolors-slider {
159
- background-position: -20px 0;
160
- }
161
-
162
- .minicolors-slider-wheel .minicolors-slider {
163
- background-position: -20px 0;
164
- }
165
-
166
- .minicolors-opacity-slider {
167
- left: 173px;
168
- background-position: -40px 0;
169
- display: none;
170
- }
171
-
172
- .minicolors-with-opacity .minicolors-opacity-slider {
173
- display: block;
174
- }
175
-
176
- /* Pickers */
177
- .minicolors-grid .minicolors-picker {
178
- position: absolute;
179
- top: 70px;
180
- left: 70px;
181
- width: 12px;
182
- height: 12px;
183
- border: solid 1px black;
184
- border-radius: 10px;
185
- margin-top: -6px;
186
- margin-left: -6px;
187
- background: none;
188
- }
189
-
190
- .minicolors-grid .minicolors-picker > div {
191
- position: absolute;
192
- top: 0;
193
- left: 0;
194
- width: 8px;
195
- height: 8px;
196
- border-radius: 8px;
197
- border: solid 2px white;
198
- -moz-box-sizing: content-box;
199
- -webkit-box-sizing: content-box;
200
- box-sizing: content-box;
201
- }
202
-
203
- .minicolors-picker {
204
- position: absolute;
205
- top: 0;
206
- left: 0;
207
- width: 18px;
208
- height: 2px;
209
- background: white;
210
- border: solid 1px black;
211
- margin-top: -2px;
212
- -moz-box-sizing: content-box;
213
- -webkit-box-sizing: content-box;
214
- box-sizing: content-box;
215
- }
216
-
217
- /* Inline controls */
218
- .minicolors-inline {
219
- display: inline-block;
220
- }
221
-
222
- .minicolors-inline .minicolors-input {
223
- display: none !important;
224
- }
225
-
226
- .minicolors-inline .minicolors-panel {
227
- position: relative;
228
- top: auto;
229
- left: auto;
230
- box-shadow: none;
231
- z-index: auto;
232
- display: inline-block;
233
- }
234
-
235
- /* Default theme */
236
- .minicolors-theme-default .minicolors-swatch {
237
- top: 5px;
238
- left: 5px;
239
- width: 18px;
240
- height: 18px;
241
- }
242
- .minicolors-theme-default.minicolors-position-right .minicolors-swatch {
243
- left: auto;
244
- right: 5px;
245
- }
246
- .minicolors-theme-default.minicolors {
247
- width: auto;
248
- display: inline-block;
249
- }
250
- .minicolors-theme-default .minicolors-input {
251
- height: 20px;
252
- width: auto;
253
- display: inline-block;
254
- padding-left: 26px;
255
- }
256
- .minicolors-theme-default.minicolors-position-right .minicolors-input {
257
- padding-right: 26px;
258
- padding-left: inherit;
259
- }
260
-
261
- /* Bootstrap theme */
262
- .minicolors-theme-bootstrap .minicolors-swatch {
263
- top: 3px;
264
- left: 3px;
265
- width: 28px;
266
- height: 28px;
267
- border-radius: 3px;
268
- }
269
- .minicolors-theme-bootstrap .minicolors-swatch-color {
270
- border-radius: inherit;
271
- }
272
- .minicolors-theme-bootstrap.minicolors-position-right .minicolors-swatch {
273
- left: auto;
274
- right: 3px;
275
- }
276
- .minicolors-theme-bootstrap .minicolors-input {
277
- padding-left: 44px;
278
- }
279
- .minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {
280
- padding-right: 44px;
281
- padding-left: 12px;
282
- }
283
- .minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
284
- top: 4px;
285
- left: 4px;
286
- width: 37px;
287
- height: 37px;
288
- border-radius: 5px;
289
- }
290
- .minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch {
291
- width: 24px;
292
- height: 24px;
293
- }