- md5
- d510ba4226e630fbc5d2875bb9b8d3da
- sha1
- 40bbbc2d6a36624f670a508fa4d1a262d6af09ba
- sha256
- 2e979cbe5729b8f6b480343ada183b290fc76319ebded435394ef65427749375
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
@import "../../../../../../vendor/bootstrap/scss/functions";
// Atum Variables
@import "../../variables";
@import "../../variables-dark";
@import "../../../../../../vendor/bootstrap/scss/variables";
@import "../../../../../../vendor/bootstrap/scss/mixins";
// choices.js
@import "../../../../../../vendor/choicesjs/scss/choices";
.choices {
border: $form-select-border; //$form-select-border-width solid $form-select-border-color;
@include border-radius($form-select-border-radius, 0);
@include box-shadow($form-select-box-shadow);
&.is-focused {
border-color: $form-select-focus-border-color;
@if $enable-shadows {
@include box-shadow($form-select-box-shadow, $form-select-focus-box-shadow);
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $form-select-focus-box-shadow;
}
}
}
.choices__inner {
min-block-size: 42px;
padding: .1rem 1rem;
margin-block-end: 0;
font-size: 1rem;
border: none;
border-radius: 0;
}
.choices__input {
padding: 0;
margin-block-end: 0;
font-size: 1rem;
background-color: transparent;
&::placeholder {
color: $choices-input-placeholder; // $gray-700; // var(--gray-200);
opacity: 1;
}
}
.choices__list--dropdown {
z-index: $zindex-popover !important;
}
.choices__list--single {
padding: 7px 16px 0 4px;
}
.choices__list--multiple .choices__item {
position: relative;
margin: 2px;
color: $choices-list-multiple-item; //$white;
background-color: $choices-list-multiple-item-bg !important; // var(--template-bg-dark);
margin-inline-end: 2px;
border: 0;
border-radius: $border-radius;
&.is-highlighted {
background-color: var(--template-bg-dark);
opacity: .9;
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
.choices__list--multiple .choices__item {
&.is-highlighted {
background-color: var(--gray-800);
}
}
}
}
.choices .choices__list--dropdown {
background-color: var(--body-bg);
.choices__item {
padding-inline-end: 25px;
}
.choices__item--selectable {
&::after {
display: none;
}
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
.choices .choices__list--dropdown {
.choices__item--selectable {
&.is-highlighted {
background-color: var(--gray-800);
}
}
}
}
}
.choices__button_joomla {
position: relative;
padding: 0 10px;
color: inherit;
text-indent: -9999px;
cursor: pointer;
background: none;
border: 0;
opacity: .5;
appearance: none;
&::before {
position: absolute;
inset: 0;
display: block;
text-align: center;
text-indent: 0;
content: "\00d7";
}
&:hover,
&:focus {
opacity: 1;
}
&:focus {
outline: none;
}
}
.choices[data-type*="select-one"],
.choices[data-type*="select-multiple"] {
.choices__inner {
padding-inline-end: $form-select-indicator-padding;
cursor: pointer;
background: url("../../../images/select-bg.svg") no-repeat 100%/116rem;
background-color: $form-select-bg;
[dir="rtl"] & {
background: url("../../../images/select-bg-rtl.svg") no-repeat 0/116rem;
background-color: $form-select-bg;
}
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
.choices[data-type*="select-one"],
.choices[data-type*="select-multiple"] {
.choices__inner {
background: url("../../../images/select-bg-dark.svg") no-repeat 100%/116rem;
background-color: $form-select-bg-dark;
[dir="rtl"] & {
background: url("../../../images/select-bg-rtl-dark.svg") no-repeat 0/116rem;
background-color: $form-select-bg-dark;
}
}
}
}
}
@if $enable-dark-mode {
[dir="rtl"][data-bs-theme="dark"] {
.choices[data-type*="select-one"],
.choices[data-type*="select-multiple"] {
.choices__inner {
background: url("../../../images/select-bg-rtl-dark.svg") no-repeat 0/116rem;
background-color: $form-select-bg-dark;
}
}
}
}
.choices[data-type*="select-one"] {
.choices__input {
background-color: $choices-input-bg; // var(--body-bg)/var(--gray-600)
}
.choices__item {
display: flex;
justify-content: space-between;
}
.choices__button_joomla {
position: absolute;
inset-block-start: 50%;
inset-inline-end: 0;
inline-size: 20px;
block-size: 20px;
padding: 0;
margin-block-start: -10px;
margin-inline-end: 50px;
border-radius: 10em;
opacity: .5;
&:hover,
&:focus {
opacity: 1;
}
&:focus {
box-shadow: $choices__button_joomla-focus-box-shadow;
}
}
&::after {
display: none;
}
}
.choices[data-type*="select-multiple"],
.choices[data-type*="text"] {
.choices__input {
padding: .35rem 0;
}
}
.choices__heading {
font-size: 1.2rem;
}
@if $enable-dark-mode {
@include color-mode(dark) {
.choices__heading {
color: var(--gray-500);
}
}
}
// Mark already selected elements with checkmark
.choices[data-type*="select-multiple"] {
.choices__item.is-selected {
&::before {
position: absolute;
top: 50%;
inset-inline-end: .2em;
display: block;
padding: 0 .2em;
font-size: 1.2em;
font-weight: bold;
color: var(--success);
content: " ✓";
border-radius: 2.5px;
opacity: 1;
transform: translateY(-50%);
}
}
}
No other release has this exact content. See every version of this file.