changeset 4837:6872028b8bbc

style: add repotag to replace icon-{hg,git}
author Sean Farley <sean.michael.farley@gmail.com>
date Tue, 17 Feb 2015 15:01:32 -0800
parents 7e78fff64709
children 0cb4a35d8248
files kallithea/public/css/style.css
diffstat 1 files changed, 23 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Thu Feb 19 00:16:02 2015 +0100
+++ b/kallithea/public/css/style.css	Tue Feb 17 15:01:32 2015 -0800
@@ -2764,10 +2764,11 @@
 .right .logtags {
     line-height: 2.2em;
 }
-.branchtag, .logtags .tagtag, .logtags .booktag {
+.repotag, .branchtag, .logtags .tagtag, .logtags .booktag {
     margin: 0px 2px;
 }
 
+.repotag,
 .branchtag,
 .tagtag,
 .booktag,
@@ -2789,6 +2790,7 @@
     margin-right: 0.5em;
 }
 
+.repotag,
 .branchtag,
 .tagtag,
 .booktag {
@@ -2805,6 +2807,26 @@
     display: block;
 }
 
+.repotag {
+    border-color: #56A546;
+    color: #46A546;
+    font-size: 8px;
+    text-transform: uppercase;
+}
+
+#context-bar .repotag,
+.repo-icons .repotag {
+    border-color: white;
+    color: white;
+    margin-top: 3px;
+}
+
+.repo-icons .repotag {
+    margin-top: 0px;
+    padding-top: 0px;
+    padding-bottom: 0px;
+}
+
 .booktag {
     border-color: #46A546;
     color: #46A546;
@@ -5002,10 +5024,6 @@
     display: none;
 }
 
-.repo-switcher-dropdown .select2-result-label span.repo-icons {
-    margin-left: -12px;
-}
-
 .icon-only-links i {
     color: white;
 }