aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/fomantic/_site
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-27 11:53:53 +0100
committerGitHub <noreply@github.com>2020-12-27 18:53:53 +0800
commitfe403725f45e4515ce89d6a4dfd01e9698d38ad9 (patch)
treea61908301ccdd4abb5c096e4da5b9fa60379ec68 /web_src/fomantic/_site
parentdd08853b10781177253b581fde482fe67ab14edf (diff)
downloadgitea-fe403725f45e4515ce89d6a4dfd01e9698d38ad9.tar.gz
gitea-fe403725f45e4515ce89d6a4dfd01e9698d38ad9.zip
Improve basic button and label styles (#14119)
* Improve disabled styles for repo buttons - Simplify disabled styling of label by matching for the disabled attribute. - Raise fomantic disabled opacity from .45 to .55 to for more contrast. - Use CSS vars for basic button styles. * restore clickability on label * color tweaks and remove arc-green style * slightly reduce button size * consolidate vars * also cover active class * slightly more distinct active class * remove useless rule
Diffstat (limited to 'web_src/fomantic/_site')
-rw-r--r--web_src/fomantic/_site/globals/site.variables1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/fomantic/_site/globals/site.variables b/web_src/fomantic/_site/globals/site.variables
index dd29751be8..3c1781a08f 100644
--- a/web_src/fomantic/_site/globals/site.variables
+++ b/web_src/fomantic/_site/globals/site.variables
@@ -4,3 +4,4 @@
@pageFont: var(--fonts-regular);
@bold: 500;
@useCustomScrollbars: false;
+@disabledOpacity: var(--opacity-disabled);