make card_multiselect DRY, closes #26
This commit is contained in:
parent
afaa392b2f
commit
10386b1ce9
6 changed files with 311 additions and 310 deletions
|
|
@ -11,62 +11,6 @@
|
|||
border-radius: 4px;
|
||||
}
|
||||
|
||||
select.card-multiselect {
|
||||
height: calc(var(--spacing) * 35);
|
||||
/*background-image: linear-gradient(45deg, #0000 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, #0000 50%); */
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.choices.is-disabled .choices__inner,
|
||||
.choices.is-disabled .choices__input {
|
||||
background-color: var(--color-neutral);
|
||||
}
|
||||
.choices[data-type*=select-one] .choices__input {
|
||||
border-bottom: 1px solid var(--btn-shadow);
|
||||
background-color: var(--color-base-100);
|
||||
}
|
||||
.choices[data-type*=select-one] .choices__button:focus {
|
||||
box-shadow: 0 0 0 2px #005F75;
|
||||
}
|
||||
.choices__inner {
|
||||
background-color: var(--color-base-100);
|
||||
border: 1px solid var(--btn-shadow);
|
||||
}
|
||||
.is-focused .choices__inner, .is-open .choices__inner {
|
||||
border-color: var(--btn-shadow);
|
||||
}
|
||||
.choices__list--multiple .choices__item {
|
||||
background-color: var(--color-base-100);
|
||||
border: 1px solid var(--btn-shadow);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
.choices__list--multiple .choices__item.is-highlighted {
|
||||
background-color: var(--color-base-100);
|
||||
border: 1px solid var(--btn-shadow);
|
||||
}
|
||||
.is-disabled .choices__list--multiple .choices__item {
|
||||
background-color: var(--color-neutral);
|
||||
border: 1px solid var(--btn-shadow);
|
||||
}
|
||||
.choices__list--dropdown, .choices__list[aria-expanded] {
|
||||
background-color: var(--color-base-100);
|
||||
border: 1px solid var(--btn-shadow);
|
||||
}
|
||||
.is-open .choices__list--dropdown, .is-open .choices__list[aria-expanded] {
|
||||
border-color: var(--btn-shadow);
|
||||
}
|
||||
.choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
|
||||
background-color: var(--color-base-100);
|
||||
border: 1px solid var(--btn-shadow);
|
||||
}
|
||||
.choices__heading {
|
||||
border-bottom: 1px solid var(--btn-shadow);
|
||||
color: var(--color-neutral);
|
||||
}
|
||||
.choices__input {
|
||||
background-color: var(--color-base-100);
|
||||
}
|
||||
|
||||
.gravatar-hovercard .gravatar-hovercard__inner {
|
||||
background-color: var(--color-base-100) !important;
|
||||
border-color: var(--color-base-300) !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue