Files
web/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/actionPanel.module.css
Pontus Dreij a8358de04a Merged in feat(SW-2084)-disable-options-modify-my-stay (pull request #1662)
feat(SW-2084) logic to disable Manage stay options

* feat(SW-2084) logic to disable Manage stay options

* feat(SW-2084) cleanup logic for checks

* feat(SW-2084) check if date has passed

* feat(SW-2084) change to datetimeIsInThePast


Approved-by: Niclas Edenvin
2025-03-31 07:44:46 +00:00

80 lines
1.3 KiB
CSS

.actionPanel {
display: flex;
flex-direction: column;
gap: var(--Spacing-x3);
padding: var(--Spacing-x3);
width: 100%;
}
.menu {
width: 100%;
display: flex;
flex-direction: column;
gap: var(--Spacing-x2);
}
.actionPanel .menu .button,
.actionLink {
width: 100%;
color: var(--Scandic-Brand-Burgundy);
justify-content: space-between !important;
padding: var(--Spacing-x1) 0 !important;
}
.actionLink {
font-weight: 500;
display: flex;
}
.actionPanel .menu .button:disabled {
color: var(--Scandic-Grey-40);
}
.disabledLink {
color: var(--Scandic-Grey-40);
display: flex;
justify-content: space-between;
padding: var(--Spacing-x1) 0;
width: 100%;
}
.disabledLink:hover {
cursor: not-allowed;
}
.info {
width: 100%;
background-color: var(--Base-Background-Primary-Normal);
padding: var(--Spacing-x3);
text-align: right;
display: flex;
flex-direction: column;
gap: var(--Spacing-x2);
align-items: flex-end;
}
.tag {
text-transform: uppercase;
font-size: 12px;
font-weight: 600;
color: var(--Main-Red-60);
font-family: var(--typography-Caption-Labels-fontFamily);
}
.link {
margin-top: auto;
}
@media (min-width: 1367px) {
.actionPanel {
flex-direction: row;
}
.menu {
width: 432px;
}
.info {
width: 256px;
}
}