149 lines
2.4 KiB
CSS
149 lines
2.4 KiB
CSS
:root {
|
|
--base-color: #ffffff;
|
|
--base-font-color: #333333;
|
|
--base-font-size: 16 px;
|
|
--border-color: #d7dde4;
|
|
--body-color: #f8f9fa;
|
|
--hover-color: #eaeaea;
|
|
--transition-duration: 0.15 s;
|
|
--base-color-alt3: #e4e9ec;
|
|
}
|
|
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: sans-serif;
|
|
font-size: var(--base-font-size);
|
|
line-height: 1.5;
|
|
color: var(--base-font-color);
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100%;
|
|
background-color: var(--body-color);
|
|
}
|
|
|
|
aside {
|
|
min-width: 5rem;
|
|
max-width: 5rem;
|
|
padding: 1rem 0;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-right: 1px solid var(--border-color);
|
|
background-color: var(--base-color);
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
overflow: auto;
|
|
}
|
|
|
|
nav {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
row-gap: 1rem;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
overflow: auto;
|
|
}
|
|
|
|
.app-body {
|
|
height: 100vh;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: auto;
|
|
}
|
|
|
|
.app-body>* {
|
|
width: 100%;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
header {
|
|
max-height: 5rem;
|
|
min-height: 5rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
main {
|
|
padding: 0 0;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
overflow: auto;
|
|
}
|
|
|
|
.search-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.search-container>*:first-child {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.search-container>* {
|
|
flex-grow: 0;
|
|
}
|
|
|
|
|
|
table {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
border-collapse: collapse;
|
|
overflow: auto;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
|
|
table>thead {
|
|
height: 4rem;
|
|
}
|
|
|
|
table>tbody {
|
|
overflow: auto
|
|
}
|
|
|
|
table>*>tr {
|
|
width: 100%;
|
|
}
|
|
|
|
table>thead>tr>th {
|
|
text-align: left;
|
|
font-weight: 300;
|
|
}
|
|
|
|
table>thead>tr {
|
|
border-bottom: 1px solid var(--border-color);
|
|
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
table>*>tr>* {
|
|
padding: 1rem 1rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
table>*>tr>*:first-child {
|
|
padding-left: 2rem;
|
|
}
|
|
|
|
table>*>tr>*:last-child {
|
|
padding-right: 2rem;
|
|
}
|
|
|
|
table>tbody>tr:hover {
|
|
background-color: var(--hover-color);
|
|
box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1) inset;
|
|
transition: var(--transition-duration);
|
|
}
|
|
|
|
table>tbody>tr>td {
|
|
font-weight: 200;
|
|
}
|