2022-10-29 02:48:53 +02:00
|
|
|
@use "vars" as *;
|
|
|
|
@use "root-vars";
|
2022-09-27 04:16:45 +02:00
|
|
|
@use "button-mixins" as button;
|
2021-04-13 14:30:47 +02:00
|
|
|
|
2022-10-29 02:48:53 +02:00
|
|
|
$body-color: color(fg);
|
|
|
|
$body-bg: color(canvas);
|
2021-04-13 14:30:47 +02:00
|
|
|
|
2022-10-29 02:48:53 +02:00
|
|
|
$link-hover-color: color(fg-link);
|
2021-04-13 14:30:47 +02:00
|
|
|
$link-hover-decoration: none;
|
|
|
|
|
2021-06-21 19:11:10 +02:00
|
|
|
$utilities: (
|
|
|
|
"opacity": (
|
|
|
|
property: opacity,
|
|
|
|
values: (
|
|
|
|
0: 0,
|
|
|
|
25: 0.25,
|
|
|
|
50: 0.5,
|
|
|
|
75: 0.75,
|
|
|
|
100: 1,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
|
2021-08-17 21:25:38 +02:00
|
|
|
@import "bootstrap/scss/bootstrap-reboot";
|
|
|
|
@import "bootstrap/scss/bootstrap-utilities";
|
2021-04-13 14:30:47 +02:00
|
|
|
|
2021-04-27 17:20:13 +02:00
|
|
|
/* Bootstrap "extensions" */
|
|
|
|
.flex-basis-100 {
|
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-basis-75 {
|
|
|
|
flex-basis: 75%;
|
|
|
|
}
|
|
|
|
|
2022-09-26 01:13:06 +02:00
|
|
|
html,
|
2022-08-18 04:48:28 +02:00
|
|
|
body {
|
2022-09-26 01:13:06 +02:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
overflow-x: hidden;
|
2021-10-31 00:29:22 +02:00
|
|
|
}
|
|
|
|
|
2021-05-24 19:53:30 +02:00
|
|
|
button {
|
|
|
|
/* override transition for instant hover response */
|
2021-05-25 13:52:27 +02:00
|
|
|
transition: color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
|
2022-10-29 02:48:53 +02:00
|
|
|
border-radius: prop(border-radius);
|
2022-11-02 09:23:08 +01:00
|
|
|
@include button.base;
|
2021-05-24 19:53:30 +02:00
|
|
|
}
|
2021-10-23 03:06:15 +02:00
|
|
|
|
2021-11-09 03:53:39 +01:00
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
kbd,
|
|
|
|
samp {
|
2021-10-23 03:06:15 +02:00
|
|
|
unicode-bidi: normal !important;
|
|
|
|
}
|
2021-10-31 00:29:22 +02:00
|
|
|
|
2021-12-13 05:00:35 +01:00
|
|
|
[dir="rtl"] {
|
2021-12-06 09:40:26 +01:00
|
|
|
.form-select {
|
|
|
|
/* flip <select>'s arrow */
|
2021-12-13 05:00:35 +01:00
|
|
|
background-position: left 0.75rem center;
|
2021-12-06 09:40:26 +01:00
|
|
|
}
|
2021-12-13 05:00:35 +01:00
|
|
|
}
|
2022-09-27 04:16:45 +02:00
|
|
|
.form-select:focus {
|
|
|
|
outline: none;
|
2022-10-29 02:48:53 +02:00
|
|
|
border: 1px solid color(border-focus);
|
2022-09-27 04:16:45 +02:00
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
2022-06-01 12:26:16 +02:00
|
|
|
|
|
|
|
.night-mode .form-select:disabled {
|
2022-10-29 02:48:53 +02:00
|
|
|
background-color: color(fg-disabled);
|
2022-06-01 12:26:16 +02:00
|
|
|
}
|
2022-09-03 04:14:47 +02:00
|
|
|
|
|
|
|
.reduced-motion * {
|
|
|
|
transition: none !important;
|
|
|
|
animation: none !important;
|
|
|
|
}
|
2022-09-27 04:16:45 +02:00
|
|
|
|
|
|
|
select {
|
|
|
|
@include button.background;
|
|
|
|
@include button.border-radius;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&.focus {
|
2022-10-29 02:48:53 +02:00
|
|
|
border: 1px solid color(border-focus);
|
2022-09-27 04:16:45 +02:00
|
|
|
}
|
|
|
|
option {
|
2022-10-29 02:48:53 +02:00
|
|
|
background: color(canvas-elevated);
|
|
|
|
color: color(fg);
|
2022-09-27 04:16:45 +02:00
|
|
|
}
|
|
|
|
}
|
2022-11-02 09:23:08 +01:00
|
|
|
|
|
|
|
label,
|
|
|
|
input[type="radio"],
|
|
|
|
input[type="checkbox"] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
input[type="text"] {
|
|
|
|
border-radius: prop(border-radius);
|
|
|
|
outline: none;
|
|
|
|
border: 1px solid color(border);
|
|
|
|
&:focus {
|
|
|
|
border-color: color(border-focus);
|
|
|
|
}
|
|
|
|
}
|