1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00
Files
fm-dx-webserver/web/css/helpers.css
2024-07-18 14:57:43 +02:00

266 lines
3.2 KiB
CSS

.auto {
margin: auto;
}
.bg-dark {
background: #100d1f;
}
.bg-gray {
background: #999;
}
.bg-none {
background: transparent !important;
}
.bg-color-1 {
background-color: var(--color-1);
}
.bg-color-2 {
background-color: var(--color-2);
}
.bg-color-3 {
background-color: var(--color-3);
}
.bg-color-4 {
background-color: var(--color-4);
}
.color-1 {
color: var(--color-1);
}
.color-2 {
color: var(--color-2);
}
.color-3 {
color: var(--color-3);
}
.color-4 {
color: var(--color-4);
}
.color-5 {
color: var(--color-5);
}
.br-0 {
border-radius: 0px;
}
.br-5 {
border-radius: 5px;
}
.br-30 {
border-radius: 30px;
}
.m-0 {
margin: 0 !important;
}
.m-left-20 {
margin-left: 20px;
}
.m-right-20 {
margin-right: 20px;
}
.h-100 {
height: 100%;
}
.no-bg {
background-color: transparent;
}
.opacity-full {
opacity: 1;
}
.opacity-half {
opacity: 0.5;
}
.flex-container {
display: flex;
}
.flex-center {
display: flex;
justify-content: center;
align-items: center;
}
.flex-left {
display: flex;
align-items: center;
}
.hover-brighten {
transition: 0.3s ease-in-out background-color;
}
.hover-brighten:hover {
cursor: pointer;
background-color: var(--color-2);
}
.text-left {
text-align: left;
}
.text-big {
font-size: 52px;
font-weight: 300;
}
.text-color-default {
color: var(--color-text);
}
.text-medium {
font-size: 24px;
font-weight: 300;
opacity: 0.6;
}
.text-medium-big {
font-size: 46px;
}
.text-small {
font-size: 13px;
}
.text-smaller {
font-size: 11px;
}
.text-light {
font-weight: 300;
}
.text-bold {
font-weight: bold !important;
}
.text-monospace {
font-family: "Roboto Mono", monospace;
}
.text-gray {
opacity: 0.7;
}
.text-red {
color: #ff5776;
}
.text-uppercase {
text-transform: uppercase;
}
.top-10 {
margin-top: 10px;
}
.top-25 {
margin-top: 25px;
}
.bottom-20 {
margin-bottom: 20px;
}
.bottom-50 {
margin-bottom: 50px;
}
.p-10 {
padding: 10px;
}
.p-left-10 {
padding-left: 10px;
}
.p-bottom-20 {
padding-bottom: 20px;
}
.input-text {
background-color: var(--color-2) !important;
}
.pointer {
cursor: pointer;
}
.hidden {
display: none;
}
.user-select-none {
user-select: none;
}
@media only screen and (max-width: 960px) {
.text-medium-big {
font-size: 32px;
}
.text-big {
font-size: 40px;
display: block;
margin-top: 0;
}
.text-big#data-ps {
margin: 0;
}
}
@media only screen and (max-width: 768px) {
.flex-container {
display: block;
}
.flex-phone {
display: flex;
}
.flex-phone-column {
flex-flow: column;
}
.hide-phone {
display: none;
}
.m-0 {
margin: auto !important;
}
}
@media only screen and (min-width: 769px) {
.hide-desktop {
display: none;
}
}
/* Laptop compact view */
@media only screen and (min-width: 960px) and (max-height: 860px) {
.text-big {
font-size: 40px;
}
.text-medium-big {
font-size: 34px;
}
.text-medium {
font-size: 30px;
}
}