]> source.dussan.org Git - gitea.git/commit
Improve basic button and label styles (#14119)
authorsilverwind <me@silverwind.io>
Sun, 27 Dec 2020 10:53:53 +0000 (11:53 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Dec 2020 10:53:53 +0000 (18:53 +0800)
commitfe403725f45e4515ce89d6a4dfd01e9698d38ad9
treea61908301ccdd4abb5c096e4da5b9fa60379ec68
parentdd08853b10781177253b581fde482fe67ab14edf
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
templates/repo/header.tmpl
web_src/fomantic/_site/globals/site.variables
web_src/fomantic/build/semantic.css
web_src/less/_base.less
web_src/less/_repository.less
web_src/less/themes/theme-arc-green.less