receipts/js/common.css

59 lines
784 B
CSS

:host, body {
font-family: var(--sl-font-sans);
}
body:has(div#page-loading) main {
opacity: 0;
}
main {
transition: 1s opacity;
}
#page-loading {
animation: 2s linear infinite pulse;
align-items: center;
bottom: 0;
display: flex;
font-size: 24pt;
justify-content: center;
left: 0;
position: absolute;
right: 0;
top: 0;
}
@keyframes pulse {
0% { opacity: 0; }
50% { opacity: 1; }
100% { opacity: 0; }
}
@media screen and (min-width: 900px) {
body {
margin: auto;
max-width: 1000px;
}
}
form footer {
text-align: right;
}
form footer sl-button {
margin: 0.5em 0.25em;
}
table {
width: 100%;
border-collapse: collapse;
}
tr {
border-bottom: 1px solid var(--sl-color-neutral-200);
}
table td, table th {
padding: 1rem;
}