Spaces:
Sleeping
Sleeping
File size: 2,798 Bytes
2d60d7c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | /* body background image */
body {
background: url("../img/background.webp") no-repeat center center fixed;
background-size: cover;
}
/* glass sidebar styles */
.glass-sidebar {
min-width: 200px;
max-width: 200px;
min-height: 100vh;
/* Glass blur effect */
background: rgba(72, 95, 74, 0.45);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
/* Rounded edges */
border-radius: 20px;
margin: 15px;
/* Edge shadow*/
box-shadow:
inset 0 0 25px rgba(255, 255, 255, 0.04),
0 12px 32px rgba(0, 0, 0, 0.25);
}
/* sidebar items */
.list-group {
background: transparent ;
border: none ;
}
.list-group-item {
background: transparent ;
border: none ;
color: #010202;
padding: 12px 22px;
font-size: 0.95rem;
transition: all 0.25s ease;
border-radius: 10px;
font-weight: 500;
}
.sidebar-link i {
color: #53062a;
}
/* Hover */
.sidebar-link:hover {
background: rgba(255, 255, 255, 0.15) ;
color: white ;
font-weight: 600;
}
.sidebar-link:hover i {
color: white;
font-weight: 600;
}
/* Active Highlight Pill */
.sidebar-link.active {
background: linear-gradient(135deg, #445750, #324e44) ;
color: white ;
font-weight: 600;
border-radius: 12px;
}
.sidebar-link.active i {
color: white ;
font-weight: 600;
}
/* Sidebar collapsed state */
.glass-sidebar.collapsed {
margin-left: -220px; /* hides it */
opacity: 0;
transition: all 0.35s ease;
}
/* Animate opening */
.glass-sidebar {
transition: all 0.35s ease;
}
/* navbar styles */
.navbar {
background: #113529 ;
}
.navbar .btn {
border-color: white;
color: white;
}
.navbar .btn:hover {
background-color: rgba(255, 255, 255, 0.15);
}
.navbar-title-center {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 1.25rem;
font-weight: 600;
}
/* cards */
.card-metric {
border: none;
border-radius: 16px;
background: linear-gradient(
135deg,
#a5b474 0%,
#7cc29a 100%
);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
padding: 1.5rem;
}
/* buttons */
.btn-primary {
background-color: #595951;
border-color: #302f2c;
}
.btn-primary:hover {
background-color: #ffffff;
color: #000000;
}
.btn-secondary {
background-color: #595951;
border-color: #302f2c;
}
.btn-secondary:hover {
background-color: #ffffff;
color: #000000;
}
/* table */
.table-striped tbody tr:nth-of-type(odd) {
background-color: #ecfdf5;
}
|