2023-01-01 20:13:11 +01:00
|
|
|
/*
|
|
|
|
* (C) (C) (C) (C) (C)
|
|
|
|
(R) S S S S S
|
|
|
|
(R) S S S S S
|
|
|
|
(R) S S S S S
|
|
|
|
(R) S S S S S
|
|
|
|
...
|
|
|
|
*/
|
2022-12-08 09:30:07 +01:00
|
|
|
|
2023-01-01 20:13:11 +01:00
|
|
|
#seat-chooser {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-01-02 00:51:48 +01:00
|
|
|
|
|
|
|
--seat-width: 2.5rem;
|
|
|
|
--seat-height: var(--seat-width);
|
|
|
|
--seat-gap: 0.5rem;
|
|
|
|
--seat-border-size: 0.1rem;
|
|
|
|
--seat-border-radius: 0.5rem;
|
2023-01-01 20:13:11 +01:00
|
|
|
}
|
2022-12-08 09:30:07 +01:00
|
|
|
|
2023-01-01 20:13:11 +01:00
|
|
|
#seat-chooser .row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-12-08 09:30:07 +01:00
|
|
|
}
|
|
|
|
|
2023-01-01 20:13:11 +01:00
|
|
|
#seat-chooser .row .seat {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-01-02 00:51:48 +01:00
|
|
|
width: var(--seat-width);
|
|
|
|
height: var(--seat-height);
|
|
|
|
margin: var(--seat-gap);
|
|
|
|
border: var(--seat-border-size) solid var(--primary-color);
|
|
|
|
border-radius: var(--seat-border-radius);
|
|
|
|
background-color: var(--second-bg);
|
2022-12-08 09:30:07 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-01-01 20:13:11 +01:00
|
|
|
#seat-chooser .row .seat.linked-left {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#seat-chooser .row .seat.linked-right {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
|
2023-01-02 00:51:48 +01:00
|
|
|
#seat-chooser .row .seat.loveseat {
|
|
|
|
background-color: #ff3fe5;
|
|
|
|
}
|
|
|
|
|
2023-01-01 20:13:11 +01:00
|
|
|
#seat-chooser .row .no-seat {
|
|
|
|
/* this seat DOES NOT EXISTS it's a filler for layout*/
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: default;
|
2023-01-02 00:51:48 +01:00
|
|
|
|
|
|
|
width: var(--seat-width);
|
|
|
|
height: var(--seat-height);
|
|
|
|
margin: calc(var(--seat-border-size) + var(--seat-gap));
|
2023-01-01 20:13:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#seat-chooser .row .seat.selected {
|
2023-01-02 00:51:48 +01:00
|
|
|
border: calc(var(--seat-gap) - 0.1rem) solid var(--primary-color);
|
|
|
|
margin: 0.1rem;
|
|
|
|
filter: brightness(1.2);
|
2023-01-01 20:13:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#seat-chooser .row .seat.reserved {
|
2023-01-02 00:51:48 +01:00
|
|
|
background-color: var(--highlight-bg);
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
#seat-chooser .row .seat.disabled {
|
|
|
|
background-color: var(--default-bg);
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
#seat-chooser .row .seat.wheelchair {
|
|
|
|
background-color: #3498db;
|
2023-01-01 20:13:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#seat-chooser .row .seat:hover {
|
|
|
|
filter: brightness(0.8);
|
|
|
|
}
|
|
|
|
|
2023-02-02 08:17:38 +01:00
|
|
|
#seat-chooser #seat-chooser-status {
|
|
|
|
text-align: center;
|
|
|
|
margin: 1rem;
|
2022-12-08 09:30:07 +01:00
|
|
|
}
|