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