1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-08 23:46:14 +01:00
fab-manager/app/frontend/src/stylesheets/modules/dashboard/reservations/prepaid-packs-panel.scss

61 lines
1.4 KiB
SCSS
Raw Normal View History

2023-01-04 18:00:56 +01:00
.prepaid-packs-panel {
display: flex;
flex-direction: column;
overflow: visible;
2023-01-04 18:00:56 +01:00
gap: 1.6rem;
.title { @include text-base(600); }
p { margin: 0; }
.prepaid-packs {
padding: 1.6rem;
background-color: var(--gray-soft-lightest);
border-radius: var(--border-radius);
&.is-low {
border: 1px solid var(--alert);
.countdown span { color: var(--alert); }
}
}
.prepaid-packs-list {
display: grid;
2023-01-05 15:24:24 +01:00
grid-template-columns: 2fr 1fr minmax(25%, max-content);
2023-01-04 18:00:56 +01:00
gap: 0 1.6rem;
.name { grid-column: 1 / 2; }
.end { grid-column: 2 / 3; }
.countdown, .date { grid-column: 3 / 4; }
&-label {
@include text-xs;
color: var(--gray-soft-darkest);
}
&-item {
display: contents;
@include text-base(600);
}
}
.prepaid-packs-list.is-history {
margin-top: 2.4rem;
.prepaid-packs-list-label {
margin-bottom: 0.8rem;
padding-bottom: 0.8rem;
grid-column: 1 / -1;
border-bottom: 1px solid var(--gray-soft-dark);
}
.prepaid-packs-list-item { font-weight: 400; }
}
2023-01-05 15:24:24 +01:00
.prepaid-packs-cta {
padding: 1.6rem;
background-color: var(--gray-soft-lightest);
border-radius: var(--border-radius);
& > form {
margin-top: 1.6rem;
display: flex;
justify-content: space-between;
align-items: center;
gap:2.4rem;
}
2023-01-05 15:24:24 +01:00
}
}