2017-12-05 16:07:05 +01:00
|
|
|
@import "colors";
|
2019-10-17 15:13:50 +02:00
|
|
|
@import "constants";
|
2017-12-05 16:07:05 +01:00
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
// floats
|
2017-05-03 16:50:36 +02:00
|
|
|
.pull-left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pull-right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix {
|
|
|
|
clear: both;
|
|
|
|
}
|
2017-05-05 14:59:00 +02:00
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
2022-02-04 14:40:16 +01:00
|
|
|
|
2022-09-26 17:14:20 +02:00
|
|
|
.visually-hidden {
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
padding: 0;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
white-space: nowrap;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
// text
|
|
|
|
.text-center,
|
2017-05-05 14:59:00 +02:00
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-05-22 16:56:09 +02:00
|
|
|
|
2017-06-13 17:46:08 +02:00
|
|
|
.text-right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
.text-sm {
|
2022-06-16 15:51:45 +02:00
|
|
|
font-size: 14px !important;
|
2017-05-22 16:56:09 +02:00
|
|
|
}
|
2017-07-24 10:01:53 +02:00
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
.text-lg {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2022-10-12 12:26:18 +02:00
|
|
|
.font-weight-bold {
|
2022-06-16 15:51:45 +02:00
|
|
|
font-weight: bold !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.font-weight-normal {
|
|
|
|
font-weight: normal !important;
|
2022-02-04 14:40:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.numbers-delimiter {
|
|
|
|
display: inline-block;
|
|
|
|
width: 5px;
|
2017-07-24 10:01:53 +02:00
|
|
|
}
|
2017-09-20 17:07:09 +02:00
|
|
|
|
|
|
|
.empty-text {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
|
|
|
margin: 60px 0;
|
|
|
|
}
|
2017-12-05 16:07:05 +01:00
|
|
|
|
2018-06-28 11:14:02 +02:00
|
|
|
.empty-text-details {
|
|
|
|
margin-bottom: 60px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.empty-text + & {
|
|
|
|
margin-top: -50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-19 15:58:34 +02:00
|
|
|
.relative {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
// display
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
2021-11-22 14:46:10 +01:00
|
|
|
}
|
|
|
|
|
2022-09-19 18:27:50 +02:00
|
|
|
.visible-on-previous-hover {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
:hover + .visible-on-previous-hover {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
// sizing
|
|
|
|
.width-100 {
|
|
|
|
width: 100%;
|
2022-07-13 18:12:26 +02:00
|
|
|
|
|
|
|
@media (max-width: $two-columns-breakpoint) {
|
|
|
|
&-mobile {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2021-11-22 14:46:10 +01:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.width-33 {
|
|
|
|
width: 33.33%;
|
2022-07-11 11:42:59 +02:00
|
|
|
|
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
|
|
|
&-desktop {
|
|
|
|
width: 33.33%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.width-66 {
|
|
|
|
width: 66.67%;
|
|
|
|
|
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
|
|
|
&-desktop {
|
|
|
|
width: 66.67%;
|
|
|
|
}
|
|
|
|
}
|
2022-06-16 14:56:53 +02:00
|
|
|
}
|
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
// who known
|
|
|
|
.highlighted {
|
|
|
|
background: $orange-bg;
|
|
|
|
color: $black;
|
2021-11-22 14:46:10 +01:00
|
|
|
}
|
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
// generate spacer utility like bootstrap my-2 -> margin-left/right: 2 * $default-spacer
|
|
|
|
// using $direction.key as css modifier, $direction.values to set css properties
|
|
|
|
// scale it using $steps
|
|
|
|
$directions: (
|
|
|
|
"t": ("margin-top"),
|
|
|
|
"r": ("margin-right"),
|
|
|
|
"b": ("margin-bottom"),
|
|
|
|
"l": ("margin-left"),
|
|
|
|
"x": ("margin-left", "margin-right"),
|
|
|
|
"y": ("margin-top", "margin-bottom"),
|
|
|
|
"": ("margin")
|
|
|
|
);
|
|
|
|
$steps: (0, 1, 2, 3, 4, 5, 6, 7, 8);
|
|
|
|
|
|
|
|
@each $modifier, $properties in $directions {
|
|
|
|
@each $step in $steps {
|
|
|
|
@each $property in $properties {
|
|
|
|
.m#{$modifier}-#{$step} {
|
|
|
|
#{$property}: $step * $default-spacer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-06-18 11:15:10 +02:00
|
|
|
}
|
2022-08-18 10:30:37 +02:00
|
|
|
|
|
|
|
$directions: (
|
|
|
|
"t": ("padding-top"),
|
|
|
|
"r": ("padding-right"),
|
|
|
|
"b": ("padding-bottom"),
|
|
|
|
"l": ("padding-left"),
|
|
|
|
"x": ("padding-left", "padding-right"),
|
|
|
|
"y": ("padding-top", "padding-bottom"),
|
|
|
|
"": ("padding")
|
|
|
|
);
|
|
|
|
$steps: (0, 1, 2, 3, 4, 5, 6, 7, 8);
|
|
|
|
|
|
|
|
@each $modifier, $properties in $directions {
|
|
|
|
@each $step in $steps {
|
|
|
|
@each $property in $properties {
|
|
|
|
.p#{$modifier}-#{$step} {
|
|
|
|
#{$property}: $step * $default-spacer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|