X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/ab21082c21867e035cd925a06d6d55fb3143d883..cb92d05b6b729cd0e219b43d7a79aff832a9c1ac:/cgit.css diff --git a/cgit.css b/cgit.css index f1003b4..e3b32e7 100644 --- a/cgit.css +++ b/cgit.css @@ -1,51 +1,117 @@ -body, table { +body, table, form { padding: 0em; margin: 0em; } body { - font-family: sans; + font-family: sans-serif; font-size: 10pt; color: #333; background: white; - padding-left: 4px; + padding: 4px; +} + +a { + color: blue; + text-decoration: none; +} + +a:hover { + text-decoration: underline; } table { border-collapse: collapse; } -h2 { - font-size: 120%; - font-weight: bold; - margin-top: 0em; - margin-bottom: 0.25em; +table#header { + width: 100%; + margin-bottom: 1em; } -h3 { - margin-top: 0em; - font-size: 100%; - font-weight: normal; +table#header td.logo { + width: 96px; } -h4 { - margin-top: 1.5em; - margin-bottom: 0.1em; - font-size: 100%; - font-weight: bold; +table#header td.main { + font-size: 250%; + padding-left: 10px; + white-space: nowrap; } -a { - color: #600; - text-decoration: none; +table#header td.main a { + color: #000; } -a:hover { - background-color: #ddd; - text-decoration: none; +table#header td.form { + text-align: right; + vertical-align: bottom; + padding-right: 1em; + padding-bottom: 2px; + white-space: nowrap; +} + +table#header td.form form, +table#header td.form input, +table#header td.form select { + font-size: 90%; +} + +table#header td.sub { + color: #777; + border-top: solid 1px #ccc; + padding-left: 10px; +} + +table.tabs { + /* border-bottom: solid 2px #ccc; */ + border-collapse: collapse; + margin-top: 2em; + margin-bottom: 0px; + width: 100%; +} + +table.tabs td { + padding: 0px 1em; + vertical-align: bottom; +} + +table.tabs td a { + padding: 2px 0.75em; + color: #777; + font-size: 110%; +} + +table.tabs td a.active { + color: #000; + background-color: #ccc; +} + +table.tabs td.form { + text-align: right; +} + +table.tabs td.form form { + padding-bottom: 2px; + font-size: 90%; + white-space: nowrap; +} + +table.tabs td.form input, +table.tabs td.form select { + font-size: 90%; +} + +div.content { + margin: 0px; + padding: 2em; + border-top: solid 3px #ccc; + border-bottom: solid 3px #ccc; } + table.list { + width: 100%; border: none; border-collapse: collapse; } @@ -54,8 +120,12 @@ table.list tr { background: white; } +table.list tr.logheader { + background: #eee; +} + table.list tr:hover { - background: #f8f8f8; + background: #eee; } table.list tr.nohover:hover { @@ -64,8 +134,11 @@ table.list tr.nohover:hover { table.list th { font-weight: bold; - border-bottom: solid 1px #777; - padding: 0.1em 0.5em 0.1em 0.5em; + /* color: #888; + border-top: dashed 1px #888; + border-bottom: dashed 1px #888; + */ + padding: 0.1em 0.5em 0.05em 0.5em; vertical-align: baseline; } @@ -74,73 +147,34 @@ table.list td { 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: 10pt; +table.list td.logsubject { + font-family: monospace; font-weight: bold; - margin: 0px; } -div#sidebar div.infobox a.menu { - display: block; - background-color: #ccc; - padding: 0.1em 0.5em; - text-decoration: none; +table.list td.logmsg { + font-family: monospace; + white-space: pre; + padding: 1em 0.5em 2em 0.5em; } -div#sidebar div.infobox a.menu:hover { - background-color: #bbb; - text-decoration: none; +table.list td a { + color: black; } -div#sidebar div.infobox select { - width: 100%; - margin: 2px 0px 0px 0px; +table.list td a:hover { + color: #00f; } -td#branch-dropdown-cell { - width: 99%; +img { + border: none; } input#switch-btn { - width: 20px; margin: 2px 0px 0px 0px; } -div#sidebar div.infobox input.txt { +td#sidebar input.txt { width: 100%; margin: 2px 0px 0px 0px; } @@ -188,14 +222,13 @@ a.ls-blob, a.ls-dir, a.ls-mod { td.ls-size { text-align: right; -} - -td.ls-size { font-family: monospace; + width: 10em; } td.ls-mode { font-family: monospace; + width: 10em; } table.blob { @@ -203,26 +236,50 @@ table.blob { border-top: solid 1px black; } -table.blob td.no { - border-right: solid 1px black; +table.blob td.lines { + margin: 0; padding: 0; + vertical-align: top; color: black; +} + +table.blob td.linenumbers { + margin: 0; padding: 0; + vertical-align: top; + border-right: 1px solid gray; background-color: #eee; +} + +table.blob pre { + padding: 0; margin: 0; +} + +table.blob a.no { + color: gray; text-align: right; + text-decoration: none; } -table.blob td.no a { +table.blob a.no a:hover { color: black; } -table.blob td.no a:hover { - color: black; - text-decoration: none; +table.bin-blob { + margin-top: 0.5em; + border: solid 1px black; } -table.blob td.txt { +table.bin-blob th { + font-family: monospace; white-space: pre; + border: solid 1px #777; + padding: 0.5em 1em; +} + +table.bin-blob td { font-family: monospace; - padding-left: 0.5em; + white-space: pre; + border-left: solid 1px #777; + padding: 0em 1em; } table.nowrap td { @@ -344,7 +401,7 @@ table.diff td { table.diff td div.head { font-weight: bold; margin-top: 1em; - background-color: #eee; + color: black; } table.diff td div.hunk { @@ -379,17 +436,7 @@ table.list td.repogroup { a.button { font-size: 80%; - color: #aaa; - background-color: #eee; - border: solid 1px #aaa; padding: 0em 0.5em; - margin: 0.1em 0.25em; -} - -a.button:hover { - text-decoration: none; - color: #333; - background-color: #ccc; } a.primary { @@ -408,6 +455,16 @@ table.list td.sublevel-repo { padding-left: 1.5em; } +div.pager { + text-align: center; + margin: 1em 0em 0em 0em; +} + +div.pager a { + color: #777; + margin: 0em 0.5em; +} + span.age-mins { font-weight: bold; color: #080; @@ -432,3 +489,115 @@ span.age-months { span.age-years { color: #bbb; } +div.footer { + margin-top: 0.5em; + text-align: center; + font-size: 80%; + color: #ccc; +} +a.branch-deco { + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: #88ff88; + border: solid 1px #007700; +} +a.tag-deco { + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: #ffff88; + border: solid 1px #777700; +} +a.remote-deco { + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: #ccccff; + border: solid 1px #000077; +} +a.deco { + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: #ff8888; + border: solid 1px #770000; +} + +div.commit-subject a { + margin-left: 1em; + font-size: 75%; +} + +table.stats { + border: solid 1px black; + border-collapse: collapse; +} + +table.stats th { + text-align: left; + padding: 1px 0.5em; + background-color: #eee; + border: solid 1px black; +} + +table.stats td { + text-align: right; + padding: 1px 0.5em; + border: solid 1px black; +} + +table.stats td.total { + font-weight: bold; + text-align: left; +} + +table.stats td.sum { + color: #c00; + font-weight: bold; +/* background-color: #eee; */ +} + +table.stats td.left { + text-align: left; +} + +table.vgraph { + border-collapse: separate; + border: solid 1px black; + height: 200px; +} + +table.vgraph th { + background-color: #eee; + font-weight: bold; + border: solid 1px white; + padding: 1px 0.5em; +} + +table.vgraph td { + vertical-align: bottom; + padding: 0px 10px; +} + +table.vgraph div.bar { + background-color: #eee; +} + +table.hgraph { + border: solid 1px black; + width: 800px; +} + +table.hgraph th { + background-color: #eee; + font-weight: bold; + border: solid 1px black; + padding: 1px 0.5em; +} + +table.hgraph td { + vertical-align: center; + padding: 2px 2px; +} + +table.hgraph div.bar { + background-color: #eee; + height: 1em; +}