2025-01-13 14:51:23 +02:00
|
|
|
/*
|
|
|
|
|
* Input boxes
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
input:disabled {
|
|
|
|
|
opacity: .33;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Text boxes */
|
|
|
|
|
|
|
|
|
|
input:not([type]),
|
|
|
|
|
input[type="text"],
|
|
|
|
|
input[type="number"],
|
2025-01-13 21:23:12 +02:00
|
|
|
input[type="password"],
|
|
|
|
|
.form-control {
|
2025-01-13 14:51:23 +02:00
|
|
|
outline: 3px solid transparent;
|
|
|
|
|
outline-offset: 6px;
|
2025-01-13 21:12:27 +02:00
|
|
|
border: unset;
|
|
|
|
|
background: var(--input-background-color);
|
|
|
|
|
color: var(--input-text-color);
|
2025-01-13 14:51:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:not([type]):hover,
|
|
|
|
|
input[type="text"]:hover,
|
|
|
|
|
input[type="number"]:hover,
|
2025-01-13 21:23:12 +02:00
|
|
|
input[type="password"]:hover,
|
|
|
|
|
.form-control:hover {
|
2025-01-13 21:12:27 +02:00
|
|
|
background: var(--input-hover-background);
|
|
|
|
|
color: var(--input-hover-color);
|
2025-01-13 14:51:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:not([type]):focus,
|
|
|
|
|
input[type="text"]:focus,
|
|
|
|
|
input[type="number"]:focus,
|
2025-01-13 21:23:12 +02:00
|
|
|
input[type="password"]:focus,
|
|
|
|
|
.form-control:focus {
|
2025-01-13 21:12:27 +02:00
|
|
|
box-shadow: unset;
|
2025-01-13 14:51:23 +02:00
|
|
|
outline: 3px solid var(--input-focus-outline-color);
|
|
|
|
|
outline-offset: 0;
|
2025-01-13 21:12:27 +02:00
|
|
|
background: var(--input-focus-background);
|
|
|
|
|
color: var(--input-focus-color);
|
2025-01-13 14:51:23 +02:00
|
|
|
transition: outline-color 50ms linear,
|
|
|
|
|
outline-offset 200ms ease-out;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-13 21:23:12 +02:00
|
|
|
input::placeholder,
|
|
|
|
|
.form-control::placeholder {
|
2025-01-13 14:51:23 +02:00
|
|
|
--muted-text-color: var(--input-placeholder-color);
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-13 21:23:12 +02:00
|
|
|
input::selection,
|
|
|
|
|
.form-control::selection {
|
2025-01-13 14:51:23 +02:00
|
|
|
background: var(--input-selection-background);
|
|
|
|
|
color: var(--input-selection-text-color);
|
2025-01-13 21:45:56 +02:00
|
|
|
}
|
|
|
|
|
|
2025-01-14 01:30:31 +02:00
|
|
|
/* Input groups */
|
|
|
|
|
|
|
|
|
|
.input-group {
|
|
|
|
|
outline: 3px solid transparent;
|
|
|
|
|
outline-offset: 6px;
|
|
|
|
|
background: var(--input-background-color);
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
padding-right: 8px;
|
|
|
|
|
color: var(--quick-search-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-group:hover {
|
|
|
|
|
background: var(--input-hover-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-group:focus-within {
|
|
|
|
|
outline: 3px solid var(--input-focus-outline-color);
|
|
|
|
|
outline-offset: 0;
|
|
|
|
|
background: var(--input-focus-background);
|
|
|
|
|
transition: outline-color 50ms linear,
|
|
|
|
|
outline-offset 200ms ease-out;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-13 21:45:56 +02:00
|
|
|
.input-group input
|
2025-01-14 01:30:31 +02:00
|
|
|
.input-group input:hover,
|
2025-01-13 21:45:56 +02:00
|
|
|
.input-group input:focus,
|
|
|
|
|
.input-group .form-control,
|
2025-01-14 01:30:31 +02:00
|
|
|
.input-group .form-control:hover,
|
2025-01-13 21:45:56 +02:00
|
|
|
.input-group .form-control:focus {
|
|
|
|
|
/* Ignore the focus outline for the inputs that are children of an input group */
|
|
|
|
|
outline: unset;
|
2025-01-14 01:30:31 +02:00
|
|
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-group button,
|
|
|
|
|
.input-group a {
|
|
|
|
|
display: flex;
|
|
|
|
|
--bs-border-width: 0;
|
|
|
|
|
--accented-background-color: transparent;
|
|
|
|
|
background: transparent;
|
|
|
|
|
padding: 0 4px;
|
|
|
|
|
|
2025-01-14 01:51:18 +02:00
|
|
|
/* Workaround to set the "color" property. */
|
2025-01-14 01:46:28 +02:00
|
|
|
--muted-text-color: var(--input-action-button-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-group button:hover,
|
|
|
|
|
.input-group a:hover {
|
|
|
|
|
--muted-text-color: var(--input-action-button-hover);
|
2025-01-14 01:30:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-group a.disabled {
|
|
|
|
|
opacity: .5;
|
2025-01-14 01:51:18 +02:00
|
|
|
/* Workaround to set the "background" property. */
|
|
|
|
|
--button-disabled-background-color: transparent;
|
2025-01-14 01:30:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-group .input-clearer-button {
|
|
|
|
|
background: transparent !important;
|
2025-01-13 14:51:23 +02:00
|
|
|
}
|