carnival 0.0.56 → 0.0.57
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/carnival/admin.js +3 -0
- data/app/assets/javascripts/carnival/admin.js.orig +25 -0
- data/app/assets/javascripts/carnival/external/select2/select2.min.js +23 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ar.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_az.js +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_bg.js +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ca.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_cs.js +51 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_da.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_de.js +18 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_el.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_en.js.template +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_es.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_et.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_eu.js +45 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_fa.js +21 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_fi.js +30 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_fr.js +18 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_gl.js +45 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_he.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_hr.js +24 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_hu.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_id.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_is.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_it.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ja.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ka.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ko.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_lt.js +26 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_lv.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_mk.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ms.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_nl.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_no.js +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_pl.js +25 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_pt-BR.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_pt-PT.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ro.js +17 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_rs.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ru.js +23 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_sk.js +50 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_sv.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_th.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_tr.js +19 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_ug-CN.js +16 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_uk.js +25 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_vi.js +20 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_zh-CN.js +16 -0
- data/app/assets/javascripts/carnival/external/select2/select2_locale_zh-TW.js +16 -0
- data/app/assets/javascripts/carnival/select_remote.js +60 -0
- data/app/assets/javascripts/carnival/vizir_admin.js +2 -1
- data/app/assets/javascripts/carnival/vizir_admin.js.orig +144 -0
- data/app/assets/stylesheets/carnival/admin.css +1 -0
- data/app/assets/stylesheets/carnival/main.css +4 -0
- data/app/assets/stylesheets/carnival/select2-spinner.gif +0 -0
- data/app/assets/stylesheets/carnival/select2.css +704 -0
- data/app/assets/stylesheets/carnival/select2.png +0 -0
- data/app/assets/stylesheets/carnival/select2x2.png +0 -0
- data/app/controllers/carnival/base_admin_controller.rb +12 -0
- data/app/inputs/carnival_select_remote_input.rb +29 -0
- data/app/views/carnival/shared/form/_field.html.haml +7 -0
- data/app/views/carnival/shared/form/_field.html.haml.orig +14 -11
- data/app/views/carnival/shared/form/_form.html.haml +5 -1
- data/app/views/carnival/shared/form/_form.html.haml.orig +120 -0
- data/app/views/carnival/shared/form/_nested_form_options.html.haml +1 -1
- data/app/views/carnival/shared/form/_nested_form_options.html.haml.orig +47 -0
- data/lib/carnival/routes.rb +1 -0
- data/lib/carnival/routes.rb.orig +24 -0
- data/lib/carnival/version.rb +1 -1
- data/lib/carnival/version.rb.orig +3 -3
- data/test/dummy/app/controllers/admin/countries_controller.rb +1 -0
- data/test/dummy/app/presenters/admin/state_presenter.rb +2 -1
- data/test/dummy/app/presenters/admin/state_presenter.rb.orig +50 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/bullet.log +215 -0
- data/test/dummy/log/development.log +56326 -0
- data/test/dummy/tmp/cache/assets/development/sass/509d6df7de260d7d7b30aaf213f62ecc911d86f4/select2.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/018a93c2452c8104980bcd5778c4f903 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0771f824a0b668f566e7c11953b6065e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0bbd04f3201327a4cdd08aa5beea2422 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0e538066312487cf0c93484b2a433017 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/12adab320a9b9986d13ed94e39efe2e7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1367e1fa08f1b8c7abd298d4bbe85c1a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/14a446a1806cd2ee255698c10b3cd391 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/22ee6768794b3c3c55570719479481c3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/24d23fdd4c311a9447e4c8c19c97d48e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/29317ab42cc07bf908f29827920b27d5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/29c571d9350b75a47945757daf5ef26f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2c4a028e3e3b137a5e49c13178239cce +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2dfdac7588010f579a833be228971375 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/30c8c2e6ca355103a267133f6b45b0ce +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/32d06d5bee6f865ba0f92224a787a90a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/34dba06ee0eb7a742ecdfcba69edb56e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/379fa199e19b70bbee3ac80c78e0d81e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/39d34c0caaa6f36d684fac1898a7f88f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d4686d9bb627b7c725f000130c5a61d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d8100b6e405407290dcf994ef05e0b7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3eb8fc367b74dbe8ae50e0f98feec6bb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3f9e96f5004cdb0ba971394c41c76931 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/41249a08e767749660864b8a126871e4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/43797547fd9a4d394bb0f7a99b2b3a94 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/43f27cc92ef38f6a01575708b2fa0e97 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4771cad53166b45022c6d03cb4b8c1e2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/48693f24b0d6df0cc626066ce01674e3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4a7a4dcd9fea9bd2e287771c51f96631 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b6e6db955179fabe966a77cecb884fc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b8f852230d4e126ed2a8f54594bc2ca +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4e4b1f24c5e69f2f305f6d6483a1605c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4fc67dc5428a9f07a32dd1bb9e1447ae +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/50b3d3fa409e82b9990432561974e533 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/51537bd5728cad7f016be9b074c4f3ee +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/51bc502ce2fcf333e1123f4b19fcf7f8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/536648929c703c8c5e964b502b2095ff +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5644ad965098c5b865233d32caa78fa2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/565023fdd3960225e817ec043b2d9474 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/56a682a9df1f53c8d67f2467389995b2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/63982917dbb816db857477c2a2e7f999 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/69b3c18a3b9e45cd69a6df6c91f1807b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6c56ac77ea3b80472eb076fda62e0259 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6c95dc85b0bd5df72197be27cb987cb0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6d806eaa317f200bbf2832a0abf1c1cc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6dbcb09bb8b13a79ba150908ac8a5491 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6ebd06491e132b3907c33181ba6455d8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/752d59d33a640efa2745467df3e2cb7b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/78b5037e05950c87864989c8fd18524a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/79938d0a132e22a9a8f9cb59799aa546 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/79f249600921bff9906cd4f6418852d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8576d7c22dbd8222ab27a6c47f56a65c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/874ebf15c13c8699187b0c9e5dc52175 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9285a4d2fa6444ced9a4d2775ebead57 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/929914a16eaca5537bbc9b4d33646223 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9ae99eba4f0f2e46d6bd58c98d39a1f9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9dbe0a36629f740426a301876917b9d3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9dcf3f13f133f78ee4595ed37117b05b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a0a55ae2ade6651b5e3a02c48eb65f88 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a104711413193d8cbfa431662760b38a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a23f793f10f58c10ce34d68d181ed32f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a515ea5e8aa465597bf897e31735b32d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a68cd2439f6cc8e7f002b1845ab3fd0c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/adafe641ec176fcf476a9a200f7d561f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ae269fb1b4129501c9b8ca317b0cd7e7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b740fd10a7de993ae4db7f1f5df909d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bc4c8f727196d1e399090596cae4a85b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bf313b342653b1b3e509da03d61866e2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bf81a479ccdf9a6ba78ef5a5647d8e16 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bfae304b927120a1b379c8dfdcf03cbb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c34cb2d9c5caf3927f220b9e43f6762d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c72101732682999b6ca050f007fc6467 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c753ab5855fa7322e298f05684a45d0f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c8927e934e7960fc7907b6fc02ea7f08 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c980544b5828a643ecaa8e784897c2c2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/caa549dc4bdcddd64e487a5827e64a80 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cae24edceb694d087d7a1547f551ee34 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cb180d1ba68a565b8373b22576170eb8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cc2c3f8b87c5b787305412a3076058db +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d16461dfcae4b782f721ebd81e4f8740 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d5a920fbfad1410d8ec2dbc5029bbaf6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d6327a0916e2e516fcf7ab7c5520c7a0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d73ac23504860006ee8365d9031bd98b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/daf428b2f08afc738dfcd85d872d49c4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dc5a6e1e848dfc338a281846eb757ef2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dcedf863f6acc3e1f21ec11434a77bf7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e0352d0f97751491adbe6a94832772af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e4298973f799acdce289752c24bfddf2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e9c81ca91323dab8977ffd8a459cab06 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/eb7d39f60d584b68af01ee0b7fa59e9d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ef5b9ae70f88795292472efad672fc1b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f1e75c209067b23f5c0c7bf2006c43d0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f5c9348795319821f3309d4e03bb9fdb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f69e8aafb38584272cbcbca08f3085d3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f6b09a5a33ecad520452011007930e0e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7ab949c8c6b7ef3f2b743ebd98f9f59 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +267 -46
- data/app/models/carnival/field.rb.orig +0 -157
@@ -7,6 +7,7 @@
|
|
7
7
|
*= require carnival/colorbox.css
|
8
8
|
*= require carnival/formframe.css
|
9
9
|
*= require carnival/main.css
|
10
|
+
*= require carnival/select2.css
|
10
11
|
*= require carnival/jquery-ui-1.8.11.custom
|
11
12
|
*= require carnival/perfect-scrollbar-0.4.6.min
|
12
13
|
*= require carnival/jquery.fancybox
|
Binary file
|
@@ -0,0 +1,704 @@
|
|
1
|
+
/*
|
2
|
+
Version: 3.5.1 Timestamp: Tue Jul 22 18:58:56 EDT 2014
|
3
|
+
*/
|
4
|
+
.select2-container {
|
5
|
+
margin: 0;
|
6
|
+
position: relative;
|
7
|
+
display: inline-block;
|
8
|
+
/* inline-block for ie7 */
|
9
|
+
zoom: 1;
|
10
|
+
*display: inline;
|
11
|
+
vertical-align: middle;
|
12
|
+
}
|
13
|
+
|
14
|
+
.select2-container,
|
15
|
+
.select2-drop,
|
16
|
+
.select2-search,
|
17
|
+
.select2-search input {
|
18
|
+
/*
|
19
|
+
Force border-box so that % widths fit the parent
|
20
|
+
container without overlap because of margin/padding.
|
21
|
+
More Info : http://www.quirksmode.org/css/box.html
|
22
|
+
*/
|
23
|
+
-webkit-box-sizing: border-box; /* webkit */
|
24
|
+
-moz-box-sizing: border-box; /* firefox */
|
25
|
+
box-sizing: border-box; /* css3 */
|
26
|
+
}
|
27
|
+
|
28
|
+
.select2-container .select2-choice {
|
29
|
+
display: block;
|
30
|
+
height: 26px;
|
31
|
+
padding: 0 0 0 8px;
|
32
|
+
overflow: hidden;
|
33
|
+
position: relative;
|
34
|
+
|
35
|
+
border: 1px solid #aaa;
|
36
|
+
white-space: nowrap;
|
37
|
+
line-height: 26px;
|
38
|
+
color: #444;
|
39
|
+
text-decoration: none;
|
40
|
+
|
41
|
+
border-radius: 4px;
|
42
|
+
|
43
|
+
background-clip: padding-box;
|
44
|
+
|
45
|
+
-webkit-touch-callout: none;
|
46
|
+
-webkit-user-select: none;
|
47
|
+
-moz-user-select: none;
|
48
|
+
-ms-user-select: none;
|
49
|
+
user-select: none;
|
50
|
+
|
51
|
+
background-color: #fff;
|
52
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
|
53
|
+
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
54
|
+
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
55
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
|
56
|
+
background-image: linear-gradient(to top, #eee 0%, #fff 50%);
|
57
|
+
}
|
58
|
+
|
59
|
+
html[dir="rtl"] .select2-container .select2-choice {
|
60
|
+
padding: 0 8px 0 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
.select2-container.select2-drop-above .select2-choice {
|
64
|
+
border-bottom-color: #aaa;
|
65
|
+
|
66
|
+
border-radius: 0 0 4px 4px;
|
67
|
+
|
68
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.9, #fff));
|
69
|
+
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
70
|
+
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
71
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
|
72
|
+
background-image: linear-gradient(to bottom, #eee 0%, #fff 90%);
|
73
|
+
}
|
74
|
+
|
75
|
+
.select2-container.select2-allowclear .select2-choice .select2-chosen {
|
76
|
+
margin-right: 42px;
|
77
|
+
}
|
78
|
+
|
79
|
+
.select2-container .select2-choice > .select2-chosen {
|
80
|
+
margin-right: 26px;
|
81
|
+
display: block;
|
82
|
+
overflow: hidden;
|
83
|
+
|
84
|
+
white-space: nowrap;
|
85
|
+
|
86
|
+
text-overflow: ellipsis;
|
87
|
+
float: none;
|
88
|
+
width: auto;
|
89
|
+
}
|
90
|
+
|
91
|
+
html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
|
92
|
+
margin-left: 26px;
|
93
|
+
margin-right: 0;
|
94
|
+
}
|
95
|
+
|
96
|
+
.select2-container .select2-choice abbr {
|
97
|
+
display: none;
|
98
|
+
width: 12px;
|
99
|
+
height: 12px;
|
100
|
+
position: absolute;
|
101
|
+
right: 24px;
|
102
|
+
top: 8px;
|
103
|
+
|
104
|
+
font-size: 1px;
|
105
|
+
text-decoration: none;
|
106
|
+
|
107
|
+
border: 0;
|
108
|
+
background: url('select2.png') right top no-repeat;
|
109
|
+
cursor: pointer;
|
110
|
+
outline: 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
.select2-container.select2-allowclear .select2-choice abbr {
|
114
|
+
display: inline-block;
|
115
|
+
}
|
116
|
+
|
117
|
+
.select2-container .select2-choice abbr:hover {
|
118
|
+
background-position: right -11px;
|
119
|
+
cursor: pointer;
|
120
|
+
}
|
121
|
+
|
122
|
+
.select2-drop-mask {
|
123
|
+
border: 0;
|
124
|
+
margin: 0;
|
125
|
+
padding: 0;
|
126
|
+
position: fixed;
|
127
|
+
left: 0;
|
128
|
+
top: 0;
|
129
|
+
min-height: 100%;
|
130
|
+
min-width: 100%;
|
131
|
+
height: auto;
|
132
|
+
width: auto;
|
133
|
+
opacity: 0;
|
134
|
+
z-index: 9998;
|
135
|
+
/* styles required for IE to work */
|
136
|
+
background-color: #fff;
|
137
|
+
filter: alpha(opacity=0);
|
138
|
+
}
|
139
|
+
|
140
|
+
.select2-drop {
|
141
|
+
width: 100%;
|
142
|
+
margin-top: -1px;
|
143
|
+
position: absolute;
|
144
|
+
z-index: 9999;
|
145
|
+
top: 100%;
|
146
|
+
|
147
|
+
background: #fff;
|
148
|
+
color: #000;
|
149
|
+
border: 1px solid #aaa;
|
150
|
+
border-top: 0;
|
151
|
+
|
152
|
+
border-radius: 0 0 4px 4px;
|
153
|
+
|
154
|
+
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
|
155
|
+
box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
|
156
|
+
}
|
157
|
+
|
158
|
+
.select2-drop.select2-drop-above {
|
159
|
+
margin-top: 1px;
|
160
|
+
border-top: 1px solid #aaa;
|
161
|
+
border-bottom: 0;
|
162
|
+
|
163
|
+
border-radius: 4px 4px 0 0;
|
164
|
+
|
165
|
+
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
|
166
|
+
box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
|
167
|
+
}
|
168
|
+
|
169
|
+
.select2-drop-active {
|
170
|
+
border: 1px solid #5897fb;
|
171
|
+
border-top: none;
|
172
|
+
}
|
173
|
+
|
174
|
+
.select2-drop.select2-drop-above.select2-drop-active {
|
175
|
+
border-top: 1px solid #5897fb;
|
176
|
+
}
|
177
|
+
|
178
|
+
.select2-drop-auto-width {
|
179
|
+
border-top: 1px solid #aaa;
|
180
|
+
width: auto;
|
181
|
+
}
|
182
|
+
|
183
|
+
.select2-drop-auto-width .select2-search {
|
184
|
+
padding-top: 4px;
|
185
|
+
}
|
186
|
+
|
187
|
+
.select2-container .select2-choice .select2-arrow {
|
188
|
+
display: inline-block;
|
189
|
+
width: 18px;
|
190
|
+
height: 100%;
|
191
|
+
position: absolute;
|
192
|
+
right: 0;
|
193
|
+
top: 0;
|
194
|
+
|
195
|
+
border-left: 1px solid #aaa;
|
196
|
+
border-radius: 0 4px 4px 0;
|
197
|
+
|
198
|
+
background-clip: padding-box;
|
199
|
+
|
200
|
+
background: #ccc;
|
201
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
|
202
|
+
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
|
203
|
+
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
|
204
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
|
205
|
+
background-image: linear-gradient(to top, #ccc 0%, #eee 60%);
|
206
|
+
}
|
207
|
+
|
208
|
+
html[dir="rtl"] .select2-container .select2-choice .select2-arrow {
|
209
|
+
left: 0;
|
210
|
+
right: auto;
|
211
|
+
|
212
|
+
border-left: none;
|
213
|
+
border-right: 1px solid #aaa;
|
214
|
+
border-radius: 4px 0 0 4px;
|
215
|
+
}
|
216
|
+
|
217
|
+
.select2-container .select2-choice .select2-arrow b {
|
218
|
+
display: block;
|
219
|
+
width: 100%;
|
220
|
+
height: 100%;
|
221
|
+
background: url('select2.png') no-repeat 0 1px;
|
222
|
+
}
|
223
|
+
|
224
|
+
html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
|
225
|
+
background-position: 2px 1px;
|
226
|
+
}
|
227
|
+
|
228
|
+
.select2-search {
|
229
|
+
display: inline-block;
|
230
|
+
width: 100%;
|
231
|
+
min-height: 26px;
|
232
|
+
margin: 0;
|
233
|
+
padding-left: 4px;
|
234
|
+
padding-right: 4px;
|
235
|
+
|
236
|
+
position: relative;
|
237
|
+
z-index: 10000;
|
238
|
+
|
239
|
+
white-space: nowrap;
|
240
|
+
}
|
241
|
+
|
242
|
+
.select2-search input {
|
243
|
+
width: 100%;
|
244
|
+
height: auto !important;
|
245
|
+
min-height: 26px;
|
246
|
+
padding: 4px 20px 4px 5px;
|
247
|
+
margin: 0;
|
248
|
+
|
249
|
+
outline: 0;
|
250
|
+
font-family: sans-serif;
|
251
|
+
font-size: 1em;
|
252
|
+
|
253
|
+
border: 1px solid #aaa;
|
254
|
+
border-radius: 0;
|
255
|
+
|
256
|
+
-webkit-box-shadow: none;
|
257
|
+
box-shadow: none;
|
258
|
+
|
259
|
+
background: #fff url('select2.png') no-repeat 100% -22px;
|
260
|
+
background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
261
|
+
background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
262
|
+
background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
263
|
+
background: url('select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
264
|
+
}
|
265
|
+
|
266
|
+
html[dir="rtl"] .select2-search input {
|
267
|
+
padding: 4px 5px 4px 20px;
|
268
|
+
|
269
|
+
background: #fff url('select2.png') no-repeat -37px -22px;
|
270
|
+
background: url('select2.png') no-repeat -37px -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
271
|
+
background: url('select2.png') no-repeat -37px -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
272
|
+
background: url('select2.png') no-repeat -37px -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
273
|
+
background: url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
274
|
+
}
|
275
|
+
|
276
|
+
.select2-drop.select2-drop-above .select2-search input {
|
277
|
+
margin-top: 4px;
|
278
|
+
}
|
279
|
+
|
280
|
+
.select2-search input.select2-active {
|
281
|
+
background: #fff url('select2-spinner.gif') no-repeat 100%;
|
282
|
+
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
283
|
+
background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
284
|
+
background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
285
|
+
background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
286
|
+
}
|
287
|
+
|
288
|
+
.select2-container-active .select2-choice,
|
289
|
+
.select2-container-active .select2-choices {
|
290
|
+
border: 1px solid #5897fb;
|
291
|
+
outline: none;
|
292
|
+
|
293
|
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
294
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
295
|
+
}
|
296
|
+
|
297
|
+
.select2-dropdown-open .select2-choice {
|
298
|
+
border-bottom-color: transparent;
|
299
|
+
-webkit-box-shadow: 0 1px 0 #fff inset;
|
300
|
+
box-shadow: 0 1px 0 #fff inset;
|
301
|
+
|
302
|
+
border-bottom-left-radius: 0;
|
303
|
+
border-bottom-right-radius: 0;
|
304
|
+
|
305
|
+
background-color: #eee;
|
306
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.5, #eee));
|
307
|
+
background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
308
|
+
background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
309
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
310
|
+
background-image: linear-gradient(to top, #fff 0%, #eee 50%);
|
311
|
+
}
|
312
|
+
|
313
|
+
.select2-dropdown-open.select2-drop-above .select2-choice,
|
314
|
+
.select2-dropdown-open.select2-drop-above .select2-choices {
|
315
|
+
border: 1px solid #5897fb;
|
316
|
+
border-top-color: transparent;
|
317
|
+
|
318
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #eee));
|
319
|
+
background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
|
320
|
+
background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
|
321
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
322
|
+
background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
|
323
|
+
}
|
324
|
+
|
325
|
+
.select2-dropdown-open .select2-choice .select2-arrow {
|
326
|
+
background: transparent;
|
327
|
+
border-left: none;
|
328
|
+
filter: none;
|
329
|
+
}
|
330
|
+
html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {
|
331
|
+
border-right: none;
|
332
|
+
}
|
333
|
+
|
334
|
+
.select2-dropdown-open .select2-choice .select2-arrow b {
|
335
|
+
background-position: -18px 1px;
|
336
|
+
}
|
337
|
+
|
338
|
+
html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow b {
|
339
|
+
background-position: -16px 1px;
|
340
|
+
}
|
341
|
+
|
342
|
+
.select2-hidden-accessible {
|
343
|
+
border: 0;
|
344
|
+
clip: rect(0 0 0 0);
|
345
|
+
height: 1px;
|
346
|
+
margin: -1px;
|
347
|
+
overflow: hidden;
|
348
|
+
padding: 0;
|
349
|
+
position: absolute;
|
350
|
+
width: 1px;
|
351
|
+
}
|
352
|
+
|
353
|
+
/* results */
|
354
|
+
.select2-results {
|
355
|
+
max-height: 200px;
|
356
|
+
padding: 0 0 0 4px;
|
357
|
+
margin: 4px 4px 4px 0;
|
358
|
+
position: relative;
|
359
|
+
overflow-x: hidden;
|
360
|
+
overflow-y: auto;
|
361
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
362
|
+
}
|
363
|
+
|
364
|
+
html[dir="rtl"] .select2-results {
|
365
|
+
padding: 0 4px 0 0;
|
366
|
+
margin: 4px 0 4px 4px;
|
367
|
+
}
|
368
|
+
|
369
|
+
.select2-results ul.select2-result-sub {
|
370
|
+
margin: 0;
|
371
|
+
padding-left: 0;
|
372
|
+
}
|
373
|
+
|
374
|
+
.select2-results li {
|
375
|
+
list-style: none;
|
376
|
+
display: list-item;
|
377
|
+
background-image: none;
|
378
|
+
}
|
379
|
+
|
380
|
+
.select2-results li.select2-result-with-children > .select2-result-label {
|
381
|
+
font-weight: bold;
|
382
|
+
}
|
383
|
+
|
384
|
+
.select2-results .select2-result-label {
|
385
|
+
padding: 3px 7px 4px;
|
386
|
+
margin: 0;
|
387
|
+
cursor: pointer;
|
388
|
+
|
389
|
+
min-height: 1em;
|
390
|
+
|
391
|
+
-webkit-touch-callout: none;
|
392
|
+
-webkit-user-select: none;
|
393
|
+
-moz-user-select: none;
|
394
|
+
-ms-user-select: none;
|
395
|
+
user-select: none;
|
396
|
+
}
|
397
|
+
|
398
|
+
.select2-results-dept-1 .select2-result-label { padding-left: 20px }
|
399
|
+
.select2-results-dept-2 .select2-result-label { padding-left: 40px }
|
400
|
+
.select2-results-dept-3 .select2-result-label { padding-left: 60px }
|
401
|
+
.select2-results-dept-4 .select2-result-label { padding-left: 80px }
|
402
|
+
.select2-results-dept-5 .select2-result-label { padding-left: 100px }
|
403
|
+
.select2-results-dept-6 .select2-result-label { padding-left: 110px }
|
404
|
+
.select2-results-dept-7 .select2-result-label { padding-left: 120px }
|
405
|
+
|
406
|
+
.select2-results .select2-highlighted {
|
407
|
+
background: #3875d7;
|
408
|
+
color: #fff;
|
409
|
+
}
|
410
|
+
|
411
|
+
.select2-results li em {
|
412
|
+
background: #feffde;
|
413
|
+
font-style: normal;
|
414
|
+
}
|
415
|
+
|
416
|
+
.select2-results .select2-highlighted em {
|
417
|
+
background: transparent;
|
418
|
+
}
|
419
|
+
|
420
|
+
.select2-results .select2-highlighted ul {
|
421
|
+
background: #fff;
|
422
|
+
color: #000;
|
423
|
+
}
|
424
|
+
|
425
|
+
.select2-results .select2-no-results,
|
426
|
+
.select2-results .select2-searching,
|
427
|
+
.select2-results .select2-ajax-error,
|
428
|
+
.select2-results .select2-selection-limit {
|
429
|
+
background: #f4f4f4;
|
430
|
+
display: list-item;
|
431
|
+
padding-left: 5px;
|
432
|
+
}
|
433
|
+
|
434
|
+
/*
|
435
|
+
disabled look for disabled choices in the results dropdown
|
436
|
+
*/
|
437
|
+
.select2-results .select2-disabled.select2-highlighted {
|
438
|
+
color: #666;
|
439
|
+
background: #f4f4f4;
|
440
|
+
display: list-item;
|
441
|
+
cursor: default;
|
442
|
+
}
|
443
|
+
.select2-results .select2-disabled {
|
444
|
+
background: #f4f4f4;
|
445
|
+
display: list-item;
|
446
|
+
cursor: default;
|
447
|
+
}
|
448
|
+
|
449
|
+
.select2-results .select2-selected {
|
450
|
+
display: none;
|
451
|
+
}
|
452
|
+
|
453
|
+
.select2-more-results.select2-active {
|
454
|
+
background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%;
|
455
|
+
}
|
456
|
+
|
457
|
+
.select2-results .select2-ajax-error {
|
458
|
+
background: rgba(255, 50, 50, .2);
|
459
|
+
}
|
460
|
+
|
461
|
+
.select2-more-results {
|
462
|
+
background: #f4f4f4;
|
463
|
+
display: list-item;
|
464
|
+
}
|
465
|
+
|
466
|
+
/* disabled styles */
|
467
|
+
|
468
|
+
.select2-container.select2-container-disabled .select2-choice {
|
469
|
+
background-color: #f4f4f4;
|
470
|
+
background-image: none;
|
471
|
+
border: 1px solid #ddd;
|
472
|
+
cursor: default;
|
473
|
+
}
|
474
|
+
|
475
|
+
.select2-container.select2-container-disabled .select2-choice .select2-arrow {
|
476
|
+
background-color: #f4f4f4;
|
477
|
+
background-image: none;
|
478
|
+
border-left: 0;
|
479
|
+
}
|
480
|
+
|
481
|
+
.select2-container.select2-container-disabled .select2-choice abbr {
|
482
|
+
display: none;
|
483
|
+
}
|
484
|
+
|
485
|
+
|
486
|
+
/* multiselect */
|
487
|
+
|
488
|
+
.select2-container-multi .select2-choices {
|
489
|
+
height: auto !important;
|
490
|
+
height: 1%;
|
491
|
+
margin: 0;
|
492
|
+
padding: 0 5px 0 0;
|
493
|
+
position: relative;
|
494
|
+
|
495
|
+
border: 1px solid #aaa;
|
496
|
+
cursor: text;
|
497
|
+
overflow: hidden;
|
498
|
+
|
499
|
+
background-color: #fff;
|
500
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
|
501
|
+
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
|
502
|
+
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
|
503
|
+
background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
|
504
|
+
}
|
505
|
+
|
506
|
+
html[dir="rtl"] .select2-container-multi .select2-choices {
|
507
|
+
padding: 0 0 0 5px;
|
508
|
+
}
|
509
|
+
|
510
|
+
.select2-locked {
|
511
|
+
padding: 3px 5px 3px 5px !important;
|
512
|
+
}
|
513
|
+
|
514
|
+
.select2-container-multi .select2-choices {
|
515
|
+
min-height: 26px;
|
516
|
+
}
|
517
|
+
|
518
|
+
.select2-container-multi.select2-container-active .select2-choices {
|
519
|
+
border: 1px solid #5897fb;
|
520
|
+
outline: none;
|
521
|
+
|
522
|
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
523
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
524
|
+
}
|
525
|
+
.select2-container-multi .select2-choices li {
|
526
|
+
float: left;
|
527
|
+
list-style: none;
|
528
|
+
}
|
529
|
+
html[dir="rtl"] .select2-container-multi .select2-choices li
|
530
|
+
{
|
531
|
+
float: right;
|
532
|
+
}
|
533
|
+
.select2-container-multi .select2-choices .select2-search-field {
|
534
|
+
margin: 0;
|
535
|
+
padding: 0;
|
536
|
+
white-space: nowrap;
|
537
|
+
}
|
538
|
+
|
539
|
+
.select2-container-multi .select2-choices .select2-search-field input {
|
540
|
+
padding: 5px;
|
541
|
+
margin: 1px 0;
|
542
|
+
|
543
|
+
font-family: sans-serif;
|
544
|
+
font-size: 100%;
|
545
|
+
color: #666;
|
546
|
+
outline: 0;
|
547
|
+
border: 0;
|
548
|
+
-webkit-box-shadow: none;
|
549
|
+
box-shadow: none;
|
550
|
+
background: transparent !important;
|
551
|
+
}
|
552
|
+
|
553
|
+
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
|
554
|
+
background: #fff url('select2-spinner.gif') no-repeat 100% !important;
|
555
|
+
}
|
556
|
+
|
557
|
+
.select2-default {
|
558
|
+
color: #999 !important;
|
559
|
+
}
|
560
|
+
|
561
|
+
.select2-container-multi .select2-choices .select2-search-choice {
|
562
|
+
padding: 3px 5px 3px 18px;
|
563
|
+
margin: 3px 0 3px 5px;
|
564
|
+
position: relative;
|
565
|
+
|
566
|
+
line-height: 13px;
|
567
|
+
color: #333;
|
568
|
+
cursor: default;
|
569
|
+
border: 1px solid #aaaaaa;
|
570
|
+
|
571
|
+
border-radius: 3px;
|
572
|
+
|
573
|
+
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
574
|
+
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
575
|
+
|
576
|
+
background-clip: padding-box;
|
577
|
+
|
578
|
+
-webkit-touch-callout: none;
|
579
|
+
-webkit-user-select: none;
|
580
|
+
-moz-user-select: none;
|
581
|
+
-ms-user-select: none;
|
582
|
+
user-select: none;
|
583
|
+
|
584
|
+
background-color: #e4e4e4;
|
585
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
|
586
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
|
587
|
+
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
588
|
+
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
589
|
+
background-image: linear-gradient(to top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
590
|
+
}
|
591
|
+
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
|
592
|
+
{
|
593
|
+
margin: 3px 5px 3px 0;
|
594
|
+
padding: 3px 18px 3px 5px;
|
595
|
+
}
|
596
|
+
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
|
597
|
+
cursor: default;
|
598
|
+
}
|
599
|
+
.select2-container-multi .select2-choices .select2-search-choice-focus {
|
600
|
+
background: #d4d4d4;
|
601
|
+
}
|
602
|
+
|
603
|
+
.select2-search-choice-close {
|
604
|
+
display: block;
|
605
|
+
width: 12px;
|
606
|
+
height: 13px;
|
607
|
+
position: absolute;
|
608
|
+
right: 3px;
|
609
|
+
top: 4px;
|
610
|
+
|
611
|
+
font-size: 1px;
|
612
|
+
outline: none;
|
613
|
+
background: url('select2.png') right top no-repeat;
|
614
|
+
}
|
615
|
+
html[dir="rtl"] .select2-search-choice-close {
|
616
|
+
right: auto;
|
617
|
+
left: 3px;
|
618
|
+
}
|
619
|
+
|
620
|
+
.select2-container-multi .select2-search-choice-close {
|
621
|
+
left: 3px;
|
622
|
+
}
|
623
|
+
|
624
|
+
html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
|
625
|
+
left: auto;
|
626
|
+
right: 2px;
|
627
|
+
}
|
628
|
+
|
629
|
+
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
|
630
|
+
background-position: right -11px;
|
631
|
+
}
|
632
|
+
.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
|
633
|
+
background-position: right -11px;
|
634
|
+
}
|
635
|
+
|
636
|
+
/* disabled styles */
|
637
|
+
.select2-container-multi.select2-container-disabled .select2-choices {
|
638
|
+
background-color: #f4f4f4;
|
639
|
+
background-image: none;
|
640
|
+
border: 1px solid #ddd;
|
641
|
+
cursor: default;
|
642
|
+
}
|
643
|
+
|
644
|
+
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
|
645
|
+
padding: 3px 5px 3px 5px;
|
646
|
+
border: 1px solid #ddd;
|
647
|
+
background-image: none;
|
648
|
+
background-color: #f4f4f4;
|
649
|
+
}
|
650
|
+
|
651
|
+
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
|
652
|
+
background: none;
|
653
|
+
}
|
654
|
+
/* end multiselect */
|
655
|
+
|
656
|
+
|
657
|
+
.select2-result-selectable .select2-match,
|
658
|
+
.select2-result-unselectable .select2-match {
|
659
|
+
text-decoration: underline;
|
660
|
+
}
|
661
|
+
|
662
|
+
.select2-offscreen, .select2-offscreen:focus {
|
663
|
+
clip: rect(0 0 0 0) !important;
|
664
|
+
width: 1px !important;
|
665
|
+
height: 1px !important;
|
666
|
+
border: 0 !important;
|
667
|
+
margin: 0 !important;
|
668
|
+
padding: 0 !important;
|
669
|
+
overflow: hidden !important;
|
670
|
+
position: absolute !important;
|
671
|
+
outline: 0 !important;
|
672
|
+
left: 0px !important;
|
673
|
+
top: 0px !important;
|
674
|
+
}
|
675
|
+
|
676
|
+
.select2-display-none {
|
677
|
+
display: none;
|
678
|
+
}
|
679
|
+
|
680
|
+
.select2-measure-scrollbar {
|
681
|
+
position: absolute;
|
682
|
+
top: -10000px;
|
683
|
+
left: -10000px;
|
684
|
+
width: 100px;
|
685
|
+
height: 100px;
|
686
|
+
overflow: scroll;
|
687
|
+
}
|
688
|
+
|
689
|
+
/* Retina-ize icons */
|
690
|
+
|
691
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
|
692
|
+
.select2-search input,
|
693
|
+
.select2-search-choice-close,
|
694
|
+
.select2-container .select2-choice abbr,
|
695
|
+
.select2-container .select2-choice .select2-arrow b {
|
696
|
+
background-image: url('select2x2.png') !important;
|
697
|
+
background-repeat: no-repeat !important;
|
698
|
+
background-size: 60px 40px !important;
|
699
|
+
}
|
700
|
+
|
701
|
+
.select2-search input {
|
702
|
+
background-position: 100% -21px !important;
|
703
|
+
}
|
704
|
+
}
|