mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-13 00:45:44 +00:00
added status ui
This commit is contained in:
parent
90f8d7c07e
commit
9e83851ddf
3 changed files with 211 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
--color-primary: #087e8b;
|
||||
--color-on-primary: white;
|
||||
--color-background: #222;
|
||||
--color-surface: #333;
|
||||
--color-danger: #fa2b58;
|
||||
--icon-button-size: 2.5rem;
|
||||
}
|
||||
|
@ -141,6 +142,37 @@ label.switch input:checked + .slider::before {
|
|||
translate: -100% -50%;
|
||||
}
|
||||
|
||||
dialog {
|
||||
width: 80%;
|
||||
max-width: 500px;
|
||||
max-height: 80%;
|
||||
overflow: scroll;
|
||||
background-color: var(--color-background);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
dialog::backdrop {
|
||||
background-color: #000a;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: var(--color-surface);
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.card > * {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.card > :first-child {
|
||||
color: var(--color-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
@ -223,3 +255,27 @@ button.reload {
|
|||
animation-iteration-count: infinite;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
.status {
|
||||
background-color: var(--color-surface);
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.dialog-status-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.dialog-status button {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue