2017-02-12 15:06:01 +01:00
|
|
|
// other solution : http://stackoverflow.com/questions/1577598/how-to-hide-parts-of-html-when-javascript-is-disabled/13857783#13857783
|
[stylelint] disable role 'no-descending-specificity'
This patch disables role 'no-descending-specificity'. IMO it is better to have
this rule active (see below [1]), but it is hard to rewrite the less files to
pass this rule, so for the first I chose to disable this rule.
---
Source order is important in CSS, and when two selectors have the same
specificity, the one that occurs last will take priority. However, the situation
is different when one of the selectors has a higher specificity. In that case,
source order does not matter: the selector with higher specificity will win out
even if it comes first.
The clashes of these two mechanisms for prioritization, source order and
specificity, can cause some confusion when reading stylesheets. If a selector
with higher specificity comes before the selector it overrides, we have to think
harder to understand it, because it violates the source order
expectation. Stylesheets are most legible when overriding selectors always come
after the selectors they override. That way both mechanisms, source order and
specificity, work together nicely.
This rule enforces that practice as best it can, reporting fewer errors than it
should. It cannot catch every actual overriding selector, but it can catch
certain common mistakes.
[1] https://stylelint.io/user-guide/rules/list/no-descending-specificity/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-22 14:23:12 +02:00
|
|
|
|
|
|
|
// stylelint-disable no-descending-specificity
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
html.no-js .hide_if_nojs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
html.js .show_if_nojs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
2021-06-22 13:50:06 +02:00
|
|
|
float: right;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invisible {
|
2018-08-09 16:13:50 +02:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-unstyled {
|
|
|
|
list-style-type: none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.danger {
|
2021-09-28 22:41:56 +02:00
|
|
|
background-color: var(--color-error-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-04-14 18:11:35 +02:00
|
|
|
.warning {
|
2021-09-28 22:41:56 +02:00
|
|
|
background: var(--color-warning-background);
|
2021-04-14 18:11:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.success {
|
2021-09-28 22:41:56 +02:00
|
|
|
background: var(--color-success-background);
|
2021-04-14 18:11:35 +02:00
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.badge {
|
|
|
|
display: inline-block;
|
2021-09-30 18:12:42 +02:00
|
|
|
color: var(--color-toolkit-badge-font);
|
|
|
|
background-color: var(--color-toolkit-badge-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: baseline;
|
|
|
|
min-width: 10px;
|
|
|
|
padding: 1px 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
// kbd
|
|
|
|
kbd {
|
|
|
|
padding: 2px 4px;
|
|
|
|
margin: 1px;
|
|
|
|
font-size: 90%;
|
2021-09-30 18:12:42 +02:00
|
|
|
color: var(--color-toolkit-kbd-font);
|
|
|
|
background: var(--color-toolkit-kbd-background);
|
2018-08-09 16:13:50 +02:00
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
// table
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&.striped {
|
|
|
|
tr {
|
2021-09-28 22:41:56 +02:00
|
|
|
border-bottom: 1px solid var(--color-settings-tr-hover);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
padding: 0.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
&:hover {
|
2021-10-31 10:57:06 +01:00
|
|
|
background: var(--color-settings-tr-hover) !important;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
// pre
|
|
|
|
.pre() {
|
|
|
|
display: block;
|
|
|
|
font-size: 0.8em;
|
|
|
|
word-break: break-all;
|
|
|
|
margin: 0.1em;
|
2021-12-12 17:35:06 +01:00
|
|
|
user-select: all;
|
2018-08-09 16:13:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
div.selectable_url {
|
|
|
|
display: block;
|
2021-09-28 22:41:56 +02:00
|
|
|
border: 1px solid var(--color-result-search-url-border);
|
2018-08-09 16:13:50 +02:00
|
|
|
padding: 4px;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-search-url-font);
|
2018-08-09 16:13:50 +02:00
|
|
|
margin: 0.1em;
|
|
|
|
overflow: hidden;
|
|
|
|
height: 1.2em;
|
|
|
|
line-height: 1.2em;
|
2021-11-04 00:05:04 +01:00
|
|
|
.rounded-corners-tiny;
|
2018-08-09 16:13:50 +02:00
|
|
|
|
|
|
|
pre {
|
|
|
|
.pre();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
// dialog
|
|
|
|
.dialog() {
|
|
|
|
position: relative;
|
2021-11-13 10:42:07 +01:00
|
|
|
display: flex;
|
|
|
|
padding: 1rem;
|
2021-09-25 15:59:10 +02:00
|
|
|
margin: 0 0 1em 0;
|
2021-09-30 18:12:42 +02:00
|
|
|
border: 1px solid var(--color-toolkit-dialog-border);
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-text-align-left();
|
2021-10-06 20:12:51 +02:00
|
|
|
.rounded-corners;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
.close {
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-float-right();
|
2017-02-12 15:06:01 +01:00
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
ul,
|
|
|
|
ol,
|
|
|
|
p {
|
2017-02-12 15:06:01 +01:00
|
|
|
margin: 1px 0 0 0;
|
|
|
|
}
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
table {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
vertical-align: text-top;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
&:hover {
|
2021-11-13 00:51:26 +01:00
|
|
|
background: transparent !important;
|
2018-08-09 16:13:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 0 1em 0 0;
|
2022-01-13 21:36:08 +01:00
|
|
|
padding-top: 0;
|
|
|
|
.ltr-padding-right(1rem);
|
|
|
|
padding-bottom: 0;
|
|
|
|
.ltr-padding-left(0);
|
2018-08-09 16:13:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-top: 0.3em;
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.dialog-error {
|
|
|
|
.dialog();
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-error);
|
|
|
|
background: var(--color-error-background);
|
|
|
|
border-color: var(--color-error);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.dialog-warning {
|
|
|
|
.dialog();
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-warning);
|
|
|
|
background: var(--color-warning-background);
|
|
|
|
border-color: var(--color-warning);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
.dialog-modal {
|
|
|
|
.dialog();
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2021-11-20 09:28:44 +01:00
|
|
|
display: block;
|
2021-09-30 18:12:42 +02:00
|
|
|
background: var(--color-toolkit-dialog-background);
|
2021-06-22 13:50:06 +02:00
|
|
|
position: fixed;
|
2018-08-09 16:13:50 +02:00
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2021-11-05 11:33:43 +01:00
|
|
|
margin: 0 auto;
|
2018-08-09 16:13:50 +02:00
|
|
|
transform: translate(-50%, -50%);
|
2021-11-05 11:33:43 +01:00
|
|
|
z-index: 10000000;
|
2021-11-20 09:28:44 +01:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
// btn-collapse
|
|
|
|
.btn-collapse {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
.scrollx {
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
/* -- tabs -- */
|
2017-02-12 15:06:01 +01:00
|
|
|
.tabs .tabs > label {
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs {
|
2021-12-12 17:35:06 +01:00
|
|
|
display: flex;
|
2017-02-12 15:06:01 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > input[type=radio] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > label {
|
|
|
|
order: 1;
|
|
|
|
padding: 0.7em;
|
|
|
|
margin: 0 0.7em;
|
2021-06-22 13:50:06 +02:00
|
|
|
letter-spacing: 0.5px;
|
2017-02-12 15:06:01 +01:00
|
|
|
text-transform: uppercase;
|
2021-09-30 18:12:42 +02:00
|
|
|
border: solid var(--color-toolkit-tabs-label-border);
|
2021-06-22 13:50:06 +02:00
|
|
|
border-width: 0 0 2px 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
.disable-user-select();
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > label:hover {
|
2021-09-28 22:41:56 +02:00
|
|
|
border-bottom: 2px solid var(--color-categories-item-border-selected);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
& > section {
|
|
|
|
min-width: 100%;
|
|
|
|
padding: 0.7rem 0;
|
|
|
|
box-sizing: border-box;
|
2021-09-30 18:12:42 +02:00
|
|
|
border-top: 1px solid var(--color-toolkit-tabs-section-border);
|
2017-02-12 15:06:01 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// default selection
|
|
|
|
& > label:last-of-type {
|
2021-09-28 22:41:56 +02:00
|
|
|
border-bottom: 2px solid var(--color-categories-item-border-selected);
|
|
|
|
background: var(--color-categories-item-selected);
|
|
|
|
color: var(--color-categories-item-selected-font);
|
2021-06-22 13:50:06 +02:00
|
|
|
letter-spacing: -0.1px;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
& > section:last-of-type {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html body .tabs > input:checked {
|
|
|
|
~ section {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
~ label {
|
|
|
|
position: inherited;
|
|
|
|
background: inherit;
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
font-weight: normal;
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
2021-09-28 22:41:56 +02:00
|
|
|
border-bottom: 2px solid var(--color-categories-item-border-selected);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
+ label {
|
2021-09-28 22:41:56 +02:00
|
|
|
border-bottom: 2px solid var(--color-categories-item-border-selected);
|
|
|
|
background: var(--color-categories-item-selected);
|
|
|
|
color: var(--color-categories-item-selected-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
+ label + section {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
/* -- select -- */
|
2017-02-12 15:06:01 +01:00
|
|
|
select {
|
2021-11-21 21:38:00 +01:00
|
|
|
height: 2.4rem;
|
2022-01-13 21:36:08 +01:00
|
|
|
margin-top: 0;
|
|
|
|
.ltr-margin-right(1rem);
|
|
|
|
margin-bottom: 0;
|
|
|
|
.ltr-margin-left(0);
|
2021-11-21 21:38:00 +01:00
|
|
|
padding: 0.2rem !important;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-search-font);
|
2021-11-21 21:38:00 +01:00
|
|
|
font-size: 0.9rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
z-index: 2;
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-02-12 15:06:01 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@supports ((background-position-x: 100%) and ((appearance: none) or (-webkit-appearance: none) or (-moz-appearance: none))) {
|
|
|
|
select {
|
|
|
|
appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
2021-11-21 21:38:00 +01:00
|
|
|
border-width: 0 2rem 0 0;
|
|
|
|
border-color: transparent;
|
2021-10-30 11:51:52 +02:00
|
|
|
background: data-uri('image/svg+xml;charset=UTF-8', @select-light-svg-path) no-repeat;
|
2021-11-21 21:38:00 +01:00
|
|
|
background-position-x: calc(100% + 2rem);
|
|
|
|
background-size: 2rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
background-origin: content-box;
|
2021-11-21 21:38:00 +01:00
|
|
|
background-color: var(--color-toolkit-select-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
outline: medium none;
|
2021-11-21 21:38:00 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
.rounded-corners-tiny;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2021-11-21 21:38:00 +01:00
|
|
|
background-color: var(--color-toolkit-select-background-hover);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2021-10-30 20:43:40 +02:00
|
|
|
|
|
|
|
option {
|
|
|
|
background-color: var(--color-base-background);
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2021-10-30 11:51:52 +02:00
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2021-11-19 13:49:16 +01:00
|
|
|
html.theme-auto select,
|
|
|
|
html.theme-dark select {
|
2021-10-30 11:51:52 +02:00
|
|
|
background-image: data-uri('image/svg+xml;charset=UTF-8', @select-dark-svg-path);
|
|
|
|
}
|
|
|
|
}
|
2021-11-19 13:49:16 +01:00
|
|
|
|
|
|
|
html.theme-dark select {
|
|
|
|
background-image: data-uri('image/svg+xml;charset=UTF-8', @select-dark-svg-path);
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
/* -- checkbox-onoff -- */
|
2017-02-12 15:06:01 +01:00
|
|
|
@supports (border-radius: 50px) {
|
|
|
|
.checkbox-onoff {
|
|
|
|
display: inline-block;
|
|
|
|
width: 40px;
|
|
|
|
height: 10px;
|
2021-09-30 18:12:42 +02:00
|
|
|
background: var(--color-toolkit-checkbox-onoff-background);
|
2021-09-25 18:29:12 +02:00
|
|
|
margin: 8px 1rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
position: relative;
|
|
|
|
border-radius: 50px;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
position: absolute;
|
|
|
|
top: -5px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 50px;
|
|
|
|
transition: all 0.4s ease;
|
|
|
|
left: 27px;
|
2021-09-30 18:12:42 +02:00
|
|
|
background-color: var(--color-toolkit-checkbox-onoff-label-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
input[type=checkbox] {
|
|
|
|
visibility: hidden;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
&:checked + label {
|
|
|
|
left: -5px;
|
2021-09-30 18:12:42 +02:00
|
|
|
background: var(--color-toolkit-checkbox-onoff-checked-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
/* -- checkbox -- */
|
2017-02-12 15:06:01 +01:00
|
|
|
@supports (transform: rotate(-45deg)) {
|
|
|
|
.checkbox {
|
|
|
|
width: 20px;
|
|
|
|
position: relative;
|
|
|
|
margin: 20px auto;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
label {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-09-30 18:12:42 +02:00
|
|
|
background: var(--color-toolkit-checkbox-label-background);
|
2021-10-08 16:06:48 +02:00
|
|
|
.rounded-corners;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
|
|
|
&::after {
|
2017-02-12 15:06:01 +01:00
|
|
|
content: '';
|
|
|
|
width: 9px;
|
|
|
|
height: 5px;
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
2021-09-30 18:12:42 +02:00
|
|
|
border: 3px solid var(--color-toolkit-checkbox-label-border);
|
2017-02-12 15:06:01 +01:00
|
|
|
border-top: none;
|
|
|
|
border-right: none;
|
|
|
|
background: transparent;
|
|
|
|
opacity: 0;
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox] {
|
|
|
|
visibility: hidden;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
|
|
|
&:checked + label::after {
|
2021-09-30 18:12:42 +02:00
|
|
|
border-color: var(--color-toolkit-checkbox-input-border);
|
2017-02-12 15:06:01 +01:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
// disabled : can''t be focused, show only the check mark
|
2021-06-22 13:50:06 +02:00
|
|
|
input[disabled] + label {
|
2017-02-12 15:06:01 +01:00
|
|
|
background-color: transparent !important;
|
2021-06-22 13:50:06 +02:00
|
|
|
cursor: inherit;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// if not checked and possible to checked then display a "light" check mark on hover
|
|
|
|
input:not(:checked):not([readonly]):not([disabled]) + label:hover::after {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-18 21:57:32 +02:00
|
|
|
@media screen and (max-width: @phone) {
|
2017-02-12 15:06:01 +01:00
|
|
|
.tabs > label {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2018-08-09 16:13:50 +02:00
|
|
|
|
|
|
|
/* -- loader -- */
|
|
|
|
.loader,
|
2021-06-22 13:50:06 +02:00
|
|
|
.loader::after {
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
2018-08-09 16:13:50 +02:00
|
|
|
}
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
.loader {
|
2021-06-22 13:50:06 +02:00
|
|
|
margin: 1em auto;
|
|
|
|
font-size: 10px;
|
|
|
|
position: relative;
|
|
|
|
text-indent: -9999em;
|
2021-09-30 18:12:42 +02:00
|
|
|
border-top: 0.5em solid var(--color-toolkit-loader-border);
|
|
|
|
border-right: 0.5em solid var(--color-toolkit-loader-border);
|
|
|
|
border-bottom: 0.5em solid var(--color-toolkit-loader-border);
|
|
|
|
border-left: 0.5em solid var(--color-toolkit-loader-borderleft);
|
2021-06-22 13:50:06 +02:00
|
|
|
-webkit-transform: translateZ(0);
|
|
|
|
-ms-transform: translateZ(0);
|
|
|
|
transform: translateZ(0);
|
|
|
|
-webkit-animation: load8 1.2s infinite linear;
|
|
|
|
animation: load8 1.2s infinite linear;
|
2018-08-09 16:13:50 +02:00
|
|
|
}
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
@-webkit-keyframes load8 {
|
2021-06-22 13:50:06 +02:00
|
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
2018-08-09 16:13:50 +02:00
|
|
|
}
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
@keyframes load8 {
|
2021-06-22 13:50:06 +02:00
|
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
2021-04-14 18:11:35 +02:00
|
|
|
}
|
|
|
|
|
2021-04-23 11:01:54 +02:00
|
|
|
/* -- engine-tooltip -- */
|
|
|
|
.engine-tooltip {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
padding: 0.5rem 1rem;
|
2021-06-22 13:50:06 +02:00
|
|
|
margin: 0 0 0 2rem;
|
2021-09-30 18:12:42 +02:00
|
|
|
border: 1px solid var(--color-toolkit-engine-tooltip-border);
|
|
|
|
background: var(--color-toolkit-engine-tooltip-background);
|
2021-04-23 11:01:54 +02:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
2021-06-22 13:50:06 +02:00
|
|
|
z-index: 1000000;
|
2021-04-23 11:01:54 +02:00
|
|
|
text-align: left;
|
2021-10-08 16:06:48 +02:00
|
|
|
.rounded-corners;
|
2021-04-23 11:01:54 +02:00
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
th:hover .engine-tooltip,
|
|
|
|
td:hover .engine-tooltip,
|
|
|
|
.engine-tooltip:hover {
|
2021-04-23 11:01:54 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2021-04-14 18:11:35 +02:00
|
|
|
/* -- stacked bar chart -- */
|
|
|
|
.stacked-bar-chart {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0.125rem 0 4rem;
|
|
|
|
width: 100%;
|
|
|
|
width: -moz-available;
|
|
|
|
width: -webkit-fill-available;
|
|
|
|
width: fill;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-items: center;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stacked-bar-chart-value {
|
|
|
|
width: 3rem;
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
2021-04-21 18:49:13 +02:00
|
|
|
padding: 0 0.5rem;
|
2021-04-14 18:11:35 +02:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stacked-bar-chart-base {
|
2021-06-22 13:50:06 +02:00
|
|
|
display: flex;
|
2021-04-14 18:11:35 +02:00
|
|
|
flex-shrink: 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-basis: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stacked-bar-chart-median {
|
|
|
|
.stacked-bar-chart-base();
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2021-10-30 10:01:58 +02:00
|
|
|
background: var(--color-base-font);
|
|
|
|
border: 1px solid rgba(var(--color-base-font-rgb), 0.9);
|
2021-04-14 18:11:35 +02:00
|
|
|
padding: 0.3rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stacked-bar-chart-rate80 {
|
|
|
|
.stacked-bar-chart-base();
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2021-04-14 18:11:35 +02:00
|
|
|
background: transparent;
|
2021-10-30 10:01:58 +02:00
|
|
|
border: 1px solid rgba(var(--color-base-font-rgb), 0.3);
|
2021-04-14 18:11:35 +02:00
|
|
|
padding: 0.3rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stacked-bar-chart-rate95 {
|
|
|
|
.stacked-bar-chart-base();
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2021-04-14 18:11:35 +02:00
|
|
|
background: transparent;
|
2021-10-30 10:01:58 +02:00
|
|
|
border-bottom: 1px dotted rgba(var(--color-base-font-rgb), 0.5);
|
2021-04-14 18:11:35 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stacked-bar-chart-rate100 {
|
|
|
|
.stacked-bar-chart-base();
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2021-04-14 18:11:35 +02:00
|
|
|
background: transparent;
|
2021-10-30 10:01:58 +02:00
|
|
|
border-left: 1px solid rgba(var(--color-base-font-rgb), 0.9);
|
2021-04-14 18:11:35 +02:00
|
|
|
padding: 0.4rem 0;
|
|
|
|
width: 1px;
|
|
|
|
}
|