1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Various style fixes (#13372)

- Add alpha variants for primary color
- Make timeline items solid background color
- Fix reaction styles recently regressed
- Fix diff header and make it flexbox
- Numerous smaller fixes for arc green
This commit is contained in:
silverwind
2020-10-31 13:17:32 +01:00
committed by GitHub
parent 47dd1cb7ae
commit de871f7c93
6 changed files with 138 additions and 84 deletions

View File

@@ -21,6 +21,15 @@
--color-primary-light-5: #b3cde7;
--color-primary-light-6: #d9e6f3;
--color-primary-light-7: #f4f8fb;
--color-primary-alpha-10: #4183c419;
--color-primary-alpha-20: #4183c433;
--color-primary-alpha-30: #4183c44b;
--color-primary-alpha-40: #4183c466;
--color-primary-alpha-50: #4183c480;
--color-primary-alpha-60: #4183c499;
--color-primary-alpha-70: #4183c4b3;
--color-primary-alpha-80: #4183c4cc;
--color-primary-alpha-90: #4183c4e1;
--color-body: #fff;
}
@@ -280,6 +289,10 @@ code,
margin: 0;
}
#navbar .dropdown .avatar {
margin-right: 0 !important;
}
@media only screen and (max-width: 767px) {
#navbar:not(.shown) > *:not(:first-child) {
display: none;
@@ -752,11 +765,6 @@ code,
}
}
.file-comment {
font: 12px var(--fonts-monospace);
color: rgba(0, 0, 0, .87);
}
.ui.floating.dropdown {
.overflow.menu {
.scrolling.menu.items {
@@ -1235,12 +1243,18 @@ i.icon.centerlock {
}
.ui.blue.label,
.ui.blue.labels .label,
.repository .segment.reactions .ui.label.basic.blue {
.ui.blue.labels .label {
background-color: var(--color-primary) !important;
border-color: var(--color-primary-dark-2) !important;
}
.ui.basic.labels .blue.label,
.ui.ui.ui.basic.blue.label {
background: transparent;
border-color: var(--color-primary);
color: var(--color-primary);
}
.ui.label > img {
width: auto !important;
vertical-align: middle;