1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-26 21:14:38 +04:00
This commit is contained in:
codecalm
2020-02-23 17:07:06 +01:00
parent 43e8415114
commit ad8a8b378b
3 changed files with 38 additions and 5 deletions
+29 -2
View File
@@ -23,6 +23,29 @@
border-left: 0 !important;
color: $text-muted !important;
}
@each $state, $data in $form-validation-states {
$color: map-get($data, 'color');
&.is-#{$state} {
padding: 0;
.selectize-input {
border-color: $color;
&.focus {
box-shadow: 0 0 0 $input-focus-width rgba($color, .25);
}
}
.selectize-dropdown {
background: none;
background-color: inherit;
border-color: $border-color;
padding-right: 0;
}
}
}
}
.selectize-input {
@@ -33,15 +56,19 @@
font-size: $input-font-size;
box-shadow: none;
line-height: $input-line-height;
background-color: inherit !important;
background-color: inherit;
color: inherit !important;
&.full {
background-color: inherit;
}
&.dropdown-active {
border-radius: $border-radius;
}
.selectize-control.single & {
background: $form-select-bg escape-svg($form-select-indicator) $form-select-bg;
background: $form-select-bg escape-svg($form-select-indicator) no-repeat $form-select-bg-position/$form-select-bg-size;
}
&.focus {