/* * (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 ... */ #seat-chooser { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; } #seat-chooser .row { display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%; height: 100%; } #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; background-color: #fff; cursor: pointer; } #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; } div.spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid #3498db; border-radius: 50%; animation: spin 2s linear infinite; }