forked from Kieran/snort
204 lines
2.7 KiB
CSS
204 lines
2.7 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Montserrat', sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-color: #000;
|
|
color: #fff;
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
monospace;
|
|
}
|
|
|
|
.page {
|
|
width: 720px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.page > .header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.page > .header > div:nth-child(1) {
|
|
font-size: x-large;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.page > .header > div:nth-child(2) {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn {
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
background-color: #000;
|
|
border: 1px solid;
|
|
display: inline-block;
|
|
}
|
|
|
|
.btn.active {
|
|
border: 2px solid;
|
|
background-color: #222;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.btn:hover {
|
|
background-color: #333;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 5px;
|
|
}
|
|
|
|
.btn-rnd {
|
|
border-radius: 25px;
|
|
}
|
|
|
|
input[type="text"], input[type="password"], textarea {
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
border: 0;
|
|
background-color: #333;
|
|
color: #eee;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.f-1 {
|
|
flex: 1;
|
|
}
|
|
|
|
.f-grow {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.f-ellipsis {
|
|
min-width: 0;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.f-col {
|
|
flex-direction: column;
|
|
align-items: flex-start !important;
|
|
}
|
|
|
|
.w-max {
|
|
width: 100%;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
line-height: 1.3em;
|
|
}
|
|
|
|
span.pill {
|
|
display: inline-block;
|
|
background-color: #333;
|
|
padding: 2px 10px;
|
|
border-radius: 10px;
|
|
user-select: none;
|
|
margin: 2px 5px;
|
|
}
|
|
|
|
span.pill:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media(max-width: 720px) {
|
|
.page {
|
|
width: calc(100vw - 20px);
|
|
margin: 0 10px;
|
|
}
|
|
}
|
|
|
|
div.form-group {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
div.form-group > div {
|
|
padding: 3px 5px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
div.form-group > div:first-child {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.modal {
|
|
position: absolute;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: rgba(0,0,0,0.8);
|
|
}
|
|
|
|
.modal .modal-content {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal .modal-content > div {
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
background-color: #333;
|
|
margin-top: 5vh;
|
|
}
|
|
|
|
body.scroll-lock {
|
|
overflow: hidden;
|
|
height: 100vh;
|
|
}
|
|
|
|
.mr10 {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.ml5 {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
align-content: center;
|
|
text-align: center;
|
|
margin: 10px 0;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.tabs > div {
|
|
margin-right: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tabs > div:last-child {
|
|
margin: 0;
|
|
}
|
|
|
|
.tabs > div.active {
|
|
background-color: #222;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.error {
|
|
color: red;
|
|
} |