2021-12-12 17:35:06 +01:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
// Mixins
|
|
|
|
.text-size-adjust (@property: 100%) {
|
2021-06-22 13:50:06 +02:00
|
|
|
-webkit-text-size-adjust: @property;
|
|
|
|
-ms-text-size-adjust: @property;
|
|
|
|
-moz-text-size-adjust: @property;
|
|
|
|
text-size-adjust: @property;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-10-06 20:12:51 +02:00
|
|
|
.rounded-corners (@radius: 10px) {
|
2021-06-22 13:50:06 +02:00
|
|
|
border-radius: @radius;
|
2021-10-29 18:57:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.rounded-right-corners (@radius: 0 10px 10px 0) {
|
|
|
|
border-radius: @radius;
|
2021-11-03 23:59:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.rounded-corners-tiny (@radius: 5px) {
|
|
|
|
border-radius: @radius;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// disable user selection
|
|
|
|
.disable-user-select () {
|
2021-06-22 13:50:06 +02:00
|
|
|
-webkit-touch-callout: none;
|
|
|
|
user-select: none;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2022-02-08 17:45:18 +01:00
|
|
|
|
|
|
|
.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);
|
|
|
|
}
|
|
|
|
}
|