Show More
@@ -1,514 +1,524 b'' | |||||
1 |
|
1 | |||
2 | // tables.less |
|
2 | // tables.less | |
3 | // For use in RhodeCode application tables; |
|
3 | // For use in RhodeCode application tables; | |
4 | // see style guide documentation for guidelines. |
|
4 | // see style guide documentation for guidelines. | |
5 |
|
5 | |||
6 | // TABLES |
|
6 | // TABLES | |
7 |
|
7 | |||
8 | .rctable, |
|
8 | .rctable, | |
9 | table.rctable, |
|
9 | table.rctable, | |
10 | table.dataTable { |
|
10 | table.dataTable { | |
11 | clear:both; |
|
11 | clear:both; | |
12 | width: 100%; |
|
12 | width: 100%; | |
13 | margin: 0 auto @padding; |
|
13 | margin: 0 auto @padding; | |
14 | padding: 0; |
|
14 | padding: 0; | |
15 | vertical-align: baseline; |
|
15 | vertical-align: baseline; | |
16 | line-height:1.5em; |
|
16 | line-height:1.5em; | |
17 | border: none; |
|
17 | border: none; | |
18 | outline: none; |
|
18 | outline: none; | |
19 | border-collapse: collapse; |
|
19 | border-collapse: collapse; | |
20 | border-spacing: 0; |
|
20 | border-spacing: 0; | |
21 | color: @grey2; |
|
21 | color: @grey2; | |
22 |
|
22 | |||
23 | b { |
|
23 | b { | |
24 | font-weight: normal; |
|
24 | font-weight: normal; | |
25 | } |
|
25 | } | |
26 |
|
26 | |||
27 | em { |
|
27 | em { | |
28 | font-weight: bold; |
|
28 | font-weight: bold; | |
29 | font-style: normal; |
|
29 | font-style: normal; | |
30 | } |
|
30 | } | |
31 |
|
31 | |||
|
32 | .td-user { | |||
|
33 | .rc-user { | |||
|
34 | white-space: nowrap; | |||
|
35 | } | |||
|
36 | } | |||
|
37 | ||||
|
38 | .td-email { | |||
|
39 | white-space: nowrap; | |||
|
40 | } | |||
|
41 | ||||
32 | th, |
|
42 | th, | |
33 | td { |
|
43 | td { | |
34 | height: auto; |
|
44 | height: auto; | |
35 | max-width: 20%; |
|
45 | max-width: 20%; | |
36 | padding: .65em 0 .65em 1em; |
|
46 | padding: .65em 0 .65em 1em; | |
37 | vertical-align: middle; |
|
47 | vertical-align: middle; | |
38 | border-bottom: @border-thickness solid @grey5; |
|
48 | border-bottom: @border-thickness solid @grey5; | |
39 | white-space: normal; |
|
49 | white-space: normal; | |
40 |
|
50 | |||
41 | &.td-radio, |
|
51 | &.td-radio, | |
42 | &.td-checkbox { |
|
52 | &.td-checkbox { | |
43 | padding-right: 0; |
|
53 | padding-right: 0; | |
44 | text-align: center; |
|
54 | text-align: center; | |
45 |
|
55 | |||
46 | input { |
|
56 | input { | |
47 | margin: 0 1em; |
|
57 | margin: 0 1em; | |
48 | } |
|
58 | } | |
49 | } |
|
59 | } | |
50 |
|
60 | |||
51 | &.truncate-wrap { |
|
61 | &.truncate-wrap { | |
52 | white-space: nowrap !important; |
|
62 | white-space: nowrap !important; | |
53 | } |
|
63 | } | |
54 |
|
64 | |||
55 | pre { |
|
65 | pre { | |
56 | margin: 0; |
|
66 | margin: 0; | |
57 | } |
|
67 | } | |
58 |
|
68 | |||
59 | .show_more { |
|
69 | .show_more { | |
60 | height: inherit; |
|
70 | height: inherit; | |
61 | } |
|
71 | } | |
62 | } |
|
72 | } | |
63 |
|
73 | |||
64 | .expired td { |
|
74 | .expired td { | |
65 | background-color: @grey7; |
|
75 | background-color: @grey7; | |
66 | } |
|
76 | } | |
67 | .inactive td { |
|
77 | .inactive td { | |
68 | background-color: @grey6; |
|
78 | background-color: @grey6; | |
69 | } |
|
79 | } | |
70 | th { |
|
80 | th { | |
71 | text-align: left; |
|
81 | text-align: left; | |
72 | font-weight: @text-semibold-weight; |
|
82 | font-weight: @text-semibold-weight; | |
73 | font-family: @text-semibold; |
|
83 | font-family: @text-semibold; | |
74 | } |
|
84 | } | |
75 |
|
85 | |||
76 | .hl { |
|
86 | .hl { | |
77 | td { |
|
87 | td { | |
78 | background-color: lighten(@alert4,25%); |
|
88 | background-color: lighten(@alert4,25%); | |
79 | } |
|
89 | } | |
80 | } |
|
90 | } | |
81 |
|
91 | |||
82 | // Special Data Cell Types |
|
92 | // Special Data Cell Types | |
83 | // See style guide for desciptions and examples. |
|
93 | // See style guide for desciptions and examples. | |
84 |
|
94 | |||
85 | td { |
|
95 | td { | |
86 |
|
96 | |||
87 | &.user { |
|
97 | &.user { | |
88 | padding-left: 1em; |
|
98 | padding-left: 1em; | |
89 | } |
|
99 | } | |
90 |
|
100 | |||
91 | &.td-rss { |
|
101 | &.td-rss { | |
92 | width: 20px; |
|
102 | width: 20px; | |
93 | min-width: 0; |
|
103 | min-width: 0; | |
94 | margin: 0; |
|
104 | margin: 0; | |
95 | } |
|
105 | } | |
96 |
|
106 | |||
97 | &.quick_repo_menu { |
|
107 | &.quick_repo_menu { | |
98 | width: 15px; |
|
108 | width: 15px; | |
99 | text-align: center; |
|
109 | text-align: center; | |
100 |
|
110 | |||
101 | &:hover { |
|
111 | &:hover { | |
102 | background-color: @grey5; |
|
112 | background-color: @grey5; | |
103 | } |
|
113 | } | |
104 | } |
|
114 | } | |
105 |
|
115 | |||
106 | &.td-icon { |
|
116 | &.td-icon { | |
107 | min-width: 20px; |
|
117 | min-width: 20px; | |
108 | width: 20px; |
|
118 | width: 20px; | |
109 | } |
|
119 | } | |
110 |
|
120 | |||
111 | &.td-hash { |
|
121 | &.td-hash { | |
112 | min-width: 80px; |
|
122 | min-width: 80px; | |
113 | width: 200px; |
|
123 | width: 200px; | |
114 |
|
124 | |||
115 | .obsolete { |
|
125 | .obsolete { | |
116 | text-decoration: line-through; |
|
126 | text-decoration: line-through; | |
117 | color: lighten(@grey2,25%); |
|
127 | color: lighten(@grey2,25%); | |
118 | } |
|
128 | } | |
119 | } |
|
129 | } | |
120 |
|
130 | |||
121 | &.td-sha { |
|
131 | &.td-sha { | |
122 | white-space: nowrap; |
|
132 | white-space: nowrap; | |
123 | } |
|
133 | } | |
124 |
|
134 | |||
125 | &.td-graphbox { |
|
135 | &.td-graphbox { | |
126 | width: 100px; |
|
136 | width: 100px; | |
127 | max-width: 100px; |
|
137 | max-width: 100px; | |
128 | min-width: 100px; |
|
138 | min-width: 100px; | |
129 | } |
|
139 | } | |
130 |
|
140 | |||
131 | &.td-time { |
|
141 | &.td-time { | |
132 | width: 160px; |
|
142 | width: 160px; | |
133 | white-space: nowrap; |
|
143 | white-space: nowrap; | |
134 | } |
|
144 | } | |
135 |
|
145 | |||
136 | &.annotate{ |
|
146 | &.annotate{ | |
137 | padding-right: 0; |
|
147 | padding-right: 0; | |
138 |
|
148 | |||
139 | div.annotatediv{ |
|
149 | div.annotatediv{ | |
140 | margin: 0 0.7em; |
|
150 | margin: 0 0.7em; | |
141 | } |
|
151 | } | |
142 | } |
|
152 | } | |
143 |
|
153 | |||
144 | &.tags-col { |
|
154 | &.tags-col { | |
145 | padding-right: 0; |
|
155 | padding-right: 0; | |
146 | } |
|
156 | } | |
147 |
|
157 | |||
148 | &.td-description { |
|
158 | &.td-description { | |
149 | min-width: 350px; |
|
159 | min-width: 350px; | |
150 |
|
160 | |||
151 | &.truncate, .truncate-wrap { |
|
161 | &.truncate, .truncate-wrap { | |
152 | white-space: nowrap; |
|
162 | white-space: nowrap; | |
153 | overflow: hidden; |
|
163 | overflow: hidden; | |
154 | text-overflow: ellipsis; |
|
164 | text-overflow: ellipsis; | |
155 | max-width: 350px; |
|
165 | max-width: 350px; | |
156 | } |
|
166 | } | |
157 | } |
|
167 | } | |
158 |
|
168 | |||
159 | &.td-grid-name { |
|
169 | &.td-grid-name { | |
160 | white-space: nowrap; |
|
170 | white-space: nowrap; | |
161 | min-width: 300px; |
|
171 | min-width: 300px; | |
162 | } |
|
172 | } | |
163 |
|
173 | |||
164 | &.td-componentname { |
|
174 | &.td-componentname { | |
165 | white-space: nowrap; |
|
175 | white-space: nowrap; | |
166 | } |
|
176 | } | |
167 |
|
177 | |||
168 | &.td-name { |
|
178 | &.td-name { | |
169 |
|
179 | |||
170 | } |
|
180 | } | |
171 |
|
181 | |||
172 | &.td-journalaction { |
|
182 | &.td-journalaction { | |
173 | min-width: 300px; |
|
183 | min-width: 300px; | |
174 |
|
184 | |||
175 | .journal_action_params { |
|
185 | .journal_action_params { | |
176 | // waiting for feedback |
|
186 | // waiting for feedback | |
177 | } |
|
187 | } | |
178 | } |
|
188 | } | |
179 |
|
189 | |||
180 | &.td-active { |
|
190 | &.td-active { | |
181 | padding-left: .65em; |
|
191 | padding-left: .65em; | |
182 | } |
|
192 | } | |
183 |
|
193 | |||
184 | &.td-url { |
|
194 | &.td-url { | |
185 | white-space: nowrap; |
|
195 | white-space: nowrap; | |
186 | } |
|
196 | } | |
187 |
|
197 | |||
188 | &.td-comments { |
|
198 | &.td-comments { | |
189 | min-width: 3em; |
|
199 | min-width: 3em; | |
190 | } |
|
200 | } | |
191 |
|
201 | |||
192 | &.td-buttons { |
|
202 | &.td-buttons { | |
193 | padding: .3em 0; |
|
203 | padding: .3em 0; | |
194 | } |
|
204 | } | |
195 | &.td-align-top { |
|
205 | &.td-align-top { | |
196 | vertical-align: text-top |
|
206 | vertical-align: text-top | |
197 | } |
|
207 | } | |
198 | &.td-action { |
|
208 | &.td-action { | |
199 | // this is for the remove/delete/edit buttons |
|
209 | // this is for the remove/delete/edit buttons | |
200 | padding-right: 0; |
|
210 | padding-right: 0; | |
201 | min-width: 95px; |
|
211 | min-width: 95px; | |
202 | text-transform: capitalize; |
|
212 | text-transform: capitalize; | |
203 |
|
213 | |||
204 | i { |
|
214 | i { | |
205 | display: none; |
|
215 | display: none; | |
206 | } |
|
216 | } | |
207 | } |
|
217 | } | |
208 |
|
218 | |||
209 | // TODO: lisa: this needs to be cleaned up with the buttons |
|
219 | // TODO: lisa: this needs to be cleaned up with the buttons | |
210 | .grid_edit, |
|
220 | .grid_edit, | |
211 | .grid_delete { |
|
221 | .grid_delete { | |
212 | display: inline-block; |
|
222 | display: inline-block; | |
213 | margin: 0 @padding/3 0 0; |
|
223 | margin: 0 @padding/3 0 0; | |
214 | font-family: @text-light; |
|
224 | font-family: @text-light; | |
215 |
|
225 | |||
216 | i { |
|
226 | i { | |
217 | display: none; |
|
227 | display: none; | |
218 | } |
|
228 | } | |
219 | } |
|
229 | } | |
220 |
|
230 | |||
221 | .grid_edit + .grid_delete { |
|
231 | .grid_edit + .grid_delete { | |
222 | border-left: @border-thickness solid @grey5; |
|
232 | border-left: @border-thickness solid @grey5; | |
223 | padding-left: @padding/2; |
|
233 | padding-left: @padding/2; | |
224 | } |
|
234 | } | |
225 |
|
235 | |||
226 | &.td-compare { |
|
236 | &.td-compare { | |
227 |
|
237 | |||
228 | input { |
|
238 | input { | |
229 | margin-right: 1em; |
|
239 | margin-right: 1em; | |
230 | } |
|
240 | } | |
231 |
|
241 | |||
232 | .compare-radio-button { |
|
242 | .compare-radio-button { | |
233 | margin: 0 1em 0 0; |
|
243 | margin: 0 1em 0 0; | |
234 | } |
|
244 | } | |
235 |
|
245 | |||
236 |
|
246 | |||
237 | } |
|
247 | } | |
238 |
|
248 | |||
239 | &.td-tags { |
|
249 | &.td-tags { | |
240 | padding: .5em 1em .5em 0; |
|
250 | padding: .5em 1em .5em 0; | |
241 | width: 140px; |
|
251 | width: 140px; | |
242 |
|
252 | |||
243 | .tag { |
|
253 | .tag { | |
244 | margin: 1px; |
|
254 | margin: 1px; | |
245 | float: left; |
|
255 | float: left; | |
246 | } |
|
256 | } | |
247 | } |
|
257 | } | |
248 |
|
258 | |||
249 | .icon-svn, .icon-hg, .icon-git { |
|
259 | .icon-svn, .icon-hg, .icon-git { | |
250 | font-size: 1.4em; |
|
260 | font-size: 1.4em; | |
251 | } |
|
261 | } | |
252 |
|
262 | |||
253 | &.collapse_commit, |
|
263 | &.collapse_commit, | |
254 | &.expand_commit { |
|
264 | &.expand_commit { | |
255 | padding-right: 0; |
|
265 | padding-right: 0; | |
256 | padding-left: 1em; |
|
266 | padding-left: 1em; | |
257 | cursor: pointer; |
|
267 | cursor: pointer; | |
258 | width: 20px; |
|
268 | width: 20px; | |
259 | } |
|
269 | } | |
260 | } |
|
270 | } | |
261 |
|
271 | |||
262 | .perm_admin_row { |
|
272 | .perm_admin_row { | |
263 | color: @grey4; |
|
273 | color: @grey4; | |
264 | background-color: @grey6; |
|
274 | background-color: @grey6; | |
265 | } |
|
275 | } | |
266 |
|
276 | |||
267 | .noborder { |
|
277 | .noborder { | |
268 | border: none; |
|
278 | border: none; | |
269 |
|
279 | |||
270 | td { |
|
280 | td { | |
271 | border: none; |
|
281 | border: none; | |
272 | } |
|
282 | } | |
273 | } |
|
283 | } | |
274 | } |
|
284 | } | |
275 | .rctable.audit-log { |
|
285 | .rctable.audit-log { | |
276 | td { |
|
286 | td { | |
277 | vertical-align: top; |
|
287 | vertical-align: top; | |
278 | } |
|
288 | } | |
279 | } |
|
289 | } | |
280 |
|
290 | |||
281 | // TRUNCATING |
|
291 | // TRUNCATING | |
282 | // TODO: lisaq: should this possibly be moved out of tables.less? |
|
292 | // TODO: lisaq: should this possibly be moved out of tables.less? | |
283 | // for truncated text |
|
293 | // for truncated text | |
284 | // used inside of table cells and in code block headers |
|
294 | // used inside of table cells and in code block headers | |
285 | .truncate-wrap { |
|
295 | .truncate-wrap { | |
286 | white-space: nowrap !important; |
|
296 | white-space: nowrap !important; | |
287 |
|
297 | |||
288 | //truncated text |
|
298 | //truncated text | |
289 | .truncate { |
|
299 | .truncate { | |
290 | max-width: 450px; |
|
300 | max-width: 450px; | |
291 | width: 300px; |
|
301 | width: 300px; | |
292 | overflow: hidden; |
|
302 | overflow: hidden; | |
293 | text-overflow: ellipsis; |
|
303 | text-overflow: ellipsis; | |
294 | -o-text-overflow: ellipsis; |
|
304 | -o-text-overflow: ellipsis; | |
295 | -ms-text-overflow: ellipsis; |
|
305 | -ms-text-overflow: ellipsis; | |
296 |
|
306 | |||
297 | &.autoexpand { |
|
307 | &.autoexpand { | |
298 | width: 120px; |
|
308 | width: 120px; | |
299 | margin-right: 200px; |
|
309 | margin-right: 200px; | |
300 | } |
|
310 | } | |
301 | } |
|
311 | } | |
302 | &:hover .truncate.autoexpand { |
|
312 | &:hover .truncate.autoexpand { | |
303 | overflow: visible; |
|
313 | overflow: visible; | |
304 | } |
|
314 | } | |
305 |
|
315 | |||
306 | .tags-truncate { |
|
316 | .tags-truncate { | |
307 | width: 150px; |
|
317 | width: 150px; | |
308 | height: 22px; |
|
318 | height: 22px; | |
309 | overflow: hidden; |
|
319 | overflow: hidden; | |
310 |
|
320 | |||
311 | .tag { |
|
321 | .tag { | |
312 | display: inline-block; |
|
322 | display: inline-block; | |
313 | } |
|
323 | } | |
314 |
|
324 | |||
315 | &.truncate { |
|
325 | &.truncate { | |
316 | height: 22px; |
|
326 | height: 22px; | |
317 | max-height:2em; |
|
327 | max-height:2em; | |
318 | width: 140px; |
|
328 | width: 140px; | |
319 | } |
|
329 | } | |
320 | } |
|
330 | } | |
321 | } |
|
331 | } | |
322 |
|
332 | |||
323 | .apikeys_wrap { |
|
333 | .apikeys_wrap { | |
324 | margin-bottom: @padding; |
|
334 | margin-bottom: @padding; | |
325 |
|
335 | |||
326 | table.rctable td:first-child { |
|
336 | table.rctable td:first-child { | |
327 | width: 340px; |
|
337 | width: 340px; | |
328 | } |
|
338 | } | |
329 | } |
|
339 | } | |
330 |
|
340 | |||
331 |
|
341 | |||
332 |
|
342 | |||
333 | // SPECIAL CASES |
|
343 | // SPECIAL CASES | |
334 |
|
344 | |||
335 | // Repository Followers |
|
345 | // Repository Followers | |
336 | table.rctable.followers_data { |
|
346 | table.rctable.followers_data { | |
337 | width: 75%; |
|
347 | width: 75%; | |
338 | margin: 0; |
|
348 | margin: 0; | |
339 | } |
|
349 | } | |
340 |
|
350 | |||
341 | // Repository List |
|
351 | // Repository List | |
342 | // Group Members List |
|
352 | // Group Members List | |
343 | table.rctable.group_members, |
|
353 | table.rctable.group_members, | |
344 | table#repo_list_table { |
|
354 | table#repo_list_table { | |
345 | min-width: 600px; |
|
355 | min-width: 600px; | |
346 | } |
|
356 | } | |
347 |
|
357 | |||
348 | // Keyboard mappings |
|
358 | // Keyboard mappings | |
349 | table.keyboard-mappings { |
|
359 | table.keyboard-mappings { | |
350 | th { |
|
360 | th { | |
351 | text-align: left; |
|
361 | text-align: left; | |
352 | font-weight: @text-semibold-weight; |
|
362 | font-weight: @text-semibold-weight; | |
353 | font-family: @text-semibold; |
|
363 | font-family: @text-semibold; | |
354 | } |
|
364 | } | |
355 | } |
|
365 | } | |
356 |
|
366 | |||
357 | // Branches, Tags, and Bookmarks |
|
367 | // Branches, Tags, and Bookmarks | |
358 | #obj_list_table.dataTable { |
|
368 | #obj_list_table.dataTable { | |
359 | td.td-time { |
|
369 | td.td-time { | |
360 | padding-right: 1em; |
|
370 | padding-right: 1em; | |
361 | } |
|
371 | } | |
362 | } |
|
372 | } | |
363 |
|
373 | |||
364 | // User Admin |
|
374 | // User Admin | |
365 | .rctable.useremails, |
|
375 | .rctable.useremails, | |
366 | .rctable.account_emails { |
|
376 | .rctable.account_emails { | |
367 | .tag, |
|
377 | .tag, | |
368 | .btn { |
|
378 | .btn { | |
369 | float: right; |
|
379 | float: right; | |
370 | } |
|
380 | } | |
371 | .btn { //to line up with tags |
|
381 | .btn { //to line up with tags | |
372 | margin-right: 1.65em; |
|
382 | margin-right: 1.65em; | |
373 | } |
|
383 | } | |
374 | } |
|
384 | } | |
375 |
|
385 | |||
376 | // User List |
|
386 | // User List | |
377 | #user_list_table { |
|
387 | #user_list_table { | |
378 |
|
388 | |||
379 | td.td-user { |
|
389 | td.td-user { | |
380 | min-width: 100px; |
|
390 | min-width: 100px; | |
381 | } |
|
391 | } | |
382 | } |
|
392 | } | |
383 |
|
393 | |||
384 | // Pull Request List Table |
|
394 | // Pull Request List Table | |
385 | #pull_request_list_table.dataTable { |
|
395 | #pull_request_list_table.dataTable { | |
386 |
|
396 | |||
387 | //TODO: lisa: This needs to be removed once the description is adjusted |
|
397 | //TODO: lisa: This needs to be removed once the description is adjusted | |
388 | // for using an expand_commit button (see issue 765) |
|
398 | // for using an expand_commit button (see issue 765) | |
389 | td { |
|
399 | td { | |
390 | vertical-align: middle; |
|
400 | vertical-align: middle; | |
391 | } |
|
401 | } | |
392 | } |
|
402 | } | |
393 |
|
403 | |||
394 | // Settings (no border) |
|
404 | // Settings (no border) | |
395 | table.rctable.dl-settings { |
|
405 | table.rctable.dl-settings { | |
396 | td { |
|
406 | td { | |
397 | border: none; |
|
407 | border: none; | |
398 | vertical-align: baseline; |
|
408 | vertical-align: baseline; | |
399 | } |
|
409 | } | |
400 | } |
|
410 | } | |
401 |
|
411 | |||
402 |
|
412 | |||
403 | // Statistics |
|
413 | // Statistics | |
404 | table.trending_language_tbl { |
|
414 | table.trending_language_tbl { | |
405 | width: 100%; |
|
415 | width: 100%; | |
406 | line-height: 1em; |
|
416 | line-height: 1em; | |
407 |
|
417 | |||
408 | td div { |
|
418 | td div { | |
409 | overflow: visible; |
|
419 | overflow: visible; | |
410 | } |
|
420 | } | |
411 | } |
|
421 | } | |
412 |
|
422 | |||
413 | .trending_language_tbl, .trending_language_tbl td { |
|
423 | .trending_language_tbl, .trending_language_tbl td { | |
414 | border: 0; |
|
424 | border: 0; | |
415 | margin: 0; |
|
425 | margin: 0; | |
416 | padding: 0; |
|
426 | padding: 0; | |
417 | background: transparent; |
|
427 | background: transparent; | |
418 | } |
|
428 | } | |
419 |
|
429 | |||
420 | .trending_language_tbl, .trending_language_tbl tr { |
|
430 | .trending_language_tbl, .trending_language_tbl tr { | |
421 | border-spacing: 0 3px; |
|
431 | border-spacing: 0 3px; | |
422 | } |
|
432 | } | |
423 |
|
433 | |||
424 | .trending_language { |
|
434 | .trending_language { | |
425 | position: relative; |
|
435 | position: relative; | |
426 | overflow: hidden; |
|
436 | overflow: hidden; | |
427 | color: @text-color; |
|
437 | color: @text-color; | |
428 | width: 400px; |
|
438 | width: 400px; | |
429 |
|
439 | |||
430 | .lang-bar { |
|
440 | .lang-bar { | |
431 | z-index: 1; |
|
441 | z-index: 1; | |
432 | overflow: hidden; |
|
442 | overflow: hidden; | |
433 | background-color: @rcblue; |
|
443 | background-color: @rcblue; | |
434 | color: #FFF; |
|
444 | color: #FFF; | |
435 | text-decoration: none; |
|
445 | text-decoration: none; | |
436 | } |
|
446 | } | |
437 |
|
447 | |||
438 | } |
|
448 | } | |
439 |
|
449 | |||
440 | // Changesets |
|
450 | // Changesets | |
441 | #changesets.rctable { |
|
451 | #changesets.rctable { | |
442 | th { |
|
452 | th { | |
443 | padding: 0 1em 0.65em 0; |
|
453 | padding: 0 1em 0.65em 0; | |
444 | } |
|
454 | } | |
445 |
|
455 | |||
446 | // td must be fixed height for graph |
|
456 | // td must be fixed height for graph | |
447 | td { |
|
457 | td { | |
448 | height: 32px; |
|
458 | height: 32px; | |
449 | padding: 0 1em 0 0; |
|
459 | padding: 0 1em 0 0; | |
450 | vertical-align: middle; |
|
460 | vertical-align: middle; | |
451 | white-space: nowrap; |
|
461 | white-space: nowrap; | |
452 |
|
462 | |||
453 | &.td-description { |
|
463 | &.td-description { | |
454 | white-space: normal; |
|
464 | white-space: normal; | |
455 | } |
|
465 | } | |
456 |
|
466 | |||
457 | &.expand_commit { |
|
467 | &.expand_commit { | |
458 | padding-right: 0; |
|
468 | padding-right: 0; | |
459 | cursor: pointer; |
|
469 | cursor: pointer; | |
460 | width: 20px; |
|
470 | width: 20px; | |
461 | } |
|
471 | } | |
462 | } |
|
472 | } | |
463 | } |
|
473 | } | |
464 |
|
474 | |||
465 | // Compare |
|
475 | // Compare | |
466 | table.compare_view_commits { |
|
476 | table.compare_view_commits { | |
467 | margin-top: @space; |
|
477 | margin-top: @space; | |
468 |
|
478 | |||
469 | td.td-time { |
|
479 | td.td-time { | |
470 | padding-left: .5em; |
|
480 | padding-left: .5em; | |
471 | } |
|
481 | } | |
472 |
|
482 | |||
473 | // special case to not show hover actions on hidden indicator |
|
483 | // special case to not show hover actions on hidden indicator | |
474 | tr.compare_select_hidden:hover { |
|
484 | tr.compare_select_hidden:hover { | |
475 | cursor: inherit; |
|
485 | cursor: inherit; | |
476 |
|
486 | |||
477 | td { |
|
487 | td { | |
478 | background-color: inherit; |
|
488 | background-color: inherit; | |
479 | } |
|
489 | } | |
480 | } |
|
490 | } | |
481 |
|
491 | |||
482 | tr:hover { |
|
492 | tr:hover { | |
483 | cursor: pointer; |
|
493 | cursor: pointer; | |
484 |
|
494 | |||
485 | td { |
|
495 | td { | |
486 | background-color: lighten(@alert4,25%); |
|
496 | background-color: lighten(@alert4,25%); | |
487 | } |
|
497 | } | |
488 | } |
|
498 | } | |
489 |
|
499 | |||
490 |
|
500 | |||
491 | } |
|
501 | } | |
492 |
|
502 | |||
493 | .file_history { |
|
503 | .file_history { | |
494 | td.td-actions { |
|
504 | td.td-actions { | |
495 | text-align: right; |
|
505 | text-align: right; | |
496 | } |
|
506 | } | |
497 | } |
|
507 | } | |
498 |
|
508 | |||
499 |
|
509 | |||
500 | // Gist List |
|
510 | // Gist List | |
501 | #gist_list_table { |
|
511 | #gist_list_table { | |
502 | td { |
|
512 | td { | |
503 | vertical-align: middle; |
|
513 | vertical-align: middle; | |
504 |
|
514 | |||
505 | div{ |
|
515 | div{ | |
506 | display: inline-block; |
|
516 | display: inline-block; | |
507 | vertical-align: middle; |
|
517 | vertical-align: middle; | |
508 | } |
|
518 | } | |
509 |
|
519 | |||
510 | img{ |
|
520 | img{ | |
511 | vertical-align: middle; |
|
521 | vertical-align: middle; | |
512 | } |
|
522 | } | |
513 | } |
|
523 | } | |
514 | } |
|
524 | } |
General Comments 0
You need to be logged in to leave comments.
Login now