From d398b47f58dab49c712536aaaa1a00db0e683133 Mon Sep 17 00:00:00 2001 From: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu, 4 Jan 2018 13:55:52 +0100 Subject: [PATCH] browse: Miscellanneous polishing --- swh/web/static/css/style.css | 21 +++++++++---------- .../templates/includes/origins-search.html | 2 +- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/swh/web/static/css/style.css b/swh/web/static/css/style.css index 0be109da7..c74ea14bb 100644 --- a/swh/web/static/css/style.css +++ b/swh/web/static/css/style.css @@ -376,9 +376,10 @@ td.hljs-ln-code { .btn-swh { color: #6C6C6C; background-color: #EAEAEA; - border-color: #EAEAEA; + border-color: #ddd; background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%); background-repeat: repeat-x; + outline: none; } .btn-swh:hover, @@ -386,15 +387,9 @@ td.hljs-ln-code { .btn-swh:active, .btn-swh.active, .open .dropdown-toggle.btn-swh { - color: #6C6C6C; - background-color: #D4D4D4; - border-color: #EAEAEA; -} - -.btn-swh:active, -.btn-swh.active, -.open .dropdown-toggle.btn-swh { - background-image: none; + background-color: #e6ebf1; + background-image: linear-gradient(to bottom,#f1f1f1 0,#e6e6e6 100%); + border-color: rgb(197, 197, 197); } .btn-swh.disabled, @@ -499,4 +494,8 @@ fieldset[disabled] .btn-swh.active { text-decoration: none; outline: none; border: none; -} \ No newline at end of file +} + +.pager a { + outline: none; +} diff --git a/swh/web/templates/includes/origins-search.html b/swh/web/templates/includes/origins-search.html index 219b4a0da..62f4f6481 100644 --- a/swh/web/templates/includes/origins-search.html +++ b/swh/web/templates/includes/origins-search.html @@ -2,7 +2,7 @@ <div class="panel panel-default" style="overflow-x: auto;"> <div class="panel-heading"> - <h2>Search Software Heritage origins to browse:</h2> + <h2>Search Software Heritage origins to browse</h2> </div> <div class="panel-body"> <form class="form-horizontal" id="search_origins"> -- GitLab