propapier/app/assets/styles/header.css
webfussel c99c243dfc add: bottom toolbar, remove button for cards
Implemented bottom toolbar for adding and calculating, added remove button for Price Cards
2025-02-17 20:38:18 +01:00

54 lines
No EOL
1,017 B
CSS

.Header {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--padding-default);
background-color: var(--color-white);
box-shadow: var(--box-shadow-z2);
position: sticky;
top: 0;
z-index: 1;
& strong {
font-size: 2em;
& span {
color: var(--color-main);
}
}
& input[type="checkbox"] {
display: none;
}
& input[type="checkbox"]:checked + nav {
translate: 0;
}
& nav,
& ul {
gap: 1em;
}
& nav {
position: fixed;
padding: var(--padding-default);
translate: 100% 0;
width: 100vw;
right: 0;
top: 0;
height: 100dvh;
transition: 150ms ease-in-out;
background: var(--color-white);
font-size: 2em;
align-items: end;
z-index: 100;
}
& ul {
width: 100%;
align-items: center;
& li {
list-style: none;
}
}
}