|
|
@@ -5,7 +5,6 @@
|
|
|
* License: MIT
|
|
|
*/
|
|
|
|
|
|
-
|
|
|
/* Style when highlighting a search. */
|
|
|
.ui-select-highlight {
|
|
|
font-weight: bold;
|
|
|
@@ -25,7 +24,6 @@
|
|
|
top: 0px !important;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.ui-select-choices-row:hover,
|
|
|
.ui-select-choices-row--highlighted {
|
|
|
background-color: #f5f5f5;
|
|
|
@@ -35,7 +33,7 @@
|
|
|
|
|
|
/* Mark invalid Select2 */
|
|
|
.ng-dirty.ng-invalid > a.select2-choice {
|
|
|
- border-color: #D44950;
|
|
|
+ border-color: #d44950;
|
|
|
}
|
|
|
|
|
|
.select2-result-single {
|
|
|
@@ -55,14 +53,14 @@ body > .select2-container.open {
|
|
|
}
|
|
|
|
|
|
/* Handle up direction Select2 */
|
|
|
-.ui-select-container[theme="select2"].direction-up .ui-select-match,
|
|
|
+.ui-select-container[theme='select2'].direction-up .ui-select-match,
|
|
|
.ui-select-container.select2.direction-up .ui-select-match {
|
|
|
border-radius: 4px; /* FIXME hardcoded value :-/ */
|
|
|
border-top-left-radius: 0;
|
|
|
border-top-right-radius: 0;
|
|
|
}
|
|
|
|
|
|
-.ui-select-container[theme="select2"].direction-up .ui-select-dropdown,
|
|
|
+.ui-select-container[theme='select2'].direction-up .ui-select-dropdown,
|
|
|
.ui-select-container.select2.direction-up .ui-select-dropdown {
|
|
|
border-radius: 4px; /* FIXME hardcoded value :-/ */
|
|
|
border-bottom-left-radius: 0;
|
|
|
@@ -76,18 +74,27 @@ body > .select2-container.open {
|
|
|
margin-top: -4px; /* FIXME hardcoded value :-/ */
|
|
|
}
|
|
|
|
|
|
-.ui-select-container[theme="select2"].direction-up .ui-select-dropdown .select2-search,
|
|
|
+.ui-select-container[theme='select2'].direction-up
|
|
|
+ .ui-select-dropdown
|
|
|
+ .select2-search,
|
|
|
.ui-select-container.select2.direction-up .ui-select-dropdown .select2-search {
|
|
|
margin-top: 4px; /* FIXME hardcoded value :-/ */
|
|
|
}
|
|
|
|
|
|
-.ui-select-container[theme="select2"].direction-up.select2-dropdown-open .ui-select-match,
|
|
|
-.ui-select-container.select2.direction-up.select2-dropdown-open .ui-select-match {
|
|
|
+.ui-select-container[theme='select2'].direction-up.select2-dropdown-open
|
|
|
+ .ui-select-match,
|
|
|
+.ui-select-container.select2.direction-up.select2-dropdown-open
|
|
|
+ .ui-select-match {
|
|
|
border-bottom-color: #5897fb;
|
|
|
}
|
|
|
|
|
|
-.ui-select-container[theme="select2"] .ui-select-dropdown .ui-select-search-hidden,
|
|
|
-.ui-select-container[theme="select2"] .ui-select-dropdown .ui-select-search-hidden input {
|
|
|
+.ui-select-container[theme='select2']
|
|
|
+ .ui-select-dropdown
|
|
|
+ .ui-select-search-hidden,
|
|
|
+.ui-select-container[theme='select2']
|
|
|
+ .ui-select-dropdown
|
|
|
+ .ui-select-search-hidden
|
|
|
+ input {
|
|
|
opacity: 0;
|
|
|
height: 0;
|
|
|
min-height: 0;
|
|
|
@@ -100,7 +107,7 @@ body > .select2-container.open {
|
|
|
|
|
|
/* Helper class to show styles when focus */
|
|
|
.selectize-input.selectize-focus {
|
|
|
- border-color: #007FBB !important;
|
|
|
+ border-color: #007fbb !important;
|
|
|
}
|
|
|
|
|
|
/* Fix input width for Selectize theme */
|
|
|
@@ -120,16 +127,16 @@ body > .select2-container.open {
|
|
|
|
|
|
/* Mark invalid Selectize */
|
|
|
.ng-dirty.ng-invalid > div.selectize-input {
|
|
|
- border-color: #D44950;
|
|
|
+ border-color: #d44950;
|
|
|
}
|
|
|
|
|
|
/* Handle up direction Selectize */
|
|
|
-.ui-select-container[theme="selectize"].direction-up .ui-select-dropdown {
|
|
|
+.ui-select-container[theme='selectize'].direction-up .ui-select-dropdown {
|
|
|
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
|
|
|
margin-top: -2px; /* FIXME hardcoded value :-/ */
|
|
|
}
|
|
|
|
|
|
-.ui-select-container[theme="selectize"] input.ui-select-search-hidden {
|
|
|
+.ui-select-container[theme='selectize'] input.ui-select-search-hidden {
|
|
|
opacity: 0;
|
|
|
height: 0;
|
|
|
min-height: 0;
|
|
|
@@ -144,12 +151,13 @@ body > .select2-container.open {
|
|
|
/* Helper class to show styles when focus */
|
|
|
.btn-default-focus {
|
|
|
color: #333;
|
|
|
- background-color: #EBEBEB;
|
|
|
- border-color: #ADADAD;
|
|
|
+ background-color: #ebebeb;
|
|
|
+ border-color: #adadad;
|
|
|
text-decoration: none;
|
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
|
outline-offset: -2px;
|
|
|
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
|
|
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
|
|
|
+ 0 0 8px rgba(102, 175, 233, 0.6);
|
|
|
}
|
|
|
|
|
|
.ui-select-bootstrap .ui-select-toggle {
|
|
|
@@ -176,7 +184,9 @@ body > .select2-container.open {
|
|
|
border-bottom-right-radius: 0;
|
|
|
}
|
|
|
|
|
|
-.input-group > .ui-select-bootstrap > input.ui-select-search.form-control.direction-up {
|
|
|
+.input-group
|
|
|
+ > .ui-select-bootstrap
|
|
|
+ > input.ui-select-search.form-control.direction-up {
|
|
|
border-radius: 4px !important; /* FIXME hardcoded value :-/ */
|
|
|
border-top-right-radius: 0 !important;
|
|
|
border-bottom-right-radius: 0 !important;
|
|
|
@@ -203,7 +213,8 @@ body > .select2-container.open {
|
|
|
}
|
|
|
|
|
|
/* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
|
|
|
-.ui-select-bootstrap > .ui-select-choices, .ui-select-bootstrap > .ui-select-no-choice {
|
|
|
+.ui-select-bootstrap > .ui-select-choices,
|
|
|
+.ui-select-bootstrap > .ui-select-no-choice {
|
|
|
width: 100%;
|
|
|
height: auto;
|
|
|
max-height: 200px;
|
|
|
@@ -247,7 +258,7 @@ body > .ui-select-bootstrap.open {
|
|
|
}
|
|
|
|
|
|
.ui-select-multiple:hover .ui-select-match-item.dropping-before:before {
|
|
|
- content: "";
|
|
|
+ content: '';
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
right: 100%;
|
|
|
@@ -257,7 +268,7 @@ body > .ui-select-bootstrap.open {
|
|
|
}
|
|
|
|
|
|
.ui-select-multiple:hover .ui-select-match-item.dropping-after:after {
|
|
|
- content: "";
|
|
|
+ content: '';
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 100%;
|
|
|
@@ -279,10 +290,11 @@ body > .ui-select-bootstrap.open {
|
|
|
|
|
|
.ui-select-title {
|
|
|
padding: 3px 20px;
|
|
|
- font-size: 14px ;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
|
|
|
-.ui-select-bootstrap .ui-select-choices-row > span:hover, .ui-select-bootstrap .ui-select-choices-row > span:focus {
|
|
|
+.ui-select-bootstrap .ui-select-choices-row > span:hover,
|
|
|
+.ui-select-bootstrap .ui-select-choices-row > span:focus {
|
|
|
text-decoration: none;
|
|
|
color: #262626;
|
|
|
background-color: #f5f5f5;
|
|
|
@@ -310,11 +322,11 @@ body > .ui-select-bootstrap.open {
|
|
|
|
|
|
/* Mark invalid Bootstrap */
|
|
|
.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
|
|
|
- border-color: #D44950;
|
|
|
+ border-color: #d44950;
|
|
|
}
|
|
|
|
|
|
/* Handle up direction Bootstrap */
|
|
|
-.ui-select-container[theme="bootstrap"].direction-up .ui-select-dropdown {
|
|
|
+.ui-select-container[theme='bootstrap'].direction-up .ui-select-dropdown {
|
|
|
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
|
|
|
}
|
|
|
|