212 lines
3.9 KiB
CSS
212 lines
3.9 KiB
CSS
:root {
|
|
--main-color-bg: white;
|
|
--main-color: black;
|
|
/* Menu */
|
|
--menu-color-bg: #212529;
|
|
--menu-color-text: hsla(0,0%,100%,.5);
|
|
--menu-color-text-hover: white;
|
|
--menu-color-title-text: white;
|
|
|
|
/* Table */
|
|
--table-color-header-bg: var(--menu-color-bg);
|
|
--table-color-header-text: #dddddd;
|
|
--table-row-odd: #dddddd;
|
|
--table-row-even: #f3f3f3;
|
|
}
|
|
|
|
.dark_mode {
|
|
--main-color-bg: #15141a;
|
|
--main-color: white;
|
|
/* Menu */
|
|
--menu-color-bg: #35393d;
|
|
--menu-color-text: hsla(0,0%,100%,.5);
|
|
--menu-color-text-hover: white;
|
|
--menu-color-title-text: white;
|
|
|
|
/* Table */
|
|
--table-color-header-bg: var(--menu-color-bg);
|
|
--table-color-header-text: var(--menu-color-text);
|
|
--table-row-odd: #302f36;
|
|
--table-row-even: #232229;
|
|
}
|
|
|
|
#root {
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
body {
|
|
background-color: var(--main-color-bg);
|
|
color: var(--main-color);
|
|
margin: 0;
|
|
margin-top: 100px;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
canvas {
|
|
width: 100%;
|
|
display: block;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
form {
|
|
width: 100%;
|
|
}
|
|
input[type=text] {
|
|
width: 100%;
|
|
height: 30px;
|
|
box-sizing: border-box;
|
|
border: 2px solid var(--menu-color-bg);
|
|
border-radius: 5px;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: var(--menu-color-bg);
|
|
display: flex;
|
|
font-size: 1.2rem;
|
|
font-family: "Prompt", sans-serif;
|
|
height: 40px;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.navbar ul {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.root .navbar {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.navbar ul li {
|
|
list-style-type: none;
|
|
color: var(--menu-color-text);
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.navbar h2 {
|
|
line-height: 40px;
|
|
align-items: center;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.navbar a {
|
|
height: 1;
|
|
}
|
|
|
|
.navbar a:hover {
|
|
color: var(--menu-color-text-hover);
|
|
}
|
|
|
|
.submenu nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
line-height: 1;
|
|
}
|
|
|
|
.totals {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-template-rows: 1fr;
|
|
grid-column-gap: 0px;
|
|
grid-row-gap: 0px;
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
font-family: "Secular One", sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 200;
|
|
}
|
|
.totals_key {
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
text-align: right;
|
|
}
|
|
.totals_value {
|
|
grid-area: 1 / 2 / 2 / 3;
|
|
padding-left: 10px;
|
|
text-align: left;
|
|
}
|
|
#menu_title {
|
|
color: var(--menu-color-text-hover);
|
|
font-family: "Secular One", sans-serif;
|
|
font-size: 30px;
|
|
font-weight: 300;
|
|
}
|
|
#menu_logo {
|
|
padding: 5px;
|
|
content: url("../assets/apiary.svg");
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
.menu_link {
|
|
color: var(--menu-color-text);
|
|
}
|
|
.menu_link:hover {
|
|
color: var(--menu-color-text-hover);
|
|
}
|
|
.menu_link_active {
|
|
color: var(--menu-color-text-hover);
|
|
}
|
|
.stats_pie {
|
|
max-height: 70vh;
|
|
text-align: left;
|
|
color: white;
|
|
}
|
|
|
|
.live_table {
|
|
border-collapse: collapse;
|
|
margin: 25px 0;
|
|
font-size: 0.9em;
|
|
font-family: sans-serif;
|
|
min-width: 400px;
|
|
width: 100%;
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
|
|
}
|
|
.live_table thead tr {
|
|
background-color: var(--table-color-header-bg);
|
|
color: var(--table-color-header-text);
|
|
text-align: left;
|
|
}
|
|
.live_table th,
|
|
.live_table td {
|
|
padding: 12px 15px;
|
|
text-align: left;
|
|
}
|
|
.live_table tbody tr {
|
|
border-bottom: 1px solid var(--table-row-odd);
|
|
}
|
|
.live_table tbody tr:nth-of-type(even) {
|
|
background-color: var(--table-row-even);
|
|
}
|
|
.live_table tbody tr:last-of-type {
|
|
border-bottom: 2px solid var(--table-color-bg);
|
|
}
|
|
.live_table tbody tr.active-row {
|
|
font-weight: bold;
|
|
color: var(--table-color-bg);
|
|
}
|
|
|
|
.content {
|
|
margin-left: 10vw;
|
|
width: 50vw;
|
|
text-align: center;
|
|
}
|