ideyabox 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/generators/ideyabox/admin/admin_generator.rb +25 -0
- data/lib/generators/ideyabox/admin/templates/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/addphoto.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/background-image.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/rdws_cat.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/search.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/search_button.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/small_button.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/#swfobject.js +4 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/cancel.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/jquery.uploadify.min.js +26 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify-cancel.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.css +66 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.swf +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/admin.js +14 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/chosen.jquery.js +1018 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.ui.nestedSortable.js +390 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.uploadify.min.js +26 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/modernizr.js +4 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/swfobject.js +4 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/admin.scss.erb +393 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/chosen.scss.erb +398 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font-awesome.css +303 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/.gitignore +29 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.eot +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.svg +255 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.ttf +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.woff +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/normalize.css +500 -0
- data/lib/generators/ideyabox/admin/templates/controllers/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/controllers/admin/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/controllers/admin/application_controller.rb +8 -0
- data/lib/generators/ideyabox/admin/templates/helpers/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/helpers/admin_helper.rb +104 -0
- data/lib/generators/ideyabox/admin/templates/tasks/reset_db.rake +9 -0
- data/lib/generators/ideyabox/admin/templates/tasks/seeds.rb +2 -0
- data/lib/generators/ideyabox/admin/templates/views/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/views/admin/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/views/admin/shared/_header.html.haml +11 -0
- data/lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml +10 -0
- data/lib/generators/ideyabox/admin/templates/views/admin/shared/_topbar.html.haml +6 -0
- data/lib/generators/ideyabox/admin/templates/views/layouts/admin.html.haml +39 -0
- data/lib/generators/ideyabox/admin/templates/views/layouts/login.html.haml +32 -0
- data/lib/ideyabox/version.rb +1 -1
- data/lib/ideyabox.rb +1 -2
- metadata +49 -2
- data/lib/ideyabox/engine.rb +0 -4
@@ -0,0 +1,398 @@
|
|
1
|
+
/* @group Base */
|
2
|
+
.chzn-container {
|
3
|
+
font-size: 13px;
|
4
|
+
position: relative;
|
5
|
+
display: inline-block;
|
6
|
+
zoom: 1;
|
7
|
+
*display: inline;
|
8
|
+
}
|
9
|
+
.chzn-container .chzn-drop {
|
10
|
+
background: #fff;
|
11
|
+
border: 1px solid #aaa;
|
12
|
+
border-top: 0;
|
13
|
+
position: absolute;
|
14
|
+
top: 29px;
|
15
|
+
left: 0;
|
16
|
+
-webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
|
17
|
+
-moz-box-shadow : 0 4px 5px rgba(0,0,0,.15);
|
18
|
+
box-shadow : 0 4px 5px rgba(0,0,0,.15);
|
19
|
+
z-index: 1010;
|
20
|
+
}
|
21
|
+
/* @end */
|
22
|
+
|
23
|
+
/* @group Single Chosen */
|
24
|
+
.chzn-container-single .chzn-single {
|
25
|
+
background-color: #ffffff;
|
26
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 );
|
27
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
|
28
|
+
background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
29
|
+
background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
30
|
+
background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
31
|
+
background-image: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
32
|
+
-webkit-border-radius: 5px;
|
33
|
+
-moz-border-radius : 5px;
|
34
|
+
border-radius : 5px;
|
35
|
+
-moz-background-clip : padding;
|
36
|
+
-webkit-background-clip: padding-box;
|
37
|
+
background-clip : padding-box;
|
38
|
+
border: 1px solid #aaaaaa;
|
39
|
+
-webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
|
40
|
+
-moz-box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
|
41
|
+
box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
|
42
|
+
display: block;
|
43
|
+
overflow: hidden;
|
44
|
+
white-space: nowrap;
|
45
|
+
position: relative;
|
46
|
+
height: 23px;
|
47
|
+
line-height: 24px;
|
48
|
+
padding: 0 0 0 8px;
|
49
|
+
color: #444444;
|
50
|
+
text-decoration: none;
|
51
|
+
}
|
52
|
+
.chzn-container-single .chzn-default {
|
53
|
+
color: #999;
|
54
|
+
}
|
55
|
+
.chzn-container-single .chzn-single span {
|
56
|
+
margin-right: 26px;
|
57
|
+
display: block;
|
58
|
+
overflow: hidden;
|
59
|
+
white-space: nowrap;
|
60
|
+
-o-text-overflow: ellipsis;
|
61
|
+
-ms-text-overflow: ellipsis;
|
62
|
+
text-overflow: ellipsis;
|
63
|
+
}
|
64
|
+
.chzn-container-single .chzn-single abbr {
|
65
|
+
display: block;
|
66
|
+
position: absolute;
|
67
|
+
right: 26px;
|
68
|
+
top: 6px;
|
69
|
+
width: 12px;
|
70
|
+
height: 13px;
|
71
|
+
font-size: 1px;
|
72
|
+
background: url('images/chosen-sprite.png') right top no-repeat;
|
73
|
+
}
|
74
|
+
.chzn-container-single .chzn-single abbr:hover {
|
75
|
+
background-position: right -11px;
|
76
|
+
}
|
77
|
+
.chzn-container-single.chzn-disabled .chzn-single abbr:hover {
|
78
|
+
background-position: right top;
|
79
|
+
}
|
80
|
+
.chzn-container-single .chzn-single div {
|
81
|
+
position: absolute;
|
82
|
+
right: 0;
|
83
|
+
top: 0;
|
84
|
+
display: block;
|
85
|
+
height: 100%;
|
86
|
+
width: 18px;
|
87
|
+
}
|
88
|
+
.chzn-container-single .chzn-single div b {
|
89
|
+
background: url('images/chosen-sprite.png') no-repeat 0 0;
|
90
|
+
display: block;
|
91
|
+
width: 100%;
|
92
|
+
height: 100%;
|
93
|
+
}
|
94
|
+
.chzn-container-single .chzn-search {
|
95
|
+
padding: 3px 4px;
|
96
|
+
position: relative;
|
97
|
+
margin: 0;
|
98
|
+
white-space: nowrap;
|
99
|
+
z-index: 1010;
|
100
|
+
}
|
101
|
+
.chzn-container-single .chzn-search input {
|
102
|
+
background: #fff url('images/chosen-sprite.png') no-repeat 100% -22px;
|
103
|
+
background: url('images/chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
104
|
+
background: url('images/chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
105
|
+
background: url('images/chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
106
|
+
background: url('images/chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
107
|
+
background: url('images/chosen-sprite.png') no-repeat 100% -22px, linear-gradient(#eeeeee 1%, #ffffff 15%);
|
108
|
+
margin: 1px 0;
|
109
|
+
padding: 4px 20px 4px 5px;
|
110
|
+
outline: 0;
|
111
|
+
border: 1px solid #aaa;
|
112
|
+
font-family: sans-serif;
|
113
|
+
font-size: 1em;
|
114
|
+
}
|
115
|
+
.chzn-container-single .chzn-drop {
|
116
|
+
-webkit-border-radius: 0 0 4px 4px;
|
117
|
+
-moz-border-radius : 0 0 4px 4px;
|
118
|
+
border-radius : 0 0 4px 4px;
|
119
|
+
-moz-background-clip : padding;
|
120
|
+
-webkit-background-clip: padding-box;
|
121
|
+
background-clip : padding-box;
|
122
|
+
}
|
123
|
+
/* @end */
|
124
|
+
|
125
|
+
.chzn-container-single-nosearch .chzn-search input {
|
126
|
+
position: absolute;
|
127
|
+
left: -9000px;
|
128
|
+
}
|
129
|
+
|
130
|
+
/* @group Multi Chosen */
|
131
|
+
.chzn-container-multi .chzn-choices {
|
132
|
+
background-color: #fff;
|
133
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
134
|
+
background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
135
|
+
background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
136
|
+
background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
137
|
+
background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
|
138
|
+
border: 1px solid #aaa;
|
139
|
+
margin: 0;
|
140
|
+
padding: 0;
|
141
|
+
cursor: text;
|
142
|
+
overflow: hidden;
|
143
|
+
height: auto !important;
|
144
|
+
height: 1%;
|
145
|
+
position: relative;
|
146
|
+
}
|
147
|
+
.chzn-container-multi .chzn-choices li {
|
148
|
+
float: left;
|
149
|
+
list-style: none;
|
150
|
+
}
|
151
|
+
.chzn-container-multi .chzn-choices .search-field {
|
152
|
+
white-space: nowrap;
|
153
|
+
margin: 0;
|
154
|
+
padding: 0;
|
155
|
+
}
|
156
|
+
.chzn-container-multi .chzn-choices .search-field input {
|
157
|
+
color: #666;
|
158
|
+
background: transparent !important;
|
159
|
+
border: 0 !important;
|
160
|
+
font-family: sans-serif;
|
161
|
+
font-size: 100%;
|
162
|
+
height: 15px;
|
163
|
+
padding: 5px;
|
164
|
+
margin: 1px 0;
|
165
|
+
outline: 0;
|
166
|
+
-webkit-box-shadow: none;
|
167
|
+
-moz-box-shadow : none;
|
168
|
+
box-shadow : none;
|
169
|
+
}
|
170
|
+
.chzn-container-multi .chzn-choices .search-field .default {
|
171
|
+
color: #999;
|
172
|
+
}
|
173
|
+
.chzn-container-multi .chzn-choices .search-choice {
|
174
|
+
-webkit-border-radius: 3px;
|
175
|
+
-moz-border-radius : 3px;
|
176
|
+
border-radius : 3px;
|
177
|
+
-moz-background-clip : padding;
|
178
|
+
-webkit-background-clip: padding-box;
|
179
|
+
background-clip : padding-box;
|
180
|
+
background-color: #e4e4e4;
|
181
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 );
|
182
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
183
|
+
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
184
|
+
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
185
|
+
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
186
|
+
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
187
|
+
-webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
|
188
|
+
-moz-box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
|
189
|
+
box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
|
190
|
+
color: #333;
|
191
|
+
border: 1px solid #aaaaaa;
|
192
|
+
line-height: 13px;
|
193
|
+
padding: 3px 20px 3px 5px;
|
194
|
+
margin: 3px 0 3px 5px;
|
195
|
+
position: relative;
|
196
|
+
cursor: default;
|
197
|
+
}
|
198
|
+
.chzn-container-multi .chzn-choices .search-choice.search-choice-disabled {
|
199
|
+
background-color: #e4e4e4;
|
200
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 );
|
201
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
202
|
+
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
203
|
+
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
204
|
+
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
205
|
+
background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
206
|
+
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
207
|
+
color: #666;
|
208
|
+
border: 1px solid #cccccc;
|
209
|
+
padding-right: 5px;
|
210
|
+
}
|
211
|
+
.chzn-container-multi .chzn-choices .search-choice-focus {
|
212
|
+
background: #d4d4d4;
|
213
|
+
}
|
214
|
+
.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
|
215
|
+
display: block;
|
216
|
+
position: absolute;
|
217
|
+
right: 3px;
|
218
|
+
top: 4px;
|
219
|
+
width: 12px;
|
220
|
+
height: 13px;
|
221
|
+
font-size: 1px;
|
222
|
+
background: url('images/chosen-sprite.png') right top no-repeat;
|
223
|
+
}
|
224
|
+
.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
|
225
|
+
background-position: right -11px;
|
226
|
+
}
|
227
|
+
.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
|
228
|
+
background-position: right -11px;
|
229
|
+
}
|
230
|
+
/* @end */
|
231
|
+
|
232
|
+
/* @group Results */
|
233
|
+
.chzn-container .chzn-results {
|
234
|
+
margin: 0 4px 4px 0;
|
235
|
+
max-height: 240px;
|
236
|
+
padding: 0 0 0 4px;
|
237
|
+
position: relative;
|
238
|
+
overflow-x: hidden;
|
239
|
+
overflow-y: auto;
|
240
|
+
-webkit-overflow-scrolling: touch;
|
241
|
+
}
|
242
|
+
.chzn-container-multi .chzn-results {
|
243
|
+
margin: -1px 0 0;
|
244
|
+
padding: 0;
|
245
|
+
}
|
246
|
+
.chzn-container .chzn-results li {
|
247
|
+
display: none;
|
248
|
+
line-height: 15px;
|
249
|
+
padding: 5px 6px;
|
250
|
+
margin: 0;
|
251
|
+
list-style: none;
|
252
|
+
}
|
253
|
+
.chzn-container .chzn-results .active-result {
|
254
|
+
cursor: pointer;
|
255
|
+
display: list-item;
|
256
|
+
}
|
257
|
+
|
258
|
+
.chzn-container .chzn-results .highlighted {
|
259
|
+
background-color: #53B75F;
|
260
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#53B75F', endColorstr='#0F781C', GradientType=0 );
|
261
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #53B75F), color-stop(90%, #0F781C));
|
262
|
+
background-image: -webkit-linear-gradient(top, #53B75F 20%, #0F781C 90%);
|
263
|
+
background-image: -moz-linear-gradient(top, #53B75F 20%, #0F781C 90%);
|
264
|
+
background-image: -o-linear-gradient(top, #53B75F 20%, #0F781C 90%);
|
265
|
+
background-image: linear-gradient(#53B75F 20%, #0F781C 90%);
|
266
|
+
color: #fff;
|
267
|
+
}
|
268
|
+
.chzn-container .chzn-results li em {
|
269
|
+
background: #feffde;
|
270
|
+
font-style: normal;
|
271
|
+
}
|
272
|
+
.chzn-container .chzn-results .highlighted em {
|
273
|
+
background: transparent;
|
274
|
+
}
|
275
|
+
.chzn-container .chzn-results .no-results {
|
276
|
+
background: #f4f4f4;
|
277
|
+
display: list-item;
|
278
|
+
}
|
279
|
+
.chzn-container .chzn-results .group-result {
|
280
|
+
cursor: default;
|
281
|
+
color: #999;
|
282
|
+
font-weight: bold;
|
283
|
+
}
|
284
|
+
.chzn-container .chzn-results .group-option {
|
285
|
+
padding-left: 15px;
|
286
|
+
}
|
287
|
+
.chzn-container-multi .chzn-drop .result-selected {
|
288
|
+
display: none;
|
289
|
+
}
|
290
|
+
.chzn-container .chzn-results-scroll {
|
291
|
+
background: white;
|
292
|
+
margin: 0 4px;
|
293
|
+
position: absolute;
|
294
|
+
text-align: center;
|
295
|
+
width: 321px; /* This should by dynamic with js */
|
296
|
+
z-index: 1;
|
297
|
+
}
|
298
|
+
.chzn-container .chzn-results-scroll span {
|
299
|
+
display: inline-block;
|
300
|
+
height: 17px;
|
301
|
+
text-indent: -5000px;
|
302
|
+
width: 9px;
|
303
|
+
}
|
304
|
+
.chzn-container .chzn-results-scroll-down {
|
305
|
+
bottom: 0;
|
306
|
+
}
|
307
|
+
.chzn-container .chzn-results-scroll-down span {
|
308
|
+
background: url('images/chosen-sprite.png') no-repeat -4px -3px;
|
309
|
+
}
|
310
|
+
.chzn-container .chzn-results-scroll-up span {
|
311
|
+
background: url('images/chosen-sprite.png') no-repeat -22px -3px;
|
312
|
+
}
|
313
|
+
/* @end */
|
314
|
+
|
315
|
+
/* @group Active */
|
316
|
+
.chzn-container-active .chzn-single {
|
317
|
+
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
|
318
|
+
-moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
319
|
+
box-shadow : 0 0 5px rgba(0,0,0,.3);
|
320
|
+
border: 1px solid #53B75F;
|
321
|
+
}
|
322
|
+
.chzn-container-active .chzn-single-with-drop {
|
323
|
+
border: 1px solid #aaa;
|
324
|
+
-webkit-box-shadow: 0 1px 0 #fff inset;
|
325
|
+
-moz-box-shadow : 0 1px 0 #fff inset;
|
326
|
+
box-shadow : 0 1px 0 #fff inset;
|
327
|
+
background-color: #eee;
|
328
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
|
329
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
|
330
|
+
background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
|
331
|
+
background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
|
332
|
+
background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
|
333
|
+
background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
|
334
|
+
-webkit-border-bottom-left-radius : 0;
|
335
|
+
-webkit-border-bottom-right-radius: 0;
|
336
|
+
-moz-border-radius-bottomleft : 0;
|
337
|
+
-moz-border-radius-bottomright: 0;
|
338
|
+
border-bottom-left-radius : 0;
|
339
|
+
border-bottom-right-radius: 0;
|
340
|
+
}
|
341
|
+
.chzn-container-active .chzn-single-with-drop div {
|
342
|
+
background: transparent;
|
343
|
+
border-left: none;
|
344
|
+
}
|
345
|
+
.chzn-container-active .chzn-single-with-drop div b {
|
346
|
+
background-position: -18px 1px;
|
347
|
+
}
|
348
|
+
.chzn-container-active .chzn-choices {
|
349
|
+
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
|
350
|
+
-moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
351
|
+
box-shadow : 0 0 5px rgba(0,0,0,.3);
|
352
|
+
border: 1px solid #5897fb;
|
353
|
+
}
|
354
|
+
.chzn-container-active .chzn-choices .search-field input {
|
355
|
+
color: #111 !important;
|
356
|
+
}
|
357
|
+
/* @end */
|
358
|
+
|
359
|
+
/* @group Disabled Support */
|
360
|
+
.chzn-disabled {
|
361
|
+
cursor: default;
|
362
|
+
opacity:0.5 !important;
|
363
|
+
}
|
364
|
+
.chzn-disabled .chzn-single {
|
365
|
+
cursor: default;
|
366
|
+
}
|
367
|
+
.chzn-disabled .chzn-choices .search-choice .search-choice-close {
|
368
|
+
cursor: default;
|
369
|
+
}
|
370
|
+
|
371
|
+
/* @group Right to Left */
|
372
|
+
.chzn-rtl { text-align: right; }
|
373
|
+
.chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; }
|
374
|
+
.chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; }
|
375
|
+
|
376
|
+
.chzn-rtl .chzn-single div { left: 3px; right: auto; }
|
377
|
+
.chzn-rtl .chzn-single abbr {
|
378
|
+
left: 26px;
|
379
|
+
right: auto;
|
380
|
+
}
|
381
|
+
.chzn-rtl .chzn-choices .search-field input { direction: rtl; }
|
382
|
+
.chzn-rtl .chzn-choices li { float: right; }
|
383
|
+
.chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; }
|
384
|
+
.chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; background-position: right top;}
|
385
|
+
.chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; }
|
386
|
+
.chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; }
|
387
|
+
.chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
|
388
|
+
.chzn-rtl .chzn-search input {
|
389
|
+
background: #fff url('images/chosen-sprite.png') no-repeat -38px -22px;
|
390
|
+
background: url('images/chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
391
|
+
background: url('images/chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
392
|
+
background: url('images/chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
393
|
+
background: url('images/chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
394
|
+
background: url('images/chosen-sprite.png') no-repeat -38px -22px, linear-gradient(#eeeeee 1%, #ffffff 15%);
|
395
|
+
padding: 4px 5px 4px 20px;
|
396
|
+
direction: rtl;
|
397
|
+
}
|
398
|
+
/* @end */
|