[git-web] Missing hover effects in the top bar
- From: Andreas Nilsson <andreasn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [git-web] Missing hover effects in the top bar
- Date: Thu, 10 Oct 2013 13:36:26 +0000 (UTC)
commit 711b22698c40e89ccf6d7e2015e5f0d44f13b31c
Author: Arpita Gupta <arpita iiit gmail com>
Date: Fri Sep 27 01:57:23 2013 +0530
Missing hover effects in the top bar
The highlighting effect when you hover over a link on the navigation bar was missing at git.gnome.org
which was present at gnome.org ,so I tried to make the css portions same for both.
https://bugzilla.gnome.org/show_bug.cgi?id=683872
Signed-off-by: Andreas Nilsson <anilsson redhat com>
cgit-gnome.css | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/cgit-gnome.css b/cgit-gnome.css
index 18034c9..31085a8 100644
--- a/cgit-gnome.css
+++ b/cgit-gnome.css
@@ -245,6 +245,22 @@ a.branch-deco, a.tag-deco {
text-shadow: 0 1px 0 #000000;
}
+#top_bar a:hover {
+ background: #64696d;
+ background: rgba(100%, 100%, 100%, 0.2);
+}
+
+#top_bar a:focus {
+ background: rgba(100%, 100%, 100%, 0.15);
+}
+
+#top_bar a:active, #top_bar li.current-menu-item a, #top_bar li.current-page-ancestor a {
+ background: #1c2021 url("images/top_bar-item-bg.png") top repeat-x;
+ -moz-box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
+ -webkit-box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
+ box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
+}
+
.hidden {
display: none;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]