summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-11-03 13:05:12 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-11-03 13:05:12 (UTC)
commit601c76eb15a298ac9529f4dded5dd4297b9c3768 (patch) (side-by-side diff)
treecb81350b624cb7ef0cdf9cdd23804cc674b8b5d5 /cgit.css
parente36365c6841703e569fcaf20bfc415ee0489c76f (diff)
downloadcgit-601c76eb15a298ac9529f4dded5dd4297b9c3768.zip
cgit-601c76eb15a298ac9529f4dded5dd4297b9c3768.tar.gz
cgit-601c76eb15a298ac9529f4dded5dd4297b9c3768.tar.bz2
Do not require javascript-enabled clients
A simple submit-button is all that's required to make the branch selector drop-down work on any client, so lets add one. Noticed-by: Olivier Ramonat <olivier@ramonat.fr> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 1e768b8..1b2e9d6 100644
--- a/cgit.css
+++ b/cgit.css
@@ -41,192 +41,204 @@ a {
}
a:hover {
background-color: #ddd;
text-decoration: none;
}
table.list {
border: none;
border-collapse: collapse;
}
table.list tr {
background: white;
}
table.list tr:hover {
background: #f8f8f8;
}
table.list tr.nohover:hover {
background: white;
}
table.list th {
font-weight: bold;
border-bottom: solid 1px #777;
padding: 0.1em 0.5em 0.1em 0.5em;
vertical-align: baseline;
}
table.list td {
border: none;
padding: 0.1em 0.5em 0.1em 0.5em;
}
img {
border: none;
}
div#sidebar {
vertical-align: top;
width: 162px;
padding: 0px 0px 0px 0px;
margin: 4px;
float: left;
}
div#logo {
margin: 0px;
padding: 4px 0px 4px 0px;
text-align: center;
background-color: #ccc;
border-top: solid 1px #eee;
border-left: solid 1px #eee;
border-right: solid 1px #aaa;
border-bottom: solid 1px #aaa;
}
div#sidebar div.infobox {
margin: 0px 0px 0px 0px;
padding: 0.5em;
text-align: left;
background-color: #ccc;
border-top: solid 1px #eee;
border-left: solid 1px #eee;
border-right: solid 1px #aaa;
border-bottom: solid 1px #aaa;
}
div#sidebar div.infobox h1 {
font-size: 11pt;
font-weight: bold;
margin: 0px;
}
div#sidebar div.infobox a.menu {
display: block;
background-color: #ccc;
padding: 0.1em 0.5em;
text-decoration: none;
}
div#sidebar div.infobox a.menu:hover {
background-color: #bbb;
text-decoration: none;
}
div#sidebar div.infobox select {
width: 100%;
border: solid 1px #aaa;
background-color: #bbb;
margin: 2px 0px 0px 0px;
padding: 0px;
}
+td#branch-dropdown-cell {
+ width: 99%;
+}
+
+input#switch-btn {
+ width: 20px;
+ border: solid 1px #aaa;
+ background-color: #bbb;
+ margin: 2px 0px 0px 0px;
+ padding: 0px;
+}
+
div#sidebar div.infobox input.txt {
width: 100%;
border: solid 1px #aaa;
background-color: #bbb;
margin: 2px 0px 0px 0px;
padding: 0;
}
table#grid {
margin: 0px;
}
td#content {
vertical-align: top;
padding: 1em 2em 1em 1em;
border: none;
}
div#summary {
vertical-align: top;
margin-bottom: 1em;
}
table#downloads {
float: right;
border-collapse: collapse;
border: solid 1px #777;
margin-left: 0.5em;
margin-bottom: 0.5em;
}
table#downloads th {
background-color: #ccc;
}
div#blob {
border: solid 1px black;
}
div.error {
color: red;
font-weight: bold;
margin: 1em 2em;
}
a.ls-blob, a.ls-dir, a.ls-mod {
font-family: monospace;
}
td.ls-size {
text-align: right;
}
td.ls-size {
font-family: monospace;
}
td.ls-mode {
font-family: monospace;
}
table.blob {
margin-top: 0.5em;
border-top: solid 1px black;
}
table.blob td.no {
border-right: solid 1px black;
color: black;
background-color: #eee;
text-align: right;
}
table.blob td.no a {
color: black;
}
table.blob td.no a:hover {
color: black;
text-decoration: none;
}
table.blob td.txt {
white-space: pre;
font-family: monospace;
padding-left: 0.5em;
}
table.nowrap td {
white-space: nowrap;
}
table.commit-info {
border-collapse: collapse;
margin-top: 1.5em;
}