summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Lerch <rlerch@redhat.com>2011-11-07 12:24:32 +1000
committerRyan Lerch <rlerch@redhat.com>2011-11-10 09:23:06 +1000
commit8c4162ae104db04d6ba864abe7fa5ff5e9b3eb67 (patch)
tree6f26fae341061193dd4057850e9911f2c6ea1bb7
parent4397e52cda369eae915fc76d9c24378e82163e79 (diff)
downloadkoji-theme-fedora-8c4162ae104db04d6ba864abe7fa5ff5e9b3eb67.tar.gz
koji-theme-fedora-8c4162ae104db04d6ba864abe7fa5ff5e9b3eb67.tar.xz
koji-theme-fedora-8c4162ae104db04d6ba864abe7fa5ff5e9b3eb67.zip
Created new koji theme for the fedora buildsystem.
This new theme is based off the work done by mizmo for the new "Fedora Packager" tool
-rw-r--r--www/httpd.conf12
-rw-r--r--www/static/images/arrowcircle.pngbin0 -> 932 bytes
-rw-r--r--www/static/images/clock.pngbin0 -> 907 bytes
-rw-r--r--www/static/images/fedora-koji.pngbin8257 -> 4566 bytes
-rw-r--r--www/static/images/header-bg.pngbin0 -> 251 bytes
-rw-r--r--www/static/images/minus.pngbin0 -> 190 bytes
-rw-r--r--www/static/images/rubbishbin.pngbin0 -> 331 bytes
-rw-r--r--www/static/images/spanner.pngbin0 -> 640 bytes
-rw-r--r--www/static/images/tick.pngbin0 -> 564 bytes
-rw-r--r--www/static/koji.css254
10 files changed, 168 insertions, 98 deletions
diff --git a/www/httpd.conf b/www/httpd.conf
index ad55609..60caeda 100644
--- a/www/httpd.conf
+++ b/www/httpd.conf
@@ -5,6 +5,18 @@ Alias /koji-static/images/powered-by-koji.png "/usr/share/koji-themes/fedora-koj
Alias /koji-static/images/koji.ico "/usr/share/koji-themes/fedora-koji/images/fedora-koji.ico"
Alias /koji-static/koji.css "/usr/share/koji-themes/fedora-koji/koji.css"
Alias /koji-static/errors/unauthorized.html "/usr/share/koji-themes/fedora-koji/errors/unauthorized.html"
+Alias /koji-static/images/header-bg.png "/usr/share/koji-themes/fedora-koji/images/header-bg.png"
+Alias /koji-static/images/complete.png "/usr/share/koji-themes/fedora-koji/images/tick.png"
+Alias /koji-static/images/yes.png "/usr/share/koji-themes/fedora-koji/images/tick.png"
+Alias /koji-static/images/closed.png "/usr/share/koji-themes/fedora-koji/images/tick.png"
+Alias /koji-static/images/ready.png "/usr/share/koji-themes/fedora-koji/images/tick.png"
+Alias /koji-static/images/no.png "/usr/share/koji-themes/fedora-koji/images/minus.png"
+Alias /koji-static/images/failed.png "/usr/share/koji-themes/fedora-koji/images/minus.png"
+Alias /koji-static/images/building.png "/usr/share/koji-themes/fedora-koji/images/spanner.png"
+Alias /koji-static/images/deleted.png "/usr/share/koji-themes/fedora-koji/images/rubbishbin.png"
+Alias /koji-static/images/free.png "/usr/share/koji-themes/fedora-koji/images/clock.png"
+Alias /koji-static/images/waiting.png "/usr/share/koji-themes/fedora-koji/images/clock.png"
+Alias /koji-static/images/open.png "/usr/share/koji-themes/fedora-koji/images/arrowcircle.png"
<Directory "/usr/share/koji-themes/fedora-koji">
Options None
diff --git a/www/static/images/arrowcircle.png b/www/static/images/arrowcircle.png
new file mode 100644
index 0000000..0f2e1f6
--- /dev/null
+++ b/www/static/images/arrowcircle.png
Binary files differ
diff --git a/www/static/images/clock.png b/www/static/images/clock.png
new file mode 100644
index 0000000..3febfb8
--- /dev/null
+++ b/www/static/images/clock.png
Binary files differ
diff --git a/www/static/images/fedora-koji.png b/www/static/images/fedora-koji.png
index 738e3d5..ce80451 100644
--- a/www/static/images/fedora-koji.png
+++ b/www/static/images/fedora-koji.png
Binary files differ
diff --git a/www/static/images/header-bg.png b/www/static/images/header-bg.png
new file mode 100644
index 0000000..f4c540a
--- /dev/null
+++ b/www/static/images/header-bg.png
Binary files differ
diff --git a/www/static/images/minus.png b/www/static/images/minus.png
new file mode 100644
index 0000000..e9fd192
--- /dev/null
+++ b/www/static/images/minus.png
Binary files differ
diff --git a/www/static/images/rubbishbin.png b/www/static/images/rubbishbin.png
new file mode 100644
index 0000000..3dbfc7d
--- /dev/null
+++ b/www/static/images/rubbishbin.png
Binary files differ
diff --git a/www/static/images/spanner.png b/www/static/images/spanner.png
new file mode 100644
index 0000000..de7687f
--- /dev/null
+++ b/www/static/images/spanner.png
Binary files differ
diff --git a/www/static/images/tick.png b/www/static/images/tick.png
new file mode 100644
index 0000000..7bd897d
--- /dev/null
+++ b/www/static/images/tick.png
Binary files differ
diff --git a/www/static/koji.css b/www/static/koji.css
index e6a0fc4..bf8e738 100644
--- a/www/static/koji.css
+++ b/www/static/koji.css
@@ -16,53 +16,86 @@ body {
margin: 0px;
padding: 0px;
font-size: small;
- font-family: "Lucida Grande", "Luxi Sans", "Bitstream Vera Sans", helvetica, verdana, arial, sans-serif;
- color: #333;
- background: #fff url(images/bkgrnd_greydots.png) repeat;
+ font-family: "Liberation Sans","Lucida Grande", "Luxi Sans", "Bitstream Vera Sans", helvetica, verdana, arial, sans-serif;
+ color: #666;
+ background: #fff url(images/header-bg.png) repeat-x;
}
-a {
+a, a:visited, a:hover {
+ color: #0066CC;
text-decoration: none;
}
-a:hover {
- text-decoration: underline;
+h4
+{
+ font-size:19px;
+ margin-bottom:14px;
}
#wrap {
min-width: 750px;
- margin: 0 25px 10px 25px;
+ max-width:1100px;
+ margin-left:auto;
+ margin-right:auto;
padding: 0;
text-align: left;
- background: #fff;
}
#innerwrap {
- margin: 0 15px;
- padding: 8px 0;
+position:relative;
}
#header {
- width: 100%;
- height: 45px;
- clear: left;
+height:87px
}
#headerSearch {
- float: right;
- margin-right: 10px;
- margin-top: 15px;
+ display:inline-block;
+ position:relative;
+ float:right;
+ top: 40px;
}
#headerSearch input,
#headerSearch select {
- font-size: smaller;
+ font-size: 16px;
+}
+
+#headerSearch input[type="submit"]
+{
+ background-color: #aeafb2;
+ border:none;
+ padding-left:10px;
+ padding-right:10px;
+ padding-top: 3px;
+ padding-bottom:3px;
+ box-shadow: 0 15px 10px -4px rgba(255, 255, 255, 0.7) inset;
+ -webkit-box-shadow: 0 15px 10px -4px rgba(255, 255, 255, 0.7) inset;
+ -moz-box-shadow: 0 15px 10px -4px rgba(255, 255, 255, 0.7) inset;
+ text-shadow: 0 1px 1px white;
+ text-transform:uppercase;
+ -webkit-border-radius: 2px;
+ -moz-border-radius: 2px;
+ border-radius: 2px;
+}
+#headerSearch input[type="text"]
+{
+ -webkit-border-radius: 2px;
+ -moz-border-radius: 2px;
+ border-radius: 2px;
+ border: 1px solid white;
+ border-radius: 2px 2px 2px 2px;
+ box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) inset;
+ -webkit-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) inset;
+ -moz-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) inset;
+ padding: 3px;
}
#kojiLogo {
/* Used only for the koji logo icon */
- float: left;
- height: 40px;
+ display:inline-block;
+padding-top:8px;
+
}
#PoweredByKojiLogo {
@@ -75,6 +108,7 @@ a:hover {
div#content {
margin: 0 20px;
+ margin-top:30px;
clear: both;
}
@@ -100,11 +134,9 @@ p#footer a {
}
#mainNav {
- width: 100%;
- background-color: #009;
- font-weight: bold;
- font-family: verdana, helvetica, arial, sans-serif;
- height: 2.1em;
+ font-size:16px;
+ font-weight:bold;
+ height: 30px;
}
#mainNav ul {
@@ -114,28 +146,28 @@ p#footer a {
}
#mainNav ul li {
- background-color: #006;
- color: #fff;
- display: block;
+
float: left;
- padding: 0px;
- margin: 0px;
- border-style: solid;
- border-width: 2px;
- border-color: #009;
+
}
#mainNav ul li a {
display: block;
- color: #fff;
+ color: rgba(255,255,255,0.8);
text-decoration: none;
- padding: 0.4em 1.5em;
+ padding: 0.5em 1.5em;
font-size: 0.77em;
height: 1.5em;
}
#mainNav ul li:hover {
- border-color: #ddd;
+ -webkit-border-top-left-radius: 5px;
+-webkit-border-top-right-radius: 5px;
+-moz-border-radius-topleft: 5px;
+-moz-border-radius-topright: 5px;
+border-top-left-radius: 5px;
+border-top-right-radius: 5px;
+background-color:rgba(255,255,255,0.1);
}
body#summary #mainNav li#summaryTab a,
@@ -148,19 +180,14 @@ body#hosts #mainNav li#hostsTab a,
body#buildtargets #mainNav li#buildtargetsTab a,
body#reports #mainNav li#reportsTab a,
body#search #mainNav li#searchTab a {
- background-color: #eee;
- color: #000;
-}
-
-h4 {
- color: #fff;
- background-color: #006;
- padding: 0.3em;
- margin: 0px;
-}
-
-h4 a {
- color: #fff;
+ background-color: #fff;
+ color: #444;
+ -webkit-border-top-left-radius: 5px;
+-webkit-border-top-right-radius: 5px;
+-moz-border-radius-topleft: 5px;
+-moz-border-radius-topright: 5px;
+border-top-left-radius: 5px;
+border-top-right-radius: 5px;
}
table {
@@ -170,24 +197,34 @@ table {
th {
font-weight: bold;
vertical-align: text-top;
+ min-width: 100px;
+ text-align:right;
+}
+
+td
+{
+ padding-left:15px;
}
th, td {
- padding: 5px;
+ line-height:24px;
}
td.building {
color: #cc0;
+ width:45px;
}
td.complete {
color: #0c0;
+ width:45px;
}
td.deleted,
td.failed,
td.canceled {
color: #c00;
+ width:45px;
}
td.false {
@@ -220,12 +257,15 @@ form.pageJump select {
div.dataHeader {
font-weight: bold;
+ font-size:17px;
+ line-height:28px;
+ padding-bottom:4px;
}
div.pageHeader {
margin-bottom: 10px;
font-weight: bold;
- font-size: 1.5em;
+ font-size: 19px;
}
table.nested {
@@ -233,7 +273,7 @@ table.nested {
}
td.container {
- padding: 4px 0px;
+ /*padding: 4px 0px;*/
width: 100%;
}
@@ -247,12 +287,12 @@ div.toggle {
}
td.tree {
- background-color: #fff;
+
}
.tree span.root {
font-weight: bold;
- background-color: #fff;
+
}
.tree ul {
@@ -285,7 +325,7 @@ td.tree {
top: 0.6em;
margin-left: 1.2em;
padding-left: 0.2em;
- background-color: #fff;
+
font-size: 0.83em;
}
@@ -329,6 +369,7 @@ table.data-list {
table.data-list td {
vertical-align: text-top;
+ padding-left:3px;
}
tr.list-header {
@@ -336,75 +377,79 @@ tr.list-header {
}
tr.list-header th {
- background-color: #ddd;
+ background-color: #eee;
+ box-shadow: 0 -1px 0 #ddd, 0 1px 0 #ddd;
+ text-align:left;
+ padding-left:4px;
}
-tr.list-header th:first-child {
- -moz-border-radius-topleft: 1em;
- -webkit-border-top-left-radius: 1em;
+tr.list-header th {
+min-width:1px;
}
-tr.list-header th:last-child {
- -moz-border-radius-topright: 1em;
- -webkit-border-top-right-radius: 1em;
+table.nested th
+{
+ min-width:1px;
}
-tr.row-odd {
- background-color: #fff;
+tr.row-even,
+tr.row-odd
+{
+ box-shadow: 0 1px 0 #ddd;
}
-tr.row-odd td {
- border-bottom: 1px solid #eee;
+tr.row-even td,
+tr.row-odd td
+{
+padding-left:4px;
}
-tr.row-even {
- background-color: #eee;
+tr.row-odd td:first-child,
+tr.row-even td:first-child
+ {
+ box-shadow: -1px 0 0 #ddd;
}
-tr.row-even td {
- border-bottom: 1px solid #fff;
+tr.row-odd td:last-child,
+tr.row-even td:last-child {
+ box-shadow: 1px 0 0 #ddd;
}
-tr.row-odd td:first-child,
-tr.row-even td:first-child {
- border-left: 1px solid #eee;
+tr.list-header th:first-child
+{
+ box-shadow: -1px 0 0 #ddd,0 -1px 0 #ddd, 0 1px 0 #ddd;
}
-tr.row-odd td:last-child,
-tr.row-even td:last-child {
- border-right: 1px solid #eee;
+tr.list-header th:last-child
+{
+ box-shadow: 1px 0 0 #ddd,0 -1px 0 #ddd, 0 1px 0 #ddd;
}
tr.row-even td.tree {
- background-color: #eee;
+
}
tr.row-even td.tree span.treeLabel {
- background-color: #eee;
-}
-.taskfree {
- color: #30c;
}
-.taskopen {
- color: #f60;
+.taskfree, .taskfree:visited, .taskfree:hover {
+ color: #3300CC;
}
-
-.taskclosed {
- color: #0c0;
+.taskopen, .taskopen:visited, .taskopen:hover {
+ color: #FF6600;
}
-
-.taskcanceled {
- color: #c90;
+.taskclosed, .taskclosed:visited, .taskclosed:hover {
+ color: #00CC00;
}
-
-.taskassigned {
- color: #c0f;
+.taskcanceled, .taskcanceled:visited, .taskcanceled:hover {
+ color: #CC9900;
}
-
-.taskfailed {
- color: #c00;
+.taskassigned, .taskassigned:visited, .taskassigned:hover {
+ color: #CC00FF;
+}
+.taskfailed, .taskfailed:visited, .taskfailed:hover {
+ color: #CC0000;
}
a.help {
@@ -431,9 +476,21 @@ abbr {
}
span#loginInfo {
- float: right;
+ background-color: #ccc;
font-weight: bold;
- margin: 5px;
+ padding: 3px 15px;
+ position: absolute;
+ right: 0;
+ top: 0;
+ -webkit-border-bottom-left-radius: 3px;
+ -webkit-border-bottom-right-radius: 3px;
+ -moz-border-radius-bottomleft: 3px;
+ -moz-border-radius-bottomright: 3px;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+ box-shadow: 0 10px 10px rgba(255, 255, 255, 0.5) inset, 0 1px 3px rgba(0, 0, 0, 0.5);
+ -mox-box-shadow: 0 10px 10px rgba(255, 255, 255, 0.5) inset, 0 1px 3px rgba(0, 0, 0, 0.5);
+ -webkit-box-shadow: 0 10px 10px rgba(255, 255, 255, 0.5) inset, 0 1px 3px rgba(0, 0, 0, 0.5);
}
.smaller {
@@ -441,11 +498,12 @@ span#loginInfo {
}
.rpmheader {
- font-family: monospace;
+ /*font-family: monospace;
font-size: medium;
- white-space: pre;
+ white-space: pre;*/
}
.error {
color: red;
}
+