snort/src/index.css

188 lines
2.5 KiB
CSS
Raw Normal View History

2022-12-18 14:51:47 +00:00
@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;
2022-12-27 23:46:13 +00:00
overflow: hidden;
2022-12-18 14:51:47 +00:00
}
.page > .header {
display: flex;
align-items: center;
margin: 10px 0;
}
.page > .header > div:nth-child(1) {
font-size: x-large;
flex-grow: 1;
}
2022-12-29 15:36:40 +00:00
.page > .header > div:nth-child(2) {
display: flex;
align-items: center;
}
2022-12-18 14:51:47 +00:00
.btn {
padding: 10px;
border-radius: 5px;
cursor: pointer;
user-select: none;
background-color: #000;
border: 1px solid;
2022-12-29 15:21:03 +00:00
display: inline-block;
2022-12-18 14:51:47 +00:00
}
2022-12-30 14:01:51 +00:00
.btn.active {
border: 2px solid;
background-color: #222;
font-weight: bold;
}
2022-12-18 14:51:47 +00:00
.btn:hover {
background-color: #333;
}
2022-12-29 15:21:03 +00:00
.btn-sm {
padding: 5px;
}
2022-12-29 15:36:40 +00:00
.btn-rnd {
border-radius: 25px;
}
2023-01-03 12:06:53 +00:00
input[type="text"], input[type="password"], textarea {
2022-12-18 14:51:47 +00:00
padding: 10px;
border-radius: 5px;
border: 0;
background-color: #333;
color: #eee;
}
.flex {
display: flex;
2022-12-29 22:23:41 +00:00
align-items: center;
2023-01-01 20:31:09 +00:00
min-width: 0;
2022-12-29 22:23:41 +00:00
}
2022-12-18 14:51:47 +00:00
.f-grow {
flex-grow: 1;
2022-12-20 12:08:41 +00:00
}
2023-01-01 19:57:27 +00:00
.f-ellipsis {
min-width: 0;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
padding: 0 15px;
}
2023-01-03 12:06:53 +00:00
.f-col {
flex-direction: column;
align-items: flex-start !important;
}
.w-max {
width: 100%;
}
2022-12-20 12:08:41 +00:00
a {
color: inherit;
line-height: 1.3em;
2022-12-20 23:14:13 +00:00
}
span.pill {
display: inline-block;
background-color: #333;
padding: 2px 10px;
2022-12-20 23:14:13 +00:00
border-radius: 10px;
user-select: none;
2022-12-28 20:27:25 +00:00
margin: 2px 5px;
2022-12-20 23:14:13 +00:00
}
span.pill:hover {
cursor: pointer;
2022-12-27 23:46:13 +00:00
}
@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;
2022-12-29 15:21:03 +00:00
word-break: break-word;
2022-12-27 23:46:13 +00:00
}
div.form-group > div:first-child {
flex-grow: 1;
2022-12-29 22:23:41 +00:00
}
.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;
}
2022-12-30 23:35:02 +00:00
body.scroll-lock {
2022-12-29 22:23:41 +00:00
overflow: hidden;
2022-12-30 23:35:02 +00:00
height: 100vh;
2022-12-30 14:01:51 +00:00
}
.mr10 {
margin-right: 10px;
}
2023-01-01 19:57:27 +00:00
.ml5 {
margin-left: 5px;
}
2022-12-30 14:01:51 +00:00
.tabs {
display: flex;
margin: 10px 0;
overflow-x: auto;
}
.tabs > div {
margin-right: 10px;
2023-01-02 23:36:30 +00:00
}
.error {
color: red;
2022-12-18 14:51:47 +00:00
}