smon/static/less/notifications.less

82 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-06-29 15:21:52 +02:00
@import "theme-@{THEME}.less";
2024-06-29 19:30:26 +02:00
#time-select {
display: grid;
grid-template-columns: min-content min-content;
grid-gap: 6px 16px;
padding: 16px;
border: 1px solid @text3;
width: min-content;
border-radius: 6px;
button {
//grid-column: ~"1 / -1";
width: 100px;
margin-top: 12px;
justify-self: end;
}
#time-offsets {
display: grid;
grid-template-columns: min-content repeat(3, min-content);
grid-gap: 16px;
margin-top: 16px;
align-items: center;
justify-items: center;
.header-1 {
font-weight: bold;
justify-self: start;
}
.header-2 {
font-weight: bold;
justify-self: start;
grid-column: ~"2 / -1";
}
.preset {
white-space: nowrap;
justify-self: start;
padding-right: 32px;
}
}
}
input[type="datetime-local"] {
padding: 6px;
}
2024-06-29 15:21:52 +02:00
#notifications {
display: grid;
2024-06-29 18:09:56 +02:00
grid-template-columns: repeat(5, min-content);
2024-06-29 15:21:52 +02:00
grid-gap: 4px 16px;
margin-top: 32px;
margin-bottom: 32px;
background-color: @bg3;
padding: 16px 24px;
width: min-content;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
div {
white-space: nowrap;
line-height: 24px;
}
.header {
font-weight: @bold;
color: @text3;
}
2024-06-29 19:30:26 +02:00
.ok {
color: #0a0;
}
.error {
color: #a00;
}
2024-06-29 15:21:52 +02:00
}