mirror of
https://github.com/searxng/searxng.git
synced 2025-12-24 20:50:02 +00:00
Lay the foundation for loading scripts granularly depending on the endpoint it's on. Remove vendor specific prefixes as there are now managed by browserslist and LightningCSS. Enabled quite a few rules in Biome that don't come in recommended to better catch issues and improve consistency. Related: - https://github.com/searxng/searxng/pull/5073#discussion_r2256037965 - https://github.com/searxng/searxng/pull/5073#discussion_r2256057100
37 lines
689 B
Plaintext
37 lines
689 B
Plaintext
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
// Mixins
|
|
.text-size-adjust (@property: 100%) {
|
|
text-size-adjust: @property;
|
|
}
|
|
|
|
.rounded-corners (@radius: 10px) {
|
|
border-radius: @radius;
|
|
}
|
|
|
|
.rounded-right-corners (@radius: 0 10px 10px 0) {
|
|
border-radius: @radius;
|
|
}
|
|
|
|
.rounded-corners-tiny (@radius: 5px) {
|
|
border-radius: @radius;
|
|
}
|
|
|
|
// disable user selection
|
|
.disable-user-select () {
|
|
user-select: none;
|
|
}
|
|
|
|
.show-content-button() {
|
|
padding: 5px 10px;
|
|
.rounded-corners-tiny;
|
|
background: var(--color-show-btn-background);
|
|
color: var(--color-show-btn-font);
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: var(--color-btn-background);
|
|
color: var(--color-btn-font);
|
|
}
|
|
}
|