1
0
Fork 0
forked from forgejo/forgejo

CSS navbar and color tweaks (#13609)

* CSS and color tweaks

- Unify navbar-style menus
- Fix admin bar overlapping menu bar
- Fixes file edit comment box
- Fix double border on review box
- Fix review timeline icons

* Many fixes to new-menu and navbar layout enhancements

* misc settings fixes

* navbar tweak

* fix pr tabs

* branch tag and arc color tweaks
This commit is contained in:
silverwind 2020-11-26 20:33:28 +01:00 committed by GitHub
parent 03fa2eccbc
commit b2de034278
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 267 additions and 291 deletions

View file

@ -1,6 +1,4 @@
.repository {
padding-top: 15px;
.repo-header {
.ui.compact.menu {
margin-left: 1rem;
@ -144,8 +142,7 @@
}
.header-wrapper {
background-color: #fafafa;
margin-top: -15px;
background-color: var(--color-navbar);
padding-top: 15px;
.ui.tabs.divider {
@ -519,21 +516,23 @@
padding: 15px;
margin-bottom: 10px;
border: 1px solid var(--color-secondary);
background: var(--color-box-body);
border-radius: 3px;
#avatar-arrow;
&::after {
border-right-color: var(--color-box-header);
border-right-color: var(--color-box-body);
}
.quick-pull-choice {
.branch-name {
display: inline-block;
padding: 3px 6px;
padding: 2px 4px;
font: 12px var(--fonts-monospace);
color: rgba(0, 0, 0, .65);
background-color: rgba(209, 227, 237, .45);
color: var(--color-text);
background: var(--color-secondary);
border-radius: 3px;
margin: 0 2px;
}
.new-branch-name-input {
@ -741,14 +740,6 @@
align-items: center;
}
.avatar,
.type-icon {
.svg {
width: 23px;
height: 23px;
}
}
.text {
margin: .3em 0 .5em .5em;
}
@ -2629,10 +2620,6 @@
.list {
> .item {
.green:not(.ui.button) {
color: var(--color-green);
}
&:not(:first-child) {
border-top: 1px solid var(--color-secondary);
padding: 1rem;