You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

177 lines
2.5 KiB
CSS

body,
html {
margin: 0;
padding: 0;
height: 100%;
}
nav {
border-bottom: 2px solid #ccc;
margin: 0;
grid-area: nav;
padding: 0.3em 2em;
}
ul {
margin: 0;
padding-left: 10pt;
list-style: none;
}
ul:nth-child(1) {
padding: 1em 1em;
}
aside li:hover {
background-color: rgb(0, 0, 130);
color: white;
}
aside li {
cursor: pointer;
user-select: none;
white-space: nowrap;
}
aside li::before {
content: "";
color: black;
display: inline-block;
}
.caret-down::before {
4 years ago
transform: rotate(90deg);
}
.nested {
display: none;
}
.active {
display: block;
}
.caret::before {
content: "\25B6";
margin-right: 6px;
}
.caret:hover::before {
color: white;
}
.container {
display: grid;
grid-template-columns: max-content auto;
grid-template-rows: max-content auto max-content;
height: 100%;
grid-template-areas:
"nav nav"
"aside section"
"footer footer";
}
section {
grid-area: section;
4 years ago
margin: 1em 2em;
overflow-y: hidden;
}
#editText {
display: none;
grid-template-columns: auto;
grid-template-rows: min-content auto min-content min-content;
overflow-y: auto;
height: 100%;
4 years ago
}
textarea {
resize: none;
}
aside {
margin: 0;
height: 100%;
grid-area: aside;
overflow-y: scroll;
margin-right: 2px solid #c3c3c3;
4 years ago
position: relative;
}
footer {
border-top: 2px solid #c3c3c3;
grid-area: footer;
text-align: right;
padding: 0.3em 2em;
}
sub {
display: block;
}
4 years ago
.loading {
position: absolute;
z-index: 5;
display: none;
background-color: rgba(0, 0, 0, 0.75);
4 years ago
width: 100%;
height: 100%;
justify-items: center;
align-items: center;
4 years ago
top: 0;
4 years ago
}
.publishLoading {
display: none;
}
#errorPublish {
display: none;
text-align: center;
background-color: red;
padding: 0.5em 0;
font-weight: bold;
color: white;
}
.settingsBtn {
float: right;
}
.settingsbg,
.commitWrapper {
position: absolute;
background-color: rgba(0, 0, 0, 0.75);
width: 100%;
height: 100%;
display: none;
justify-items: center;
align-items: center;
z-index: 5;
}
.settings,
.commit {
background-color: white;
padding: 1.5em;
border: 5px solid #c3c3c3;
z-index: 10;
}
form {
display: grid;
grid-template-columns: max-content auto;
align-items: center;
column-gap: 2em;
text-align: end;
}
.settingsClose {
background-color: rgb(88, 88, 88);
color: rgb(255, 255, 255);
cursor: pointer;
user-select: none;
width: 2em;
height: 2em;
margin: 0 0 1em auto;
display: flex;
justify-content: center;
align-items: center;
}