testcentricity_web 4.1.6 → 4.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +2 -1
- data/.ruby-version +1 -0
- data/.simplecov +5 -1
- data/CHANGELOG.md +43 -0
- data/README.md +14 -13
- data/Rakefile +99 -21
- data/config/cucumber.yml +32 -11
- data/config/locales/en-US.yml +56 -0
- data/config/test_data/LOCAL_data.json +15 -0
- data/config/test_data/LOCAL_data.xls +0 -0
- data/config/test_data/LOCAL_data.yml +11 -0
- data/config/test_data/data.json +25 -0
- data/config/test_data/data.xls +0 -0
- data/config/test_data/data.yml +20 -0
- data/{docker-compose-v3.yml → docker-compose.yml} +2 -2
- data/features/basic_form_page_css.feature +54 -0
- data/features/basic_form_page_xpath.feature +26 -0
- data/features/custom_controls.feature +29 -0
- data/features/media_players.feature +67 -0
- data/features/step_definitions/generic_steps.rb.rb +87 -0
- data/features/step_definitions/media_steps.rb +30 -0
- data/features/support/data/form_data.rb +43 -0
- data/features/support/env.rb +18 -10
- data/features/support/hooks.rb +26 -1
- data/features/support/pages/base_test_page.rb +22 -0
- data/features/support/pages/{basic_css_test_page.rb → basic_css_form_page.rb} +12 -8
- data/features/support/pages/{basic_test_page.rb → basic_form_page.rb} +227 -36
- data/features/support/pages/{basic_xpath_test_page.rb → basic_xpath_form_page.rb} +12 -7
- data/features/support/pages/custom_controls_page.rb +263 -0
- data/features/support/pages/indexed_sections_page.rb +57 -0
- data/features/support/pages/media_test_page.rb +207 -0
- data/features/support/sections/header_nav.rb +48 -0
- data/features/support/sections/product_card.rb +39 -0
- data/features/support/world_data.rb +12 -0
- data/features/support/world_pages.rb +5 -2
- data/lib/testcentricity_web/appium_server.rb +5 -0
- data/lib/testcentricity_web/browser_helper.rb +0 -6
- data/lib/testcentricity_web/data_objects/data_objects_helper.rb +7 -0
- data/lib/testcentricity_web/data_objects/environment.rb +14 -0
- data/lib/testcentricity_web/data_objects/excel_helper.rb +60 -59
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_core/drag_drop_helper.rb +4 -0
- data/lib/testcentricity_web/web_core/page_object.rb +1 -8
- data/lib/testcentricity_web/web_core/page_objects_helper.rb +4 -2
- data/lib/testcentricity_web/web_core/page_section.rb +1 -1
- data/lib/testcentricity_web/web_core/webdriver_helper.rb +60 -44
- data/lib/testcentricity_web/web_elements/checkbox.rb +49 -19
- data/lib/testcentricity_web/web_elements/file_field.rb +9 -5
- data/lib/testcentricity_web/web_elements/image.rb +2 -1
- data/lib/testcentricity_web/web_elements/media.rb +46 -12
- data/lib/testcentricity_web/web_elements/radio.rb +51 -16
- data/lib/testcentricity_web/web_elements/select_list.rb +12 -12
- data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +22 -9
- data/lib/testcentricity_web/web_elements/video.rb +2 -2
- data/spec/fixtures/page_object.rb +22 -0
- data/spec/fixtures/section_object.rb +21 -0
- data/spec/spec_helper.rb +31 -0
- data/spec/testcentricity_web/browser_spec.rb +41 -0
- data/spec/testcentricity_web/elements/audio_spec.rb +68 -0
- data/spec/testcentricity_web/elements/button_spec.rb +18 -0
- data/spec/testcentricity_web/elements/checkbox_spec.rb +33 -0
- data/spec/testcentricity_web/elements/file_field_spec.rb +13 -0
- data/spec/testcentricity_web/elements/image_spec.rb +33 -0
- data/spec/testcentricity_web/elements/label_spec.rb +18 -0
- data/spec/testcentricity_web/elements/link_spec.rb +23 -0
- data/spec/testcentricity_web/elements/list_spec.rb +13 -0
- data/spec/testcentricity_web/elements/radio_spec.rb +28 -0
- data/spec/testcentricity_web/elements/ui_element_spec.rb +125 -0
- data/spec/testcentricity_web/elements/video_spec.rb +68 -0
- data/spec/testcentricity_web/helper_specs/object_helpers_spec.rb +39 -0
- data/spec/testcentricity_web/helper_specs/string_helpers_spec.rb +49 -0
- data/spec/testcentricity_web/page_object_spec.rb +90 -0
- data/spec/testcentricity_web/section_object_spec.rb +72 -0
- data/spec/testcentricity_web/version_spec.rb +7 -0
- data/spec/testcentricity_web/webdriver_connect/grid_webdriver_spec.rb +72 -0
- data/spec/testcentricity_web/webdriver_connect/local_webdriver_spec.rb +86 -0
- data/spec/testcentricity_web/webdriver_connect/mobile_webdriver_spec.rb +65 -0
- data/test_site/basic_test_page.html +51 -1
- data/test_site/chosen-sprite.png +0 -0
- data/test_site/chosen-sprite@2x.png +0 -0
- data/test_site/chosen.css +496 -0
- data/test_site/chosen.jquery.js +1359 -0
- data/test_site/chosen.jquery.min.js +3 -0
- data/test_site/chosen.min.css +11 -0
- data/test_site/chosen.proto.js +1399 -0
- data/test_site/chosen.proto.min.js +3 -0
- data/test_site/composer.json +36 -0
- data/test_site/custom_controls_page.html +629 -0
- data/test_site/docsupport/chosen.png +0 -0
- data/test_site/docsupport/init.js +11 -0
- data/test_site/docsupport/init.proto.js +16 -0
- data/test_site/docsupport/jquery-1.12.4.min.js +5 -0
- data/test_site/docsupport/jquery-3.2.1.min.js +4 -0
- data/test_site/docsupport/oss-credit.png +0 -0
- data/test_site/docsupport/prism.css +108 -0
- data/test_site/docsupport/prism.js +9 -0
- data/test_site/docsupport/prototype-1.7.0.0.js +6082 -0
- data/test_site/docsupport/style.css +219 -0
- data/test_site/images/Blouse_Black.jpg +0 -0
- data/test_site/images/Printed_Dress.jpg +0 -0
- data/test_site/images/T-shirt.jpg +0 -0
- data/test_site/images/jeans3.jpg +0 -0
- data/test_site/indexed_sections_page.html +215 -0
- data/test_site/media/MIB2-subtitles-pt-BR.vtt +49 -0
- data/test_site/media/MIB2.mp4 +0 -0
- data/test_site/media/bbc_scotland_report.mp3 +0 -0
- data/test_site/media/count_and_bars.mp4 +0 -0
- data/test_site/media_page.html +60 -7
- data/testcentricity_web.gemspec +14 -8
- metadata +197 -25
- data/Gemfile.lock +0 -170
- data/features/basic_test_page_css.feature +0 -24
- data/features/basic_test_page_xpath.feature +0 -24
- data/features/support/pages/media_page.rb +0 -11
@@ -0,0 +1,496 @@
|
|
1
|
+
/*!
|
2
|
+
Chosen, a Select Box Enhancer for jQuery and Prototype
|
3
|
+
by Patrick Filler for Harvest, http://getharvest.com
|
4
|
+
|
5
|
+
Version 1.8.7
|
6
|
+
Full source at https://github.com/harvesthq/chosen
|
7
|
+
Copyright (c) 2011-2018 Harvest http://getharvest.com
|
8
|
+
|
9
|
+
MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
|
10
|
+
This file is generated by `grunt build`, do not edit it by hand.
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* @group Base */
|
14
|
+
.chosen-container {
|
15
|
+
position: relative;
|
16
|
+
display: inline-block;
|
17
|
+
vertical-align: middle;
|
18
|
+
font-size: 13px;
|
19
|
+
-webkit-user-select: none;
|
20
|
+
-moz-user-select: none;
|
21
|
+
-ms-user-select: none;
|
22
|
+
user-select: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
.chosen-container * {
|
26
|
+
-webkit-box-sizing: border-box;
|
27
|
+
box-sizing: border-box;
|
28
|
+
}
|
29
|
+
|
30
|
+
.chosen-container .chosen-drop {
|
31
|
+
position: absolute;
|
32
|
+
top: 100%;
|
33
|
+
z-index: 1010;
|
34
|
+
width: 100%;
|
35
|
+
border: 1px solid #aaa;
|
36
|
+
border-top: 0;
|
37
|
+
background: #fff;
|
38
|
+
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
39
|
+
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
40
|
+
clip: rect(0, 0, 0, 0);
|
41
|
+
-webkit-clip-path: inset(100% 100%);
|
42
|
+
clip-path: inset(100% 100%);
|
43
|
+
}
|
44
|
+
|
45
|
+
.chosen-container.chosen-with-drop .chosen-drop {
|
46
|
+
clip: auto;
|
47
|
+
-webkit-clip-path: none;
|
48
|
+
clip-path: none;
|
49
|
+
}
|
50
|
+
|
51
|
+
.chosen-container a {
|
52
|
+
cursor: pointer;
|
53
|
+
}
|
54
|
+
|
55
|
+
.chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name {
|
56
|
+
margin-right: 4px;
|
57
|
+
overflow: hidden;
|
58
|
+
white-space: nowrap;
|
59
|
+
text-overflow: ellipsis;
|
60
|
+
font-weight: normal;
|
61
|
+
color: #999999;
|
62
|
+
}
|
63
|
+
|
64
|
+
.chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after {
|
65
|
+
content: ":";
|
66
|
+
padding-left: 2px;
|
67
|
+
vertical-align: top;
|
68
|
+
}
|
69
|
+
|
70
|
+
/* @end */
|
71
|
+
/* @group Single Chosen */
|
72
|
+
.chosen-container-single .chosen-single {
|
73
|
+
position: relative;
|
74
|
+
display: block;
|
75
|
+
overflow: hidden;
|
76
|
+
padding: 0 0 0 8px;
|
77
|
+
height: 25px;
|
78
|
+
border: 1px solid #aaa;
|
79
|
+
border-radius: 5px;
|
80
|
+
background-color: #fff;
|
81
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #fff), color-stop(50%, #f6f6f6), color-stop(52%, #eee), to(#f4f4f4));
|
82
|
+
background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
|
83
|
+
background-clip: padding-box;
|
84
|
+
-webkit-box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
|
85
|
+
box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
|
86
|
+
color: #444;
|
87
|
+
text-decoration: none;
|
88
|
+
white-space: nowrap;
|
89
|
+
line-height: 24px;
|
90
|
+
}
|
91
|
+
|
92
|
+
.chosen-container-single .chosen-default {
|
93
|
+
color: #999;
|
94
|
+
}
|
95
|
+
|
96
|
+
.chosen-container-single .chosen-single span {
|
97
|
+
display: block;
|
98
|
+
overflow: hidden;
|
99
|
+
margin-right: 26px;
|
100
|
+
text-overflow: ellipsis;
|
101
|
+
white-space: nowrap;
|
102
|
+
}
|
103
|
+
|
104
|
+
.chosen-container-single .chosen-single-with-deselect span {
|
105
|
+
margin-right: 38px;
|
106
|
+
}
|
107
|
+
|
108
|
+
.chosen-container-single .chosen-single abbr {
|
109
|
+
position: absolute;
|
110
|
+
top: 6px;
|
111
|
+
right: 26px;
|
112
|
+
display: block;
|
113
|
+
width: 12px;
|
114
|
+
height: 12px;
|
115
|
+
background: url("chosen-sprite.png") -42px 1px no-repeat;
|
116
|
+
font-size: 1px;
|
117
|
+
}
|
118
|
+
|
119
|
+
.chosen-container-single .chosen-single abbr:hover {
|
120
|
+
background-position: -42px -10px;
|
121
|
+
}
|
122
|
+
|
123
|
+
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
|
124
|
+
background-position: -42px -10px;
|
125
|
+
}
|
126
|
+
|
127
|
+
.chosen-container-single .chosen-single div {
|
128
|
+
position: absolute;
|
129
|
+
top: 0;
|
130
|
+
right: 0;
|
131
|
+
display: block;
|
132
|
+
width: 18px;
|
133
|
+
height: 100%;
|
134
|
+
}
|
135
|
+
|
136
|
+
.chosen-container-single .chosen-single div b {
|
137
|
+
display: block;
|
138
|
+
width: 100%;
|
139
|
+
height: 100%;
|
140
|
+
background: url("chosen-sprite.png") no-repeat 0px 2px;
|
141
|
+
}
|
142
|
+
|
143
|
+
.chosen-container-single .chosen-search {
|
144
|
+
position: relative;
|
145
|
+
z-index: 1010;
|
146
|
+
margin: 0;
|
147
|
+
padding: 3px 4px;
|
148
|
+
white-space: nowrap;
|
149
|
+
}
|
150
|
+
|
151
|
+
.chosen-container-single .chosen-search input[type="text"] {
|
152
|
+
margin: 1px 0;
|
153
|
+
padding: 4px 20px 4px 5px;
|
154
|
+
width: 100%;
|
155
|
+
height: auto;
|
156
|
+
outline: 0;
|
157
|
+
border: 1px solid #aaa;
|
158
|
+
background: url("chosen-sprite.png") no-repeat 100% -20px;
|
159
|
+
font-size: 1em;
|
160
|
+
font-family: sans-serif;
|
161
|
+
line-height: normal;
|
162
|
+
border-radius: 0;
|
163
|
+
}
|
164
|
+
|
165
|
+
.chosen-container-single .chosen-drop {
|
166
|
+
margin-top: -1px;
|
167
|
+
border-radius: 0 0 4px 4px;
|
168
|
+
background-clip: padding-box;
|
169
|
+
}
|
170
|
+
|
171
|
+
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
|
172
|
+
position: absolute;
|
173
|
+
clip: rect(0, 0, 0, 0);
|
174
|
+
-webkit-clip-path: inset(100% 100%);
|
175
|
+
clip-path: inset(100% 100%);
|
176
|
+
}
|
177
|
+
|
178
|
+
/* @end */
|
179
|
+
/* @group Results */
|
180
|
+
.chosen-container .chosen-results {
|
181
|
+
color: #444;
|
182
|
+
position: relative;
|
183
|
+
overflow-x: hidden;
|
184
|
+
overflow-y: auto;
|
185
|
+
margin: 0 4px 4px 0;
|
186
|
+
padding: 0 0 0 4px;
|
187
|
+
max-height: 240px;
|
188
|
+
-webkit-overflow-scrolling: touch;
|
189
|
+
}
|
190
|
+
|
191
|
+
.chosen-container .chosen-results li {
|
192
|
+
display: none;
|
193
|
+
margin: 0;
|
194
|
+
padding: 5px 6px;
|
195
|
+
list-style: none;
|
196
|
+
line-height: 15px;
|
197
|
+
word-wrap: break-word;
|
198
|
+
-webkit-touch-callout: none;
|
199
|
+
}
|
200
|
+
|
201
|
+
.chosen-container .chosen-results li.active-result {
|
202
|
+
display: list-item;
|
203
|
+
cursor: pointer;
|
204
|
+
}
|
205
|
+
|
206
|
+
.chosen-container .chosen-results li.disabled-result {
|
207
|
+
display: list-item;
|
208
|
+
color: #ccc;
|
209
|
+
cursor: default;
|
210
|
+
}
|
211
|
+
|
212
|
+
.chosen-container .chosen-results li.highlighted {
|
213
|
+
background-color: #3875d7;
|
214
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
|
215
|
+
background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
|
216
|
+
color: #fff;
|
217
|
+
}
|
218
|
+
|
219
|
+
.chosen-container .chosen-results li.no-results {
|
220
|
+
color: #777;
|
221
|
+
display: list-item;
|
222
|
+
background: #f4f4f4;
|
223
|
+
}
|
224
|
+
|
225
|
+
.chosen-container .chosen-results li.group-result {
|
226
|
+
display: list-item;
|
227
|
+
font-weight: bold;
|
228
|
+
cursor: default;
|
229
|
+
}
|
230
|
+
|
231
|
+
.chosen-container .chosen-results li.group-option {
|
232
|
+
padding-left: 15px;
|
233
|
+
}
|
234
|
+
|
235
|
+
.chosen-container .chosen-results li em {
|
236
|
+
font-style: normal;
|
237
|
+
text-decoration: underline;
|
238
|
+
}
|
239
|
+
|
240
|
+
/* @end */
|
241
|
+
/* @group Multi Chosen */
|
242
|
+
.chosen-container-multi .chosen-choices {
|
243
|
+
position: relative;
|
244
|
+
overflow: hidden;
|
245
|
+
margin: 0;
|
246
|
+
padding: 0 5px;
|
247
|
+
width: 100%;
|
248
|
+
height: auto;
|
249
|
+
border: 1px solid #aaa;
|
250
|
+
background-color: #fff;
|
251
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #eee), color-stop(15%, #fff));
|
252
|
+
background-image: linear-gradient(#eee 1%, #fff 15%);
|
253
|
+
cursor: text;
|
254
|
+
}
|
255
|
+
|
256
|
+
.chosen-container-multi .chosen-choices li {
|
257
|
+
float: left;
|
258
|
+
list-style: none;
|
259
|
+
}
|
260
|
+
|
261
|
+
.chosen-container-multi .chosen-choices li.search-field {
|
262
|
+
margin: 0;
|
263
|
+
padding: 0;
|
264
|
+
white-space: nowrap;
|
265
|
+
}
|
266
|
+
|
267
|
+
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
|
268
|
+
margin: 1px 0;
|
269
|
+
padding: 0;
|
270
|
+
height: 25px;
|
271
|
+
outline: 0;
|
272
|
+
border: 0 !important;
|
273
|
+
background: transparent !important;
|
274
|
+
-webkit-box-shadow: none;
|
275
|
+
box-shadow: none;
|
276
|
+
color: #999;
|
277
|
+
font-size: 100%;
|
278
|
+
font-family: sans-serif;
|
279
|
+
line-height: normal;
|
280
|
+
border-radius: 0;
|
281
|
+
width: 25px;
|
282
|
+
}
|
283
|
+
|
284
|
+
.chosen-container-multi .chosen-choices li.search-choice {
|
285
|
+
position: relative;
|
286
|
+
margin: 3px 5px 3px 0;
|
287
|
+
padding: 3px 20px 3px 5px;
|
288
|
+
border: 1px solid #aaa;
|
289
|
+
max-width: 100%;
|
290
|
+
border-radius: 3px;
|
291
|
+
background-color: #eeeeee;
|
292
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee));
|
293
|
+
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
294
|
+
background-size: 100% 19px;
|
295
|
+
background-repeat: repeat-x;
|
296
|
+
background-clip: padding-box;
|
297
|
+
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
298
|
+
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
299
|
+
color: #333;
|
300
|
+
line-height: 13px;
|
301
|
+
cursor: default;
|
302
|
+
}
|
303
|
+
|
304
|
+
.chosen-container-multi .chosen-choices li.search-choice span {
|
305
|
+
word-wrap: break-word;
|
306
|
+
}
|
307
|
+
|
308
|
+
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
|
309
|
+
position: absolute;
|
310
|
+
top: 4px;
|
311
|
+
right: 3px;
|
312
|
+
display: block;
|
313
|
+
width: 12px;
|
314
|
+
height: 12px;
|
315
|
+
background: url("chosen-sprite.png") -42px 1px no-repeat;
|
316
|
+
font-size: 1px;
|
317
|
+
}
|
318
|
+
|
319
|
+
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
|
320
|
+
background-position: -42px -10px;
|
321
|
+
}
|
322
|
+
|
323
|
+
.chosen-container-multi .chosen-choices li.search-choice-disabled {
|
324
|
+
padding-right: 5px;
|
325
|
+
border: 1px solid #ccc;
|
326
|
+
background-color: #e4e4e4;
|
327
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee));
|
328
|
+
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
329
|
+
color: #666;
|
330
|
+
}
|
331
|
+
|
332
|
+
.chosen-container-multi .chosen-choices li.search-choice-focus {
|
333
|
+
background: #d4d4d4;
|
334
|
+
}
|
335
|
+
|
336
|
+
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
|
337
|
+
background-position: -42px -10px;
|
338
|
+
}
|
339
|
+
|
340
|
+
.chosen-container-multi .chosen-results {
|
341
|
+
margin: 0;
|
342
|
+
padding: 0;
|
343
|
+
}
|
344
|
+
|
345
|
+
.chosen-container-multi .chosen-drop .result-selected {
|
346
|
+
display: list-item;
|
347
|
+
color: #ccc;
|
348
|
+
cursor: default;
|
349
|
+
}
|
350
|
+
|
351
|
+
/* @end */
|
352
|
+
/* @group Active */
|
353
|
+
.chosen-container-active .chosen-single {
|
354
|
+
border: 1px solid #5897fb;
|
355
|
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
356
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
357
|
+
}
|
358
|
+
|
359
|
+
.chosen-container-active.chosen-with-drop .chosen-single {
|
360
|
+
border: 1px solid #aaa;
|
361
|
+
border-bottom-right-radius: 0;
|
362
|
+
border-bottom-left-radius: 0;
|
363
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #eee), color-stop(80%, #fff));
|
364
|
+
background-image: linear-gradient(#eee 20%, #fff 80%);
|
365
|
+
-webkit-box-shadow: 0 1px 0 #fff inset;
|
366
|
+
box-shadow: 0 1px 0 #fff inset;
|
367
|
+
}
|
368
|
+
|
369
|
+
.chosen-container-active.chosen-with-drop .chosen-single div {
|
370
|
+
border-left: none;
|
371
|
+
background: transparent;
|
372
|
+
}
|
373
|
+
|
374
|
+
.chosen-container-active.chosen-with-drop .chosen-single div b {
|
375
|
+
background-position: -18px 2px;
|
376
|
+
}
|
377
|
+
|
378
|
+
.chosen-container-active .chosen-choices {
|
379
|
+
border: 1px solid #5897fb;
|
380
|
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
381
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
382
|
+
}
|
383
|
+
|
384
|
+
.chosen-container-active .chosen-choices li.search-field input[type="text"] {
|
385
|
+
color: #222 !important;
|
386
|
+
}
|
387
|
+
|
388
|
+
/* @end */
|
389
|
+
/* @group Disabled Support */
|
390
|
+
.chosen-disabled {
|
391
|
+
opacity: 0.5 !important;
|
392
|
+
cursor: default;
|
393
|
+
}
|
394
|
+
|
395
|
+
.chosen-disabled .chosen-single {
|
396
|
+
cursor: default;
|
397
|
+
}
|
398
|
+
|
399
|
+
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
|
400
|
+
cursor: default;
|
401
|
+
}
|
402
|
+
|
403
|
+
/* @end */
|
404
|
+
/* @group Right to Left */
|
405
|
+
.chosen-rtl {
|
406
|
+
text-align: right;
|
407
|
+
}
|
408
|
+
|
409
|
+
.chosen-rtl .chosen-single {
|
410
|
+
overflow: visible;
|
411
|
+
padding: 0 8px 0 0;
|
412
|
+
}
|
413
|
+
|
414
|
+
.chosen-rtl .chosen-single span {
|
415
|
+
margin-right: 0;
|
416
|
+
margin-left: 26px;
|
417
|
+
direction: rtl;
|
418
|
+
}
|
419
|
+
|
420
|
+
.chosen-rtl .chosen-single-with-deselect span {
|
421
|
+
margin-left: 38px;
|
422
|
+
}
|
423
|
+
|
424
|
+
.chosen-rtl .chosen-single div {
|
425
|
+
right: auto;
|
426
|
+
left: 3px;
|
427
|
+
}
|
428
|
+
|
429
|
+
.chosen-rtl .chosen-single abbr {
|
430
|
+
right: auto;
|
431
|
+
left: 26px;
|
432
|
+
}
|
433
|
+
|
434
|
+
.chosen-rtl .chosen-choices li {
|
435
|
+
float: right;
|
436
|
+
}
|
437
|
+
|
438
|
+
.chosen-rtl .chosen-choices li.search-field input[type="text"] {
|
439
|
+
direction: rtl;
|
440
|
+
}
|
441
|
+
|
442
|
+
.chosen-rtl .chosen-choices li.search-choice {
|
443
|
+
margin: 3px 5px 3px 0;
|
444
|
+
padding: 3px 5px 3px 19px;
|
445
|
+
}
|
446
|
+
|
447
|
+
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
|
448
|
+
right: auto;
|
449
|
+
left: 4px;
|
450
|
+
}
|
451
|
+
|
452
|
+
.chosen-rtl.chosen-container-single .chosen-results {
|
453
|
+
margin: 0 0 4px 4px;
|
454
|
+
padding: 0 4px 0 0;
|
455
|
+
}
|
456
|
+
|
457
|
+
.chosen-rtl .chosen-results li.group-option {
|
458
|
+
padding-right: 15px;
|
459
|
+
padding-left: 0;
|
460
|
+
}
|
461
|
+
|
462
|
+
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
|
463
|
+
border-right: none;
|
464
|
+
}
|
465
|
+
|
466
|
+
.chosen-rtl .chosen-search input[type="text"] {
|
467
|
+
padding: 4px 5px 4px 20px;
|
468
|
+
background: url("chosen-sprite.png") no-repeat -30px -20px;
|
469
|
+
direction: rtl;
|
470
|
+
}
|
471
|
+
|
472
|
+
.chosen-rtl.chosen-container-single .chosen-single div b {
|
473
|
+
background-position: 6px 2px;
|
474
|
+
}
|
475
|
+
|
476
|
+
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
|
477
|
+
background-position: -12px 2px;
|
478
|
+
}
|
479
|
+
|
480
|
+
/* @end */
|
481
|
+
/* @group Retina compatibility */
|
482
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
|
483
|
+
.chosen-rtl .chosen-search input[type="text"],
|
484
|
+
.chosen-container-single .chosen-single abbr,
|
485
|
+
.chosen-container-single .chosen-single div b,
|
486
|
+
.chosen-container-single .chosen-search input[type="text"],
|
487
|
+
.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
|
488
|
+
.chosen-container .chosen-results-scroll-down span,
|
489
|
+
.chosen-container .chosen-results-scroll-up span {
|
490
|
+
background-image: url("chosen-sprite@2x.png") !important;
|
491
|
+
background-size: 52px 37px !important;
|
492
|
+
background-repeat: no-repeat !important;
|
493
|
+
}
|
494
|
+
}
|
495
|
+
|
496
|
+
/* @end */
|