266 lines
4.4 KiB
SCSS
266 lines
4.4 KiB
SCSS
:root {
|
|
--primary: #0f6cb3;
|
|
--primary-dark: #0c4d90;
|
|
--primary-light: #1290db;
|
|
--complementary: #d96a14;
|
|
--color-text: #fafafa;
|
|
--color-body: #1a1a1a;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Source Sans Pro', sans-serif;
|
|
font-size: 16pt;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: var(--color-body);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.5em;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: underline;
|
|
|
|
&:hover {
|
|
color: var(--primary-light);
|
|
}
|
|
}
|
|
|
|
table {
|
|
background-color: #2a2a2a;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
min-width: 42em;
|
|
}
|
|
|
|
td,
|
|
th {
|
|
border: 1px solid #858585;
|
|
text-align: left;
|
|
overflow-x: auto;
|
|
overflow-wrap: anywhere;
|
|
padding: 8px;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: #222;
|
|
}
|
|
|
|
th {
|
|
color: #fff;
|
|
background-color: var(--primary-dark);
|
|
border: 1px solid var(--primary-light);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
th a {
|
|
color: #fff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
form {
|
|
width: 40em;
|
|
max-width: 100%;
|
|
|
|
textarea {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
min-width: 100%;
|
|
height: 10em;
|
|
max-height: 30em;
|
|
min-height: 5em;
|
|
resize: vertical;
|
|
}
|
|
}
|
|
|
|
button,
|
|
a.button,
|
|
input[type="submit"] {
|
|
font-size: 12pt;
|
|
background-color: var(--primary);
|
|
border: .4em double var(--primary);
|
|
border-radius: .6em;
|
|
display: inline-block;
|
|
padding: .3em .6em;
|
|
color: #fff;
|
|
margin-bottom: .4em;
|
|
text-decoration: none;
|
|
box-shadow: 0px .4em 0 0 var(--primary-dark);
|
|
|
|
&:active {
|
|
margin-top: .4em;
|
|
margin-bottom: 0;
|
|
box-shadow: 0px .1em 0 0 var(--primary-dark);
|
|
}
|
|
}
|
|
|
|
|
|
.sidebar {
|
|
background: var(--primary);
|
|
width: 16em;
|
|
height: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
|
|
.sidebar_logo {
|
|
text-align: center;
|
|
|
|
a {
|
|
padding: .5em 0;
|
|
display: block;
|
|
|
|
img {
|
|
height: 4em;
|
|
}
|
|
|
|
&:hover {
|
|
background: var(--primary-dark);
|
|
}
|
|
}
|
|
}
|
|
|
|
.sidebar_search {
|
|
padding: .3em 1em;
|
|
|
|
form input {
|
|
font-size: 1.1em;
|
|
width: 100%;
|
|
background: #222;
|
|
color: var(--color-text);
|
|
border: var(--primary-light) solid .12em;
|
|
|
|
&:hover {
|
|
background: #2a2a2a;
|
|
}
|
|
}
|
|
}
|
|
|
|
ul.sidebar_links {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
li {
|
|
padding: 0;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--color-text);
|
|
display: block;
|
|
padding: 0.3em 1em;
|
|
|
|
&:hover {
|
|
background: var(--primary-dark);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
margin-left: 16em;
|
|
padding: 1em;
|
|
|
|
&.no-padding {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.overflow-x {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.grid-2col {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: .65em;
|
|
word-break: keep-all;
|
|
white-space: nowrap;
|
|
|
|
.span-2 {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
|
|
.logs {
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 0.9em;
|
|
border-left: #d96a14 .2em solid;
|
|
background: #2a2a2a;
|
|
margin-top: 1em;
|
|
overflow-x: auto;
|
|
overflow-wrap: anywhere;
|
|
|
|
p {
|
|
padding: .1em .5em;
|
|
min-height: 1.5em;
|
|
|
|
&:nth-child(even) {
|
|
background-color: #222;
|
|
}
|
|
}
|
|
}
|
|
|
|
.content.footer {
|
|
background: var(--primary-dark);
|
|
color: var(--color-text);
|
|
margin-top: .5em;
|
|
padding: .25em 1em;
|
|
|
|
a {
|
|
color: var(--color-text);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
font-size: .65em;
|
|
|
|
li {
|
|
display: inline-block;
|
|
padding: 0 1em 0 0;
|
|
font-size: inherit;
|
|
}
|
|
}
|
|
}
|
|
|
|
#followCheckmarkContainer {
|
|
display: inline-block;
|
|
position: fixed;
|
|
right: 1.3em;
|
|
bottom: 1.6em;
|
|
padding: 1em;
|
|
background-color: rgba(15, 15, 15, .8);
|
|
cursor: pointer;
|
|
|
|
input {
|
|
cursor: inherit;
|
|
}
|
|
} |