- md5
- 5aca23e63384e717cf28b395b747f818
- sha1
- 2b1ad4e9edb4db60740b31ff4cb0a5a5ba591ea5
- sha256
- ce5dfdfb1a378ec38516d7eeede3b546096d3f643ff5c54d2d77c48e7fd402c5
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
// Chosen
$chosen-select-padding-y: $custom-select-padding-y + .21;
.chosen-container.chosen-container-single {
max-width: $input-max-width;
font-size: $font-size-base;
.chosen-single {
display: inline-block;
$select-border-width: ($custom-select-border-width * 2);
height: #{$input-height};
padding: $chosen-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $chosen-select-padding-y $custom-select-padding-x;
line-height: 1.5;
color: $custom-select-color;
vertical-align: middle;
background: $custom-select-bg $custom-select-indicator no-repeat right $custom-select-padding-x center;
background-size: $custom-select-bg-size;
border: $custom-select-border-width solid $custom-select-border-color;
box-shadow: none;
appearance: none;
@if $enable-rounded {
border-radius: $custom-select-border-radius;
} @else {
border-radius: 0;
}
abbr {
top: 10px;
}
&:focus {
@include box-shadow($custom-select-focus-box-shadow);
border-color: $custom-select-focus-border-color;
outline: none;
}
&:disabled {
color: $custom-select-disabled-color;
cursor: not-allowed;
background-color: $custom-select-disabled-bg;
}
div b {
background: none !important;
}
}
.chosen-drop {
background: var(--white-offset);
border: $custom-select-border-width solid $custom-select-border-color;
}
.chosen-results li {
line-height: calc(#{$font-size-base} + .3rem);
}
&.chosen-container-active .chosen-single {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
}
.chosen-container.chosen-container-multi {
.chosen-choices {
max-width: $input-max-width;
min-height: #{$input-height};
font-size: $font-size-base;
line-height: $input-line-height;
background-image: var(--white);
li.search-choice {
$chosen-multi-close-width: 20px;
padding: 5px (13 + $chosen-multi-close-width) 5px 10px;
color: var(--atum-text-light);
background: colors("atum-bg-dark");
border: 0;
box-shadow: $atum-box-shadow;
@if $enable-rounded {
border-radius: $custom-select-border-radius;
} @else {
border-radius: 0;
}
.search-choice-close {
top: 0;
right: 0;
background: rgba(0, 0, 0, 0.2);
width: $chosen-multi-close-width;
height: 100%;
background-image: none !important;
&::before {
position: absolute;
top: 6px;
right: ($chosen-multi-close-width / 4);
content: "\00d7";
color: colors("atum-text-light");
font-size: $font-size-base;
}
}
}
}
}
.chosen-container-active.chosen-with-drop .chosen-single {
box-shadow: none;
}
// TEMPORARY
.chosen-container-single {
width: auto !important;
}
// END TEMPORARY
.card .chosen-container.chosen-container-single {
width: 100% !important;
.chosen-single {
width: 100% !important;
}
}
The same content is in 2 releases, Joomla 4.0.0-alpha11 to 4.0.0-alpha12. See them all, or every version of this file.