Verified Commit 9ab0fdef authored by Jakob Moser's avatar Jakob Moser
Browse files

Make agenda edit button pressable

parent f8b1ecac
Loading
Loading
Loading
Loading
+43 −0
Changes for portal/static/css/main.css: 43 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -196,6 +196,8 @@ a.detail:hover {
    color: white;
}

/* ------------------------ Agenda ------------------------ */

.agenda {
    width: max-content;
    margin: 0 auto;
@@ -228,6 +230,47 @@ a.detail:hover {
    font-size: 150%;
}

.agenda {
    background: none;
}

.agenda:has(.edit:active) {
    box-shadow: none;
}

.agenda .content {
    background: radial-gradient(
        circle,
        rgb(255, 255, 255) 0%,
        rgba(255, 255, 255, 0.85) 100%
    );
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    z-index: 2;
}

.agenda .content:has(+ .edit:active) {
    box-shadow: var(--shadow-width) var(--shadow-width) 5px rgba(0, 0, 0, 0.5);
}

.agenda .edit {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-right-radius: 1em;
    border-bottom-left-radius: 1em;
}

.agenda .edit {
    position: relative;
    top: 0;
    left: 0;
}

.agenda .edit:active {
    box-shadow: none;
    left: 2px;
    top: 2px;
}

@media (max-width: 1390px) {
    .services {
        grid-template-columns: repeat(5, min-content);