diff options
author | Dave Whiteland <dave@mysociety.org> | 2013-01-17 16:21:24 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2013-01-17 16:21:24 +0000 |
commit | b39912a6bed66beac2d0b4c3dc40a0012c072fee (patch) | |
tree | 5215bbc7f98ad8918ea2efda2fc5d96db667007b | |
parent | 2588f0425b58651246d4c19c3eb1e810b62bd80b (diff) |
Zurich: add search box style to admin nav
-rw-r--r-- | templates/web/zurich/admin/header.html | 2 | ||||
-rw-r--r-- | web/cobrands/zurich/_zurich.scss | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/templates/web/zurich/admin/header.html b/templates/web/zurich/admin/header.html index 4698a7a93..6ceecded1 100644 --- a/templates/web/zurich/admin/header.html +++ b/templates/web/zurich/admin/header.html @@ -35,7 +35,7 @@ select { width: auto; } <a href="/admin/reports">[% loc('Reports') %]</a> </li> <li class="search-box"> - Search + <input type="text" name="search" size="20" id="admin-search" placeholder="[% loc('Search reports') %]"> </li> </ul> diff --git a/web/cobrands/zurich/_zurich.scss b/web/cobrands/zurich/_zurich.scss index 8bebb842b..0f3f52303 100644 --- a/web/cobrands/zurich/_zurich.scss +++ b/web/cobrands/zurich/_zurich.scss @@ -44,6 +44,7 @@ a:hover { padding: 0; border-top: 1px solid $table_border_color; border-left: 1px solid $table_border_color; + border-right: 1px solid $table_border_color; li { border-right: 1px solid $table_border_color; float:left; @@ -63,6 +64,19 @@ a:hover { background-color: #fff; border-bottom: 2px solid #fff; } + li.search-box { + border:none; + padding: 0.2em 0.5em 0.2em 30px; + background-image: url('search-icon.png'); + background-position: 2px center; + background-repeat: no-repeat; + input { + height: 100%; + width: 12em; + border: none; + padding: 6px 0.5em; + } + } } } table { |