|
- :root {
- --primary-bg: white;
- --secondary-bg: #F7F9FA;
- --text: #4C555E;
- --text-light: #1D262E;
- --text-lighter: #28323B;
- --outline: #DFE3E8;
- }
-
- body {
- margin: 0;
- }
-
- h2 {
- color: var(--text);
- }
-
- 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.loading {
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
-
- .page {
- padding: 0 2%;
- width: 100%;
- }
-
- .page section {
- margin-top: 50px;
- margin: auto;
- max-width: 700px;
- }
-
- #home.page section:first-of-type {
- margin-top: 100px;
- }
-
- #home .announce {
- /* background: grey; */
- min-height: 150px;
- border: 1px solid var(--outline);
- /* border-radius: 4px; */
- }
-
- .page section {
- color: var(--text);
-
- }
-
- .page section h3 {
- margin-left: 10px;
- color: var(--text-lighter);
- }
|