diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-22 14:10:12 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-22 14:10:12 +0800 |
commit | bf703ef61761fc4b09e3cb95672869520eccbc39 (patch) | |
tree | 40dd09144366c9428869ca02c3dd50183d5cccf0 /public/css | |
parent | c280415e0b449b420f4540886b8e16ae3c9e6454 (diff) | |
download | gitea-bf703ef61761fc4b09e3cb95672869520eccbc39.tar.gz gitea-bf703ef61761fc4b09e3cb95672869520eccbc39.zip |
add dashboard context switch button
Diffstat (limited to 'public/css')
-rwxr-xr-x | public/css/gogs.css | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 1e29eeba5f..67d1ebe588 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -638,6 +638,47 @@ html, body { margin: 0 .5em; } +#dashboard-switch .btn { + height: 40px; +} + +#dashboard-switch { + margin-top: 14px; + margin-right: 18px; +} + +#dashboard-switch .dropdown-menu { + padding: 0; +} + +#dashboard-switch-menu { + width: 180px; + margin-bottom: 0; + padding-bottom: 0; +} + +#dashboard-switch-menu > li > a { + display: block; + padding: .8em 1.2em; +} + +#dashboard-switch-menu > li { + border-bottom: 1px solid #eaeaea; +} + +#dashboard-switch-menu > li .fa { + opacity: 0; + margin-right: 16px; +} + +#dashboard-switch-menu > li.checked .fa { + opacity: 1; +} + +#dashboard-switch-menu > li:last-child { + border-bottom: none; +} + /* gogits repo single page */ #body-nav.repo-nav { |