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

Navbar: style fixes for gitea 1.20

This commit is contained in:
Pablo Vazquez 2023-08-04 17:01:30 +02:00
parent 611e7e835f
commit f2717d098b
2 changed files with 17 additions and 25 deletions

View file

@ -296,34 +296,10 @@
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 code.blender.org */
/* Custom styling for projects.blender.org */
/* Make sure to start every line with ".nav-global"
* so changes affect the developer navbar only. */
@ -467,6 +467,22 @@
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">