You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sandkasten-web/src/app/components/header/header.component.scss

123 lines
1.7 KiB

.toolbar {
&.dark-theme {
background-color: black !important;
}
&.light-theme {
background-color: white !important;
}
padding: 0 1rem;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 4rem;
}
.left_part {
display: flex;
flex-direction: row;
gap: 4rem;
}
.left_part .logo_container {
display: flex;
flex-direction: row;
gap: 2rem;
}
.left_part .menu {
display: flex;
flex-direction: row;
gap: 2rem;
align-items: flex-end;
}
.left_part .menu a {
&.dark-theme {
color: black !important;
}
&.light-theme {
color: white !important;
}
text-decoration: none;
padding: .5rem .5rem 0;
}
.left_part .menu a:hover {
&.dark-theme {
background-color: black !important;
}
&.light-theme {
background-color: white !important;
}
transition: background-color .3s ease;
}
.left_part .menu a.active {
&.dark-theme {
background-color: black !important;
}
&.light-theme {
background-color: white !important;
}
}
.sandkasten-logo {
width: 4rem;
height: auto;
aspect-ratio: 1;
}
.logo_title {
font-size: 1.5rem;
font-weight: 500;
&.dark-theme {
color: black !important;
}
&.light-theme {
color: white !important;
}
}
.right_part {
display: flex;
flex-direction: row;
align-items: center;
gap: 2rem;
&.dark-theme {
color: black !important;
}
&.light-theme {
color: white !important;
}
}
.gitea_logo_container .gitea-logo {
width: 4rem;
height: auto;
aspect-ratio: 1;
}
@media (max-width: 1024px) {
.toolbar {
gap: 2rem;
}
.toolbar .left_part {
gap: 2rem;
}
.toolbar .left_part .logo_container .logo_title {
display: none;
}
}