3 * http://github.com/angular-ui/ui-select
4 * Version: 0.17.1 - 2016-05-16T19:31:33.034Z
9 /* Style when highlighting a search. */
10 .ui-select-highlight {
14 .ui-select-offscreen {
15 clip: rect(0 0 0 0) !important;
16 width: 1px !important;
17 height: 1px !important;
20 padding: 0 !important;
21 overflow: hidden !important;
22 position: absolute !important;
23 outline: 0 !important;
29 .ui-select-choices-row:hover {
30 background-color: #f5f5f5;
35 /* Mark invalid Select2 */
36 .ng-dirty.ng-invalid > a.select2-choice {
37 border-color: #D44950;
40 .select2-result-single {
44 .select2-locked > .select2-search-choice-close{
48 .select-locked > .ui-select-match-close{
52 body > .select2-container.open {
53 z-index: 9999; /* The z-index Select2 applies to the select2-drop */
56 /* Handle up direction Select2 */
57 .ui-select-container[theme="select2"].direction-up .ui-select-match {
58 border-radius: 4px; /* FIXME hardcoded value :-/ */
59 border-top-left-radius: 0;
60 border-top-right-radius: 0;
62 .ui-select-container[theme="select2"].direction-up .ui-select-dropdown {
63 border-radius: 4px; /* FIXME hardcoded value :-/ */
64 border-bottom-left-radius: 0;
65 border-bottom-right-radius: 0;
67 border-top-width: 1px; /* FIXME hardcoded value :-/ */
68 border-top-style: solid;
70 box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
72 margin-top: -4px; /* FIXME hardcoded value :-/ */
74 .ui-select-container[theme="select2"].direction-up .ui-select-dropdown .select2-search {
75 margin-top: 4px; /* FIXME hardcoded value :-/ */
77 .ui-select-container[theme="select2"].direction-up.select2-dropdown-open .ui-select-match {
78 border-bottom-color: #5897fb;
83 /* Helper class to show styles when focus */
84 .selectize-input.selectize-focus{
85 border-color: #007FBB !important;
88 /* Fix input width for Selectize theme */
89 .selectize-control > .selectize-input > input {
93 /* Fix dropdown width for Selectize theme */
94 .selectize-control > .selectize-dropdown {
98 /* Mark invalid Selectize */
99 .ng-dirty.ng-invalid > div.selectize-input {
100 border-color: #D44950;
103 /* Handle up direction Selectize */
104 .ui-select-container[theme="selectize"].direction-up .ui-select-dropdown {
105 box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
107 margin-top: -2px; /* FIXME hardcoded value :-/ */
110 /* Bootstrap theme */
112 /* Helper class to show styles when focus */
115 background-color: #EBEBEB;
116 border-color: #ADADAD;
117 text-decoration: none;
118 outline: 5px auto -webkit-focus-ring-color;
119 outline-offset: -2px;
120 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
123 .ui-select-bootstrap .ui-select-toggle {
127 .ui-select-bootstrap .ui-select-toggle > .caret {
135 /* Fix Bootstrap dropdown position when inside a input-group */
136 .input-group > .ui-select-bootstrap.dropdown {
137 /* Instead of relative */
141 .input-group > .ui-select-bootstrap > input.ui-select-search.form-control {
142 border-radius: 4px; /* FIXME hardcoded value :-/ */
143 border-top-right-radius: 0;
144 border-bottom-right-radius: 0;
146 .input-group > .ui-select-bootstrap > input.ui-select-search.form-control.direction-up {
147 border-radius: 4px !important; /* FIXME hardcoded value :-/ */
148 border-top-right-radius: 0 !important;
149 border-bottom-right-radius: 0 !important;
152 .ui-select-bootstrap > .ui-select-match > .btn{
153 /* Instead of center because of .btn */
154 text-align: left !important;
157 .ui-select-bootstrap > .ui-select-match > .caret {
163 /* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
164 .ui-select-bootstrap > .ui-select-choices ,.ui-select-bootstrap > .ui-select-no-choice {
172 body > .ui-select-bootstrap.open {
173 z-index: 1000; /* Standard Bootstrap dropdown z-index */
176 .ui-select-multiple.ui-select-bootstrap {
178 padding: 3px 3px 0 3px;
181 .ui-select-multiple.ui-select-bootstrap input.ui-select-search {
182 background-color: transparent !important; /* To prevent double background when disabled */
189 .ui-select-multiple.ui-select-bootstrap .ui-select-match .close {
194 .ui-select-multiple.ui-select-bootstrap .ui-select-match-item {
199 .ui-select-multiple .ui-select-match-item {
203 .ui-select-multiple .ui-select-match-item.dropping .ui-select-match-close {
204 pointer-events: none;
207 .ui-select-multiple:hover .ui-select-match-item.dropping-before:before {
214 border-left: 1px solid #428bca;
217 .ui-select-multiple:hover .ui-select-match-item.dropping-after:after {
224 border-right: 1px solid #428bca;
227 .ui-select-bootstrap .ui-select-choices-row>a {
232 line-height: 1.42857143;
237 .ui-select-bootstrap .ui-select-choices-row>a:hover, .ui-select-bootstrap .ui-select-choices-row>a:focus {
238 text-decoration: none;
240 background-color: #f5f5f5;
243 .ui-select-bootstrap .ui-select-choices-row.active>a {
245 text-decoration: none;
247 background-color: #428bca;
250 .ui-select-bootstrap .ui-select-choices-row.disabled>a,
251 .ui-select-bootstrap .ui-select-choices-row.active.disabled>a {
254 background-color: #fff;
257 /* fix hide/show angular animation */
258 .ui-select-match.ng-hide-add,
259 .ui-select-search.ng-hide-add {
260 display: none !important;
263 /* Mark invalid Bootstrap */
264 .ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
265 border-color: #D44950;
268 /* Handle up direction Bootstrap */
269 .ui-select-container[theme="bootstrap"].direction-up .ui-select-dropdown {
270 box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);