97 lines
1.6 KiB
CSS
Raw Permalink Normal View History

.list-wrapper {
2025-01-26 00:53:17 +01:00
width: 100%;
max-width: 40em;
align-self: center;
display: flex;
flex-direction: column;
gap: 1em;
overflow-y: auto;
}
.list-header {
display: flex;
justify-content: flex-end;
gap: 1em;
}
.list-header button {
padding: 0.4em 1.2em;
}
.list {
display: flex;
2025-01-26 00:53:17 +01:00
gap: 0.8em;
flex-direction: column;
2025-02-02 22:43:52 +01:00
padding: 0;
overflow-y: auto;
2025-01-26 00:53:17 +01:00
}
.list li {
display: flex;
padding: 0.8em 1.2em;
marker: none;
gap: 0.8em;
border: solid var(--dark4) 1px;
2025-02-02 18:47:35 +01:00
align-items: center;
2025-01-26 00:53:17 +01:00
}
.list li .actions {
margin-left: auto;
2025-02-02 22:43:52 +01:00
}
.popup {
background-color: #00000040;
position: fixed;
inset: 0;
display: grid;
place-items: center;
}
.popup:not(.show) {
display: none;
}
.popup .popup-container {
display: flex;
flex-direction: column;
gap: 1em;
padding: 2em;
background-color: var(--dark1);
border-radius: 1em;
width: 100%;
max-width: 40em;
box-shadow: 0 0.2em 0.8em var(--dark3);
}
.popup .popup-container .elmt-name {
text-decoration: underline;
}
.popup .popup-container .actions {
display: flex;
justify-content: space-evenly;
gap: 1em;
}
.popup .popup-container .actions button {
padding: 0.4em 1.2em;
}
.popup .popup-container .actions .cancel {
background-color: var(--light2);
}
.popup .popup-container .actions .cancel:hover {
background-color: var(--light3);
}
.popup .popup-container .actions .delete {
--col: #f95f4b;
color: var(--col);
border-color: var(--col);
background-color: var(--dark1);
}
.popup .popup-container .actions .delete:hover {
background-color: var(--dark2);
2025-01-26 00:53:17 +01:00
}