Merge pull request #26 from micheleolivo/feature-icons
authorStefan Imhoff <stefan@imhoff.name>
Wed, 12 Feb 2014 13:32:35 +0000 (14:32 +0100)
committerStefan Imhoff <stefan@imhoff.name>
Wed, 12 Feb 2014 13:32:35 +0000 (14:32 +0100)
Feature icons

gitweb.css
head.png [new file with mode: 0644]
ref.png [new file with mode: 0644]
tag.png [new file with mode: 0644]

index b12a5fbd0e2d3ab324ce4a54445827e49667ac0d..1f224f6456e51022d6c42a29345d01ed522831ec 100644 (file)
@@ -479,32 +479,66 @@ th .header {
 ---------------------------------------------------------------------------- */
 
 span.refs span {
-  color: #000;
-  padding: 0px 4px;
-  font-size: 10px;
-  font-weight: normal;
-  border: 1px solid;
-  background-color: #ffaaff;
-  border-color: #ffccff #ff00ee #ff00ee #ffccff;
+  color: #707070;
+  display: inline-block;
+  margin: 0;
+  background-color: #eee;
+  border: 1px solid #ccc;
+  border-radius: 3px;
+  height: 18px;
+  padding: 0 6px;
+  text-overflow: ellipsis;
 }
 
 span.refs span.ref {
-  background-color: #aaaaff;
-  border-color: #ccccff #0033cc #0033cc #ccccff;
+  color: #707070;
+  display: inline-block;
+  margin: 0;
+  background-color: #c4c4ff;
+  border: 1px solid #7878ff;
+  border-radius: 3px;
+  height: 18px;
+  padding: 0 6px;
+  text-overflow: ellipsis;
+  background-image: url('ref.png');
+  background-repeat: no-repeat;
+  padding-left: 18px;
 }
 
 span.refs span.tag {
-  background-color: #ffffaa;
-  border-color: #ffffcc #dccd00 #dccd00 #ffffcc;
+  color: #707070;
+  display: inline-block;
+  margin: 0;
+  background-color: #ffffab;
+  border: 1px solid #d9d93b;
+  border-radius: 3px;
+  height: 18px;
+  padding: 0 6px;
+  text-overflow: ellipsis;
+  background-image: url('tag.png');
+  background-repeat: no-repeat;
+  padding-left: 18px;
 }
 
 span.refs span.head {
-  background-color: #aaffaa;
-  border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
+  color: #707070;
+  display: inline-block;
+  margin: 0;
+  background-color: #c4ffc4;
+  border: 1px solid #78ff78;
+  border-radius: 3px;
+  height: 18px;
+  padding: 0 6px;
+  text-overflow: ellipsis;
+  background-image: url('head.png');
+  background-repeat: no-repeat;
+  padding-left: 18px;
 }
 
 span.refs a {
-  color: #000;
+  color: #4e4e4e;
+  font: 11px "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, monospace;
+  line-height: 18px;
 }
 
 /* Diffs
diff --git a/head.png b/head.png
new file mode 100644 (file)
index 0000000..b4482fe
Binary files /dev/null and b/head.png differ
diff --git a/ref.png b/ref.png
new file mode 100644 (file)
index 0000000..53059b1
Binary files /dev/null and b/ref.png differ
diff --git a/tag.png b/tag.png
new file mode 100644 (file)
index 0000000..704ff7e
Binary files /dev/null and b/tag.png differ