mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
@@ -1,11 +1,12 @@
|
|||||||
$vs-colors: (
|
$vs-colors: (
|
||||||
lightest: rgba(60, 60, 60, 0.26),
|
lightest: rgba(60, 60, 60, 0.26),
|
||||||
light: rgba(60, 60, 60, 0.5),
|
light: rgba(60, 60, 60, 0.5),
|
||||||
dark: #333,
|
dark: #333,
|
||||||
darkest: rgba(0, 0, 0, .15),
|
darkest: rgba(0, 0, 0, 0.15),
|
||||||
) !default;
|
) !default;
|
||||||
|
|
||||||
// Global Component Variables
|
// Global Component Variables
|
||||||
|
$vs-component-bg: none !default;
|
||||||
$vs-component-line-height: 1.4 !default;
|
$vs-component-line-height: 1.4 !default;
|
||||||
$vs-component-placeholder-color: inherit !default;
|
$vs-component-placeholder-color: inherit !default;
|
||||||
|
|
||||||
|
|||||||
@@ -16,39 +16,39 @@ $border-color: $vs-border-color;
|
|||||||
$border-radius: $vs-border-radius;
|
$border-radius: $vs-border-radius;
|
||||||
|
|
||||||
.vs__dropdown-toggle {
|
.vs__dropdown-toggle {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 0 0 4px 0;
|
padding: 0 0 4px 0;
|
||||||
background: none;
|
background: $vs-component-bg;
|
||||||
border: $border-width $border-style $border-color;
|
border: $border-width $border-style $border-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs__selected-options {
|
.vs__selected-options {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs__actions {
|
.vs__actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 4px 6px 0 3px;
|
padding: 4px 6px 0 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dropdown Toggle States */
|
/* Dropdown Toggle States */
|
||||||
.vs--searchable .vs__dropdown-toggle {
|
.vs--searchable .vs__dropdown-toggle {
|
||||||
cursor: text;
|
cursor: text;
|
||||||
}
|
}
|
||||||
.vs--unsearchable .vs__dropdown-toggle {
|
.vs--unsearchable .vs__dropdown-toggle {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.vs--open .vs__dropdown-toggle {
|
.vs--open .vs__dropdown-toggle {
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user