- md5
- b3fc3514a39c0436cd9395cec34a92b2
- sha1
- e55a4a11478764e943d3c13eae236f9db8b23e63
- sha256
- 2516b5b12e31f065143422657b8879be0f0bc21fb9bb90d682ac2197814efc3e
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
// choices.js
.choices {
border: 0;
}
.choices__inner {
border-radius: 0;
border-color: $gray-400;
}
// Fix position
.choices__list--dropdown {
z-index: $zindex-popover;
}
// Fix close button
.choices__button_joomla {
position: relative;
text-indent: -9999px;
cursor: pointer;
background: none;
border: 0;
appearance: none;
&::before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
text-align: center;
text-indent: 0;
content: "\00d7";
}
&:focus {
outline: none;
}
}
.choices[data-type*="select-one"] {
.choices__button_joomla {
position: absolute;
top: 50%;
right: 0;
width: 20px;
height: 20px;
padding: 0;
margin-top: -10px;
margin-right: 3rem;
border-radius: 10em;
opacity: .5;
&:hover,
&:focus {
opacity: 1;
}
&:focus {
box-shadow: 0 0 0 2px var(--atum-bg-dark-80);
}
}
&[dir="rtl"] {
.choices__button_joomla {
right: auto;
left: 0;
margin-right: 0;
margin-left: 25px;
}
}
&::after {
display: none;
}
.choices__inner {
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
background: $custom-select-background;
background-color: $custom-select-bg;
}
}
.choices[data-type*="select-multiple"],
.choices[data-type*="text"] {
.choices__button_joomla {
position: absolute;
right: 0;
top: 0;
display: block;
width: 0.5rem;
padding: 0.8125rem;
height: 1.625rem;
line-height: 2;
border: 0;
opacity: 1;
background-color: rgba(0, 0, 0, .2);
&:hover,
&:focus {
opacity: 1;
}
&::before {
color: $white;
}
}
.choices__inner {
padding: 0.4rem 1rem 0.256rem;
}
.choices__input {
padding: 0.2rem 0 0.356rem;
color: $custom-select-color;
}
}
.choices__list--multiple .choices__item {
position: relative;
background-color: var(--atum-bg-dark);
border: 1px solid var(--atum-bg-dark);
border-radius: 0;
&.is-highlighted {
background-color: var(--atum-bg-dark);
border: 1px solid var(--atum-bg-dark);
opacity: 0.9;
}
&[data-deletable] {
padding-right: 1.8125rem;
}
}
.choices__input {
margin-bottom: 0;
padding: 0;
font-size: 1rem;
}
.choices__inner, .choices__input {
background-color: var(--white);
}
.choices__list--single {
padding: 0;
font-size: 1rem;
color: var(--atum-text-dark);
}
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.