summaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-10-31 13:17:32 +0100
committerGitHub <noreply@github.com>2020-10-31 14:17:32 +0200
commitde871f7c93be10d5fe33ee2411fedcd17c9e9708 (patch)
tree56a7def388aec261adfd394880f557d769b43809 /web_src/less/_base.less
parent47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e (diff)
downloadgitea-de871f7c93be10d5fe33ee2411fedcd17c9e9708.tar.gz
gitea-de871f7c93be10d5fe33ee2411fedcd17c9e9708.zip
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
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less28
1 files changed, 21 insertions, 7 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index a695599ec4..59dd426360 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -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;