0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2024-12-22 07:13:09 -05:00

Revert "Navbar: style fixes for gitea 1.20"

Changes that expected gitea 1.20 needs to be reverted 2/2.

This reverts commit f2717d098b.
This commit is contained in:
Dalai Felinto 2023-08-24 18:04:26 +02:00
parent 035d316672
commit e651a7f2d1
2 changed files with 25 additions and 17 deletions

View file

@ -293,10 +293,34 @@
color: var(--color-label-text);
}
.following.bar #navbar {
min-height: 45px;
}
/* Align items (notifications, dropdown toggle) to the right. */
.following.bar #navbar .brand {
justify-content: flex-end !important;
}
.ui.tabular.menu {
border-color: var(--color-border);
}
/* Navbar logo. */
.item.brand a {
opacity: .8;
transition: opacity var(--transition-speed) ease-in-out;
}
.item.brand a:hover {
opacity: 1;
}
.item.brand svg {
height: 21px;
color: #fff;
}
.ui.breadcrumb a {
color: var(--color-text);
}

View file

@ -455,7 +455,7 @@
</style>
<style>
/* Custom styling for projects.blender.org */
/* Custom styling for code.blender.org */
/* Make sure to start every line with ".nav-global"
* so changes affect the developer navbar only. */
@ -467,22 +467,6 @@
max-width: 1170px;
}
}
/* Override Gitea's default navbar height. */
#navbar {
min-height: 46px;
}
/* Hide the site logo. */
#navbar .item:first-child {
display: none;
}
/* Fix alignment of text in dropdown items. */
.ui.dropdown>.text {
position: relative;
top: -2px;
}
</style>
<div class="nav-global">