This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/website/styles/general.css

245 lines
4.8 KiB
CSS
Raw Permalink Normal View History

/* GENERAL */
:root {
2020-08-03 14:14:45 +02:00
--border-header-footer: 3px rgba(255, 255, 255, 0.7) solid;
--background-color: #181818;
--text-color: rgb(222, 222, 222);
--important: #ffd800;
}
html {
2020-08-03 14:14:45 +02:00
line-height: initial;
}
2020-03-18 16:26:18 +01:00
body {
2020-08-03 14:14:45 +02:00
background-color: var(--background-color);
2020-03-18 16:26:18 +01:00
}
#__next {
2020-08-03 14:14:45 +02:00
min-height: 100vh;
display: flex;
flex-flow: column wrap;
background-color: var(--background-color);
color: var(--text-color);
font-family: 'Montserrat', sans-serif;
font-weight: 400;
font-size: 18px;
padding-top: 99px; /* Height of the Header */
}
p {
2020-08-03 14:14:45 +02:00
font-size: 18px;
line-height: 1.9;
}
a:hover {
2020-08-03 14:14:45 +02:00
text-decoration: underline;
}
/* CONTENT */
.content {
2020-08-03 14:14:45 +02:00
flex-grow: 1;
display: flex;
}
.centeredContainer {
2020-08-03 14:14:45 +02:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
2020-08-03 14:14:45 +02:00
div[aria-hidden='true'] > * {
display: none;
}
.notyf__message {
2020-08-03 14:14:45 +02:00
font-family: sans-serif;
}
2020-03-21 23:03:30 +01:00
/* LOADING */
.isLoading {
2020-08-03 14:14:45 +02:00
display: none;
2020-03-21 23:03:30 +01:00
}
#preloader {
2020-08-03 14:14:45 +02:00
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
2020-03-21 23:03:30 +01:00
}
@keyframes Loader__spin {
2020-08-03 14:14:45 +02:00
0% {
animation-timing-function: cubic-bezier(0.5856, 0.0703, 0.4143, 0.9297);
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
2020-03-21 23:03:30 +01:00
}
/* UTILITIES */
.text-center {
2020-08-03 14:14:45 +02:00
text-align: center;
word-break: break-word;
}
.justify-content-center {
2020-08-03 14:14:45 +02:00
justify-content: center;
}
.align-items-center {
2020-08-03 14:14:45 +02:00
align-items: center;
}
.title-important {
2020-08-03 14:14:45 +02:00
color: var(--important);
font-weight: 500;
}
2020-08-03 14:14:45 +02:00
a,
.important {
color: var(--important);
text-decoration: none;
}
2020-03-21 16:43:37 +01:00
.d-none {
2020-08-03 14:14:45 +02:00
display: none !important;
2020-03-21 16:43:37 +01:00
}
.form-group {
2020-08-03 14:14:45 +02:00
margin-top: 1.4rem;
}
.form-control {
2020-08-03 14:14:45 +02:00
display: block;
width: 100%;
height: calc(1.5em + 0.75rem + 2px);
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
}
.form-label {
2020-08-03 14:14:45 +02:00
display: inline-block;
margin-bottom: 0.5em;
}
.form-result {
2020-08-03 14:14:45 +02:00
margin: 30px;
}
.form-success {
2020-08-03 14:14:45 +02:00
color: #90ee90;
}
.form-error {
2020-08-03 14:14:45 +02:00
color: #ff7f7f;
}
.btn {
2020-08-03 14:14:45 +02:00
cursor: pointer;
border: 1px solid transparent;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: 0.25rem;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn-lg {
2020-08-03 14:14:45 +02:00
padding: 0.5rem 1rem;
font-size: 1.25rem;
line-height: 1.5;
border-radius: 0.3rem;
}
.btn-dark:hover {
2020-08-03 14:14:45 +02:00
color: #fff;
background-color: #23272b;
border-color: #1d2124;
}
.btn-dark {
2020-08-03 14:14:45 +02:00
color: #fff;
background-color: #343a40;
border-color: #343a40;
}
.btn-primary:hover {
2020-08-03 14:14:45 +02:00
color: #fff;
background-color: #0069d9;
border-color: #0062cc;
}
.btn-primary {
2020-08-03 14:14:45 +02:00
color: #fff;
background-color: #007bff;
border-color: #007bff;
}
.custom-control {
2020-08-03 14:14:45 +02:00
display: flex;
justify-content: center;
}
.custom-control-input {
2020-08-03 14:14:45 +02:00
position: absolute;
z-index: -1;
opacity: 0;
}
.custom-control-label {
2020-08-03 14:14:45 +02:00
position: relative;
margin-bottom: 0;
vertical-align: top;
}
2020-08-03 14:14:45 +02:00
.custom-control-input:checked ~ .custom-control-label::before {
color: #fff;
border-color: #007bff;
background-color: #007bff;
}
.custom-switch .custom-control-label::before {
2020-08-03 14:14:45 +02:00
left: -2.25rem;
width: 1.75rem;
pointer-events: all;
border-radius: 0.5rem;
}
.custom-control-label::before {
2020-08-03 14:14:45 +02:00
position: absolute;
top: 0.25rem;
left: -1.5rem;
display: block;
width: 1rem;
height: 1rem;
pointer-events: none;
content: '';
background-color: #fff;
border: #adb5bd solid 1px;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
background-color: #fff;
-webkit-transform: translateX(0.75rem);
transform: translateX(0.75rem);
}
.custom-switch .custom-control-label::after {
2020-08-03 14:14:45 +02:00
top: calc(0.25rem + 2px);
left: calc(-2.25rem + 2px);
width: calc(1rem - 4px);
height: calc(1rem - 4px);
background-color: #adb5bd;
border-radius: 0.5rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
-webkit-transform 0.15s ease-in-out;
}
.custom-control-label::after {
2020-08-03 14:14:45 +02:00
position: absolute;
top: 0.25rem;
left: -1.5rem;
display: block;
width: 1rem;
height: 1rem;
content: '';
background: no-repeat 50%/50% 50%;
}
.table-column {
2020-08-03 14:14:45 +02:00
display: grid;
}
2020-08-03 14:14:45 +02:00
.table,
th,
td {
border: 1px solid var(--text-color);
border-collapse: collapse;
}
.table-row {
2020-08-03 14:14:45 +02:00
padding: 15px;
2020-04-29 23:29:42 +02:00
}
.vscode-editor {
2020-08-03 14:14:45 +02:00
padding: 15px;
border-radius: 10px;
overflow: auto;
white-space: normal !important;
}