life-towers/frontend/src/library/main.scss
Andras Schmelczer e00300de6c
All checks were successful
CI / Backend tests (push) Successful in 34s
CI / Frontend lint (push) Successful in 30s
CI / Frontend unit tests (push) Successful in 34s
CI / Frontend build (push) Successful in 34s
Docker / build-and-push (push) Successful in 1m40s
CI / Playwright e2e (push) Successful in 1m10s
Fix x sign
2026-05-31 22:35:31 +01:00

87 lines
No EOL
2.4 KiB
SCSS

@import 'common-variables';
@import 'animations';
@import 'text';
@import 'spacing';
@import 'forms';
@import 'utils';
:root {
--border-radius: 5px;
--large-padding: 30px;
--medium-padding: 15px;
--small-padding: 10px;
@media (max-width: $mobile-width) {
--border-radius: 3px;
--large-padding: 20px;
--medium-padding: 15px;
--small-padding: 7.5px;
}
}
@mixin card {
border-radius: var(--border-radius);
background-color: $light-color;
}
@mixin center-child {
display: flex;
justify-content: center;
align-items: center;
}
@mixin exit {
@include square(16px);
-webkit-appearance: none;
appearance: none;
background: transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20xmlns:xlink%3D'http://www.w3.org/1999/xlink'%20version%3D'1.1'%20id%3D'Capa_1'%20x%3D'0px'%20y%3D'0px'%20viewBox%3D'0%200%20212.982%20212.982'%20style%3D'enable-background:new%200%200%20212.982%20212.982%3B'%20xml:space%3D'preserve'%20width%3D'512px'%20height%3D'512px'%20class%3D''%3E%3Cg%3E%3Cg%20id%3D'Close'%3E%3Cpath%20d%3D'M131.804%2C106.491l75.936-75.936c6.99-6.99%2C6.99-18.323%2C0-25.312%20c-6.99-6.99-18.322-6.99-25.312%2C0l-75.937%2C75.937L30.554%2C5.242c-6.99-6.99-18.322-6.99-25.312%2C0c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312%20l75.937%2C75.936L5.242%2C182.427c-6.989%2C6.99-6.989%2C18.323%2C0%2C25.312c6.99%2C6.99%2C18.322%2C6.99%2C25.312%2C0l75.937-75.937l75.937%2C75.937%20c6.989%2C6.99%2C18.322%2C6.99%2C25.312%2C0c6.99-6.99%2C6.99-18.322%2C0-25.312L131.804%2C106.491z'%20data-original%3D'%23000000'%20class%3D'active-path'%20data-old_color%3D'%23000000'%20fill%3D'%235D576B'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat center center / 50% 50%;
border: 0 !important;
border-bottom: 0 !important;
box-shadow: none;
box-sizing: content-box;
color: transparent;
display: block;
flex: 0 0 auto;
font-size: 0;
line-height: 0;
margin: 0;
min-height: 0;
overflow: hidden;
padding: 8px;
text-decoration: none !important;
@include jump();
&:before,
&:after {
content: none !important;
display: none;
}
}
img {
user-select: none;
}
*::-webkit-scrollbar {
width: 4px;
height: 4px;
}
*::-webkit-scrollbar-track {
box-shadow: $shadow-border;
border-radius: var(--border-radius);
}
*::-webkit-scrollbar-thumb {
background-color: $text-color;
border-radius: var(--border-radius);
cursor: pointer;
}
* {
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent;
}