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
|
|
|
|
|
|
|
// 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-06-16 15:51:45 +02:00
|
|
|
.bold-weight-bold {
|
|
|
|
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-02-04 14:40:16 +01:00
|
|
|
// display
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
2021-11-22 14:46:10 +01:00
|
|
|
}
|
|
|
|
|
2022-02-04 14:40:16 +01:00
|
|
|
// sizing
|
|
|
|
.width-100 {
|
|
|
|
width: 100%;
|
2021-11-22 14:46:10 +01:00
|
|
|
}
|
|
|
|
|
2022-06-16 14:56:53 +02:00
|
|
|
.width-33 {
|
|
|
|
width: 33.33%;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|