Show More
@@ -1,497 +1,499 b'' | |||||
1 | // summary.less |
|
1 | // summary.less | |
2 | // For use in RhodeCode applications; |
|
2 | // For use in RhodeCode applications; | |
3 | // Used for headers and file detail summary screens. |
|
3 | // Used for headers and file detail summary screens. | |
4 |
|
4 | |||
5 | .summary { |
|
5 | .summary { | |
6 | clear: both; |
|
6 | clear: both; | |
7 | float: none; |
|
7 | float: none; | |
8 | position: relative; |
|
8 | position: relative; | |
9 | width: 100%; |
|
9 | width: 100%; | |
10 | margin: 0; |
|
10 | margin: 0; | |
11 | padding: 0; |
|
11 | padding: 0; | |
12 | background: #FCFCFC; |
|
12 | background: #FCFCFC; | |
13 | border: 1px solid #EAEAEA; |
|
13 | border: 1px solid #EAEAEA; | |
14 | border-radius: @border-radius; |
|
14 | border-radius: @border-radius; | |
15 | margin-bottom: 20px; |
|
15 | margin-bottom: 20px; | |
16 |
|
16 | |||
17 | .summary-detail-header { |
|
17 | .summary-detail-header { | |
18 | display: block; |
|
18 | display: block; | |
19 | width: 100%; |
|
19 | width: 100%; | |
20 | margin-bottom: 10px; |
|
20 | margin-bottom: 10px; | |
21 | padding: 0 0 .5em 0; |
|
21 | padding: 0 0 .5em 0; | |
22 | border-bottom: @border-thickness solid @border-default-color; |
|
22 | border-bottom: @border-thickness solid @border-default-color; | |
23 |
|
23 | |||
24 | .breadcrumbs { |
|
24 | .breadcrumbs { | |
25 | display: inline; |
|
25 | display: inline; | |
26 | margin: 0; |
|
26 | margin: 0; | |
27 | padding: 0; |
|
27 | padding: 0; | |
28 | } |
|
28 | } | |
29 |
|
29 | |||
30 | h4 { |
|
30 | h4 { | |
31 | margin: 0 1em 0 0; |
|
31 | margin: 0 1em 0 0; | |
32 | padding: 10px 0 5px 20px; |
|
32 | padding: 10px 0 5px 20px; | |
33 | line-height: 1.2em; |
|
33 | line-height: 1.2em; | |
34 | font-size: @basefontsize; |
|
34 | font-size: @basefontsize; | |
35 | } |
|
35 | } | |
36 |
|
36 | |||
37 | .action_link { |
|
37 | .action_link { | |
38 | float: right; |
|
38 | float: right; | |
39 | } |
|
39 | } | |
40 |
|
40 | |||
41 | .new-file { |
|
41 | .new-file { | |
42 | float: right; |
|
42 | float: right; | |
43 | margin-top: -1.5em; |
|
43 | margin-top: -1.5em; | |
44 | } |
|
44 | } | |
45 | } |
|
45 | } | |
46 |
|
46 | |||
47 | .summary-detail { |
|
47 | .summary-detail { | |
48 | float: none; |
|
48 | float: none; | |
49 | position: relative; |
|
49 | position: relative; | |
50 | width: 100%; |
|
50 | width: 100%; | |
51 | margin: 0; |
|
51 | margin: 0; | |
52 | padding: 0 0 20px 0; |
|
52 | padding: 0 0 20px 0; | |
53 |
|
53 | |||
54 | .file_diff_buttons { |
|
54 | .file_diff_buttons { | |
55 | margin-top: @space; |
|
55 | margin-top: @space; | |
56 | } |
|
56 | } | |
57 |
|
57 | |||
58 | // commit message |
|
58 | // commit message | |
59 | .commit { |
|
59 | .commit { | |
60 | white-space: pre-wrap; |
|
60 | white-space: pre-wrap; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | .left-clone { |
|
63 | .left-clone { | |
64 | float: left; |
|
64 | float: left; | |
65 | height: 30px; |
|
65 | height: 30px; | |
66 | margin: 0; |
|
66 | margin: 0; | |
67 | padding: 0; |
|
67 | padding: 0; | |
68 | width: 130px; |
|
68 | width: 130px; | |
69 | font-weight: @text-semibold-weight; |
|
69 | font-weight: @text-semibold-weight; | |
70 | font-family: @text-semibold; |
|
70 | font-family: @text-semibold; | |
71 | } |
|
71 | } | |
72 | .left-clone select { |
|
72 | .left-clone select { | |
73 | width: 130px; |
|
73 | width: 130px; | |
74 | margin-right: 0; |
|
74 | margin-right: 0; | |
75 | background-color: @grey7; |
|
75 | background-color: @grey7; | |
76 | border-color: @grey4; |
|
76 | border-color: @grey4; | |
77 | color: #5C5C5C; |
|
77 | color: #5C5C5C; | |
78 | border-top-right-radius: 0; |
|
78 | border-top-right-radius: 0; | |
79 | border-bottom-right-radius: 0; |
|
79 | border-bottom-right-radius: 0; | |
80 | } |
|
80 | } | |
81 |
|
81 | |||
82 | .right-clone { |
|
82 | .right-clone { | |
83 | float: left; |
|
83 | float: left; | |
84 | width: ~"calc(100% - 170px)"; |
|
84 | width: ~"calc(100% - 170px)"; | |
85 |
|
85 | |||
86 | .clipboard-action { |
|
86 | .clipboard-action { | |
87 | margin-left: -30px; |
|
87 | margin-left: -30px; | |
88 | } |
|
88 | } | |
89 | } |
|
89 | } | |
90 |
|
90 | |||
91 | .clone_url_input { |
|
91 | .clone_url_input { | |
92 | width: ~"calc(100% - 90px)"; |
|
92 | width: ~"calc(100% - 90px)"; | |
93 | padding: 6px 30px 6px 10px; |
|
93 | padding: 6px 30px 6px 10px; | |
94 | height: 14px; |
|
94 | height: 14px; | |
95 | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07); |
|
95 | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07); | |
96 | border-top-left-radius: 0; |
|
96 | border-top-left-radius: 0; | |
97 | border-bottom-left-radius: 0; |
|
97 | border-bottom-left-radius: 0; | |
98 | margin-left: -1px; |
|
98 | margin-left: -1px; | |
99 | } |
|
99 | } | |
100 |
|
100 | |||
101 | &.directory { |
|
101 | &.directory { | |
102 | margin-bottom: 0; |
|
102 | margin-bottom: 0; | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | .desc { |
|
105 | .desc { | |
106 | white-space: pre-wrap; |
|
106 | white-space: pre-wrap; | |
107 | } |
|
107 | } | |
108 | .disabled { |
|
108 | .disabled { | |
109 | opacity: .5; |
|
109 | opacity: .5; | |
110 | cursor: inherit; |
|
110 | cursor: inherit; | |
111 | } |
|
111 | } | |
112 | .help-block { |
|
112 | .help-block { | |
113 | color: inherit; |
|
113 | color: inherit; | |
114 | margin: 0; |
|
114 | margin: 0; | |
115 | } |
|
115 | } | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | .sidebar-right { |
|
118 | .sidebar-right { | |
119 | float: left; |
|
119 | float: left; | |
120 | width: 24%; |
|
120 | width: 24%; | |
121 | margin: 0; |
|
121 | margin: 0; | |
122 | padding: 0; |
|
122 | padding: 0; | |
123 |
|
123 | |||
124 | ul { |
|
124 | ul { | |
125 | margin-left: 0; |
|
125 | margin-left: 0; | |
126 | padding-left: 0; |
|
126 | padding-left: 0; | |
127 |
|
127 | |||
128 | li { |
|
128 | li { | |
129 | list-style-type: none; |
|
129 | list-style-type: none; | |
130 | } |
|
130 | } | |
131 | } |
|
131 | } | |
132 | } |
|
132 | } | |
133 |
|
133 | |||
134 | #clone_by_name, #clone_by_id{ |
|
134 | #clone_by_name, #clone_by_id{ | |
135 | display: inline-block; |
|
135 | display: inline-block; | |
136 | margin-left: 0px; |
|
136 | margin-left: 0px; | |
137 | } |
|
137 | } | |
138 |
|
138 | |||
139 | .codeblock { |
|
139 | .codeblock { | |
140 | border: none; |
|
140 | border: none; | |
141 | background-color: transparent; |
|
141 | background-color: transparent; | |
142 | } |
|
142 | } | |
143 |
|
143 | |||
144 | .code-body { |
|
144 | .code-body { | |
145 | border: @border-thickness solid @border-default-color; |
|
145 | border: @border-thickness solid @border-default-color; | |
146 | .border-radius(@border-radius); |
|
146 | .border-radius(@border-radius); | |
147 | } |
|
147 | } | |
148 |
|
148 | |||
149 | .btn-collapse { |
|
149 | .btn-collapse { | |
150 | clear: both; |
|
150 | clear: both; | |
151 | float: none; |
|
151 | float: none; | |
152 | background: #F7F7F7; |
|
152 | background: #F7F7F7; | |
153 | text-align: center; |
|
153 | text-align: center; | |
154 | color: #949494; |
|
154 | color: #949494; | |
155 | font-size: 11px; |
|
155 | font-size: 11px; | |
156 | line-height: 1.3em; |
|
156 | line-height: 1.3em; | |
157 |
|
157 | |||
158 | &:hover { |
|
158 | &:hover { | |
159 | background: #f1f1f1; |
|
159 | background: #f1f1f1; | |
160 | color: #2B2B2D; |
|
160 | color: #2B2B2D; | |
161 | } |
|
161 | } | |
162 | } |
|
162 | } | |
163 | } |
|
163 | } | |
164 |
|
164 | |||
165 | // this is used outside of just the summary |
|
165 | // this is used outside of just the summary | |
166 | .fieldset, // similar to form fieldset |
|
166 | .fieldset, // similar to form fieldset | |
167 | .summary .sidebar-right-content { // these have to match |
|
167 | .summary .sidebar-right-content { // these have to match | |
168 | clear: both; |
|
168 | clear: both; | |
169 | float: none; |
|
169 | float: none; | |
170 | position: relative; |
|
170 | position: relative; | |
171 | display:block; |
|
171 | display:block; | |
172 | width: 100%; |
|
172 | width: 100%; | |
173 | min-height: 20px; |
|
173 | min-height: 20px; | |
174 | margin-bottom: 10px; |
|
174 | margin-bottom: 10px; | |
175 | padding: 0; |
|
175 | padding: 0; | |
176 | line-height: 1.2em; |
|
176 | line-height: 1.2em; | |
177 |
|
177 | |||
178 | &:after { // clearfix |
|
178 | &:after { // clearfix | |
179 | content: ""; |
|
179 | content: ""; | |
180 | clear: both; |
|
180 | clear: both; | |
181 | width: 100%; |
|
181 | width: 100%; | |
182 | height: 1em; |
|
182 | height: 1em; | |
183 | } |
|
183 | } | |
184 | } |
|
184 | } | |
185 |
|
185 | |||
186 | .summary .sidebar-right-content { |
|
186 | .summary .sidebar-right-content { | |
187 | margin-bottom: 0; |
|
187 | margin-bottom: 0; | |
188 |
|
188 | |||
189 | .rc-user { |
|
189 | .rc-user { | |
190 | min-width: 0; |
|
190 | min-width: 0; | |
191 | } |
|
191 | } | |
192 |
|
192 | |||
193 | li { |
|
193 | li { | |
194 | list-style: none; |
|
194 | list-style: none; | |
195 | line-height: normal; |
|
195 | line-height: normal; | |
196 | } |
|
196 | } | |
197 | } |
|
197 | } | |
198 |
|
198 | |||
199 | .summary { |
|
199 | .summary { | |
200 | .fieldset { |
|
200 | .fieldset { | |
201 | margin-bottom: 0; |
|
201 | margin-bottom: 0; | |
202 | } |
|
202 | } | |
203 |
|
203 | |||
204 | .tags-main { |
|
204 | .tags-main { | |
205 | margin-bottom: 5px; |
|
205 | margin-bottom: 5px; | |
206 | } |
|
206 | } | |
207 | } |
|
207 | } | |
208 |
|
208 | |||
209 | .fieldset { |
|
209 | .fieldset { | |
210 |
|
210 | |||
211 | .left-label { // similar to form legend |
|
211 | .left-label { // similar to form legend | |
212 | display: block; |
|
212 | display: block; | |
213 | margin: 0; |
|
213 | margin: 0; | |
214 | padding: 0; |
|
214 | padding: 0; | |
215 | font-weight: @text-semibold-weight; |
|
215 | font-weight: @text-semibold-weight; | |
216 | font-family: @text-semibold; |
|
216 | font-family: @text-semibold; | |
217 | } |
|
217 | } | |
218 |
|
218 | |||
219 | .left-label-summary { |
|
219 | .left-label-summary { | |
220 | padding-left: 20px; |
|
220 | padding-left: 20px; | |
221 | margin-bottom: 5px; |
|
221 | margin-bottom: 5px; | |
222 |
|
222 | |||
223 | p { |
|
223 | p { | |
224 | margin-bottom: 5px; |
|
224 | margin-bottom: 5px; | |
225 | color: @grey1; |
|
225 | color: @grey1; | |
226 | float: left; |
|
226 | float: left; | |
227 | width: 130px; |
|
227 | width: 130px; | |
228 |
|
228 | |||
229 | &.spacing { |
|
229 | &.spacing { | |
230 | margin-top: 10px; |
|
230 | margin-top: 10px; | |
231 | } |
|
231 | } | |
232 | } |
|
232 | } | |
233 |
|
233 | |||
234 | .right-label-summary { |
|
234 | .right-label-summary { | |
235 | float: left; |
|
235 | float: left; | |
236 |
margin-top: |
|
236 | margin-top: 0px; | |
|
237 | line-height: 2em; | |||
237 | width: ~"calc(100% - 160px)"; |
|
238 | width: ~"calc(100% - 160px)"; | |
238 | } |
|
239 | } | |
239 | } |
|
240 | } | |
240 |
|
241 | |||
241 | .left-label-summary-files { |
|
242 | .left-label-summary-files { | |
242 | padding-left: 45px; |
|
243 | padding-left: 45px; | |
243 | margin-top: 5px; |
|
244 | margin-top: 5px; | |
244 |
|
245 | |||
245 | p { |
|
246 | p { | |
246 | margin-bottom: 5px; |
|
247 | margin-bottom: 5px; | |
247 | color: @grey1; |
|
248 | color: @grey1; | |
248 | float: left; |
|
249 | float: left; | |
249 | width: 130px; |
|
250 | width: 130px; | |
250 |
|
251 | |||
251 | &.spacing { |
|
252 | &.spacing { | |
252 | margin-top: 10px; |
|
253 | margin-top: 10px; | |
253 | } |
|
254 | } | |
254 | } |
|
255 | } | |
255 |
|
256 | |||
256 | .right-label-summary { |
|
257 | .right-label-summary { | |
257 | float: left; |
|
258 | float: left; | |
258 |
margin-top: |
|
259 | margin-top: 0px; | |
|
260 | line-height: 2em; | |||
259 | } |
|
261 | } | |
260 | } |
|
262 | } | |
261 |
|
263 | |||
262 | .left-content { |
|
264 | .left-content { | |
263 | width: ~"calc(60% - 20px)"; |
|
265 | width: ~"calc(60% - 20px)"; | |
264 | float: left; |
|
266 | float: left; | |
265 | margin: 15px 0 15px 20px; |
|
267 | margin: 15px 0 15px 20px; | |
266 |
|
268 | |||
267 | .rc-user { |
|
269 | .rc-user { | |
268 | min-width: auto; |
|
270 | min-width: auto; | |
269 | max-width: none; |
|
271 | max-width: none; | |
270 | min-height: auto; |
|
272 | min-height: auto; | |
271 | padding-right: 5px; |
|
273 | padding-right: 5px; | |
272 | } |
|
274 | } | |
273 |
|
275 | |||
274 | .left-content-avatar { |
|
276 | .left-content-avatar { | |
275 | width: 45px; |
|
277 | width: 45px; | |
276 | float: left; |
|
278 | float: left; | |
277 | margin-top: 8px; |
|
279 | margin-top: 8px; | |
278 | } |
|
280 | } | |
279 |
|
281 | |||
280 | .left-content-message { |
|
282 | .left-content-message { | |
281 | float: left; |
|
283 | float: left; | |
282 | width: ~"calc(100% - 45px)"; |
|
284 | width: ~"calc(100% - 45px)"; | |
283 | } |
|
285 | } | |
284 | } |
|
286 | } | |
285 |
|
287 | |||
286 | .right-content { // similar to form fields |
|
288 | .right-content { // similar to form fields | |
287 | float: left; |
|
289 | float: left; | |
288 | display: block; |
|
290 | display: block; | |
289 | width: ~"calc(40% - 20px)"; |
|
291 | width: ~"calc(40% - 20px)"; | |
290 | text-align: right; |
|
292 | text-align: right; | |
291 | margin: 15px 20px 15px 0; |
|
293 | margin: 15px 20px 15px 0; | |
292 |
|
294 | |||
293 | .truncate-wrap, |
|
295 | .truncate-wrap, | |
294 | .truncate { |
|
296 | .truncate { | |
295 | max-width: 100%; |
|
297 | max-width: 100%; | |
296 | width: 100%; |
|
298 | width: 100%; | |
297 | } |
|
299 | } | |
298 |
|
300 | |||
299 | .commit-long { |
|
301 | .commit-long { | |
300 | overflow-x: auto; |
|
302 | overflow-x: auto; | |
301 | } |
|
303 | } | |
302 |
|
304 | |||
303 | .commit-info { |
|
305 | .commit-info { | |
304 | margin-top: 7px; |
|
306 | margin-top: 7px; | |
305 | } |
|
307 | } | |
306 |
|
308 | |||
307 | .summary-tag, |
|
309 | .summary-tag, | |
308 | .summary-tagtag, |
|
310 | .summary-tagtag, | |
309 | .summary-branchtag, |
|
311 | .summary-branchtag, | |
310 | .summary-booktag, |
|
312 | .summary-booktag, | |
311 | .summary-metatag, |
|
313 | .summary-metatag, | |
312 | .summary-perm_tag { |
|
314 | .summary-perm_tag { | |
313 | background:transparent; |
|
315 | background:transparent; | |
314 | border: none; |
|
316 | border: none; | |
315 | box-shadow: none; |
|
317 | box-shadow: none; | |
316 | margin-left: 10px; |
|
318 | margin-left: 10px; | |
317 | font-size: 13px; |
|
319 | font-size: 13px; | |
318 | } |
|
320 | } | |
319 |
|
321 | |||
320 | .summary-tag span, |
|
322 | .summary-tag span, | |
321 | .summary-tag i, |
|
323 | .summary-tag i, | |
322 | .summary-tag a { |
|
324 | .summary-tag a { | |
323 | color: @grey1; |
|
325 | color: @grey1; | |
324 | } |
|
326 | } | |
325 |
|
327 | |||
326 | } |
|
328 | } | |
327 | .commit { |
|
329 | .commit { | |
328 | color: @grey1; |
|
330 | color: @grey1; | |
329 | margin-bottom: 5px; |
|
331 | margin-bottom: 5px; | |
330 | white-space: pre; |
|
332 | white-space: pre; | |
331 | } |
|
333 | } | |
332 | .commit.truncate-wrap { |
|
334 | .commit.truncate-wrap { | |
333 | overflow:hidden; |
|
335 | overflow:hidden; | |
334 | text-overflow: ellipsis; |
|
336 | text-overflow: ellipsis; | |
335 | } |
|
337 | } | |
336 | .commit-author { |
|
338 | .commit-author { | |
337 | color: @grey1; |
|
339 | color: @grey1; | |
338 | } |
|
340 | } | |
339 | .commit-date { |
|
341 | .commit-date { | |
340 | color: @grey4; |
|
342 | color: @grey4; | |
341 | } |
|
343 | } | |
342 | .fieldset-text-line { |
|
344 | .fieldset-text-line { | |
343 | line-height: 36px; |
|
345 | line-height: 36px; | |
344 | } |
|
346 | } | |
345 | } |
|
347 | } | |
346 |
|
348 | |||
347 | // expand commit message |
|
349 | // expand commit message | |
348 | #message_expand { |
|
350 | #message_expand { | |
349 | clear: both; |
|
351 | clear: both; | |
350 | display: block; |
|
352 | display: block; | |
351 | color: @rcblue; |
|
353 | color: @rcblue; | |
352 | cursor: pointer; |
|
354 | cursor: pointer; | |
353 | } |
|
355 | } | |
354 |
|
356 | |||
355 | #trimmed_message_box { |
|
357 | #trimmed_message_box { | |
356 | max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height |
|
358 | max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height | |
357 | overflow: hidden; |
|
359 | overflow: hidden; | |
358 | } |
|
360 | } | |
359 |
|
361 | |||
360 | // show/hide comments button |
|
362 | // show/hide comments button | |
361 | .show-inline-comments { |
|
363 | .show-inline-comments { | |
362 | display: inline; |
|
364 | display: inline; | |
363 | cursor: pointer; |
|
365 | cursor: pointer; | |
364 |
|
366 | |||
365 | .comments-show { display: inline; } |
|
367 | .comments-show { display: inline; } | |
366 | .comments-hide { display: none; } |
|
368 | .comments-hide { display: none; } | |
367 |
|
369 | |||
368 | &.comments-visible { |
|
370 | &.comments-visible { | |
369 | .comments-show { display: none; } |
|
371 | .comments-show { display: none; } | |
370 | .comments-hide { display: inline; } |
|
372 | .comments-hide { display: inline; } | |
371 | } |
|
373 | } | |
372 | } |
|
374 | } | |
373 |
|
375 | |||
374 | // Quick Start section |
|
376 | // Quick Start section | |
375 |
|
377 | |||
376 | .empty-repo { |
|
378 | .empty-repo { | |
377 | border: 1px solid #EAEAEA; |
|
379 | border: 1px solid #EAEAEA; | |
378 | border-bottom: 0; |
|
380 | border-bottom: 0; | |
379 | border-radius: @border-radius; |
|
381 | border-radius: @border-radius; | |
380 | padding: 0 20px; |
|
382 | padding: 0 20px; | |
381 | } |
|
383 | } | |
382 |
|
384 | |||
383 | .empty-repo h3, .quick_start p { |
|
385 | .empty-repo h3, .quick_start p { | |
384 | margin-bottom: 10px; |
|
386 | margin-bottom: 10px; | |
385 | } |
|
387 | } | |
386 |
|
388 | |||
387 | .quick_start pre { |
|
389 | .quick_start pre { | |
388 | background: #FCFEFF; |
|
390 | background: #FCFEFF; | |
389 | border: 1px solid #CBDBEB; |
|
391 | border: 1px solid #CBDBEB; | |
390 | box-shadow: @button-shadow; |
|
392 | box-shadow: @button-shadow; | |
391 | padding: 10px 15px; |
|
393 | padding: 10px 15px; | |
392 | border-radius: 4px; |
|
394 | border-radius: 4px; | |
393 | color: @grey2; |
|
395 | color: @grey2; | |
394 | } |
|
396 | } | |
395 |
|
397 | |||
396 | .clear-fix { |
|
398 | .clear-fix { | |
397 | clear: both; |
|
399 | clear: both; | |
398 | } |
|
400 | } | |
399 |
|
401 | |||
400 | .quick_start { |
|
402 | .quick_start { | |
401 | display: block; |
|
403 | display: block; | |
402 | position: relative; |
|
404 | position: relative; | |
403 | border: 1px solid #EAEAEA; |
|
405 | border: 1px solid #EAEAEA; | |
404 | border-top: 0; |
|
406 | border-top: 0; | |
405 | border-radius: @border-radius; |
|
407 | border-radius: @border-radius; | |
406 | padding: 0 20px; |
|
408 | padding: 0 20px; | |
407 |
|
409 | |||
408 | // adds some space to make copy and paste easier |
|
410 | // adds some space to make copy and paste easier | |
409 | .left-label, |
|
411 | .left-label, | |
410 | .right-content { |
|
412 | .right-content { | |
411 | line-height: 1.6em; |
|
413 | line-height: 1.6em; | |
412 | } |
|
414 | } | |
413 | } |
|
415 | } | |
414 |
|
416 | |||
415 |
|
417 | |||
416 | .submodule { |
|
418 | .submodule { | |
417 | .summary-detail { |
|
419 | .summary-detail { | |
418 | width: 100%; |
|
420 | width: 100%; | |
419 |
|
421 | |||
420 | .btn-collapse { |
|
422 | .btn-collapse { | |
421 | display: none; |
|
423 | display: none; | |
422 | } |
|
424 | } | |
423 | } |
|
425 | } | |
424 | } |
|
426 | } | |
425 |
|
427 | |||
426 | .codeblock-header { |
|
428 | .codeblock-header { | |
427 | float: left; |
|
429 | float: left; | |
428 | display: block; |
|
430 | display: block; | |
429 | width: 100%; |
|
431 | width: 100%; | |
430 | margin: 0; |
|
432 | margin: 0; | |
431 |
|
433 | |||
432 | .file-filename { |
|
434 | .file-filename { | |
433 | float:left; |
|
435 | float:left; | |
434 | padding: 10px; |
|
436 | padding: 10px; | |
435 | } |
|
437 | } | |
436 |
|
438 | |||
437 | .file-stats { |
|
439 | .file-stats { | |
438 | padding: 10px; |
|
440 | padding: 10px; | |
439 | float:right; |
|
441 | float:right; | |
440 | } |
|
442 | } | |
441 |
|
443 | |||
442 |
|
444 | |||
443 | .stats-first-item { |
|
445 | .stats-first-item { | |
444 | padding: 0px 0px 0px 3px; |
|
446 | padding: 0px 0px 0px 3px; | |
445 | } |
|
447 | } | |
446 |
|
448 | |||
447 | .stats-info { |
|
449 | .stats-info { | |
448 | font-size: 11px; |
|
450 | font-size: 11px; | |
449 | color: @grey4; |
|
451 | color: @grey4; | |
450 | } |
|
452 | } | |
451 |
|
453 | |||
452 | .buttons { |
|
454 | .buttons { | |
453 | float: right; |
|
455 | float: right; | |
454 | text-align: right; |
|
456 | text-align: right; | |
455 | color: @grey4; |
|
457 | color: @grey4; | |
456 | padding: 10px; |
|
458 | padding: 10px; | |
457 | } |
|
459 | } | |
458 |
|
460 | |||
459 | .file-container { |
|
461 | .file-container { | |
460 | display: inline-block; |
|
462 | display: inline-block; | |
461 | width: 100%; |
|
463 | width: 100%; | |
462 | } |
|
464 | } | |
463 |
|
465 | |||
464 | } |
|
466 | } | |
465 |
|
467 | |||
466 | #summary-menu-stats { |
|
468 | #summary-menu-stats { | |
467 |
|
469 | |||
468 | .stats-bullet { |
|
470 | .stats-bullet { | |
469 | color: @grey3; |
|
471 | color: @grey3; | |
470 | min-width: 3em; |
|
472 | min-width: 3em; | |
471 | } |
|
473 | } | |
472 |
|
474 | |||
473 | .repo-size { |
|
475 | .repo-size { | |
474 | margin-bottom: .5em; |
|
476 | margin-bottom: .5em; | |
475 | } |
|
477 | } | |
476 |
|
478 | |||
477 | } |
|
479 | } | |
478 |
|
480 | |||
479 | .rctable.repo_summary { |
|
481 | .rctable.repo_summary { | |
480 | border: 1px solid #eaeaea; |
|
482 | border: 1px solid #eaeaea; | |
481 | border-radius: 2px; |
|
483 | border-radius: 2px; | |
482 | border-collapse: inherit; |
|
484 | border-collapse: inherit; | |
483 | border-bottom: 0; |
|
485 | border-bottom: 0; | |
484 |
|
486 | |||
485 | th { |
|
487 | th { | |
486 | background: @grey7; |
|
488 | background: @grey7; | |
487 | border-bottom: 0; |
|
489 | border-bottom: 0; | |
488 | } |
|
490 | } | |
489 |
|
491 | |||
490 | td { |
|
492 | td { | |
491 | border-color: #eaeaea; |
|
493 | border-color: #eaeaea; | |
492 | } |
|
494 | } | |
493 |
|
495 | |||
494 | td.td-status { |
|
496 | td.td-status { | |
495 | padding: 0 0 0 10px; |
|
497 | padding: 0 0 0 10px; | |
496 | } |
|
498 | } | |
497 | } |
|
499 | } |
@@ -1,63 +1,63 b'' | |||||
1 | <%namespace name="base" file="/base/base.mako"/> |
|
1 | <%namespace name="base" file="/base/base.mako"/> | |
2 | <%namespace name="file_base" file="/files/base.mako"/> |
|
2 | <%namespace name="file_base" file="/files/base.mako"/> | |
3 |
|
3 | |||
4 | <div class="summary"> |
|
4 | <div class="summary"> | |
5 | <div class="fieldset"> |
|
5 | <div class="fieldset"> | |
6 | <div class="left-content"> |
|
6 | <div class="left-content"> | |
7 |
|
7 | |||
8 | <div class="left-content-avatar"> |
|
8 | <div class="left-content-avatar"> | |
9 | ${base.gravatar(c.file_last_commit.author_email, 30)} |
|
9 | ${base.gravatar(c.file_last_commit.author_email, 30)} | |
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="left-content-message"> |
|
12 | <div class="left-content-message"> | |
13 | <div class="fieldset collapsable-content no-hide" data-toggle="summary-details"> |
|
13 | <div class="fieldset collapsable-content no-hide" data-toggle="summary-details"> | |
14 | <div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div> |
|
14 | <div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div> | |
15 | </div> |
|
15 | </div> | |
16 |
|
16 | |||
17 | <div class="fieldset collapsable-content" data-toggle="summary-details"> |
|
17 | <div class="fieldset collapsable-content" data-toggle="summary-details"> | |
18 | <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> |
|
18 | <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> | |
19 | </div> |
|
19 | </div> | |
20 |
|
20 | |||
21 | <div class="fieldset" data-toggle="summary-details"> |
|
21 | <div class="fieldset" data-toggle="summary-details"> | |
22 | <div class="" id="file_authors"> |
|
22 | <div class="" id="file_authors"> | |
23 | ## loads single author, or ALL |
|
23 | ## loads single author, or ALL | |
24 | <%include file='file_authors_box.mako'/> |
|
24 | <%include file='file_authors_box.mako'/> | |
25 | </div> |
|
25 | </div> | |
26 | </div> |
|
26 | </div> | |
27 | </div> |
|
27 | </div> | |
28 |
|
28 | |||
29 | <div class="fieldset collapsable-content" data-toggle="summary-details"> |
|
29 | <div class="fieldset collapsable-content" data-toggle="summary-details"> | |
30 | <div class="left-label-summary-files"> |
|
30 | <div class="left-label-summary-files"> | |
31 | <p>${_('File last commit')}</p> |
|
31 | <p>${_('File last commit')}:</p> | |
32 | <div class="right-label-summary"> |
|
32 | <div class="right-label-summary"> | |
33 | <code><a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.file_last_commit.raw_id)}">${h.show_id(c.file_last_commit)}</a></code> |
|
33 | <code><a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.file_last_commit.raw_id)}">${h.show_id(c.file_last_commit)}</a></code> | |
34 | ${file_base.refs(c.file_last_commit)} |
|
34 | ${file_base.refs(c.file_last_commit)} | |
35 | </div> |
|
35 | </div> | |
36 | </div> |
|
36 | </div> | |
37 | </div> |
|
37 | </div> | |
38 | </div> |
|
38 | </div> | |
39 |
|
39 | |||
40 | <div class="right-content"> |
|
40 | <div class="right-content"> | |
41 | <div data-toggle="summary-details"> |
|
41 | <div data-toggle="summary-details"> | |
42 | <div class="tags tags-main"> |
|
42 | <div class="tags tags-main"> | |
43 | <code> |
|
43 | <code> | |
44 | <a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a> |
|
44 | <a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a> | |
45 | </code> |
|
45 | </code> | |
46 | <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${c.commit.raw_id}" title="${_('Copy the full commit id')}"></i> |
|
46 | <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${c.commit.raw_id}" title="${_('Copy the full commit id')}"></i> | |
47 | ${file_base.refs(c.commit)} |
|
47 | ${file_base.refs(c.commit)} | |
48 | </div> |
|
48 | </div> | |
49 | </div> |
|
49 | </div> | |
50 | </div> |
|
50 | </div> | |
51 |
|
51 | |||
52 | <div class="clear-fix"></div> |
|
52 | <div class="clear-fix"></div> | |
53 |
|
53 | |||
54 | <div class="btn-collapse" data-toggle="summary-details"> |
|
54 | <div class="btn-collapse" data-toggle="summary-details"> | |
55 | ${_('Show More')} |
|
55 | ${_('Show More')} | |
56 | </div> |
|
56 | </div> | |
57 |
|
57 | |||
58 | </div> |
|
58 | </div> | |
59 | </div> |
|
59 | </div> | |
60 |
|
60 | |||
61 | <script> |
|
61 | <script> | |
62 | collapsableContent(); |
|
62 | collapsableContent(); | |
63 | </script> |
|
63 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now