176 lines
3.3 KiB
SCSS
176 lines
3.3 KiB
SCSS
@use "variables";
|
|
@use "mixins";
|
|
@use "utilities";
|
|
@use "components/sidebar";
|
|
@use "components/tickets";
|
|
@use "components/alltickets";
|
|
@use "components/allusers";
|
|
@use "components/forms";
|
|
@use "components/login";
|
|
@use "components/diagnostics";
|
|
@use "components/pages";
|
|
@use "components/setup";
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background: variables.$color-bg;
|
|
font-family: Arial, sans-serif;
|
|
color: variables.$color-text;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
background: variables.$color-bg-dark;
|
|
color: variables.$color-text-dark;
|
|
}
|
|
}
|
|
|
|
input, textarea, select {
|
|
width: 100%;
|
|
padding: variables.$spacing-md;
|
|
font-size: 1rem;
|
|
border-radius: variables.$border-radius;
|
|
border: 1px solid #ccc;
|
|
box-sizing: border-box;
|
|
margin-bottom: 15px;
|
|
font-family: Arial, sans-serif;
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
background-color: #6b6b6b;
|
|
color: variables.$color-text-dark;
|
|
border-color: #555;
|
|
}
|
|
}
|
|
|
|
button {
|
|
padding: variables.$spacing-md;
|
|
font-size: 1rem;
|
|
border-radius: variables.$border-radius;
|
|
background-color: variables.$color-primary;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
margin-bottom: 15px;
|
|
transition: background-color 0.2s ease-in-out;
|
|
font-family: Arial, sans-serif;
|
|
font-weight: bold;
|
|
|
|
&:hover {
|
|
background-color: variables.$color-primary-hover;
|
|
}
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: variables.$spacing-md;
|
|
|
|
label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: variables.$spacing-sm;
|
|
font-weight: 500;
|
|
}
|
|
|
|
a {
|
|
display: inline-block;
|
|
padding: variables.$spacing-md;
|
|
background: variables.$color-primary;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: variables.$border-radius;
|
|
text-align: center;
|
|
transition: background-color 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
background-color: variables.$color-primary-hover;
|
|
}
|
|
}
|
|
}
|
|
|
|
.container {
|
|
max-width: 900px;
|
|
margin: auto;
|
|
background: variables.$color-container;
|
|
padding: variables.$spacing-lg;
|
|
border-radius: 1rem;
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
background: variables.$color-container-dark;
|
|
}
|
|
}
|
|
|
|
.header-with-image {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.header-with-image img {
|
|
height: 60px;
|
|
}
|
|
|
|
.admin { display: flex; }
|
|
|
|
.layout {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 260px;
|
|
flex-shrink: 0;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-left: 260px;
|
|
padding: variables.$spacing-lg;
|
|
|
|
> :first-child {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
background: variables.$color-container;
|
|
padding: variables.$spacing-lg;
|
|
border-radius: 1rem;
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
background: variables.$color-container-dark;
|
|
}
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
color: variables.$color-primary;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
position: fixed;
|
|
left: -260px;
|
|
transition: left .3s ease-in-out;
|
|
z-index: 1000;
|
|
}
|
|
.sidebar.open {
|
|
left: 0;
|
|
}
|
|
.content {
|
|
margin-left: 0;
|
|
}
|
|
}
|