diff options
author | silverwind <me@silverwind.io> | 2020-12-27 11:53:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-27 18:53:53 +0800 |
commit | fe403725f45e4515ce89d6a4dfd01e9698d38ad9 (patch) | |
tree | a61908301ccdd4abb5c096e4da5b9fa60379ec68 /web_src/fomantic/_site/globals/site.variables | |
parent | dd08853b10781177253b581fde482fe67ab14edf (diff) | |
download | gitea-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/globals/site.variables')
-rw-r--r-- | web_src/fomantic/_site/globals/site.variables | 1 |
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); |