philomena/assets/css/views/approval.css

56 lines
940 B
CSS
Raw Permalink Normal View History

2022-03-24 17:31:57 +01:00
.approval-grid {
display: grid;
grid-template-columns: 1fr auto;
grid-template-rows: 1fr;
gap: var(--padding-small);
text-align: center;
}
.approval-items--main {
display: grid;
grid-template-columns: auto 1fr 1fr 1fr;
gap: var(--padding-small);
justify-content: center;
}
.approval-items--main span {
margin: auto;
}
.approval-items--footer {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: 1fr;
gap: var(--padding-normal);
}
.approval-items--footer * {
height: 2rem;
margin-top: auto;
margin-bottom: auto;
}
2023-06-02 19:37:03 +02:00
.approval-items__details {
display: grid;
grid-template-columns: auto auto;
gap: var(--padding-normal);
line-height: 100%;
}
@mixin if-mobile {
2022-03-24 17:31:57 +01:00
.approval-grid {
2024-05-20 21:25:43 +02:00
grid-template: auto / 1fr;
2023-11-23 17:07:49 +01:00
grid-template-areas:
2022-03-24 17:31:57 +01:00
"main"
"footer";
}
.approval-items--main {
grid-area: main;
}
.approval-items--footer {
grid-area: footer;
}
}