191 lines
3.0 KiB
CSS
191 lines
3.0 KiB
CSS
html {
|
|
box-sizing: border-box;
|
|
}
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
*:focus {
|
|
outline: none;
|
|
}
|
|
[onClick] {
|
|
cursor: pointer;
|
|
}
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
body {
|
|
background: #282828;
|
|
font-family: "Roboto", sans-serif;
|
|
font-weight: 300;
|
|
color: #d5c4a1;
|
|
font-size: 11pt;
|
|
}
|
|
h1,
|
|
h2 {
|
|
margin-top: 0px;
|
|
margin-bottom: 4px;
|
|
}
|
|
h1 {
|
|
font-size: 1.5em;
|
|
color: #fb4934;
|
|
font-weight: 500;
|
|
}
|
|
h2 {
|
|
font-size: 1.25em;
|
|
font-weight: 500;
|
|
}
|
|
a {
|
|
color: #fabd2f;
|
|
text-decoration: none;
|
|
}
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
b {
|
|
font-weight: 500;
|
|
}
|
|
.roboto-light {
|
|
font-family: "Roboto", sans-serif;
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
}
|
|
.roboto-medium {
|
|
font-family: "Roboto", sans-serif;
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
input[type="text"],
|
|
textarea,
|
|
select {
|
|
font-family: "Roboto Mono", monospace;
|
|
background: #202020;
|
|
color: #d5c4a1;
|
|
padding: 4px 8px;
|
|
border: none;
|
|
font-size: 1em;
|
|
}
|
|
button {
|
|
background: #202020;
|
|
color: #d5c4a1;
|
|
padding: 8px 32px;
|
|
border: 1px solid #535353;
|
|
font-size: 1em;
|
|
height: 3em;
|
|
}
|
|
button:focus {
|
|
background: #333;
|
|
}
|
|
.line {
|
|
grid-column: 1 / -1;
|
|
border-bottom: 1px solid #4e4e4e;
|
|
}
|
|
span.date {
|
|
color: #d5c4a1;
|
|
font-weight: 500;
|
|
}
|
|
span.time {
|
|
font-size: 0.9em;
|
|
color: #d5c4a1;
|
|
}
|
|
span.seconds {
|
|
display: none;
|
|
}
|
|
label {
|
|
user-select: none;
|
|
}
|
|
#layout {
|
|
display: grid;
|
|
grid-template-areas: "menu content";
|
|
grid-template-columns: 64px 1fr;
|
|
grid-template-rows: 100% 100%;
|
|
height: 100vh;
|
|
}
|
|
#menu {
|
|
display: flex;
|
|
flex-flow: column wrap;
|
|
justify-content: flex-start;
|
|
gap: 24px;
|
|
grid-area: menu;
|
|
background: #202020;
|
|
padding: 16px;
|
|
}
|
|
#menu img {
|
|
display: block;
|
|
width: 32px;
|
|
}
|
|
#page {
|
|
grid-area: content;
|
|
padding: 32px;
|
|
}
|
|
#page .page-label {
|
|
display: grid;
|
|
grid-template-columns: min-content 1fr;
|
|
grid-gap: 12px;
|
|
align-items: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
#page .page-label div {
|
|
font-weight: 500;
|
|
font-size: 1.5em;
|
|
color: #fb4934;
|
|
}
|
|
#page .page-label img {
|
|
display: block;
|
|
}
|
|
#areas {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 16px;
|
|
}
|
|
#areas .area {
|
|
background: #333;
|
|
border-radius: 4px;
|
|
}
|
|
#areas .area > .name {
|
|
background: #fb4934;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
padding: 4px 16px;
|
|
border-top-left-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
}
|
|
#areas .area .section {
|
|
margin: 8px 16px;
|
|
}
|
|
#areas .area .section .create {
|
|
display: grid;
|
|
grid-template-columns: min-content min-content;
|
|
grid-gap: 8px;
|
|
white-space: nowrap;
|
|
}
|
|
#areas .area .section .create .new {
|
|
font-weight: 500;
|
|
}
|
|
#areas .area .section > .name {
|
|
font-weight: 500;
|
|
}
|
|
#areas .area .section .triggers .trigger {
|
|
display: grid;
|
|
grid-template-columns: min-content 1fr;
|
|
grid-gap: 8px;
|
|
align-items: center;
|
|
margin-top: 8px;
|
|
}
|
|
#areas .area .section .triggers .trigger img {
|
|
height: 16px;
|
|
}
|
|
#areas .area .section .triggers .trigger .label {
|
|
color: inherit;
|
|
}
|
|
dialog {
|
|
background: #202020;
|
|
border: 1px solid #606060;
|
|
color: #d5c4a1;
|
|
box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.25);
|
|
}
|