summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2014-03-22 00:41:38 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2014-03-22 00:41:38 -0400
commit0593aa0f4440ab9b5970505847b93faf70848721 (patch)
treeaf99b624a867657e19f57f1cf2b65313d397ed4d
parent3e627f88eadc4d8865a8e5a0f4cd1e93c56b023f (diff)
downloadcgit-skin-0593aa0f4440ab9b5970505847b93faf70848721.tar.gz
Menu
-rw-r--r--cgit.css45
1 files changed, 37 insertions, 8 deletions
diff --git a/cgit.css b/cgit.css
index 026bec2..be239d5 100644
--- a/cgit.css
+++ b/cgit.css
@@ -205,21 +205,50 @@ body {
}
#cgit .tabs {
- background: #E7ECEE;
- border: 1px solid #D2D9DD;
+ /*background: #E7ECEE;
+ border: 1px solid #D2D9DD; */
margin: 1em auto;
width: 902px;
+ border-collapse: collapse;
+ border-bottom: 1px solid #eee;
+ background-image: linear-gradient(to top, #F6F6F6 0%, #FFF 8px);
}
-#cgit .tabs td a {
- border-left: 1px solid #D2D9DD;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- padding: 0 0.3em;
+#cgit .tabs td {
+ padding: 0;
+}
+
+#cgit .tabs a {
+ padding: 0 0.5em;
+ margin: 0 0.2em;
+ background: white;
+}
+
+#cgit .tabs .active {
+ border-bottom: 3px solid white !important;
+ border-left: 1px solid #eee;
+ border-right: 1px solid #eee;
+ border-top: 2px solid #BA5D0F;
+ border-radius: 3px 3px 0px 0px;
+ color: #333;
+ font-weight: bold;
+}
+
+#cgit .tabs a.active:hover {
+ cursor: default;
+}
+
+#cgit .tabs a:hover {
+ text-decoration: none;
+ border-bottom: 2px solid #ccc;
+}
+
+#cgit .tabs a:active,
+#cgit .tabs a:focus {
+ outline: none;
}
#cgit .tabs td a:first-child {
- border-left: none;
}
#cgit .commit-info {