| 1 |
/* |
| 2 |
Version: 3.4.1 Timestamp: Thu Jun 27 18:02:10 PDT 2013 |
| 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 |
|
| 22 |
More Info : http://www.quirksmode.org/css/box.html |
| 23 |
*/ |
| 24 |
-webkit-box-sizing: border-box; /* webkit */ |
| 25 |
-khtml-box-sizing: border-box; /* konqueror */ |
| 26 |
-moz-box-sizing: border-box; /* firefox */ |
| 27 |
-ms-box-sizing: border-box; /* ie */ |
| 28 |
box-sizing: border-box; /* css3 */ |
| 29 |
} |
| 30 |
|
| 31 |
.select2-container .select2-choice { |
| 32 |
display: block; |
| 33 |
height: 26px; |
| 34 |
padding: 0 0 0 8px; |
| 35 |
overflow: hidden; |
| 36 |
position: relative; |
| 37 |
|
| 38 |
border: 1px solid #aaa; |
| 39 |
white-space: nowrap; |
| 40 |
line-height: 26px; |
| 41 |
color: #444; |
| 42 |
text-decoration: none; |
| 43 |
|
| 44 |
-webkit-border-radius: 4px; |
| 45 |
-moz-border-radius: 4px; |
| 46 |
border-radius: 4px; |
| 47 |
|
| 48 |
-webkit-background-clip: padding-box; |
| 49 |
-moz-background-clip: padding; |
| 50 |
background-clip: padding-box; |
| 51 |
|
| 52 |
-webkit-touch-callout: none; |
| 53 |
-webkit-user-select: none; |
| 54 |
-khtml-user-select: none; |
| 55 |
-moz-user-select: none; |
| 56 |
-ms-user-select: none; |
| 57 |
user-select: none; |
| 58 |
|
| 59 |
background-color: #fff; |
| 60 |
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white)); |
| 61 |
background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%); |
| 62 |
background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%); |
| 63 |
background-image: -o-linear-gradient(bottom, #eeeeee 0%, #ffffff 50%); |
| 64 |
background-image: -ms-linear-gradient(top, #ffffff 0%, #eeeeee 50%); |
| 65 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0); |
| 66 |
background-image: linear-gradient(top, #ffffff 0%, #eeeeee 50%); |
| 67 |
} |
| 68 |
|
| 69 |
.select2-container.select2-drop-above .select2-choice { |
| 70 |
border-bottom-color: #aaa; |
| 71 |
|
| 72 |
-webkit-border-radius:0 0 4px 4px; |
| 73 |
-moz-border-radius:0 0 4px 4px; |
| 74 |
border-radius:0 0 4px 4px; |
| 75 |
|
| 76 |
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.9, white)); |
| 77 |
background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 90%); |
| 78 |
background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 90%); |
| 79 |
background-image: -o-linear-gradient(bottom, #eeeeee 0%, white 90%); |
| 80 |
background-image: -ms-linear-gradient(top, #eeeeee 0%,#ffffff 90%); |
| 81 |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); |
| 82 |
background-image: linear-gradient(top, #eeeeee 0%,#ffffff 90%); |
| 83 |
} |
| 84 |
|
| 85 |
.select2-container.select2-allowclear .select2-choice .select2-chosen { |
| 86 |
margin-right: 42px; |
| 87 |
} |
| 88 |
|
| 89 |
.select2-container .select2-choice > .select2-chosen { |
| 90 |
margin-right: 26px; |
| 91 |
display: block; |
| 92 |
overflow: hidden; |
| 93 |
|
| 94 |
white-space: nowrap; |
| 95 |
|
| 96 |
-ms-text-overflow: ellipsis; |
| 97 |
-o-text-overflow: ellipsis; |
| 98 |
text-overflow: ellipsis; |
| 99 |
} |
| 100 |
|
| 101 |
.select2-container .select2-choice abbr { |
| 102 |
display: none; |
| 103 |
width: 12px; |
| 104 |
height: 12px; |
| 105 |
position: absolute; |
| 106 |
right: 24px; |
| 107 |
top: 8px; |
| 108 |
|
| 109 |
font-size: 1px; |
| 110 |
text-decoration: none; |
| 111 |
|
| 112 |
border: 0; |
| 113 |
background: url('select2.png') right top no-repeat; |
| 114 |
cursor: pointer; |
| 115 |
outline: 0; |
| 116 |
} |
| 117 |
|
| 118 |
.select2-container.select2-allowclear .select2-choice abbr { |
| 119 |
display: inline-block; |
| 120 |
} |
| 121 |
|
| 122 |
.select2-container .select2-choice abbr:hover { |
| 123 |
background-position: right -11px; |
| 124 |
cursor: pointer; |
| 125 |
} |
| 126 |
|
| 127 |
.select2-drop-undermask { |
| 128 |
border: 0; |
| 129 |
margin: 0; |
| 130 |
padding: 0; |
| 131 |
position: absolute; |
| 132 |
left: 0; |
| 133 |
top: 0; |
| 134 |
z-index: 9998; |
| 135 |
background-color: transparent; |
| 136 |
filter: alpha(opacity=0); |
| 137 |
} |
| 138 |
|
| 139 |
.select2-drop-mask { |
| 140 |
border: 0; |
| 141 |
margin: 0; |
| 142 |
padding: 0; |
| 143 |
position: absolute; |
| 144 |
left: 0; |
| 145 |
top: 0; |
| 146 |
z-index: 9998; |
| 147 |
/* styles required for IE to work */ |
| 148 |
background-color: #fff; |
| 149 |
opacity: 0; |
| 150 |
filter: alpha(opacity=0); |
| 151 |
} |
| 152 |
|
| 153 |
.select2-drop { |
| 154 |
width: 100%; |
| 155 |
margin-top: -1px; |
| 156 |
position: absolute; |
| 157 |
z-index: 9999; |
| 158 |
top: 100%; |
| 159 |
|
| 160 |
background: #fff; |
| 161 |
color: #000; |
| 162 |
border: 1px solid #aaa; |
| 163 |
border-top: 0; |
| 164 |
|
| 165 |
-webkit-border-radius: 0 0 4px 4px; |
| 166 |
-moz-border-radius: 0 0 4px 4px; |
| 167 |
border-radius: 0 0 4px 4px; |
| 168 |
|
| 169 |
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15); |
| 170 |
-moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15); |
| 171 |
box-shadow: 0 4px 5px rgba(0, 0, 0, .15); |
| 172 |
} |
| 173 |
|
| 174 |
.select2-drop-auto-width { |
| 175 |
border-top: 1px solid #aaa; |
| 176 |
width: auto; |
| 177 |
} |
| 178 |
|
| 179 |
.select2-drop-auto-width .select2-search { |
| 180 |
padding-top: 4px; |
| 181 |
} |
| 182 |
|
| 183 |
.select2-drop.select2-drop-above { |
| 184 |
margin-top: 1px; |
| 185 |
border-top: 1px solid #aaa; |
| 186 |
border-bottom: 0; |
| 187 |
|
| 188 |
-webkit-border-radius: 4px 4px 0 0; |
| 189 |
-moz-border-radius: 4px 4px 0 0; |
| 190 |
border-radius: 4px 4px 0 0; |
| 191 |
|
| 192 |
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15); |
| 193 |
-moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15); |
| 194 |
box-shadow: 0 -4px 5px rgba(0, 0, 0, .15); |
| 195 |
} |
| 196 |
|
| 197 |
.select2-drop-active { |
| 198 |
border: 1px solid #5897fb; |
| 199 |
border-top: none; |
| 200 |
} |
| 201 |
|
| 202 |
.select2-drop.select2-drop-above.select2-drop-active { |
| 203 |
border-top: 1px solid #5897fb; |
| 204 |
} |
| 205 |
|
| 206 |
.select2-container .select2-choice .select2-arrow { |
| 207 |
display: inline-block; |
| 208 |
width: 18px; |
| 209 |
height: 100%; |
| 210 |
position: absolute; |
| 211 |
right: 0; |
| 212 |
top: 0; |
| 213 |
|
| 214 |
border-left: 1px solid #aaa; |
| 215 |
-webkit-border-radius: 0 4px 4px 0; |
| 216 |
-moz-border-radius: 0 4px 4px 0; |
| 217 |
border-radius: 0 4px 4px 0; |
| 218 |
|
| 219 |
-webkit-background-clip: padding-box; |
| 220 |
-moz-background-clip: padding; |
| 221 |
background-clip: padding-box; |
| 222 |
|
| 223 |
background: #ccc; |
| 224 |
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee)); |
| 225 |
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%); |
| 226 |
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%); |
| 227 |
background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%); |
| 228 |
background-image: -ms-linear-gradient(top, #cccccc 0%, #eeeeee 60%); |
| 229 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0); |
| 230 |
background-image: linear-gradient(top, #cccccc 0%, #eeeeee 60%); |
| 231 |
} |
| 232 |
|
| 233 |
.select2-container .select2-choice .select2-arrow b { |
| 234 |
display: block; |
| 235 |
width: 100%; |
| 236 |
height: 100%; |
| 237 |
background: url('select2.png') no-repeat 0 1px; |
| 238 |
} |
| 239 |
|
| 240 |
.select2-search { |
| 241 |
display: inline-block; |
| 242 |
width: 100%; |
| 243 |
min-height: 26px; |
| 244 |
margin: 0; |
| 245 |
padding-left: 4px; |
| 246 |
padding-right: 4px; |
| 247 |
|
| 248 |
position: relative; |
| 249 |
z-index: 10000; |
| 250 |
|
| 251 |
white-space: nowrap; |
| 252 |
} |
| 253 |
|
| 254 |
.select2-search input { |
| 255 |
width: 100%; |
| 256 |
height: auto !important; |
| 257 |
min-height: 26px; |
| 258 |
padding: 4px 20px 4px 5px; |
| 259 |
margin: 0; |
| 260 |
|
| 261 |
outline: 0; |
| 262 |
font-family: sans-serif; |
| 263 |
font-size: 1em; |
| 264 |
|
| 265 |
border: 1px solid #aaa; |
| 266 |
-webkit-border-radius: 0; |
| 267 |
-moz-border-radius: 0; |
| 268 |
border-radius: 0; |
| 269 |
|
| 270 |
-webkit-box-shadow: none; |
| 271 |
-moz-box-shadow: none; |
| 272 |
box-shadow: none; |
| 273 |
|
| 274 |
background: #fff url('select2.png') no-repeat 100% -22px; |
| 275 |
background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee)); |
| 276 |
background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%); |
| 277 |
background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%); |
| 278 |
background: url('select2.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%); |
| 279 |
background: url('select2.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%); |
| 280 |
background: url('select2.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%); |
| 281 |
} |
| 282 |
|
| 283 |
.select2-drop.select2-drop-above .select2-search input { |
| 284 |
margin-top: 4px; |
| 285 |
} |
| 286 |
|
| 287 |
.select2-search input.select2-active { |
| 288 |
background: #fff url('select2-spinner.gif') no-repeat 100%; |
| 289 |
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee)); |
| 290 |
background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%); |
| 291 |
background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%); |
| 292 |
background: url('select2-spinner.gif') no-repeat 100%, -o-linear-gradient(bottom, white 85%, #eeeeee 99%); |
| 293 |
background: url('select2-spinner.gif') no-repeat 100%, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%); |
| 294 |
background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(top, #ffffff 85%, #eeeeee 99%); |
| 295 |
} |
| 296 |
|
| 297 |
.select2-container-active .select2-choice, |
| 298 |
.select2-container-active .select2-choices { |
| 299 |
border: 1px solid #5897fb; |
| 300 |
outline: none; |
| 301 |
|
| 302 |
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3); |
| 303 |
-moz-box-shadow: 0 0 5px rgba(0,0,0,.3); |
| 304 |
box-shadow: 0 0 5px rgba(0,0,0,.3); |
| 305 |
} |
| 306 |
|
| 307 |
.select2-dropdown-open .select2-choice { |
| 308 |
border-bottom-color: transparent; |
| 309 |
-webkit-box-shadow: 0 1px 0 #fff inset; |
| 310 |
-moz-box-shadow: 0 1px 0 #fff inset; |
| 311 |
box-shadow: 0 1px 0 #fff inset; |
| 312 |
|
| 313 |
-webkit-border-bottom-left-radius: 0; |
| 314 |
-moz-border-radius-bottomleft: 0; |
| 315 |
border-bottom-left-radius: 0; |
| 316 |
|
| 317 |
-webkit-border-bottom-right-radius: 0; |
| 318 |
-moz-border-radius-bottomright: 0; |
| 319 |
border-bottom-right-radius: 0; |
| 320 |
|
| 321 |
background-color: #eee; |
| 322 |
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #eeeeee)); |
| 323 |
background-image: -webkit-linear-gradient(center bottom, white 0%, #eeeeee 50%); |
| 324 |
background-image: -moz-linear-gradient(center bottom, white 0%, #eeeeee 50%); |
| 325 |
background-image: -o-linear-gradient(bottom, white 0%, #eeeeee 50%); |
| 326 |
background-image: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 50%); |
| 327 |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 ); |
| 328 |
background-image: linear-gradient(top, #ffffff 0%,#eeeeee 50%); |
| 329 |
} |
| 330 |
|
| 331 |
.select2-dropdown-open.select2-drop-above .select2-choice, |
| 332 |
.select2-dropdown-open.select2-drop-above .select2-choices { |
| 333 |
border: 1px solid #5897fb; |
| 334 |
border-top-color: transparent; |
| 335 |
|
| 336 |
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, white), color-stop(0.5, #eeeeee)); |
| 337 |
background-image: -webkit-linear-gradient(center top, white 0%, #eeeeee 50%); |
| 338 |
background-image: -moz-linear-gradient(center top, white 0%, #eeeeee 50%); |
| 339 |
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); |
| 340 |
background-image: -ms-linear-gradient(bottom, #ffffff 0%,#eeeeee 50%); |
| 341 |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 ); |
| 342 |
background-image: linear-gradient(bottom, #ffffff 0%,#eeeeee 50%); |
| 343 |
} |
| 344 |
|
| 345 |
.select2-dropdown-open .select2-choice .select2-arrow { |
| 346 |
background: transparent; |
| 347 |
border-left: none; |
| 348 |
filter: none; |
| 349 |
} |
| 350 |
.select2-dropdown-open .select2-choice .select2-arrow b { |
| 351 |
background-position: -18px 1px; |
| 352 |
} |
| 353 |
|
| 354 |
/* results */ |
| 355 |
.select2-results { |
| 356 |
max-height: 200px; |
| 357 |
padding: 0 0 0 4px; |
| 358 |
margin: 4px 4px 4px 0; |
| 359 |
position: relative; |
| 360 |
overflow-x: hidden; |
| 361 |
overflow-y: auto; |
| 362 |
-webkit-tap-highlight-color: rgba(0,0,0,0); |
| 363 |
} |
| 364 |
|
| 365 |
.select2-results ul.select2-result-sub { |
| 366 |
margin: 0; |
| 367 |
padding-left: 0; |
| 368 |
} |
| 369 |
|
| 370 |
.select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px } |
| 371 |
.select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px } |
| 372 |
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px } |
| 373 |
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 80px } |
| 374 |
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 100px } |
| 375 |
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 110px } |
| 376 |
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 120px } |
| 377 |
|
| 378 |
.select2-results li { |
| 379 |
list-style: none; |
| 380 |
display: list-item; |
| 381 |
background-image: none; |
| 382 |
} |
| 383 |
|
| 384 |
.select2-results li.select2-result-with-children > .select2-result-label { |
| 385 |
font-weight: bold; |
| 386 |
} |
| 387 |
|
| 388 |
.select2-results .select2-result-label { |
| 389 |
padding: 3px 7px 4px; |
| 390 |
margin: 0; |
| 391 |
cursor: pointer; |
| 392 |
|
| 393 |
min-height: 1em; |
| 394 |
|
| 395 |
-webkit-touch-callout: none; |
| 396 |
-webkit-user-select: none; |
| 397 |
-khtml-user-select: none; |
| 398 |
-moz-user-select: none; |
| 399 |
-ms-user-select: none; |
| 400 |
user-select: none; |
| 401 |
} |
| 402 |
|
| 403 |
.select2-results .select2-highlighted { |
| 404 |
background: #3875d7; |
| 405 |
color: #fff; |
| 406 |
} |
| 407 |
|
| 408 |
.select2-results li em { |
| 409 |
background: #feffde; |
| 410 |
font-style: normal; |
| 411 |
} |
| 412 |
|
| 413 |
.select2-results .select2-highlighted em { |
| 414 |
background: transparent; |
| 415 |
} |
| 416 |
|
| 417 |
.select2-results .select2-highlighted ul { |
| 418 |
background: white; |
| 419 |
color: #000; |
| 420 |
} |
| 421 |
|
| 422 |
|
| 423 |
.select2-results .select2-no-results, |
| 424 |
.select2-results .select2-searching, |
| 425 |
.select2-results .select2-selection-limit { |
| 426 |
background: #f4f4f4; |
| 427 |
display: list-item; |
| 428 |
} |
| 429 |
|
| 430 |
/* |
| 431 |
disabled look for disabled choices in the results dropdown |
| 432 |
*/ |
| 433 |
.select2-results .select2-disabled.select2-highlighted { |
| 434 |
color: #666; |
| 435 |
background: #f4f4f4; |
| 436 |
display: list-item; |
| 437 |
cursor: default; |
| 438 |
} |
| 439 |
.select2-results .select2-disabled { |
| 440 |
background: #f4f4f4; |
| 441 |
display: list-item; |
| 442 |
cursor: default; |
| 443 |
} |
| 444 |
|
| 445 |
.select2-results .select2-selected { |
| 446 |
display: none; |
| 447 |
} |
| 448 |
|
| 449 |
.select2-more-results.select2-active { |
| 450 |
background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%; |
| 451 |
} |
| 452 |
|
| 453 |
.select2-more-results { |
| 454 |
background: #f4f4f4; |
| 455 |
display: list-item; |
| 456 |
} |
| 457 |
|
| 458 |
/* disabled styles */ |
| 459 |
|
| 460 |
.select2-container.select2-container-disabled .select2-choice { |
| 461 |
background-color: #f4f4f4; |
| 462 |
background-image: none; |
| 463 |
border: 1px solid #ddd; |
| 464 |
cursor: default; |
| 465 |
} |
| 466 |
|
| 467 |
.select2-container.select2-container-disabled .select2-choice .select2-arrow { |
| 468 |
background-color: #f4f4f4; |
| 469 |
background-image: none; |
| 470 |
border-left: 0; |
| 471 |
} |
| 472 |
|
| 473 |
.select2-container.select2-container-disabled .select2-choice abbr { |
| 474 |
display: none; |
| 475 |
} |
| 476 |
|
| 477 |
|
| 478 |
/* multiselect */ |
| 479 |
|
| 480 |
.select2-container-multi .select2-choices { |
| 481 |
height: auto !important; |
| 482 |
height: 1%; |
| 483 |
margin: 0; |
| 484 |
padding: 0; |
| 485 |
position: relative; |
| 486 |
|
| 487 |
border: 1px solid #aaa; |
| 488 |
cursor: text; |
| 489 |
overflow: hidden; |
| 490 |
|
| 491 |
background-color: #fff; |
| 492 |
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); |
| 493 |
background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%); |
| 494 |
background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%); |
| 495 |
background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%); |
| 496 |
background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%); |
| 497 |
background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%); |
| 498 |
} |
| 499 |
|
| 500 |
.select2-locked { |
| 501 |
padding: 3px 5px 3px 5px !important; |
| 502 |
} |
| 503 |
|
| 504 |
.select2-container-multi .select2-choices { |
| 505 |
min-height: 26px; |
| 506 |
} |
| 507 |
|
| 508 |
.select2-container-multi.select2-container-active .select2-choices { |
| 509 |
border: 1px solid #5897fb; |
| 510 |
outline: none; |
| 511 |
|
| 512 |
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3); |
| 513 |
-moz-box-shadow: 0 0 5px rgba(0,0,0,.3); |
| 514 |
box-shadow: 0 0 5px rgba(0,0,0,.3); |
| 515 |
} |
| 516 |
.select2-container-multi .select2-choices li { |
| 517 |
float: left; |
| 518 |
list-style: none; |
| 519 |
} |
| 520 |
.select2-container-multi .select2-choices .select2-search-field { |
| 521 |
margin: 0; |
| 522 |
padding: 0; |
| 523 |
white-space: nowrap; |
| 524 |
} |
| 525 |
|
| 526 |
.select2-container-multi .select2-choices .select2-search-field input { |
| 527 |
padding: 5px; |
| 528 |
margin: 1px 0; |
| 529 |
|
| 530 |
font-family: sans-serif; |
| 531 |
font-size: 100%; |
| 532 |
color: #666; |
| 533 |
outline: 0; |
| 534 |
border: 0; |
| 535 |
-webkit-box-shadow: none; |
| 536 |
-moz-box-shadow: none; |
| 537 |
box-shadow: none; |
| 538 |
background: transparent !important; |
| 539 |
} |
| 540 |
|
| 541 |
.select2-container-multi .select2-choices .select2-search-field input.select2-active { |
| 542 |
background: #fff url('select2-spinner.gif') no-repeat 100% !important; |
| 543 |
} |
| 544 |
|
| 545 |
.select2-default { |
| 546 |
color: #999 !important; |
| 547 |
} |
| 548 |
|
| 549 |
.select2-container-multi .select2-choices .select2-search-choice { |
| 550 |
padding: 3px 5px 3px 18px; |
| 551 |
margin: 3px 0 3px 5px; |
| 552 |
position: relative; |
| 553 |
|
| 554 |
line-height: 13px; |
| 555 |
color: #333; |
| 556 |
cursor: default; |
| 557 |
border: 1px solid #aaaaaa; |
| 558 |
|
| 559 |
-webkit-border-radius: 3px; |
| 560 |
-moz-border-radius: 3px; |
| 561 |
border-radius: 3px; |
| 562 |
|
| 563 |
-webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); |
| 564 |
-moz-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); |
| 565 |
box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); |
| 566 |
|
| 567 |
-webkit-background-clip: padding-box; |
| 568 |
-moz-background-clip: padding; |
| 569 |
background-clip: padding-box; |
| 570 |
|
| 571 |
-webkit-touch-callout: none; |
| 572 |
-webkit-user-select: none; |
| 573 |
-khtml-user-select: none; |
| 574 |
-moz-user-select: none; |
| 575 |
-ms-user-select: none; |
| 576 |
user-select: none; |
| 577 |
|
| 578 |
background-color: #e4e4e4; |
| 579 |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0 ); |
| 580 |
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)); |
| 581 |
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); |
| 582 |
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); |
| 583 |
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); |
| 584 |
background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); |
| 585 |
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); |
| 586 |
} |
| 587 |
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen { |
| 588 |
cursor: default; |
| 589 |
} |
| 590 |
.select2-container-multi .select2-choices .select2-search-choice-focus { |
| 591 |
background: #d4d4d4; |
| 592 |
} |
| 593 |
|
| 594 |
.select2-search-choice-close { |
| 595 |
display: block; |
| 596 |
width: 12px; |
| 597 |
height: 13px; |
| 598 |
position: absolute; |
| 599 |
right: 3px; |
| 600 |
top: 4px; |
| 601 |
|
| 602 |
font-size: 1px; |
| 603 |
outline: none; |
| 604 |
background: url('select2.png') right top no-repeat; |
| 605 |
} |
| 606 |
|
| 607 |
.select2-container-multi .select2-search-choice-close { |
| 608 |
left: 3px; |
| 609 |
} |
| 610 |
|
| 611 |
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover { |
| 612 |
background-position: right -11px; |
| 613 |
} |
| 614 |
.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close { |
| 615 |
background-position: right -11px; |
| 616 |
} |
| 617 |
|
| 618 |
/* disabled styles */ |
| 619 |
.select2-container-multi.select2-container-disabled .select2-choices{ |
| 620 |
background-color: #f4f4f4; |
| 621 |
background-image: none; |
| 622 |
border: 1px solid #ddd; |
| 623 |
cursor: default; |
| 624 |
} |
| 625 |
|
| 626 |
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice { |
| 627 |
padding: 3px 5px 3px 5px; |
| 628 |
border: 1px solid #ddd; |
| 629 |
background-image: none; |
| 630 |
background-color: #f4f4f4; |
| 631 |
} |
| 632 |
|
| 633 |
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none; |
| 634 |
background:none; |
| 635 |
} |
| 636 |
/* end multiselect */ |
| 637 |
|
| 638 |
|
| 639 |
.select2-result-selectable .select2-match, |
| 640 |
.select2-result-unselectable .select2-match { |
| 641 |
text-decoration: underline; |
| 642 |
} |
| 643 |
|
| 644 |
.select2-offscreen, .select2-offscreen:focus { |
| 645 |
clip: rect(0 0 0 0); |
| 646 |
width: 1px; |
| 647 |
height: 1px; |
| 648 |
border: 0; |
| 649 |
margin: 0; |
| 650 |
padding: 0; |
| 651 |
overflow: hidden; |
| 652 |
position: absolute; |
| 653 |
outline: 0; |
| 654 |
left: 0px; |
| 655 |
} |
| 656 |
|
| 657 |
.select2-display-none { |
| 658 |
display: none; |
| 659 |
} |
| 660 |
|
| 661 |
.select2-measure-scrollbar { |
| 662 |
position: absolute; |
| 663 |
top: -10000px; |
| 664 |
left: -10000px; |
| 665 |
width: 100px; |
| 666 |
height: 100px; |
| 667 |
overflow: scroll; |
| 668 |
} |
| 669 |
/* Retina-ize icons */ |
| 670 |
|
| 671 |
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) { |
| 672 |
.select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice .select2-arrow b { |
| 673 |
background-image: url('select2x2.png') !important; |
| 674 |
background-repeat: no-repeat !important; |
| 675 |
background-size: 60px 40px !important; |
| 676 |
} |
| 677 |
.select2-search input { |
| 678 |
background-position: 100% -21px !important; |
| 679 |
} |
| 680 |
} |
| 681 |
|