refinerycms-sl-calendar 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/refinery/calendar/admin/events_controller.rb +20 -0
- data/app/controllers/refinery/calendar/admin/venues_controller.rb +15 -0
- data/app/controllers/refinery/calendar/events_controller.rb +38 -0
- data/app/helpers/refinery/calendar/calendar_helper.rb +246 -0
- data/app/models/refinery/calendar/event.rb +60 -0
- data/app/models/refinery/calendar/venue.rb +17 -0
- data/app/views/refinery/calendar/admin/events/_actions.html.erb +26 -0
- data/app/views/refinery/calendar/admin/events/_event.html.erb +28 -0
- data/app/views/refinery/calendar/admin/events/_events.html.erb +2 -0
- data/app/views/refinery/calendar/admin/events/_form.html.erb +86 -0
- data/app/views/refinery/calendar/admin/events/_records.html.erb +18 -0
- data/app/views/refinery/calendar/admin/events/_sortable_list.html.erb +5 -0
- data/app/views/refinery/calendar/admin/events/edit.html.erb +1 -0
- data/app/views/refinery/calendar/admin/events/index.html.erb +8 -0
- data/app/views/refinery/calendar/admin/events/new.html.erb +1 -0
- data/app/views/refinery/calendar/admin/shared/_links.html.erb +8 -0
- data/app/views/refinery/calendar/admin/shared/_locale_picker.html.erb +11 -0
- data/app/views/refinery/calendar/admin/venues/_actions.html.erb +26 -0
- data/app/views/refinery/calendar/admin/venues/_form.html.erb +36 -0
- data/app/views/refinery/calendar/admin/venues/_records.html.erb +18 -0
- data/app/views/refinery/calendar/admin/venues/_sortable_list.html.erb +5 -0
- data/app/views/refinery/calendar/admin/venues/_venue.html.erb +23 -0
- data/app/views/refinery/calendar/admin/venues/_venues.html.erb +2 -0
- data/app/views/refinery/calendar/admin/venues/edit.html.erb +1 -0
- data/app/views/refinery/calendar/admin/venues/index.html.erb +8 -0
- data/app/views/refinery/calendar/admin/venues/new.html.erb +1 -0
- data/app/views/refinery/calendar/events/_event.html.erb +8 -0
- data/app/views/refinery/calendar/events/index.html.erb +15 -0
- data/app/views/refinery/calendar/events/show.html.erb +28 -0
- data/app/views/sitemap/index.xml.builder +25 -0
- data/config/database.yml.mysql +20 -0
- data/config/database.yml.postgresql +58 -0
- data/config/database.yml.sqlite3 +18 -0
- data/config/initializers/refinery/authentication.rb +4 -0
- data/config/initializers/refinery/core.rb +50 -0
- data/config/initializers/refinery/images.rb +44 -0
- data/config/initializers/refinery/pages.rb +52 -0
- data/config/initializers/refinery/resources.rb +26 -0
- data/config/locales/en.yml +61 -0
- data/config/locales/es.yml +59 -0
- data/config/locales/fr.yml +57 -0
- data/config/locales/nb.yml +59 -0
- data/config/locales/nl.yml +59 -0
- data/config/routes.rb +31 -0
- data/db/migrate/1_create_calendar_events.rb +34 -0
- data/db/migrate/2_create_calendar_venues.rb +29 -0
- data/db/migrate/3_create_calendar_events_translations.rb +16 -0
- data/db/migrate/4_create_calendar_venues_translations.rb +13 -0
- data/db/seeds.rb +26 -0
- data/lib/generators/refinery/calendar_generator.rb +19 -0
- data/lib/refinery/events/engine.rb +26 -0
- data/lib/refinery/events.rb +21 -0
- data/lib/refinery/venues/engine.rb +14 -0
- data/lib/refinery/venues.rb +21 -0
- data/lib/refinerycms-calendar.rb +2 -0
- data/lib/tasks/refinery/calendar.rake +13 -0
- data/readme.md +23 -0
- data/vendor/assets/images/chosen-sprite.png +0 -0
- data/vendor/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/vendor/assets/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/vendor/assets/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/vendor/assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/vendor/assets/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/vendor/assets/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/vendor/assets/images/ui-icons_217bc0_256x240.png +0 -0
- data/vendor/assets/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/images/ui-icons_469bdd_256x240.png +0 -0
- data/vendor/assets/images/ui-icons_6da8d5_256x240.png +0 -0
- data/vendor/assets/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/vendor/assets/images/ui-icons_f9bd01_256x240.png +0 -0
- data/vendor/assets/javascripts/chosen.jquery.min.js +10 -0
- data/vendor/assets/javascripts/jquery.ui.timepicker.addon.js +1326 -0
- data/vendor/assets/javascripts/refinery/calendar.js.coffee +7 -0
- data/vendor/assets/stylesheets/chosen.css +372 -0
- data/vendor/assets/stylesheets/jquery-ui.css +377 -0
- data/vendor/assets/stylesheets/refinery/calendar.css.scss +22 -0
- metadata +158 -0
@@ -0,0 +1,372 @@
|
|
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
|
+
-o-box-shadow : 0 4px 5px rgba(0,0,0,.15);
|
19
|
+
box-shadow : 0 4px 5px rgba(0,0,0,.15);
|
20
|
+
z-index: 999;
|
21
|
+
}
|
22
|
+
/* @end */
|
23
|
+
|
24
|
+
/* @group Single Chosen */
|
25
|
+
.chzn-container-single .chzn-single {
|
26
|
+
background-color: #fff;
|
27
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white));
|
28
|
+
background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%);
|
29
|
+
background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%);
|
30
|
+
background-image: -o-linear-gradient(top, #eeeeee 0%,#ffffff 50%);
|
31
|
+
background-image: -ms-linear-gradient(top, #eeeeee 0%,#ffffff 50%);
|
32
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
|
33
|
+
background-image: linear-gradient(top, #eeeeee 0%,#ffffff 50%);
|
34
|
+
-webkit-border-radius: 4px;
|
35
|
+
-moz-border-radius : 4px;
|
36
|
+
border-radius : 4px;
|
37
|
+
-moz-background-clip : padding;
|
38
|
+
-webkit-background-clip: padding-box;
|
39
|
+
background-clip : padding-box;
|
40
|
+
border: 1px solid #aaa;
|
41
|
+
display: block;
|
42
|
+
overflow: hidden;
|
43
|
+
white-space: nowrap;
|
44
|
+
position: relative;
|
45
|
+
height: 26px;
|
46
|
+
line-height: 26px;
|
47
|
+
padding: 0 0 0 8px;
|
48
|
+
color: #444;
|
49
|
+
text-decoration: none;
|
50
|
+
}
|
51
|
+
.chzn-container-single .chzn-single span {
|
52
|
+
margin-right: 26px;
|
53
|
+
display: block;
|
54
|
+
overflow: hidden;
|
55
|
+
white-space: nowrap;
|
56
|
+
-o-text-overflow: ellipsis;
|
57
|
+
-ms-text-overflow: ellipsis;
|
58
|
+
text-overflow: ellipsis;
|
59
|
+
}
|
60
|
+
.chzn-container-single .chzn-single abbr {
|
61
|
+
display: block;
|
62
|
+
position: absolute;
|
63
|
+
right: 26px;
|
64
|
+
top: 8px;
|
65
|
+
width: 12px;
|
66
|
+
height: 13px;
|
67
|
+
font-size: 1px;
|
68
|
+
background: url(/assets/chosen-sprite.png) right top no-repeat;
|
69
|
+
}
|
70
|
+
.chzn-container-single .chzn-single abbr:hover {
|
71
|
+
background-position: right -11px;
|
72
|
+
}
|
73
|
+
.chzn-container-single .chzn-single div {
|
74
|
+
-webkit-border-radius: 0 4px 4px 0;
|
75
|
+
-moz-border-radius : 0 4px 4px 0;
|
76
|
+
border-radius : 0 4px 4px 0;
|
77
|
+
-moz-background-clip : padding;
|
78
|
+
-webkit-background-clip: padding-box;
|
79
|
+
background-clip : padding-box;
|
80
|
+
background: #ccc;
|
81
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
|
82
|
+
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
|
83
|
+
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
|
84
|
+
background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
|
85
|
+
background-image: -ms-linear-gradient(top, #cccccc 0%,#eeeeee 60%);
|
86
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#eeeeee',GradientType=0 );
|
87
|
+
background-image: linear-gradient(top, #cccccc 0%,#eeeeee 60%);
|
88
|
+
border-left: 1px solid #aaa;
|
89
|
+
position: absolute;
|
90
|
+
right: 0;
|
91
|
+
top: 0;
|
92
|
+
display: block;
|
93
|
+
height: 100%;
|
94
|
+
width: 18px;
|
95
|
+
}
|
96
|
+
.chzn-container-single .chzn-single div b {
|
97
|
+
background: url('/assets/chosen-sprite.png') no-repeat 0 1px;
|
98
|
+
display: block;
|
99
|
+
width: 100%;
|
100
|
+
height: 100%;
|
101
|
+
}
|
102
|
+
.chzn-container-single .chzn-search {
|
103
|
+
padding: 3px 4px;
|
104
|
+
position: relative;
|
105
|
+
margin: 0;
|
106
|
+
white-space: nowrap;
|
107
|
+
z-index: 1010;
|
108
|
+
}
|
109
|
+
.chzn-container-single .chzn-search input {
|
110
|
+
background: #fff url('/assets/chosen-sprite.png') no-repeat 100% -22px;
|
111
|
+
background: url('/assets/chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
|
112
|
+
background: url('/assets/chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
113
|
+
background: url('/assets/chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
114
|
+
background: url('/assets/chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
|
115
|
+
background: url('/assets/chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%,#eeeeee 99%);
|
116
|
+
background: url('/assets/chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%,#eeeeee 99%);
|
117
|
+
margin: 1px 0;
|
118
|
+
padding: 4px 20px 4px 5px;
|
119
|
+
outline: 0;
|
120
|
+
border: 1px solid #aaa;
|
121
|
+
font-family: sans-serif;
|
122
|
+
font-size: 1em;
|
123
|
+
}
|
124
|
+
.chzn-container-single .chzn-drop {
|
125
|
+
-webkit-border-radius: 0 0 4px 4px;
|
126
|
+
-moz-border-radius : 0 0 4px 4px;
|
127
|
+
border-radius : 0 0 4px 4px;
|
128
|
+
-moz-background-clip : padding;
|
129
|
+
-webkit-background-clip: padding-box;
|
130
|
+
background-clip : padding-box;
|
131
|
+
}
|
132
|
+
/* @end */
|
133
|
+
|
134
|
+
.chzn-container-single-nosearch .chzn-search input {
|
135
|
+
position: absolute;
|
136
|
+
left: -9000px;
|
137
|
+
}
|
138
|
+
|
139
|
+
/* @group Multi Chosen */
|
140
|
+
.chzn-container-multi .chzn-choices {
|
141
|
+
background-color: #fff;
|
142
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
|
143
|
+
background-image: -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
144
|
+
background-image: -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
145
|
+
background-image: -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
|
146
|
+
background-image: -ms-linear-gradient(top, #ffffff 85%,#eeeeee 99%);
|
147
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 );
|
148
|
+
background-image: linear-gradient(top, #ffffff 85%,#eeeeee 99%);
|
149
|
+
border: 1px solid #aaa;
|
150
|
+
margin: 0;
|
151
|
+
padding: 0;
|
152
|
+
cursor: text;
|
153
|
+
overflow: hidden;
|
154
|
+
height: auto !important;
|
155
|
+
height: 1%;
|
156
|
+
position: relative;
|
157
|
+
}
|
158
|
+
.chzn-container-multi .chzn-choices li {
|
159
|
+
float: left;
|
160
|
+
list-style: none;
|
161
|
+
}
|
162
|
+
.chzn-container-multi .chzn-choices .search-field {
|
163
|
+
white-space: nowrap;
|
164
|
+
margin: 0;
|
165
|
+
padding: 0;
|
166
|
+
}
|
167
|
+
.chzn-container-multi .chzn-choices .search-field input {
|
168
|
+
color: #666;
|
169
|
+
background: transparent !important;
|
170
|
+
border: 0 !important;
|
171
|
+
padding: 5px;
|
172
|
+
margin: 1px 0;
|
173
|
+
outline: 0;
|
174
|
+
-webkit-box-shadow: none;
|
175
|
+
-moz-box-shadow : none;
|
176
|
+
-o-box-shadow : none;
|
177
|
+
box-shadow : none;
|
178
|
+
}
|
179
|
+
.chzn-container-multi .chzn-choices .search-field .default {
|
180
|
+
color: #999;
|
181
|
+
}
|
182
|
+
.chzn-container-multi .chzn-choices .search-choice {
|
183
|
+
-webkit-border-radius: 3px;
|
184
|
+
-moz-border-radius : 3px;
|
185
|
+
border-radius : 3px;
|
186
|
+
-moz-background-clip : padding;
|
187
|
+
-webkit-background-clip: padding-box;
|
188
|
+
background-clip : padding-box;
|
189
|
+
background-color: #e4e4e4;
|
190
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #e4e4e4), color-stop(0.7, #eeeeee));
|
191
|
+
background-image: -webkit-linear-gradient(center bottom, #e4e4e4 0%, #eeeeee 70%);
|
192
|
+
background-image: -moz-linear-gradient(center bottom, #e4e4e4 0%, #eeeeee 70%);
|
193
|
+
background-image: -o-linear-gradient(bottom, #e4e4e4 0%, #eeeeee 70%);
|
194
|
+
background-image: -ms-linear-gradient(top, #e4e4e4 0%,#eeeeee 70%);
|
195
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e4e4', endColorstr='#eeeeee',GradientType=0 );
|
196
|
+
background-image: linear-gradient(top, #e4e4e4 0%,#eeeeee 70%);
|
197
|
+
color: #333;
|
198
|
+
border: 1px solid #b4b4b4;
|
199
|
+
line-height: 13px;
|
200
|
+
padding: 3px 19px 3px 6px;
|
201
|
+
margin: 3px 0 3px 5px;
|
202
|
+
position: relative;
|
203
|
+
}
|
204
|
+
.chzn-container-multi .chzn-choices .search-choice span {
|
205
|
+
cursor: default;
|
206
|
+
}
|
207
|
+
.chzn-container-multi .chzn-choices .search-choice-focus {
|
208
|
+
background: #d4d4d4;
|
209
|
+
}
|
210
|
+
#content .chzn-container-multi .chzn-choices .search-choice .search-choice-close {
|
211
|
+
border:0;
|
212
|
+
display: block;
|
213
|
+
position: absolute;
|
214
|
+
right: 3px;
|
215
|
+
top: 4px;
|
216
|
+
width: 12px;
|
217
|
+
height: 13px;
|
218
|
+
font-size: 1px;
|
219
|
+
background: url(/assets/chosen-sprite.png) right top no-repeat;
|
220
|
+
}
|
221
|
+
.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
|
222
|
+
background-position: right -11px;
|
223
|
+
}
|
224
|
+
.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
|
225
|
+
background-position: right -11px;
|
226
|
+
}
|
227
|
+
/* @end */
|
228
|
+
|
229
|
+
/* @group Results */
|
230
|
+
.chzn-container .chzn-results {
|
231
|
+
margin: 0 4px 4px 0;
|
232
|
+
max-height: 190px;
|
233
|
+
padding: 0 0 0 4px;
|
234
|
+
position: relative;
|
235
|
+
overflow-x: hidden;
|
236
|
+
overflow-y: auto;
|
237
|
+
}
|
238
|
+
.chzn-container-multi .chzn-results {
|
239
|
+
margin: -1px 0 0;
|
240
|
+
padding: 0;
|
241
|
+
}
|
242
|
+
.chzn-container .chzn-results li {
|
243
|
+
display: none;
|
244
|
+
line-height: 80%;
|
245
|
+
padding: 7px 7px 8px;
|
246
|
+
margin: 0;
|
247
|
+
list-style: none;
|
248
|
+
}
|
249
|
+
.chzn-container .chzn-results .active-result {
|
250
|
+
cursor: pointer;
|
251
|
+
display: list-item;
|
252
|
+
}
|
253
|
+
.chzn-container .chzn-results .highlighted {
|
254
|
+
background: #3875d7;
|
255
|
+
color: #fff;
|
256
|
+
}
|
257
|
+
.chzn-container .chzn-results li em {
|
258
|
+
background: #feffde;
|
259
|
+
font-style: normal;
|
260
|
+
}
|
261
|
+
.chzn-container .chzn-results .highlighted em {
|
262
|
+
background: transparent;
|
263
|
+
}
|
264
|
+
.chzn-container .chzn-results .no-results {
|
265
|
+
background: #f4f4f4;
|
266
|
+
display: list-item;
|
267
|
+
}
|
268
|
+
.chzn-container .chzn-results .group-result {
|
269
|
+
cursor: default;
|
270
|
+
color: #999;
|
271
|
+
font-weight: bold;
|
272
|
+
}
|
273
|
+
.chzn-container .chzn-results .group-option {
|
274
|
+
padding-left: 20px;
|
275
|
+
}
|
276
|
+
.chzn-container-multi .chzn-drop .result-selected {
|
277
|
+
display: none;
|
278
|
+
}
|
279
|
+
/* @end */
|
280
|
+
|
281
|
+
/* @group Active */
|
282
|
+
.chzn-container-active .chzn-single {
|
283
|
+
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
|
284
|
+
-moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
285
|
+
-o-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
286
|
+
box-shadow : 0 0 5px rgba(0,0,0,.3);
|
287
|
+
border: 1px solid #5897fb;
|
288
|
+
}
|
289
|
+
.chzn-container-active .chzn-single-with-drop {
|
290
|
+
border: 1px solid #aaa;
|
291
|
+
-webkit-box-shadow: 0 1px 0 #fff inset;
|
292
|
+
-moz-box-shadow : 0 1px 0 #fff inset;
|
293
|
+
-o-box-shadow : 0 1px 0 #fff inset;
|
294
|
+
box-shadow : 0 1px 0 #fff inset;
|
295
|
+
background-color: #eee;
|
296
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #eeeeee));
|
297
|
+
background-image: -webkit-linear-gradient(center bottom, white 0%, #eeeeee 50%);
|
298
|
+
background-image: -moz-linear-gradient(center bottom, white 0%, #eeeeee 50%);
|
299
|
+
background-image: -o-linear-gradient(bottom, white 0%, #eeeeee 50%);
|
300
|
+
background-image: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 50%);
|
301
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 );
|
302
|
+
background-image: linear-gradient(top, #ffffff 0%,#eeeeee 50%);
|
303
|
+
-webkit-border-bottom-left-radius : 0;
|
304
|
+
-webkit-border-bottom-right-radius: 0;
|
305
|
+
-moz-border-radius-bottomleft : 0;
|
306
|
+
-moz-border-radius-bottomright: 0;
|
307
|
+
border-bottom-left-radius : 0;
|
308
|
+
border-bottom-right-radius: 0;
|
309
|
+
}
|
310
|
+
.chzn-container-active .chzn-single-with-drop div {
|
311
|
+
background: transparent;
|
312
|
+
border-left: none;
|
313
|
+
}
|
314
|
+
.chzn-container-active .chzn-single-with-drop div b {
|
315
|
+
background-position: -18px 1px;
|
316
|
+
}
|
317
|
+
.chzn-container-active .chzn-choices {
|
318
|
+
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
|
319
|
+
-moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
320
|
+
-o-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
321
|
+
box-shadow : 0 0 5px rgba(0,0,0,.3);
|
322
|
+
border: 1px solid #5897fb;
|
323
|
+
}
|
324
|
+
.chzn-container-active .chzn-choices .search-field input {
|
325
|
+
color: #111 !important;
|
326
|
+
}
|
327
|
+
/* @end */
|
328
|
+
|
329
|
+
/* @group Disabled Support */
|
330
|
+
.chzn-disabled {
|
331
|
+
cursor: default;
|
332
|
+
opacity:0.5 !important;
|
333
|
+
}
|
334
|
+
.chzn-disabled .chzn-single {
|
335
|
+
cursor: default;
|
336
|
+
}
|
337
|
+
.chzn-disabled .chzn-choices .search-choice .search-choice-close {
|
338
|
+
cursor: default;
|
339
|
+
}
|
340
|
+
|
341
|
+
/* @group Right to Left */
|
342
|
+
.chzn-rtl { direction:rtl;text-align: right; }
|
343
|
+
.chzn-rtl .chzn-single { padding-left: 0; padding-right: 8px; }
|
344
|
+
.chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; }
|
345
|
+
.chzn-rtl .chzn-single div {
|
346
|
+
left: 0; right: auto;
|
347
|
+
border-left: none; border-right: 1px solid #aaaaaa;
|
348
|
+
-webkit-border-radius: 4px 0 0 4px;
|
349
|
+
-moz-border-radius : 4px 0 0 4px;
|
350
|
+
border-radius : 4px 0 0 4px;
|
351
|
+
}
|
352
|
+
.chzn-rtl .chzn-single abbr {
|
353
|
+
left: 26px;
|
354
|
+
right: auto;
|
355
|
+
}
|
356
|
+
.chzn-rtl .chzn-choices li { float: right; }
|
357
|
+
.chzn-rtl .chzn-choices .search-choice { padding: 3px 6px 3px 19px; margin: 3px 5px 3px 0; }
|
358
|
+
.chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 5px; right: auto; background-position: right top;}
|
359
|
+
.chzn-rtl.chzn-container-single .chzn-results { margin-left: 4px; margin-right: 0; padding-left: 0; padding-right: 4px; }
|
360
|
+
.chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 20px; }
|
361
|
+
.chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
|
362
|
+
.chzn-rtl .chzn-search input {
|
363
|
+
background: url('/assets/chosen-sprite.png') no-repeat -38px -22px, #ffffff;
|
364
|
+
background: url('/assets/chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
|
365
|
+
background: url('/assets/chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
366
|
+
background: url('/assets/chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
367
|
+
background: url('/assets/chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
|
368
|
+
background: url('/assets/chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top, #ffffff 85%,#eeeeee 99%);
|
369
|
+
background: url('/assets/chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top, #ffffff 85%,#eeeeee 99%);
|
370
|
+
padding: 4px 5px 4px 20px;
|
371
|
+
}
|
372
|
+
/* @end */
|