This repository has been archived on 2024-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
icynet-admin/components/common/Header/Header.module.scss

44 lines
725 B
SCSS
Raw Permalink Normal View History

2022-08-29 18:09:28 +00:00
.nav {
display: flex;
2022-09-12 19:31:58 +00:00
color: var(--nav-text-color);
background-color: var(--nav-main-color);
border-bottom: 4px solid var(--nav-secondary-color);
2022-08-29 18:09:28 +00:00
.inner {
display: flex;
max-width: 1080px;
width: 100%;
margin: 0 auto;
2022-09-12 19:31:58 +00:00
2022-08-29 18:09:28 +00:00
ul {
list-style: none;
display: flex;
flex-direction: row;
padding: 0;
margin: 0;
&.alignRight {
margin-left: auto;
}
li {
display: flex;
&.active {
font-weight: bold;
2022-08-29 18:34:46 +00:00
a {
2022-09-12 19:31:58 +00:00
background-color: var(--nav-secondary-color);
2022-08-29 18:34:46 +00:00
}
2022-08-29 18:09:28 +00:00
}
a {
2022-09-01 14:23:11 +00:00
color: inherit;
text-decoration: none;
2022-08-29 18:09:28 +00:00
padding: 1rem;
}
}
}
}
}