diff options
author | Fernando San Julián <fjsanjulian@hotmail.com> | 2015-08-10 16:38:21 +0200 |
---|---|---|
committer | Fernando San Julián <fjsanjulian@hotmail.com> | 2015-08-10 16:38:21 +0200 |
commit | 4cc198179c7b8f87e7075c36fbd6e06ca065b784 (patch) | |
tree | 2796c1797852eb2baf3c6d10c5d10e06d5f4e680 /public/less/_base.less | |
parent | 8a3ee795d2d069bbb57b3d134367078c8e8391d5 (diff) | |
download | gitea-4cc198179c7b8f87e7075c36fbd6e06ca065b784.tar.gz gitea-4cc198179c7b8f87e7075c36fbd6e06ca065b784.zip |
new top menu
Diffstat (limited to 'public/less/_base.less')
-rw-r--r-- | public/less/_base.less | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index 0da54d9701..26bc63e4f4 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -25,10 +25,19 @@ img { .column .menu { margin-top: 0; } - .brand { - float: left; - margin-top: 5px; - margin-right: 5px; + .top.menu a.item.brand { + padding-left: 0; + } + .brand .ui.mini.image { + width: 30px; + } + .top.menu a.item:hover, + .top.menu .dropdown.item:hover, + .top.menu .dropdown.item.active { + background-color: transparent; + } + .top.menu a.item:hover { + color: rgba(0,0,0,.45); } .head.link.item { padding-right: 0!important; @@ -37,8 +46,8 @@ img { margin-right: 5px; } } - .user.avatar { - padding: 0; + .avatar > .ui.image { + margin-right: 0; } .searchbox { background-color: rgb(244, 244, 244)!important; @@ -114,6 +123,10 @@ footer { .generate-img(@n, (@i + 1)); } +.octicon.icon { + font-family: octicons; +} + // Accessibility .sr-only { position: absolute; |