mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-05 13:48:53 +00:00
replaced text buttons with icons
This commit is contained in:
parent
3fd0ae4837
commit
391ef3ab2e
2 changed files with 22 additions and 12 deletions
|
@ -40,11 +40,20 @@
|
|||
<span>PSRAM: <span class="psram-percentage"></span> %</span>
|
||||
<span>Uptime: <span class="uptime"></span></span>
|
||||
|
||||
<button type="button" class="expand-status">Mehr</button>
|
||||
<button type="button" class="expand-status icon-button">
|
||||
<img src="/icons/open.svg" alt="Mehr" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<dialog class="dialog-status">
|
||||
<div class="dialog-header">
|
||||
<h2 class="model"></h2>
|
||||
<form method="dialog">
|
||||
<button type="submit" class="icon-button">
|
||||
<img src="/icons/close.svg" alt="Schließen" />
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="dialog-status-content">
|
||||
<div class="card">
|
||||
|
@ -109,10 +118,6 @@
|
|||
<span class="sdk-version"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="dialog">
|
||||
<button type="submit">Schließen</button>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
<form class="config">
|
||||
|
|
|
@ -168,6 +168,17 @@ dialog::backdrop {
|
|||
background-color: #000a;
|
||||
}
|
||||
|
||||
.dialog-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
& button {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: var(--color-surface);
|
||||
padding: 8px;
|
||||
|
@ -297,12 +308,6 @@ div:has(.range-value) {
|
|||
gap: 8px;
|
||||
}
|
||||
|
||||
.dialog-status button {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
.connection-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue