author | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 09:35:57 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 10:56:06 (UTC) |
commit | a2cbd3c30b64a26b52b2003ba6569f3c083f4092 (patch) (unidiff) | |
tree | 235183b969b48eecf11d66cf34b2a9bccc73deb7 /cgit.css | |
parent | afc40725c1bd5a25446a704995ce3a02270537df (diff) | |
download | cgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.zip cgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.tar.gz cgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.tar.bz2 |
ui-shared.c: path-limit style nitpick
This subjectively makes the path-limit bar less visually intrusive.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,212 +1,210 @@ | |||
1 | body, table, form { | 1 | body, table, form { |
2 | padding: 0em; | 2 | padding: 0em; |
3 | margin: 0em; | 3 | margin: 0em; |
4 | } | 4 | } |
5 | 5 | ||
6 | body { | 6 | body { |
7 | font-family: sans-serif; | 7 | font-family: sans-serif; |
8 | font-size: 10pt; | 8 | font-size: 10pt; |
9 | color: #333; | 9 | color: #333; |
10 | background: white; | 10 | background: white; |
11 | padding: 4px; | 11 | padding: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | a { | 14 | a { |
15 | color: blue; | 15 | color: blue; |
16 | text-decoration: none; | 16 | text-decoration: none; |
17 | } | 17 | } |
18 | 18 | ||
19 | a:hover { | 19 | a:hover { |
20 | text-decoration: underline; | 20 | text-decoration: underline; |
21 | } | 21 | } |
22 | 22 | ||
23 | table { | 23 | table { |
24 | border-collapse: collapse; | 24 | border-collapse: collapse; |
25 | } | 25 | } |
26 | 26 | ||
27 | table#header { | 27 | table#header { |
28 | width: 100%; | 28 | width: 100%; |
29 | margin-bottom: 1em; | 29 | margin-bottom: 1em; |
30 | } | 30 | } |
31 | 31 | ||
32 | table#header td.logo { | 32 | table#header td.logo { |
33 | width: 96px; | 33 | width: 96px; |
34 | } | 34 | } |
35 | 35 | ||
36 | table#header td.main { | 36 | table#header td.main { |
37 | font-size: 250%; | 37 | font-size: 250%; |
38 | padding-left: 10px; | 38 | padding-left: 10px; |
39 | white-space: nowrap; | 39 | white-space: nowrap; |
40 | } | 40 | } |
41 | 41 | ||
42 | table#header td.main a { | 42 | table#header td.main a { |
43 | color: #000; | 43 | color: #000; |
44 | } | 44 | } |
45 | 45 | ||
46 | table#header td.form { | 46 | table#header td.form { |
47 | text-align: right; | 47 | text-align: right; |
48 | vertical-align: bottom; | 48 | vertical-align: bottom; |
49 | padding-right: 1em; | 49 | padding-right: 1em; |
50 | padding-bottom: 2px; | 50 | padding-bottom: 2px; |
51 | white-space: nowrap; | 51 | white-space: nowrap; |
52 | } | 52 | } |
53 | 53 | ||
54 | table#header td.form form, | 54 | table#header td.form form, |
55 | table#header td.form input, | 55 | table#header td.form input, |
56 | table#header td.form select { | 56 | table#header td.form select { |
57 | font-size: 90%; | 57 | font-size: 90%; |
58 | } | 58 | } |
59 | 59 | ||
60 | table#header td.sub { | 60 | table#header td.sub { |
61 | color: #777; | 61 | color: #777; |
62 | border-top: solid 1px #ccc; | 62 | border-top: solid 1px #ccc; |
63 | padding-left: 10px; | 63 | padding-left: 10px; |
64 | } | 64 | } |
65 | 65 | ||
66 | table.tabs { | 66 | table.tabs { |
67 | /* border-bottom: solid 2px #ccc; */ | 67 | border-bottom: solid 3px #ccc; |
68 | border-collapse: collapse; | 68 | border-collapse: collapse; |
69 | margin-top: 2em; | 69 | margin-top: 2em; |
70 | margin-bottom: 0px; | 70 | margin-bottom: 0px; |
71 | width: 100%; | 71 | width: 100%; |
72 | } | 72 | } |
73 | 73 | ||
74 | table.tabs td { | 74 | table.tabs td { |
75 | padding: 0px 1em; | 75 | padding: 0px 1em; |
76 | vertical-align: bottom; | 76 | vertical-align: bottom; |
77 | } | 77 | } |
78 | 78 | ||
79 | table.tabs td a { | 79 | table.tabs td a { |
80 | padding: 2px 0.75em; | 80 | padding: 2px 0.75em; |
81 | color: #777; | 81 | color: #777; |
82 | font-size: 110%; | 82 | font-size: 110%; |
83 | } | 83 | } |
84 | 84 | ||
85 | table.tabs td a.active { | 85 | table.tabs td a.active { |
86 | color: #000; | 86 | color: #000; |
87 | background-color: #ccc; | 87 | background-color: #ccc; |
88 | } | 88 | } |
89 | 89 | ||
90 | table.tabs td.form { | 90 | table.tabs td.form { |
91 | text-align: right; | 91 | text-align: right; |
92 | } | 92 | } |
93 | 93 | ||
94 | table.tabs td.form form { | 94 | table.tabs td.form form { |
95 | padding-bottom: 2px; | 95 | padding-bottom: 2px; |
96 | font-size: 90%; | 96 | font-size: 90%; |
97 | white-space: nowrap; | 97 | white-space: nowrap; |
98 | } | 98 | } |
99 | 99 | ||
100 | table.tabs td.form input, | 100 | table.tabs td.form input, |
101 | table.tabs td.form select { | 101 | table.tabs td.form select { |
102 | font-size: 90%; | 102 | font-size: 90%; |
103 | } | 103 | } |
104 | 104 | ||
105 | div.path { | 105 | div.path { |
106 | margin: 0px; | 106 | margin: 0px; |
107 | padding: 5px 2em 2px 2em; | 107 | padding: 5px 2em 2px 2em; |
108 | color: #000; | 108 | color: #000; |
109 | background-color: #ccc; | 109 | background-color: #eee; |
110 | font-weight: bold; | ||
111 | } | 110 | } |
112 | 111 | ||
113 | div.content { | 112 | div.content { |
114 | margin: 0px; | 113 | margin: 0px; |
115 | padding: 2em; | 114 | padding: 2em; |
116 | border-top: solid 3px #ccc; | ||
117 | border-bottom: solid 3px #ccc; | 115 | border-bottom: solid 3px #ccc; |
118 | } | 116 | } |
119 | 117 | ||
120 | 118 | ||
121 | table.list { | 119 | table.list { |
122 | width: 100%; | 120 | width: 100%; |
123 | border: none; | 121 | border: none; |
124 | border-collapse: collapse; | 122 | border-collapse: collapse; |
125 | } | 123 | } |
126 | 124 | ||
127 | table.list tr { | 125 | table.list tr { |
128 | background: white; | 126 | background: white; |
129 | } | 127 | } |
130 | 128 | ||
131 | table.list tr.logheader { | 129 | table.list tr.logheader { |
132 | background: #eee; | 130 | background: #eee; |
133 | } | 131 | } |
134 | 132 | ||
135 | table.list tr:hover { | 133 | table.list tr:hover { |
136 | background: #eee; | 134 | background: #eee; |
137 | } | 135 | } |
138 | 136 | ||
139 | table.list tr.nohover:hover { | 137 | table.list tr.nohover:hover { |
140 | background: white; | 138 | background: white; |
141 | } | 139 | } |
142 | 140 | ||
143 | table.list th { | 141 | table.list th { |
144 | font-weight: bold; | 142 | font-weight: bold; |
145 | /* color: #888; | 143 | /* color: #888; |
146 | border-top: dashed 1px #888; | 144 | border-top: dashed 1px #888; |
147 | border-bottom: dashed 1px #888; | 145 | border-bottom: dashed 1px #888; |
148 | */ | 146 | */ |
149 | padding: 0.1em 0.5em 0.05em 0.5em; | 147 | padding: 0.1em 0.5em 0.05em 0.5em; |
150 | vertical-align: baseline; | 148 | vertical-align: baseline; |
151 | } | 149 | } |
152 | 150 | ||
153 | table.list td { | 151 | table.list td { |
154 | border: none; | 152 | border: none; |
155 | padding: 0.1em 0.5em 0.1em 0.5em; | 153 | padding: 0.1em 0.5em 0.1em 0.5em; |
156 | } | 154 | } |
157 | 155 | ||
158 | table.list td.logsubject { | 156 | table.list td.logsubject { |
159 | font-family: monospace; | 157 | font-family: monospace; |
160 | font-weight: bold; | 158 | font-weight: bold; |
161 | } | 159 | } |
162 | 160 | ||
163 | table.list td.logmsg { | 161 | table.list td.logmsg { |
164 | font-family: monospace; | 162 | font-family: monospace; |
165 | white-space: pre; | 163 | white-space: pre; |
166 | padding: 1em 0.5em 2em 0.5em; | 164 | padding: 1em 0.5em 2em 0.5em; |
167 | } | 165 | } |
168 | 166 | ||
169 | table.list td a { | 167 | table.list td a { |
170 | color: black; | 168 | color: black; |
171 | } | 169 | } |
172 | 170 | ||
173 | table.list td a.ls-dir { | 171 | table.list td a.ls-dir { |
174 | font-weight: bold; | 172 | font-weight: bold; |
175 | color: #00f; | 173 | color: #00f; |
176 | } | 174 | } |
177 | 175 | ||
178 | table.list td a:hover { | 176 | table.list td a:hover { |
179 | color: #00f; | 177 | color: #00f; |
180 | } | 178 | } |
181 | 179 | ||
182 | img { | 180 | img { |
183 | border: none; | 181 | border: none; |
184 | } | 182 | } |
185 | 183 | ||
186 | input#switch-btn { | 184 | input#switch-btn { |
187 | margin: 2px 0px 0px 0px; | 185 | margin: 2px 0px 0px 0px; |
188 | } | 186 | } |
189 | 187 | ||
190 | td#sidebar input.txt { | 188 | td#sidebar input.txt { |
191 | width: 100%; | 189 | width: 100%; |
192 | margin: 2px 0px 0px 0px; | 190 | margin: 2px 0px 0px 0px; |
193 | } | 191 | } |
194 | 192 | ||
195 | table#grid { | 193 | table#grid { |
196 | margin: 0px; | 194 | margin: 0px; |
197 | } | 195 | } |
198 | 196 | ||
199 | td#content { | 197 | td#content { |
200 | vertical-align: top; | 198 | vertical-align: top; |
201 | padding: 1em 2em 1em 1em; | 199 | padding: 1em 2em 1em 1em; |
202 | border: none; | 200 | border: none; |
203 | } | 201 | } |
204 | 202 | ||
205 | div#summary { | 203 | div#summary { |
206 | vertical-align: top; | 204 | vertical-align: top; |
207 | margin-bottom: 1em; | 205 | margin-bottom: 1em; |
208 | } | 206 | } |
209 | 207 | ||
210 | table#downloads { | 208 | table#downloads { |
211 | float: right; | 209 | float: right; |
212 | border-collapse: collapse; | 210 | border-collapse: collapse; |