490 lines
7.8 KiB
CSS
490 lines
7.8 KiB
CSS
.light {
|
|
--primaryColor: #2c3e50;
|
|
--secondaryColor: #95a5a6;
|
|
--accentColor: #e74c3c;
|
|
--backgroundColor: #fcfcfc;
|
|
--foregroundColor: #ffffff;
|
|
--textColor: #1d1d1d;
|
|
--buttonColor: #64bcf4;
|
|
--buttonHoverColor: #5bacdf;
|
|
|
|
|
|
--darkOne: #312f3a;
|
|
--darkTwo: #45424b;
|
|
--lightOne: #4e4e4e;
|
|
--lightTwo: rgb(122, 122, 122);
|
|
}
|
|
|
|
.dark {
|
|
--primaryColor: #2c3e50;
|
|
--secondaryColor: #95a5a6;
|
|
--accentColor: #e74c3c;
|
|
--backgroundColor: rgb(17, 17, 27);
|
|
--foregroundColor: rgb(30, 30, 46);
|
|
--textColor: #ecf0f1;
|
|
--buttonColor: #64bcf4;
|
|
--buttonHoverColor: #5bacdf;
|
|
|
|
|
|
--darkOne: #f3f3f3;
|
|
--darkTwo: #fff;
|
|
--lightOne: #ccc;
|
|
--lightTwo: #e7e3e3;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Body styles */
|
|
body {
|
|
overflow-x: hidden;
|
|
width: 100vw;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Roboto', sans-serif;
|
|
background-color: var(--backgroundColor);
|
|
transition: background-color 0.2s ease-in-out;
|
|
}
|
|
|
|
/* Navbar styles */
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: var(--foregroundColor);
|
|
height: 80px;
|
|
padding: 0 50px;
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
|
|
position: fixed;
|
|
z-index: 1;
|
|
width: calc(100% - 100px);
|
|
transition: 0.3s;
|
|
top: 0;
|
|
}
|
|
|
|
nav a {
|
|
text-decoration: none;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.logo a {
|
|
font-size: 1.8rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 30%;
|
|
}
|
|
|
|
.nav-links li {
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--textColor);
|
|
text-transform: uppercase;
|
|
font-size: 0.9rem;
|
|
letter-spacing: 1px;
|
|
margin: 0 20px;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--buttonHoverColor);
|
|
}
|
|
|
|
.notification {
|
|
position: relative;
|
|
}
|
|
|
|
.notification a {
|
|
color: var(--textColor);
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.notification a:hover {
|
|
color: var(--buttonHoverColor);
|
|
}
|
|
|
|
.notification .badge {
|
|
align-items: center;
|
|
background-color: var(--accentColor);
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
display: flex;
|
|
font-size: 0.8rem;
|
|
height: 18px;
|
|
justify-content: center;
|
|
position: absolute;
|
|
right: -10px;
|
|
top: -8px;
|
|
width: 18px;
|
|
}
|
|
|
|
.notification-loading {
|
|
text-align: center;
|
|
}
|
|
|
|
.notification-menu {
|
|
display: none;
|
|
position: absolute;
|
|
top: 40px;
|
|
right: -40px;
|
|
background-color: var(--foregroundColor);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
min-width: 200px;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.notification-menu.show {
|
|
display: block;
|
|
}
|
|
|
|
.notification:hover .notification-menu {
|
|
display: block;
|
|
}
|
|
|
|
.notification:hover .notification-menu,
|
|
.notification-menu:hover {
|
|
display: block;
|
|
}
|
|
|
|
.notification:hover .notification-menu:hover {
|
|
display: block;
|
|
}
|
|
|
|
.notification-menu li {
|
|
list-style: none;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.notification-menu a {
|
|
text-decoration: none;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.notification-menu a:hover {
|
|
color: var(--buttonHoverColor);
|
|
}
|
|
|
|
.burger {
|
|
display: none;
|
|
}
|
|
|
|
/* Sidebar styles */
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: calc(100vh - 80px);
|
|
width: 10vw;
|
|
background-color: var(--foregroundColor);
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
|
|
padding: 100px 20px 20px;
|
|
z-index: 0;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.sidebar-links {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.sidebar-links li {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.sidebar-links a {
|
|
display: block;
|
|
padding: 10px;
|
|
text-decoration: none;
|
|
color: var(--textColor);
|
|
font-size: 0.9rem;
|
|
border-radius: 5px;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.sidebar-links a:hover {
|
|
background-color: var(--buttonHoverColor);
|
|
color: #fff;
|
|
}
|
|
|
|
/* Tiles styles */
|
|
.tiles-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(800px, 1fr));
|
|
grid-gap: 20px;
|
|
padding: 10px 10px 10px 50px;
|
|
margin-top: 20px;
|
|
position: relative;
|
|
max-width: 85%;
|
|
left: 10.5vw;
|
|
right: 1vw;
|
|
top: 80px;
|
|
}
|
|
|
|
.tile {
|
|
background-color: var(--foregroundColor);
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.tile:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.tile h2 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 10px;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile p {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 20px;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile table {
|
|
width: 98%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.tile table th {
|
|
background-color: #f2f2f2;
|
|
font-size: 1.2rem;
|
|
padding: 10px;
|
|
text-align: left;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile table td {
|
|
font-size: 1.1rem;
|
|
padding: 10px;
|
|
border-bottom: 1px solid #ddd;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile li {
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile.fullscreen {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100%;
|
|
background-color: var(--backgroundColor);
|
|
z-index: 9999;
|
|
padding: 20px;
|
|
}
|
|
|
|
.tile.fullscreen .close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
font-size: 1.5rem;
|
|
color: var(--textColor);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tile.fullscreen h2 {
|
|
font-size: 2rem;
|
|
margin-bottom: 20px;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile.fullscreen p {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 30px;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile.fullscreen .table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.tile.fullscreen .table th {
|
|
font-size: 1.5rem;
|
|
padding: 10px;
|
|
text-align: left;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile.fullscreen .table td {
|
|
font-size: 1.3rem;
|
|
padding: 10px;
|
|
border-bottom: 1px solid #ddd;
|
|
color: var(--textColor);
|
|
}
|
|
|
|
.tile.fullscreen canvas {
|
|
color: var(--textColor);
|
|
width: 100% !important;
|
|
height: 85vh !important;
|
|
max-height: 80vh;
|
|
}
|
|
|
|
.tile.fullscreen:hover {
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#toast {
|
|
visibility: hidden;
|
|
min-width: 250px;
|
|
margin-left: -200px;
|
|
background-color: var(--foregroundColor);
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
|
color: var(--textColor);
|
|
text-align: center;
|
|
border-radius: 10px;
|
|
padding: 16px;
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: 55vw;
|
|
bottom: 30px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
#toast.show {
|
|
visibility: visible;
|
|
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
|
|
animation: fadein 0.5s, fadeout 0.5s 2.5s;
|
|
}
|
|
|
|
@-webkit-keyframes fadein {
|
|
from {bottom: 0; opacity: 0;}
|
|
to {bottom: 30px; opacity: 1;}
|
|
}
|
|
|
|
@keyframes fadein {
|
|
from {bottom: 0; opacity: 0;}
|
|
to {bottom: 30px; opacity: 1;}
|
|
}
|
|
|
|
@-webkit-keyframes fadeout {
|
|
from {bottom: 30px; opacity: 1;}
|
|
to {bottom: 0; opacity: 0;}
|
|
}
|
|
|
|
@keyframes fadeout {
|
|
from {bottom: 30px; opacity: 1;}
|
|
to {bottom: 0; opacity: 0;}
|
|
}
|
|
|
|
.checkicon.success i{
|
|
font-size: 25px;
|
|
color: #47d764;
|
|
}
|
|
|
|
.checkicon.error i{
|
|
font-size: 25px;
|
|
color: #ff0000;
|
|
}
|
|
|
|
.toggleThemeBtn {
|
|
display: inline-block;
|
|
border: none;
|
|
background: var(--darkTwo);
|
|
color: var(--foregroundColor);
|
|
outline: none;
|
|
cursor: pointer;
|
|
height: 39px;
|
|
width: 39px;
|
|
border-radius: 50%;
|
|
font-size: 1.1rem;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.toggleThemeBtn i {
|
|
line-height: 39px;
|
|
}
|
|
|
|
.toggleThemeBtn:hover {
|
|
background: var(--buttonColor);
|
|
}
|
|
|
|
.big-wrapper.light .toggleThemeBtn i:last-child {
|
|
display: none;
|
|
}
|
|
|
|
.big-wrapper.light .toggleThemeBtn i:first-child {
|
|
display: block;
|
|
}
|
|
|
|
.big-wrapper.dark .toggleThemeBtn i:last-child {
|
|
display: block;
|
|
}
|
|
|
|
.big-wrapper.dark .toggleThemeBtn i:first-child {
|
|
display: none;
|
|
}
|
|
|
|
.theme-div {
|
|
bottom: 20px;
|
|
position: fixed;
|
|
}
|
|
|
|
@media screen and (max-width: 1250px) {
|
|
|
|
.tiles-container {
|
|
width: 83vw;
|
|
}
|
|
#toast {
|
|
left: 62vw;
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 940px) {
|
|
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
|
|
.tiles-container {
|
|
width: 81vw;
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 720px) {
|
|
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.tiles-container {
|
|
padding-left: 10px;
|
|
left: 0;
|
|
width: 100vw;
|
|
}
|
|
|
|
.tile {
|
|
max-width: 90vw;
|
|
width: 80vw;
|
|
}
|
|
} |