2022-08-08 21:45:53 +02:00
|
|
|
@use "sass:math";
|
2025-10-25 08:59:09 +02:00
|
|
|
@use "sass:color";
|
2019-11-12 20:18:02 +01:00
|
|
|
|
2025-10-26 11:33:54 +01:00
|
|
|
@use "config";
|
|
|
|
|
@use "../functions/color" as *;
|
|
|
|
|
@use "../mixins/media_query" as *;
|
|
|
|
|
@use "../mixins/user_agent" as *;
|
|
|
|
|
|
|
|
|
|
// Common styles for global usage
|
|
|
|
|
// -----------------------------------------------------------------------------
|
2019-11-12 20:18:02 +01:00
|
|
|
|
2022-08-08 21:45:53 +02:00
|
|
|
// General classes
|
|
|
|
|
// -----------------------------------------------------------------------------
|
2025-05-02 14:01:41 +02:00
|
|
|
.di_none {
|
2025-06-21 13:35:26 +02:00
|
|
|
display: none !important;
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
2025-05-02 14:01:41 +02:00
|
|
|
.op_hide {
|
2025-06-21 13:35:26 +02:00
|
|
|
opacity: 0 !important;
|
2025-05-02 14:01:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.op_show {
|
2025-06-21 13:35:26 +02:00
|
|
|
opacity: 1 !important;
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.space_even_auto {
|
|
|
|
|
margin-right: auto;
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.space_even_half {
|
|
|
|
|
margin-right: 25%;
|
|
|
|
|
margin-left: 25%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.space_even_fourth {
|
|
|
|
|
margin-right: 37.5%;
|
|
|
|
|
margin-left: 37.5%;
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-26 11:33:54 +01:00
|
|
|
@each $size, $variable in (basic, #{config.$space_basic}),
|
|
|
|
|
(small, #{config.$space_small}),
|
|
|
|
|
(medium, #{config.$space_medium}),
|
|
|
|
|
(large, #{config.$space_large}) {
|
2025-05-18 11:12:00 +02:00
|
|
|
.space_top_#{$size} {
|
|
|
|
|
margin-top: $variable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.space_right_#{$size} {
|
|
|
|
|
margin-right: $variable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.space_bottom_#{$size} {
|
|
|
|
|
margin-bottom: $variable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.space_left_#{$size} {
|
|
|
|
|
margin-left: $variable;
|
|
|
|
|
}
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.space_left_fourth {
|
|
|
|
|
margin-left: 25%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.width_full {
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.width_half {
|
|
|
|
|
width: 50%;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.width_third {
|
|
|
|
|
width: 33.3%;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h_basic {
|
|
|
|
|
height: 1024px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h_full_view {
|
|
|
|
|
height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h_100 {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wrap_center {
|
2025-10-25 08:59:09 +02:00
|
|
|
& > * {
|
2025-10-26 11:33:54 +01:00
|
|
|
margin-right: math.div((100% - config.$width_basic), 2);
|
|
|
|
|
margin-left: math.div((100% - config.$width_basic), 2);
|
2019-11-12 20:18:02 +01:00
|
|
|
|
|
|
|
|
@include forTabletPortraitUp {
|
2025-10-26 11:33:54 +01:00
|
|
|
margin-right: math.div((100% - config.$width_small), 2);
|
|
|
|
|
margin-left: math.div((100% - config.$width_small), 2);
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
2025-05-18 11:12:00 +02:00
|
|
|
|
2019-11-12 20:18:02 +01:00
|
|
|
@include forTabletLandscapeUp {
|
2025-10-26 11:33:54 +01:00
|
|
|
margin-right: math.div((100% - config.$width_medium), 2);
|
|
|
|
|
margin-left: math.div((100% - config.$width_medium), 2);
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
2025-05-18 11:12:00 +02:00
|
|
|
|
2019-11-12 20:18:02 +01:00
|
|
|
@include forBigDesktopUp {
|
2025-10-26 11:33:54 +01:00
|
|
|
margin-right: math.div((100% - config.$width_large), 2);
|
|
|
|
|
margin-left: math.div((100% - config.$width_large), 2);
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Clearing and floating
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
.clear {
|
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
|
&::after {
|
|
|
|
|
clear: both;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.overflow {
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float_left {
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float_right {
|
|
|
|
|
float: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float_space_left {
|
2025-06-19 14:18:45 +02:00
|
|
|
float: left;
|
2025-10-26 11:33:54 +01:00
|
|
|
margin-right: config.$space_small;
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float_half_size {
|
|
|
|
|
float: left;
|
|
|
|
|
width: 50%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.x_long {
|
|
|
|
|
overflow-x: scroll;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Inlining
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
.inline {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2025-06-20 17:02:27 +02:00
|
|
|
// Flex & grid
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
%flex-inline {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
2025-06-21 13:35:26 +02:00
|
|
|
flex-wrap: wrap;
|
2025-06-20 17:02:27 +02:00
|
|
|
align-items: flex-start;
|
|
|
|
|
justify-content: flex-start;
|
2025-10-26 11:33:54 +01:00
|
|
|
gap: config.$space_half config.$space_basic;
|
2025-06-20 17:02:27 +02:00
|
|
|
}
|
|
|
|
|
|
2025-06-21 13:35:26 +02:00
|
|
|
%flex-column,
|
|
|
|
|
%flex-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
2025-10-26 11:33:54 +01:00
|
|
|
gap: config.$space_basic;
|
2025-06-21 13:35:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%flex-column {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%flex-row {
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-20 17:02:27 +02:00
|
|
|
|
2019-11-12 20:18:02 +01:00
|
|
|
// Positioned elements
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
%viewport_fixed {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%full_parent {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
// width: 100%;
|
|
|
|
|
// height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pos_abs {
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pos_rel {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pos_fix {
|
|
|
|
|
position: fixed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pin_top {
|
|
|
|
|
top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pin_right {
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pin_bottom {
|
|
|
|
|
bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pin_left {
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pos_full_view {
|
|
|
|
|
@extend %viewport_fixed;
|
2025-10-26 11:33:54 +01:00
|
|
|
background-color: rgba(basic_color(alpha), 0.5);
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pos_full_page {
|
|
|
|
|
@extend %full_parent;
|
2025-10-26 11:33:54 +01:00
|
|
|
background-color: rgba(basic_color(charlie), 0.25);
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hover_back_change {
|
2025-10-26 11:33:54 +01:00
|
|
|
background-color: config.$color_darker;
|
2019-11-12 20:18:02 +01:00
|
|
|
transition: background-color 0.2s ease-in-out;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
2025-10-26 11:33:54 +01:00
|
|
|
background-color: config.$color_back_basic;
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-25 09:17:58 +02:00
|
|
|
#mouse-overlay {
|
2019-11-12 20:18:02 +01:00
|
|
|
@extend %viewport_fixed;
|
2025-10-26 11:33:54 +01:00
|
|
|
z-index: config.$z_heaven;
|
|
|
|
|
transition: background-color config.$duration_long config.$timing_basic config.$duration_long;
|
2019-11-12 20:18:02 +01:00
|
|
|
pointer-events: none;
|
|
|
|
|
|
2025-10-25 08:59:09 +02:00
|
|
|
&.active {
|
2025-10-26 11:33:54 +01:00
|
|
|
background-color: color.adjust(config.$color_darkest, $alpha: -0.5);
|
2025-10-25 08:59:09 +02:00
|
|
|
}
|
|
|
|
|
}
|
2019-11-12 20:18:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// Colors
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
.txt_color_light {
|
2025-10-26 11:33:54 +01:00
|
|
|
color: config.$color_brighter;
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_color_dark {
|
2025-10-26 11:33:54 +01:00
|
|
|
color: config.$color_darker;
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Text
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
.txt_tiny {
|
|
|
|
|
font-size: .5em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_smaller {
|
|
|
|
|
font-size: .75em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_larger {
|
|
|
|
|
font-size: 1.2em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_huge {
|
|
|
|
|
font-size: 3em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_hero {
|
2025-10-26 11:33:54 +01:00
|
|
|
font-size: config.$size_hero;
|
2019-11-12 20:18:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_center {
|
|
|
|
|
text-align: center !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_right {
|
|
|
|
|
text-align: right !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_left {
|
|
|
|
|
text-align: left !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_top {
|
|
|
|
|
vertical-align: top !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_bottom {
|
|
|
|
|
vertical-align: bottom !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_white {
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_black {
|
|
|
|
|
color: black;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt_gradient {
|
2025-10-26 11:33:54 +01:00
|
|
|
background: linear-gradient(165deg, basic_color(alpha) 30%, basic_color(bravo) 45%, basic_color(charlie) 50%, basic_color(delta), basic_color(echo) 80%, basic_color(foxtrot));
|
2019-11-12 20:18:02 +01:00
|
|
|
background-clip: text;
|
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
-webkit-text-fill-color: transparent;
|
2025-10-26 11:33:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Focus
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
@include overrideUserAgent(config.$no_agent_focus, config.$io_focus_list);
|