2020-09-27 21:09:15 +02:00
|
|
|
.ui.main.menu {
|
2020-10-20 19:24:47 +02:00
|
|
|
background: $bg60;
|
2020-09-27 21:09:15 +02:00
|
|
|
border-bottom: 0;
|
2020-10-07 10:19:36 +02:00
|
|
|
font-size: 15px;
|
2020-09-27 21:09:15 +02:00
|
|
|
min-height: 64px;
|
2020-10-04 18:28:14 +02:00
|
|
|
font-family: $font-family;
|
2020-09-27 21:09:15 +02:00
|
|
|
#navbar {
|
|
|
|
width: 1127px ;
|
2020-10-04 11:08:52 +02:00
|
|
|
padding: 0;
|
2020-09-27 21:09:15 +02:00
|
|
|
.item {
|
2020-10-20 19:24:47 +02:00
|
|
|
color: $white;
|
2020-09-27 21:09:15 +02:00
|
|
|
&.brand {
|
|
|
|
margin: 0 .5rem 0 0;
|
|
|
|
.mini.image {
|
|
|
|
transition: opacity .2s;
|
|
|
|
&:hover {
|
|
|
|
opacity: .9;
|
|
|
|
}
|
|
|
|
}
|
2020-10-04 11:08:52 +02:00
|
|
|
.button.mobile-only {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@if $singleuser == true {
|
|
|
|
&[href*="explore"],
|
|
|
|
&[href*="docs.gitea"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2020-09-27 21:09:15 +02:00
|
|
|
}
|
|
|
|
&:not(.brand) {
|
|
|
|
border-radius: 0;
|
2020-10-02 11:21:24 +02:00
|
|
|
display: block;
|
2020-09-27 21:09:15 +02:00
|
|
|
margin: 0px 0px;
|
2020-10-02 11:21:24 +02:00
|
|
|
padding: 24px;
|
2020-09-27 21:09:15 +02:00
|
|
|
transition: background .2s, color .2s;
|
|
|
|
&:hover {
|
2020-10-20 19:24:47 +02:00
|
|
|
background: $bg50;
|
2020-09-27 21:09:15 +02:00
|
|
|
}
|
|
|
|
&.active {
|
2020-10-20 19:24:47 +02:00
|
|
|
background: $bg50;
|
2020-09-27 21:09:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-04 11:08:52 +02:00
|
|
|
.seperator {
|
|
|
|
cursor: default;
|
|
|
|
display: block;
|
|
|
|
padding: 22px;
|
|
|
|
}
|
2020-10-30 17:19:39 +01:00
|
|
|
.right.stackable.menu {
|
|
|
|
@if $singleuser == true {
|
2020-10-04 11:08:52 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2020-10-30 17:19:39 +01:00
|
|
|
.dropdown.item {
|
|
|
|
.menu {
|
|
|
|
background: $bg60;
|
|
|
|
box-shadow: none;
|
|
|
|
color: $white;
|
|
|
|
.header {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
.divider {
|
|
|
|
border-color: $bg80;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
color: $white !important;
|
|
|
|
&:hover {
|
|
|
|
background: $bg50 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-04 11:08:52 +02:00
|
|
|
}
|
2020-09-27 21:09:15 +02:00
|
|
|
}
|
|
|
|
.dropdown.item > .menu {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.dropdown.item > .menu,
|
|
|
|
&.text.menu .dropdown.item > .menu {
|
|
|
|
border: 0;
|
2020-10-07 10:19:36 +02:00
|
|
|
z-index: 110;
|
2020-09-27 21:09:15 +02:00
|
|
|
}
|
|
|
|
.dropdown.item:hover,
|
|
|
|
.link.item:hover,
|
|
|
|
.active.item:hover,
|
|
|
|
a.item:hover {
|
2020-10-20 19:24:47 +02:00
|
|
|
color: $white-light;
|
2020-09-27 21:09:15 +02:00
|
|
|
}
|
|
|
|
}
|
2020-10-04 11:08:52 +02:00
|
|
|
|
|
|
|
@media (max-width: 767.98px) {
|
|
|
|
.ui.main.menu {
|
|
|
|
flex-direction: row;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
#navbar {
|
|
|
|
.item {
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
.right.custom.menu {
|
|
|
|
display: inherit !important;
|
|
|
|
flex-direction: row !important;
|
|
|
|
margin-left: auto !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|