cineflex/public/css/seat-chooser.css

96 lines
1.7 KiB
CSS
Raw Normal View History

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
...
*/
2023-01-01 20:13:11 +01:00
#seat-chooser {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
2023-01-01 20:13:11 +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%;
}
2023-01-01 20:13:11 +01:00
#seat-chooser .row .seat {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
margin: 5px;
border: 1px solid #000;
border-radius: 5px;
2023-01-01 20:13:11 +01:00
background-color: #fff;
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;
}
#seat-chooser .row .no-seat {
/* this seat DOES NOT EXISTS it's a filler for layout*/
border: none;
background-color: transparent;
cursor: default;
width: 50px;
height: 50px;
margin: 5px;
}
#seat-chooser .row .seat.selected {
background-color: #55f;
}
#seat-chooser .row .seat.reserved {
background-color: #f00;
}
#seat-chooser .row .seat:hover {
filter: brightness(0.8);
}
#load-screen {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
2023-01-01 20:13:11 +01:00
div.spinner {
width: 40px;
height: 40px;
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
animation: spin 2s linear infinite;
}