Podpora easter eggů
This commit is contained in:
168
client/src/App.scss
Normal file
168
client/src/App.scss
Normal file
@@ -0,0 +1,168 @@
|
||||
.App {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.App-logo {
|
||||
height: 40vmin;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.App-logo {
|
||||
animation: App-logo-spin infinite 20s linear;
|
||||
}
|
||||
}
|
||||
|
||||
.App-header {
|
||||
background-color: #282c34;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: calc(10px + 2vmin);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.App-link {
|
||||
color: #61dafb;
|
||||
}
|
||||
|
||||
@keyframes App-logo-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.loader {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.loader>.loader-icon {
|
||||
font-size: 64px;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.title {
|
||||
margin: 50px 20px;
|
||||
}
|
||||
|
||||
.food-tables {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-color: #3c3c3c;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
#basic-navbar-nav {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.table> :not(caption) .action-icon {
|
||||
color: rgb(0, 89, 255);
|
||||
cursor: pointer;
|
||||
margin-left: 10px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.table ul {
|
||||
padding: 0;
|
||||
margin-left: 20px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.table td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.table>tbody>tr>td>table>tbody>tr>td {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.qr-code {
|
||||
text-align: center;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.select-search-container {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.trusted-icon {
|
||||
color: rgb(0, 89, 255);
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.day-navigator {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: xx-large;
|
||||
}
|
||||
|
||||
@keyframes bounce-in {
|
||||
0% {
|
||||
left: var(--start-left);
|
||||
right: var(--start-right);
|
||||
top: var(--start-top);
|
||||
bottom: var(--start-bottom);
|
||||
}
|
||||
|
||||
25% {
|
||||
left: var(--end-left);
|
||||
right: var(--end-right);
|
||||
top: var(--end-top);
|
||||
bottom: var(--end-bottom);
|
||||
}
|
||||
|
||||
50% {
|
||||
left: var(--start-left);
|
||||
right: var(--start-right);
|
||||
top: var(--start-top);
|
||||
bottom: var(--start-bottom);
|
||||
}
|
||||
|
||||
75% {
|
||||
left: var(--end-left);
|
||||
right: var(--end-right);
|
||||
top: var(--end-top);
|
||||
bottom: var(--end-bottom);
|
||||
}
|
||||
|
||||
100% {
|
||||
left: var(--start-left);
|
||||
right: var(--start-right);
|
||||
top: var(--start-top);
|
||||
bottom: var(--start-bottom);
|
||||
}
|
||||
}
|
||||
|
||||
// TODO zjistit, zda to nedokážeme lépe - tohle je kvůli overflow easter egg obrázků, ale skrývá to úplně scrollbar
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
Reference in New Issue
Block a user