mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-06 21:36:27 +01:00
Add language switcher and translations for menu items
This commit is contained in:
@@ -150,7 +150,7 @@ body {
|
||||
display: none; /* Initially hide the cart icon */
|
||||
position: fixed;
|
||||
top: 80px; /* Move the cart icon down */
|
||||
right: 20px;
|
||||
right: 60px; /* Adjust right position to make space for language switcher */
|
||||
background-color: #ff6600;
|
||||
color: white;
|
||||
padding: 10px 15px;
|
||||
@@ -312,4 +312,22 @@ body {
|
||||
.logo.hidden {
|
||||
opacity: 0; /* Hide the logo */
|
||||
visibility: hidden; /* Ensure the logo is not clickable */
|
||||
}
|
||||
|
||||
.language-switcher {
|
||||
position: fixed;
|
||||
bottom: 20px; /* Position at the bottom */
|
||||
left: 20px; /* Position at the left */
|
||||
background-color: #ff8c00;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
border-radius: 25px;
|
||||
cursor: pointer;
|
||||
font-size: 1em;
|
||||
transition: all 0.3s ease;
|
||||
z-index: 1100; /* Ensure it is above other elements */
|
||||
}
|
||||
|
||||
.language-switcher:hover {
|
||||
background-color: #e65c00;
|
||||
}
|
||||
Reference in New Issue
Block a user