mirror of
https://projects.blender.org/infrastructure/gitea-custom.git
synced 2025-03-11 23:31:26 -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:
parent
035d316672
commit
e651a7f2d1
2 changed files with 25 additions and 17 deletions
|
@ -293,10 +293,34 @@
|
||||||
color: var(--color-label-text);
|
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 {
|
.ui.tabular.menu {
|
||||||
border-color: var(--color-border);
|
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 {
|
.ui.breadcrumb a {
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
}
|
}
|
||||||
|
|
|
@ -455,7 +455,7 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
/* Custom styling for projects.blender.org */
|
/* Custom styling for code.blender.org */
|
||||||
/* Make sure to start every line with ".nav-global"
|
/* Make sure to start every line with ".nav-global"
|
||||||
* so changes affect the developer navbar only. */
|
* so changes affect the developer navbar only. */
|
||||||
|
|
||||||
|
@ -467,22 +467,6 @@
|
||||||
max-width: 1170px;
|
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>
|
</style>
|
||||||
|
|
||||||
<div class="nav-global">
|
<div class="nav-global">
|
||||||
|
|
Loading…
Add table
Reference in a new issue