|
- :root {
- --primary-bg: white;
- --secondary-bg: #F7F9FA;
- --text: #4C555E;
- --text-light: #1D262E;
- }
-
- body {
- margin: 0;
- }
-
- main {
- /* background: blue; */
- }
-
- main .panel {
- height: 100%;
- width: 100%;
- position: absolute;
- display: flex;
- }
-
- menu.sidebar {
- height: calc(100% - 50px);
- position: relative;
- margin: 0;
- padding: 25px 0px;
- background: var(--secondary-bg);
- list-style: none;
- font-size: 18px;
- display: flex;
- flex-direction: column;
- gap: 20px;
- }
-
- menu.sidebar a {
- color: var(--text);
- display: flex;
- align-items: center;
- gap: 10px;
- text-decoration: none;
- padding: 10px 10px;
- }
-
- menu.sidebar a.active {
- background: var(--primary-bg);
- }
-
- /* The user avatar */
- menu.sidebar img {
- width: 50px;
- height: 50px;
- margin: 0 auto;
- border-radius: 50%;
- }
-
- menu.sidebar a:hover {
- color: var(--text-light);
- cursor: pointer;
- }
-
- menu.sidebar svg {
- height: 24px;
- width: 24px;
- }
-
- .spinner {
- animation: rotate 2s linear infinite;
- z-index: 2;
- top: 50%;
- left: 50%;
- margin: -25px 0 0 -25px;
- width: 50px;
- height: 50px;
- }
-
- .spinner .path {
- stroke: var(--text);
- stroke-linecap: round;
- animation: dash 1.5s ease-in-out infinite;
- }
-
- @keyframes rotate {
- 100% {
- transform: rotate(360deg);
- }
- }
-
- @keyframes dash {
- 0% {
- stroke-dasharray: 1, 150;
- stroke-dashoffset: 0;
- }
- 50% {
- stroke-dasharray: 90, 150;
- stroke-dashoffset: -35;
- }
- 100% {
- stroke-dasharray: 90, 150;
- stroke-dashoffset: -124;
- }
- }
-
- .page {
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
|