diff options
author | silverwind <me@silverwind.io> | 2020-06-22 18:44:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 19:44:06 +0300 |
commit | b948ecb2d29bfe373d966d10a33e7c195eb47da4 (patch) | |
tree | 2307be72d4063371e2c6aeaf2431972f8299ebcd /web_src/less/_repository.less | |
parent | 4dee08a6b4d3ba413ddcd6a8bb3e581b287dcb5d (diff) | |
download | gitea-b948ecb2d29bfe373d966d10a33e7c195eb47da4.tar.gz gitea-b948ecb2d29bfe373d966d10a33e7c195eb47da4.zip |
Make tabs smaller (#12003)
* Make tabs smaller
Fomantic's tabs are excessively wide and with another tab added on the
repo tabbar (https://github.com/go-gitea/gitea/pull/8346) it would break
the layout on the english language.
Globally reduce tab bar padding to around half of the previous values.
* disable no-duplicate-selectors linter rule
* more tab bar tweaks
* more tweaks
* merge rules and nesting
* remove arc-green weird hover color
* few more arc-green tweaks
* restore to 12px
* tweaks
* use half width height padding
* final tweak
* 10px
* remove min-height
* 11px
* remve new-menu background on light theme too
* background fixes for new-menu
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r-- | web_src/less/_repository.less | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 76e6729c35..7bdfe6611f 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -3037,3 +3037,13 @@ td.blob-excerpt { .added-code { background-color: #99ff99; } + +.repository .ui.menu.new-menu { + background: none !important; + + @media only screen and (max-width: 1200px) { + &:after { + background: none !important; + } + } +} |