97 lines
1.6 KiB
CSS
97 lines
1.6 KiB
CSS
.list-wrapper {
|
|
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;
|
|
gap: 0.8em;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.list li {
|
|
display: flex;
|
|
padding: 0.8em 1.2em;
|
|
marker: none;
|
|
gap: 0.8em;
|
|
border: solid var(--dark4) 1px;
|
|
align-items: center;
|
|
}
|
|
|
|
.list li .actions {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.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);
|
|
} |