diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-04-11 22:41:41 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-04-11 22:41:41 +0800 |
commit | 555b6976a32318c8decce521bdc61765eb6642c9 (patch) | |
tree | 2fe224c35f2fa71a6bb674ffc1dba7254e0261e2 /public | |
parent | df000245d19ffa3e4f88d252763269bbdd04f8eb (diff) | |
download | gitea-555b6976a32318c8decce521bdc61765eb6642c9.tar.gz gitea-555b6976a32318c8decce521bdc61765eb6642c9.zip |
add search form in top navbar
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 48d485fa5a..634548b8c8 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -67,6 +67,7 @@ html, body { color: #EEE; font-size: 100%; height: 46px; + margin-top: 3px; } #nav-logo { @@ -81,10 +82,6 @@ html, body { text-decoration: none; } -.nav-item.navbar-right { - margin-top: 3px; -} - .nav-item.navbar-btn { cursor: pointer; margin-top: 8px; @@ -96,6 +93,28 @@ html, body { margin: 0; } +#nav-search-form { + width: 300px; + margin-top: 0; +} + +#nav-search-form button { + margin-top: 0; + background-image: none; + background-color: #F6F6F6; +} + +#nav-search-form input[type=search] { + background-color: #F6F6F6; + border-bottom-right-radius: 3px; + border-top-right-radius: 3px; +} + +#nav-search-form input[type=search]:focus { + background-color: #FFF; + border-color: #D9D9D9; +} + /* gogits nav item active status */ #masthead .nav .active { color: #fff; |