Show More
@@ -1,2921 +1,2925 b'' | |||||
1 | //Primary CSS |
|
1 | //Primary CSS | |
2 |
|
2 | |||
3 | //--- IMPORTS ------------------// |
|
3 | //--- IMPORTS ------------------// | |
4 |
|
4 | |||
5 | @import 'helpers'; |
|
5 | @import 'helpers'; | |
6 | @import 'mixins'; |
|
6 | @import 'mixins'; | |
7 | @import 'rcicons'; |
|
7 | @import 'rcicons'; | |
8 | @import 'variables'; |
|
8 | @import 'variables'; | |
9 | @import 'bootstrap-variables'; |
|
9 | @import 'bootstrap-variables'; | |
10 | @import 'form-bootstrap'; |
|
10 | @import 'form-bootstrap'; | |
11 | @import 'codemirror'; |
|
11 | @import 'codemirror'; | |
12 | @import 'legacy_code_styles'; |
|
12 | @import 'legacy_code_styles'; | |
13 | @import 'readme-box'; |
|
13 | @import 'readme-box'; | |
14 | @import 'progress-bar'; |
|
14 | @import 'progress-bar'; | |
15 |
|
15 | |||
16 | @import 'type'; |
|
16 | @import 'type'; | |
17 | @import 'alerts'; |
|
17 | @import 'alerts'; | |
18 | @import 'buttons'; |
|
18 | @import 'buttons'; | |
19 | @import 'tags'; |
|
19 | @import 'tags'; | |
20 | @import 'code-block'; |
|
20 | @import 'code-block'; | |
21 | @import 'examples'; |
|
21 | @import 'examples'; | |
22 | @import 'login'; |
|
22 | @import 'login'; | |
23 | @import 'main-content'; |
|
23 | @import 'main-content'; | |
24 | @import 'select2'; |
|
24 | @import 'select2'; | |
25 | @import 'comments'; |
|
25 | @import 'comments'; | |
26 | @import 'panels-bootstrap'; |
|
26 | @import 'panels-bootstrap'; | |
27 | @import 'panels'; |
|
27 | @import 'panels'; | |
28 | @import 'deform'; |
|
28 | @import 'deform'; | |
29 | @import 'tooltips'; |
|
29 | @import 'tooltips'; | |
30 |
|
30 | |||
31 | //--- BASE ------------------// |
|
31 | //--- BASE ------------------// | |
32 | .noscript-error { |
|
32 | .noscript-error { | |
33 | top: 0; |
|
33 | top: 0; | |
34 | left: 0; |
|
34 | left: 0; | |
35 | width: 100%; |
|
35 | width: 100%; | |
36 | z-index: 101; |
|
36 | z-index: 101; | |
37 | text-align: center; |
|
37 | text-align: center; | |
38 | font-size: 120%; |
|
38 | font-size: 120%; | |
39 | color: white; |
|
39 | color: white; | |
40 | background-color: @alert2; |
|
40 | background-color: @alert2; | |
41 | padding: 5px 0 5px 0; |
|
41 | padding: 5px 0 5px 0; | |
42 | font-weight: @text-semibold-weight; |
|
42 | font-weight: @text-semibold-weight; | |
43 | font-family: @text-semibold; |
|
43 | font-family: @text-semibold; | |
44 | } |
|
44 | } | |
45 |
|
45 | |||
46 | html { |
|
46 | html { | |
47 | display: table; |
|
47 | display: table; | |
48 | height: 100%; |
|
48 | height: 100%; | |
49 | width: 100%; |
|
49 | width: 100%; | |
50 | } |
|
50 | } | |
51 |
|
51 | |||
52 | body { |
|
52 | body { | |
53 | display: table-cell; |
|
53 | display: table-cell; | |
54 | width: 100%; |
|
54 | width: 100%; | |
55 | } |
|
55 | } | |
56 |
|
56 | |||
57 | //--- LAYOUT ------------------// |
|
57 | //--- LAYOUT ------------------// | |
58 |
|
58 | |||
59 | .hidden{ |
|
59 | .hidden{ | |
60 | display: none !important; |
|
60 | display: none !important; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | .box{ |
|
63 | .box{ | |
64 | float: left; |
|
64 | float: left; | |
65 | width: 100%; |
|
65 | width: 100%; | |
66 | } |
|
66 | } | |
67 |
|
67 | |||
68 | .browser-header { |
|
68 | .browser-header { | |
69 | clear: both; |
|
69 | clear: both; | |
70 | } |
|
70 | } | |
71 | .main { |
|
71 | .main { | |
72 | clear: both; |
|
72 | clear: both; | |
73 | padding:0 0 @pagepadding; |
|
73 | padding:0 0 @pagepadding; | |
74 | height: auto; |
|
74 | height: auto; | |
75 |
|
75 | |||
76 | &:after { //clearfix |
|
76 | &:after { //clearfix | |
77 | content:""; |
|
77 | content:""; | |
78 | clear:both; |
|
78 | clear:both; | |
79 | width:100%; |
|
79 | width:100%; | |
80 | display:block; |
|
80 | display:block; | |
81 | } |
|
81 | } | |
82 | } |
|
82 | } | |
83 |
|
83 | |||
84 | .action-link{ |
|
84 | .action-link{ | |
85 | margin-left: @padding; |
|
85 | margin-left: @padding; | |
86 | padding-left: @padding; |
|
86 | padding-left: @padding; | |
87 | border-left: @border-thickness solid @border-default-color; |
|
87 | border-left: @border-thickness solid @border-default-color; | |
88 | } |
|
88 | } | |
89 |
|
89 | |||
90 | input + .action-link, .action-link.first{ |
|
90 | input + .action-link, .action-link.first{ | |
91 | border-left: none; |
|
91 | border-left: none; | |
92 | } |
|
92 | } | |
93 |
|
93 | |||
94 | .action-link.last{ |
|
94 | .action-link.last{ | |
95 | margin-right: @padding; |
|
95 | margin-right: @padding; | |
96 | padding-right: @padding; |
|
96 | padding-right: @padding; | |
97 | } |
|
97 | } | |
98 |
|
98 | |||
99 | .action-link.active, |
|
99 | .action-link.active, | |
100 | .action-link.active a{ |
|
100 | .action-link.active a{ | |
101 | color: @grey4; |
|
101 | color: @grey4; | |
102 | } |
|
102 | } | |
103 |
|
103 | |||
104 | .action-link.disabled { |
|
104 | .action-link.disabled { | |
105 | color: @grey4; |
|
105 | color: @grey4; | |
106 | cursor: inherit; |
|
106 | cursor: inherit; | |
107 | } |
|
107 | } | |
108 |
|
108 | |||
|
109 | ||||
109 | .clipboard-action { |
|
110 | .clipboard-action { | |
110 | cursor: pointer; |
|
111 | cursor: pointer; | |
111 | color: @grey4; |
|
|||
112 | margin-left: 5px; |
|
112 | margin-left: 5px; | |
113 |
|
113 | |||
114 | &:hover { |
|
114 | &:not(.no-grey) { | |
115 | color: @grey2; |
|
115 | ||
|
116 | &:hover { | |||
|
117 | color: @grey2; | |||
|
118 | } | |||
|
119 | color: @grey4; | |||
116 | } |
|
120 | } | |
117 | } |
|
121 | } | |
118 |
|
122 | |||
119 | ul.simple-list{ |
|
123 | ul.simple-list{ | |
120 | list-style: none; |
|
124 | list-style: none; | |
121 | margin: 0; |
|
125 | margin: 0; | |
122 | padding: 0; |
|
126 | padding: 0; | |
123 | } |
|
127 | } | |
124 |
|
128 | |||
125 | .main-content { |
|
129 | .main-content { | |
126 | padding-bottom: @pagepadding; |
|
130 | padding-bottom: @pagepadding; | |
127 | } |
|
131 | } | |
128 |
|
132 | |||
129 | .wide-mode-wrapper { |
|
133 | .wide-mode-wrapper { | |
130 | max-width:4000px !important; |
|
134 | max-width:4000px !important; | |
131 | } |
|
135 | } | |
132 |
|
136 | |||
133 | .wrapper { |
|
137 | .wrapper { | |
134 | position: relative; |
|
138 | position: relative; | |
135 | max-width: @wrapper-maxwidth; |
|
139 | max-width: @wrapper-maxwidth; | |
136 | margin: 0 auto; |
|
140 | margin: 0 auto; | |
137 | } |
|
141 | } | |
138 |
|
142 | |||
139 | #content { |
|
143 | #content { | |
140 | clear: both; |
|
144 | clear: both; | |
141 | padding: 0 @contentpadding; |
|
145 | padding: 0 @contentpadding; | |
142 | } |
|
146 | } | |
143 |
|
147 | |||
144 | .advanced-settings-fields{ |
|
148 | .advanced-settings-fields{ | |
145 | input{ |
|
149 | input{ | |
146 | margin-left: @textmargin; |
|
150 | margin-left: @textmargin; | |
147 | margin-right: @padding/2; |
|
151 | margin-right: @padding/2; | |
148 | } |
|
152 | } | |
149 | } |
|
153 | } | |
150 |
|
154 | |||
151 | .cs_files_title { |
|
155 | .cs_files_title { | |
152 | margin: @pagepadding 0 0; |
|
156 | margin: @pagepadding 0 0; | |
153 | } |
|
157 | } | |
154 |
|
158 | |||
155 | input.inline[type="file"] { |
|
159 | input.inline[type="file"] { | |
156 | display: inline; |
|
160 | display: inline; | |
157 | } |
|
161 | } | |
158 |
|
162 | |||
159 | .error_page { |
|
163 | .error_page { | |
160 | margin: 10% auto; |
|
164 | margin: 10% auto; | |
161 |
|
165 | |||
162 | h1 { |
|
166 | h1 { | |
163 | color: @grey2; |
|
167 | color: @grey2; | |
164 | } |
|
168 | } | |
165 |
|
169 | |||
166 | .alert { |
|
170 | .alert { | |
167 | margin: @padding 0; |
|
171 | margin: @padding 0; | |
168 | } |
|
172 | } | |
169 |
|
173 | |||
170 | .error-branding { |
|
174 | .error-branding { | |
171 | color: @grey4; |
|
175 | color: @grey4; | |
172 | font-weight: @text-semibold-weight; |
|
176 | font-weight: @text-semibold-weight; | |
173 | font-family: @text-semibold; |
|
177 | font-family: @text-semibold; | |
174 | } |
|
178 | } | |
175 |
|
179 | |||
176 | .error_message { |
|
180 | .error_message { | |
177 | font-family: @text-regular; |
|
181 | font-family: @text-regular; | |
178 | } |
|
182 | } | |
179 |
|
183 | |||
180 | .sidebar { |
|
184 | .sidebar { | |
181 | min-height: 275px; |
|
185 | min-height: 275px; | |
182 | margin: 0; |
|
186 | margin: 0; | |
183 | padding: 0 0 @sidebarpadding @sidebarpadding; |
|
187 | padding: 0 0 @sidebarpadding @sidebarpadding; | |
184 | border: none; |
|
188 | border: none; | |
185 | } |
|
189 | } | |
186 |
|
190 | |||
187 | .main-content { |
|
191 | .main-content { | |
188 | position: relative; |
|
192 | position: relative; | |
189 | margin: 0 @sidebarpadding @sidebarpadding; |
|
193 | margin: 0 @sidebarpadding @sidebarpadding; | |
190 | padding: 0 0 0 @sidebarpadding; |
|
194 | padding: 0 0 0 @sidebarpadding; | |
191 | border-left: @border-thickness solid @grey5; |
|
195 | border-left: @border-thickness solid @grey5; | |
192 |
|
196 | |||
193 | @media (max-width:767px) { |
|
197 | @media (max-width:767px) { | |
194 | clear: both; |
|
198 | clear: both; | |
195 | width: 100%; |
|
199 | width: 100%; | |
196 | margin: 0; |
|
200 | margin: 0; | |
197 | border: none; |
|
201 | border: none; | |
198 | } |
|
202 | } | |
199 | } |
|
203 | } | |
200 |
|
204 | |||
201 | .inner-column { |
|
205 | .inner-column { | |
202 | float: left; |
|
206 | float: left; | |
203 | width: 29.75%; |
|
207 | width: 29.75%; | |
204 | min-height: 150px; |
|
208 | min-height: 150px; | |
205 | margin: @sidebarpadding 2% 0 0; |
|
209 | margin: @sidebarpadding 2% 0 0; | |
206 | padding: 0 2% 0 0; |
|
210 | padding: 0 2% 0 0; | |
207 | border-right: @border-thickness solid @grey5; |
|
211 | border-right: @border-thickness solid @grey5; | |
208 |
|
212 | |||
209 | @media (max-width:767px) { |
|
213 | @media (max-width:767px) { | |
210 | clear: both; |
|
214 | clear: both; | |
211 | width: 100%; |
|
215 | width: 100%; | |
212 | border: none; |
|
216 | border: none; | |
213 | } |
|
217 | } | |
214 |
|
218 | |||
215 | ul { |
|
219 | ul { | |
216 | padding-left: 1.25em; |
|
220 | padding-left: 1.25em; | |
217 | } |
|
221 | } | |
218 |
|
222 | |||
219 | &:last-child { |
|
223 | &:last-child { | |
220 | margin: @sidebarpadding 0 0; |
|
224 | margin: @sidebarpadding 0 0; | |
221 | border: none; |
|
225 | border: none; | |
222 | } |
|
226 | } | |
223 |
|
227 | |||
224 | h4 { |
|
228 | h4 { | |
225 | margin: 0 0 @padding; |
|
229 | margin: 0 0 @padding; | |
226 | font-weight: @text-semibold-weight; |
|
230 | font-weight: @text-semibold-weight; | |
227 | font-family: @text-semibold; |
|
231 | font-family: @text-semibold; | |
228 | } |
|
232 | } | |
229 | } |
|
233 | } | |
230 | } |
|
234 | } | |
231 | .error-page-logo { |
|
235 | .error-page-logo { | |
232 | width: 130px; |
|
236 | width: 130px; | |
233 | height: 160px; |
|
237 | height: 160px; | |
234 | } |
|
238 | } | |
235 |
|
239 | |||
236 | // HEADER |
|
240 | // HEADER | |
237 | .header { |
|
241 | .header { | |
238 |
|
242 | |||
239 | // TODO: johbo: Fix login pages, so that they work without a min-height |
|
243 | // TODO: johbo: Fix login pages, so that they work without a min-height | |
240 | // for the header and then remove the min-height. I chose a smaller value |
|
244 | // for the header and then remove the min-height. I chose a smaller value | |
241 | // intentionally here to avoid rendering issues in the main navigation. |
|
245 | // intentionally here to avoid rendering issues in the main navigation. | |
242 | min-height: 49px; |
|
246 | min-height: 49px; | |
243 | min-width: 1024px; |
|
247 | min-width: 1024px; | |
244 |
|
248 | |||
245 | position: relative; |
|
249 | position: relative; | |
246 | vertical-align: bottom; |
|
250 | vertical-align: bottom; | |
247 | padding: 0 @header-padding; |
|
251 | padding: 0 @header-padding; | |
248 | background-color: @grey1; |
|
252 | background-color: @grey1; | |
249 | color: @grey5; |
|
253 | color: @grey5; | |
250 |
|
254 | |||
251 | .title { |
|
255 | .title { | |
252 | overflow: visible; |
|
256 | overflow: visible; | |
253 | } |
|
257 | } | |
254 |
|
258 | |||
255 | &:before, |
|
259 | &:before, | |
256 | &:after { |
|
260 | &:after { | |
257 | content: ""; |
|
261 | content: ""; | |
258 | clear: both; |
|
262 | clear: both; | |
259 | width: 100%; |
|
263 | width: 100%; | |
260 | } |
|
264 | } | |
261 |
|
265 | |||
262 | // TODO: johbo: Avoids breaking "Repositories" chooser |
|
266 | // TODO: johbo: Avoids breaking "Repositories" chooser | |
263 | .select2-container .select2-choice .select2-arrow { |
|
267 | .select2-container .select2-choice .select2-arrow { | |
264 | display: none; |
|
268 | display: none; | |
265 | } |
|
269 | } | |
266 | } |
|
270 | } | |
267 |
|
271 | |||
268 | #header-inner { |
|
272 | #header-inner { | |
269 | &.title { |
|
273 | &.title { | |
270 | margin: 0; |
|
274 | margin: 0; | |
271 | } |
|
275 | } | |
272 | &:before, |
|
276 | &:before, | |
273 | &:after { |
|
277 | &:after { | |
274 | content: ""; |
|
278 | content: ""; | |
275 | clear: both; |
|
279 | clear: both; | |
276 | } |
|
280 | } | |
277 | } |
|
281 | } | |
278 |
|
282 | |||
279 | // Gists |
|
283 | // Gists | |
280 | #files_data { |
|
284 | #files_data { | |
281 | clear: both; //for firefox |
|
285 | clear: both; //for firefox | |
282 | padding-top: 10px; |
|
286 | padding-top: 10px; | |
283 | } |
|
287 | } | |
284 |
|
288 | |||
285 | #gistid { |
|
289 | #gistid { | |
286 | margin-right: @padding; |
|
290 | margin-right: @padding; | |
287 | } |
|
291 | } | |
288 |
|
292 | |||
289 | // Global Settings Editor |
|
293 | // Global Settings Editor | |
290 | .textarea.editor { |
|
294 | .textarea.editor { | |
291 | float: left; |
|
295 | float: left; | |
292 | position: relative; |
|
296 | position: relative; | |
293 | max-width: @texteditor-width; |
|
297 | max-width: @texteditor-width; | |
294 |
|
298 | |||
295 | select { |
|
299 | select { | |
296 | position: absolute; |
|
300 | position: absolute; | |
297 | top:10px; |
|
301 | top:10px; | |
298 | right:0; |
|
302 | right:0; | |
299 | } |
|
303 | } | |
300 |
|
304 | |||
301 | .CodeMirror { |
|
305 | .CodeMirror { | |
302 | margin: 0; |
|
306 | margin: 0; | |
303 | } |
|
307 | } | |
304 |
|
308 | |||
305 | .help-block { |
|
309 | .help-block { | |
306 | margin: 0 0 @padding; |
|
310 | margin: 0 0 @padding; | |
307 | padding:.5em; |
|
311 | padding:.5em; | |
308 | background-color: @grey6; |
|
312 | background-color: @grey6; | |
309 | &.pre-formatting { |
|
313 | &.pre-formatting { | |
310 | white-space: pre; |
|
314 | white-space: pre; | |
311 | } |
|
315 | } | |
312 | } |
|
316 | } | |
313 | } |
|
317 | } | |
314 |
|
318 | |||
315 | ul.auth_plugins { |
|
319 | ul.auth_plugins { | |
316 | margin: @padding 0 @padding @legend-width; |
|
320 | margin: @padding 0 @padding @legend-width; | |
317 | padding: 0; |
|
321 | padding: 0; | |
318 |
|
322 | |||
319 | li { |
|
323 | li { | |
320 | margin-bottom: @padding; |
|
324 | margin-bottom: @padding; | |
321 | line-height: 1em; |
|
325 | line-height: 1em; | |
322 | list-style-type: none; |
|
326 | list-style-type: none; | |
323 |
|
327 | |||
324 | .auth_buttons .btn { |
|
328 | .auth_buttons .btn { | |
325 | margin-right: @padding; |
|
329 | margin-right: @padding; | |
326 | } |
|
330 | } | |
327 |
|
331 | |||
328 | } |
|
332 | } | |
329 | } |
|
333 | } | |
330 |
|
334 | |||
331 |
|
335 | |||
332 | // My Account PR list |
|
336 | // My Account PR list | |
333 |
|
337 | |||
334 | #show_closed { |
|
338 | #show_closed { | |
335 | margin: 0 1em 0 0; |
|
339 | margin: 0 1em 0 0; | |
336 | } |
|
340 | } | |
337 |
|
341 | |||
338 | #pull_request_list_table { |
|
342 | #pull_request_list_table { | |
339 | .closed { |
|
343 | .closed { | |
340 | background-color: @grey6; |
|
344 | background-color: @grey6; | |
341 | } |
|
345 | } | |
342 |
|
346 | |||
343 | .state-creating, |
|
347 | .state-creating, | |
344 | .state-updating, |
|
348 | .state-updating, | |
345 | .state-merging |
|
349 | .state-merging | |
346 | { |
|
350 | { | |
347 | background-color: @grey6; |
|
351 | background-color: @grey6; | |
348 | } |
|
352 | } | |
349 |
|
353 | |||
350 | .td-status { |
|
354 | .td-status { | |
351 | padding-left: .5em; |
|
355 | padding-left: .5em; | |
352 | } |
|
356 | } | |
353 | .log-container .truncate { |
|
357 | .log-container .truncate { | |
354 | height: 2.75em; |
|
358 | height: 2.75em; | |
355 | white-space: pre-line; |
|
359 | white-space: pre-line; | |
356 | } |
|
360 | } | |
357 | table.rctable .user { |
|
361 | table.rctable .user { | |
358 | padding-left: 0; |
|
362 | padding-left: 0; | |
359 | } |
|
363 | } | |
360 | table.rctable { |
|
364 | table.rctable { | |
361 | td.td-description, |
|
365 | td.td-description, | |
362 | .rc-user { |
|
366 | .rc-user { | |
363 | min-width: auto; |
|
367 | min-width: auto; | |
364 | } |
|
368 | } | |
365 | } |
|
369 | } | |
366 | } |
|
370 | } | |
367 |
|
371 | |||
368 | // Pull Requests |
|
372 | // Pull Requests | |
369 |
|
373 | |||
370 | .pullrequests_section_head { |
|
374 | .pullrequests_section_head { | |
371 | display: block; |
|
375 | display: block; | |
372 | clear: both; |
|
376 | clear: both; | |
373 | margin: @padding 0; |
|
377 | margin: @padding 0; | |
374 | font-weight: @text-bold-weight; |
|
378 | font-weight: @text-bold-weight; | |
375 | font-family: @text-bold; |
|
379 | font-family: @text-bold; | |
376 | } |
|
380 | } | |
377 |
|
381 | |||
378 | .pr-origininfo, .pr-targetinfo { |
|
382 | .pr-origininfo, .pr-targetinfo { | |
379 | position: relative; |
|
383 | position: relative; | |
380 |
|
384 | |||
381 | .tag { |
|
385 | .tag { | |
382 | display: inline-block; |
|
386 | display: inline-block; | |
383 | margin: 0 1em .5em 0; |
|
387 | margin: 0 1em .5em 0; | |
384 | } |
|
388 | } | |
385 |
|
389 | |||
386 | .clone-url { |
|
390 | .clone-url { | |
387 | display: inline-block; |
|
391 | display: inline-block; | |
388 | margin: 0 0 .5em 0; |
|
392 | margin: 0 0 .5em 0; | |
389 | padding: 0; |
|
393 | padding: 0; | |
390 | line-height: 1.2em; |
|
394 | line-height: 1.2em; | |
391 | } |
|
395 | } | |
392 | } |
|
396 | } | |
393 |
|
397 | |||
394 | .pr-mergeinfo { |
|
398 | .pr-mergeinfo { | |
395 | min-width: 95% !important; |
|
399 | min-width: 95% !important; | |
396 | padding: 0 !important; |
|
400 | padding: 0 !important; | |
397 | border: 0; |
|
401 | border: 0; | |
398 | } |
|
402 | } | |
399 | .pr-mergeinfo-copy { |
|
403 | .pr-mergeinfo-copy { | |
400 | padding: 0 0; |
|
404 | padding: 0 0; | |
401 | } |
|
405 | } | |
402 |
|
406 | |||
403 | .pr-pullinfo { |
|
407 | .pr-pullinfo { | |
404 | min-width: 95% !important; |
|
408 | min-width: 95% !important; | |
405 | padding: 0 !important; |
|
409 | padding: 0 !important; | |
406 | border: 0; |
|
410 | border: 0; | |
407 | } |
|
411 | } | |
408 | .pr-pullinfo-copy { |
|
412 | .pr-pullinfo-copy { | |
409 | padding: 0 0; |
|
413 | padding: 0 0; | |
410 | } |
|
414 | } | |
411 |
|
415 | |||
412 |
|
416 | |||
413 | #pr-title-input { |
|
417 | #pr-title-input { | |
414 | width: 72%; |
|
418 | width: 72%; | |
415 | font-size: 1em; |
|
419 | font-size: 1em; | |
416 | margin: 0; |
|
420 | margin: 0; | |
417 | padding: 0 0 0 @padding/4; |
|
421 | padding: 0 0 0 @padding/4; | |
418 | line-height: 1.7em; |
|
422 | line-height: 1.7em; | |
419 | color: @text-color; |
|
423 | color: @text-color; | |
420 | letter-spacing: .02em; |
|
424 | letter-spacing: .02em; | |
421 | font-weight: @text-bold-weight; |
|
425 | font-weight: @text-bold-weight; | |
422 | font-family: @text-bold; |
|
426 | font-family: @text-bold; | |
423 | } |
|
427 | } | |
424 |
|
428 | |||
425 | #pullrequest_title { |
|
429 | #pullrequest_title { | |
426 | width: 100%; |
|
430 | width: 100%; | |
427 | box-sizing: border-box; |
|
431 | box-sizing: border-box; | |
428 | } |
|
432 | } | |
429 |
|
433 | |||
430 | #pr_open_message { |
|
434 | #pr_open_message { | |
431 | border: @border-thickness solid #fff; |
|
435 | border: @border-thickness solid #fff; | |
432 | border-radius: @border-radius; |
|
436 | border-radius: @border-radius; | |
433 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; |
|
437 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; | |
434 | text-align: left; |
|
438 | text-align: left; | |
435 | overflow: hidden; |
|
439 | overflow: hidden; | |
436 | } |
|
440 | } | |
437 |
|
441 | |||
438 | .pr-submit-button { |
|
442 | .pr-submit-button { | |
439 | float: right; |
|
443 | float: right; | |
440 | margin: 0 0 0 5px; |
|
444 | margin: 0 0 0 5px; | |
441 | } |
|
445 | } | |
442 |
|
446 | |||
443 | .pr-spacing-container { |
|
447 | .pr-spacing-container { | |
444 | padding: 20px; |
|
448 | padding: 20px; | |
445 | clear: both |
|
449 | clear: both | |
446 | } |
|
450 | } | |
447 |
|
451 | |||
448 | #pr-description-input { |
|
452 | #pr-description-input { | |
449 | margin-bottom: 0; |
|
453 | margin-bottom: 0; | |
450 | } |
|
454 | } | |
451 |
|
455 | |||
452 | .pr-description-label { |
|
456 | .pr-description-label { | |
453 | vertical-align: top; |
|
457 | vertical-align: top; | |
454 | } |
|
458 | } | |
455 |
|
459 | |||
456 | .perms_section_head { |
|
460 | .perms_section_head { | |
457 | min-width: 625px; |
|
461 | min-width: 625px; | |
458 |
|
462 | |||
459 | h2 { |
|
463 | h2 { | |
460 | margin-bottom: 0; |
|
464 | margin-bottom: 0; | |
461 | } |
|
465 | } | |
462 |
|
466 | |||
463 | .label-checkbox { |
|
467 | .label-checkbox { | |
464 | float: left; |
|
468 | float: left; | |
465 | } |
|
469 | } | |
466 |
|
470 | |||
467 | &.field { |
|
471 | &.field { | |
468 | margin: @space 0 @padding; |
|
472 | margin: @space 0 @padding; | |
469 | } |
|
473 | } | |
470 |
|
474 | |||
471 | &:first-child.field { |
|
475 | &:first-child.field { | |
472 | margin-top: 0; |
|
476 | margin-top: 0; | |
473 |
|
477 | |||
474 | .label { |
|
478 | .label { | |
475 | margin-top: 0; |
|
479 | margin-top: 0; | |
476 | padding-top: 0; |
|
480 | padding-top: 0; | |
477 | } |
|
481 | } | |
478 |
|
482 | |||
479 | .radios { |
|
483 | .radios { | |
480 | padding-top: 0; |
|
484 | padding-top: 0; | |
481 | } |
|
485 | } | |
482 | } |
|
486 | } | |
483 |
|
487 | |||
484 | .radios { |
|
488 | .radios { | |
485 | position: relative; |
|
489 | position: relative; | |
486 | width: 505px; |
|
490 | width: 505px; | |
487 | } |
|
491 | } | |
488 | } |
|
492 | } | |
489 |
|
493 | |||
490 | //--- MODULES ------------------// |
|
494 | //--- MODULES ------------------// | |
491 |
|
495 | |||
492 |
|
496 | |||
493 | // Server Announcement |
|
497 | // Server Announcement | |
494 | #server-announcement { |
|
498 | #server-announcement { | |
495 | width: 95%; |
|
499 | width: 95%; | |
496 | margin: @padding auto; |
|
500 | margin: @padding auto; | |
497 | padding: @padding; |
|
501 | padding: @padding; | |
498 | border-width: 2px; |
|
502 | border-width: 2px; | |
499 | border-style: solid; |
|
503 | border-style: solid; | |
500 | .border-radius(2px); |
|
504 | .border-radius(2px); | |
501 | font-weight: @text-bold-weight; |
|
505 | font-weight: @text-bold-weight; | |
502 | font-family: @text-bold; |
|
506 | font-family: @text-bold; | |
503 |
|
507 | |||
504 | &.info { border-color: @alert4; background-color: @alert4-inner; } |
|
508 | &.info { border-color: @alert4; background-color: @alert4-inner; } | |
505 | &.warning { border-color: @alert3; background-color: @alert3-inner; } |
|
509 | &.warning { border-color: @alert3; background-color: @alert3-inner; } | |
506 | &.error { border-color: @alert2; background-color: @alert2-inner; } |
|
510 | &.error { border-color: @alert2; background-color: @alert2-inner; } | |
507 | &.success { border-color: @alert1; background-color: @alert1-inner; } |
|
511 | &.success { border-color: @alert1; background-color: @alert1-inner; } | |
508 | &.neutral { border-color: @grey3; background-color: @grey6; } |
|
512 | &.neutral { border-color: @grey3; background-color: @grey6; } | |
509 | } |
|
513 | } | |
510 |
|
514 | |||
511 | // Fixed Sidebar Column |
|
515 | // Fixed Sidebar Column | |
512 | .sidebar-col-wrapper { |
|
516 | .sidebar-col-wrapper { | |
513 | padding-left: @sidebar-all-width; |
|
517 | padding-left: @sidebar-all-width; | |
514 |
|
518 | |||
515 | .sidebar { |
|
519 | .sidebar { | |
516 | width: @sidebar-width; |
|
520 | width: @sidebar-width; | |
517 | margin-left: -@sidebar-all-width; |
|
521 | margin-left: -@sidebar-all-width; | |
518 | } |
|
522 | } | |
519 | } |
|
523 | } | |
520 |
|
524 | |||
521 | .sidebar-col-wrapper.scw-small { |
|
525 | .sidebar-col-wrapper.scw-small { | |
522 | padding-left: @sidebar-small-all-width; |
|
526 | padding-left: @sidebar-small-all-width; | |
523 |
|
527 | |||
524 | .sidebar { |
|
528 | .sidebar { | |
525 | width: @sidebar-small-width; |
|
529 | width: @sidebar-small-width; | |
526 | margin-left: -@sidebar-small-all-width; |
|
530 | margin-left: -@sidebar-small-all-width; | |
527 | } |
|
531 | } | |
528 | } |
|
532 | } | |
529 |
|
533 | |||
530 |
|
534 | |||
531 | // FOOTER |
|
535 | // FOOTER | |
532 | #footer { |
|
536 | #footer { | |
533 | padding: 0; |
|
537 | padding: 0; | |
534 | text-align: center; |
|
538 | text-align: center; | |
535 | vertical-align: middle; |
|
539 | vertical-align: middle; | |
536 | color: @grey2; |
|
540 | color: @grey2; | |
537 | font-size: 11px; |
|
541 | font-size: 11px; | |
538 |
|
542 | |||
539 | p { |
|
543 | p { | |
540 | margin: 0; |
|
544 | margin: 0; | |
541 | padding: 1em; |
|
545 | padding: 1em; | |
542 | line-height: 1em; |
|
546 | line-height: 1em; | |
543 | } |
|
547 | } | |
544 |
|
548 | |||
545 | .server-instance { //server instance |
|
549 | .server-instance { //server instance | |
546 | display: none; |
|
550 | display: none; | |
547 | } |
|
551 | } | |
548 |
|
552 | |||
549 | .title { |
|
553 | .title { | |
550 | float: none; |
|
554 | float: none; | |
551 | margin: 0 auto; |
|
555 | margin: 0 auto; | |
552 | } |
|
556 | } | |
553 | } |
|
557 | } | |
554 |
|
558 | |||
555 | button.close { |
|
559 | button.close { | |
556 | padding: 0; |
|
560 | padding: 0; | |
557 | cursor: pointer; |
|
561 | cursor: pointer; | |
558 | background: transparent; |
|
562 | background: transparent; | |
559 | border: 0; |
|
563 | border: 0; | |
560 | .box-shadow(none); |
|
564 | .box-shadow(none); | |
561 | -webkit-appearance: none; |
|
565 | -webkit-appearance: none; | |
562 | } |
|
566 | } | |
563 |
|
567 | |||
564 | .close { |
|
568 | .close { | |
565 | float: right; |
|
569 | float: right; | |
566 | font-size: 21px; |
|
570 | font-size: 21px; | |
567 | font-family: @text-bootstrap; |
|
571 | font-family: @text-bootstrap; | |
568 | line-height: 1em; |
|
572 | line-height: 1em; | |
569 | font-weight: bold; |
|
573 | font-weight: bold; | |
570 | color: @grey2; |
|
574 | color: @grey2; | |
571 |
|
575 | |||
572 | &:hover, |
|
576 | &:hover, | |
573 | &:focus { |
|
577 | &:focus { | |
574 | color: @grey1; |
|
578 | color: @grey1; | |
575 | text-decoration: none; |
|
579 | text-decoration: none; | |
576 | cursor: pointer; |
|
580 | cursor: pointer; | |
577 | } |
|
581 | } | |
578 | } |
|
582 | } | |
579 |
|
583 | |||
580 | // GRID |
|
584 | // GRID | |
581 | .sorting, |
|
585 | .sorting, | |
582 | .sorting_desc, |
|
586 | .sorting_desc, | |
583 | .sorting_asc { |
|
587 | .sorting_asc { | |
584 | cursor: pointer; |
|
588 | cursor: pointer; | |
585 | } |
|
589 | } | |
586 | .sorting_desc:after { |
|
590 | .sorting_desc:after { | |
587 | content: "\00A0\25B2"; |
|
591 | content: "\00A0\25B2"; | |
588 | font-size: .75em; |
|
592 | font-size: .75em; | |
589 | } |
|
593 | } | |
590 | .sorting_asc:after { |
|
594 | .sorting_asc:after { | |
591 | content: "\00A0\25BC"; |
|
595 | content: "\00A0\25BC"; | |
592 | font-size: .68em; |
|
596 | font-size: .68em; | |
593 | } |
|
597 | } | |
594 |
|
598 | |||
595 |
|
599 | |||
596 | .user_auth_tokens { |
|
600 | .user_auth_tokens { | |
597 |
|
601 | |||
598 | &.truncate { |
|
602 | &.truncate { | |
599 | white-space: nowrap; |
|
603 | white-space: nowrap; | |
600 | overflow: hidden; |
|
604 | overflow: hidden; | |
601 | text-overflow: ellipsis; |
|
605 | text-overflow: ellipsis; | |
602 | } |
|
606 | } | |
603 |
|
607 | |||
604 | .fields .field .input { |
|
608 | .fields .field .input { | |
605 | margin: 0; |
|
609 | margin: 0; | |
606 | } |
|
610 | } | |
607 |
|
611 | |||
608 | input#description { |
|
612 | input#description { | |
609 | width: 100px; |
|
613 | width: 100px; | |
610 | margin: 0; |
|
614 | margin: 0; | |
611 | } |
|
615 | } | |
612 |
|
616 | |||
613 | .drop-menu { |
|
617 | .drop-menu { | |
614 | // TODO: johbo: Remove this, should work out of the box when |
|
618 | // TODO: johbo: Remove this, should work out of the box when | |
615 | // having multiple inputs inline |
|
619 | // having multiple inputs inline | |
616 | margin: 0 0 0 5px; |
|
620 | margin: 0 0 0 5px; | |
617 | } |
|
621 | } | |
618 | } |
|
622 | } | |
619 | #user_list_table { |
|
623 | #user_list_table { | |
620 | .closed { |
|
624 | .closed { | |
621 | background-color: @grey6; |
|
625 | background-color: @grey6; | |
622 | } |
|
626 | } | |
623 | } |
|
627 | } | |
624 |
|
628 | |||
625 |
|
629 | |||
626 | input, textarea { |
|
630 | input, textarea { | |
627 | &.disabled { |
|
631 | &.disabled { | |
628 | opacity: .5; |
|
632 | opacity: .5; | |
629 | } |
|
633 | } | |
630 |
|
634 | |||
631 | &:hover { |
|
635 | &:hover { | |
632 | border-color: @grey3; |
|
636 | border-color: @grey3; | |
633 | box-shadow: @button-shadow; |
|
637 | box-shadow: @button-shadow; | |
634 | } |
|
638 | } | |
635 |
|
639 | |||
636 | &:focus { |
|
640 | &:focus { | |
637 | border-color: @rcblue; |
|
641 | border-color: @rcblue; | |
638 | box-shadow: @button-shadow; |
|
642 | box-shadow: @button-shadow; | |
639 | } |
|
643 | } | |
640 | } |
|
644 | } | |
641 |
|
645 | |||
642 | // remove extra padding in firefox |
|
646 | // remove extra padding in firefox | |
643 | input::-moz-focus-inner { border:0; padding:0 } |
|
647 | input::-moz-focus-inner { border:0; padding:0 } | |
644 |
|
648 | |||
645 | .adjacent input { |
|
649 | .adjacent input { | |
646 | margin-bottom: @padding; |
|
650 | margin-bottom: @padding; | |
647 | } |
|
651 | } | |
648 |
|
652 | |||
649 | .permissions_boxes { |
|
653 | .permissions_boxes { | |
650 | display: block; |
|
654 | display: block; | |
651 | } |
|
655 | } | |
652 |
|
656 | |||
653 | //FORMS |
|
657 | //FORMS | |
654 |
|
658 | |||
655 | .medium-inline, |
|
659 | .medium-inline, | |
656 | input#description.medium-inline { |
|
660 | input#description.medium-inline { | |
657 | display: inline; |
|
661 | display: inline; | |
658 | width: @medium-inline-input-width; |
|
662 | width: @medium-inline-input-width; | |
659 | min-width: 100px; |
|
663 | min-width: 100px; | |
660 | } |
|
664 | } | |
661 |
|
665 | |||
662 | select { |
|
666 | select { | |
663 | //reset |
|
667 | //reset | |
664 | -webkit-appearance: none; |
|
668 | -webkit-appearance: none; | |
665 | -moz-appearance: none; |
|
669 | -moz-appearance: none; | |
666 |
|
670 | |||
667 | display: inline-block; |
|
671 | display: inline-block; | |
668 | height: 28px; |
|
672 | height: 28px; | |
669 | width: auto; |
|
673 | width: auto; | |
670 | margin: 0 @padding @padding 0; |
|
674 | margin: 0 @padding @padding 0; | |
671 | padding: 0 18px 0 8px; |
|
675 | padding: 0 18px 0 8px; | |
672 | line-height:1em; |
|
676 | line-height:1em; | |
673 | font-size: @basefontsize; |
|
677 | font-size: @basefontsize; | |
674 | border: @border-thickness solid @grey5; |
|
678 | border: @border-thickness solid @grey5; | |
675 | border-radius: @border-radius; |
|
679 | border-radius: @border-radius; | |
676 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; |
|
680 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; | |
677 | color: @grey4; |
|
681 | color: @grey4; | |
678 | box-shadow: @button-shadow; |
|
682 | box-shadow: @button-shadow; | |
679 |
|
683 | |||
680 | &:after { |
|
684 | &:after { | |
681 | content: "\00A0\25BE"; |
|
685 | content: "\00A0\25BE"; | |
682 | } |
|
686 | } | |
683 |
|
687 | |||
684 | &:focus, &:hover { |
|
688 | &:focus, &:hover { | |
685 | outline: none; |
|
689 | outline: none; | |
686 | border-color: @grey4; |
|
690 | border-color: @grey4; | |
687 | color: @rcdarkblue; |
|
691 | color: @rcdarkblue; | |
688 | } |
|
692 | } | |
689 | } |
|
693 | } | |
690 |
|
694 | |||
691 | option { |
|
695 | option { | |
692 | &:focus { |
|
696 | &:focus { | |
693 | outline: none; |
|
697 | outline: none; | |
694 | } |
|
698 | } | |
695 | } |
|
699 | } | |
696 |
|
700 | |||
697 | input, |
|
701 | input, | |
698 | textarea { |
|
702 | textarea { | |
699 | padding: @input-padding; |
|
703 | padding: @input-padding; | |
700 | border: @input-border-thickness solid @border-highlight-color; |
|
704 | border: @input-border-thickness solid @border-highlight-color; | |
701 | .border-radius (@border-radius); |
|
705 | .border-radius (@border-radius); | |
702 | font-family: @text-light; |
|
706 | font-family: @text-light; | |
703 | font-size: @basefontsize; |
|
707 | font-size: @basefontsize; | |
704 |
|
708 | |||
705 | &.input-sm { |
|
709 | &.input-sm { | |
706 | padding: 5px; |
|
710 | padding: 5px; | |
707 | } |
|
711 | } | |
708 |
|
712 | |||
709 | &#description { |
|
713 | &#description { | |
710 | min-width: @input-description-minwidth; |
|
714 | min-width: @input-description-minwidth; | |
711 | min-height: 1em; |
|
715 | min-height: 1em; | |
712 | padding: 10px; |
|
716 | padding: 10px; | |
713 | } |
|
717 | } | |
714 | } |
|
718 | } | |
715 |
|
719 | |||
716 | .field-sm { |
|
720 | .field-sm { | |
717 | input, |
|
721 | input, | |
718 | textarea { |
|
722 | textarea { | |
719 | padding: 5px; |
|
723 | padding: 5px; | |
720 | } |
|
724 | } | |
721 | } |
|
725 | } | |
722 |
|
726 | |||
723 | textarea { |
|
727 | textarea { | |
724 | display: block; |
|
728 | display: block; | |
725 | clear: both; |
|
729 | clear: both; | |
726 | width: 100%; |
|
730 | width: 100%; | |
727 | min-height: 100px; |
|
731 | min-height: 100px; | |
728 | margin-bottom: @padding; |
|
732 | margin-bottom: @padding; | |
729 | .box-sizing(border-box); |
|
733 | .box-sizing(border-box); | |
730 | overflow: auto; |
|
734 | overflow: auto; | |
731 | } |
|
735 | } | |
732 |
|
736 | |||
733 | label { |
|
737 | label { | |
734 | font-family: @text-light; |
|
738 | font-family: @text-light; | |
735 | } |
|
739 | } | |
736 |
|
740 | |||
737 | // GRAVATARS |
|
741 | // GRAVATARS | |
738 | // centers gravatar on username to the right |
|
742 | // centers gravatar on username to the right | |
739 |
|
743 | |||
740 | .gravatar { |
|
744 | .gravatar { | |
741 | display: inline; |
|
745 | display: inline; | |
742 | min-width: 16px; |
|
746 | min-width: 16px; | |
743 | min-height: 16px; |
|
747 | min-height: 16px; | |
744 | margin: -5px 0; |
|
748 | margin: -5px 0; | |
745 | padding: 0; |
|
749 | padding: 0; | |
746 | line-height: 1em; |
|
750 | line-height: 1em; | |
747 | box-sizing: content-box; |
|
751 | box-sizing: content-box; | |
748 | border-radius: 50%; |
|
752 | border-radius: 50%; | |
749 |
|
753 | |||
750 | &.gravatar-large { |
|
754 | &.gravatar-large { | |
751 | margin: -0.5em .25em -0.5em 0; |
|
755 | margin: -0.5em .25em -0.5em 0; | |
752 | } |
|
756 | } | |
753 |
|
757 | |||
754 | & + .user { |
|
758 | & + .user { | |
755 | display: inline; |
|
759 | display: inline; | |
756 | margin: 0; |
|
760 | margin: 0; | |
757 | padding: 0 0 0 .17em; |
|
761 | padding: 0 0 0 .17em; | |
758 | line-height: 1em; |
|
762 | line-height: 1em; | |
759 | } |
|
763 | } | |
760 | } |
|
764 | } | |
761 |
|
765 | |||
762 | .user-inline-data { |
|
766 | .user-inline-data { | |
763 | display: inline-block; |
|
767 | display: inline-block; | |
764 | float: left; |
|
768 | float: left; | |
765 | padding-left: .5em; |
|
769 | padding-left: .5em; | |
766 | line-height: 1.3em; |
|
770 | line-height: 1.3em; | |
767 | } |
|
771 | } | |
768 |
|
772 | |||
769 | .rc-user { // gravatar + user wrapper |
|
773 | .rc-user { // gravatar + user wrapper | |
770 | float: left; |
|
774 | float: left; | |
771 | position: relative; |
|
775 | position: relative; | |
772 | min-width: 100px; |
|
776 | min-width: 100px; | |
773 | max-width: 200px; |
|
777 | max-width: 200px; | |
774 | min-height: (@gravatar-size + @border-thickness * 2); // account for border |
|
778 | min-height: (@gravatar-size + @border-thickness * 2); // account for border | |
775 | display: block; |
|
779 | display: block; | |
776 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); |
|
780 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); | |
777 |
|
781 | |||
778 |
|
782 | |||
779 | .gravatar { |
|
783 | .gravatar { | |
780 | display: block; |
|
784 | display: block; | |
781 | position: absolute; |
|
785 | position: absolute; | |
782 | top: 0; |
|
786 | top: 0; | |
783 | left: 0; |
|
787 | left: 0; | |
784 | min-width: @gravatar-size; |
|
788 | min-width: @gravatar-size; | |
785 | min-height: @gravatar-size; |
|
789 | min-height: @gravatar-size; | |
786 | margin: 0; |
|
790 | margin: 0; | |
787 | } |
|
791 | } | |
788 |
|
792 | |||
789 | .user { |
|
793 | .user { | |
790 | display: block; |
|
794 | display: block; | |
791 | max-width: 175px; |
|
795 | max-width: 175px; | |
792 | padding-top: 2px; |
|
796 | padding-top: 2px; | |
793 | overflow: hidden; |
|
797 | overflow: hidden; | |
794 | text-overflow: ellipsis; |
|
798 | text-overflow: ellipsis; | |
795 | } |
|
799 | } | |
796 | } |
|
800 | } | |
797 |
|
801 | |||
798 | .gist-gravatar, |
|
802 | .gist-gravatar, | |
799 | .journal_container { |
|
803 | .journal_container { | |
800 | .gravatar-large { |
|
804 | .gravatar-large { | |
801 | margin: 0 .5em -10px 0; |
|
805 | margin: 0 .5em -10px 0; | |
802 | } |
|
806 | } | |
803 | } |
|
807 | } | |
804 |
|
808 | |||
805 | .gist-type-fields { |
|
809 | .gist-type-fields { | |
806 | line-height: 30px; |
|
810 | line-height: 30px; | |
807 | height: 30px; |
|
811 | height: 30px; | |
808 |
|
812 | |||
809 | .gist-type-fields-wrapper { |
|
813 | .gist-type-fields-wrapper { | |
810 | vertical-align: middle; |
|
814 | vertical-align: middle; | |
811 | display: inline-block; |
|
815 | display: inline-block; | |
812 | line-height: 25px; |
|
816 | line-height: 25px; | |
813 | } |
|
817 | } | |
814 | } |
|
818 | } | |
815 |
|
819 | |||
816 | // ADMIN SETTINGS |
|
820 | // ADMIN SETTINGS | |
817 |
|
821 | |||
818 | // Tag Patterns |
|
822 | // Tag Patterns | |
819 | .tag_patterns { |
|
823 | .tag_patterns { | |
820 | .tag_input { |
|
824 | .tag_input { | |
821 | margin-bottom: @padding; |
|
825 | margin-bottom: @padding; | |
822 | } |
|
826 | } | |
823 | } |
|
827 | } | |
824 |
|
828 | |||
825 | .locked_input { |
|
829 | .locked_input { | |
826 | position: relative; |
|
830 | position: relative; | |
827 |
|
831 | |||
828 | input { |
|
832 | input { | |
829 | display: inline; |
|
833 | display: inline; | |
830 | margin: 3px 5px 0px 0px; |
|
834 | margin: 3px 5px 0px 0px; | |
831 | } |
|
835 | } | |
832 |
|
836 | |||
833 | br { |
|
837 | br { | |
834 | display: none; |
|
838 | display: none; | |
835 | } |
|
839 | } | |
836 |
|
840 | |||
837 | .error-message { |
|
841 | .error-message { | |
838 | float: left; |
|
842 | float: left; | |
839 | width: 100%; |
|
843 | width: 100%; | |
840 | } |
|
844 | } | |
841 |
|
845 | |||
842 | .lock_input_button { |
|
846 | .lock_input_button { | |
843 | display: inline; |
|
847 | display: inline; | |
844 | } |
|
848 | } | |
845 |
|
849 | |||
846 | .help-block { |
|
850 | .help-block { | |
847 | clear: both; |
|
851 | clear: both; | |
848 | } |
|
852 | } | |
849 | } |
|
853 | } | |
850 |
|
854 | |||
851 | // Notifications |
|
855 | // Notifications | |
852 |
|
856 | |||
853 | .notifications_buttons { |
|
857 | .notifications_buttons { | |
854 | margin: 0 0 @space 0; |
|
858 | margin: 0 0 @space 0; | |
855 | padding: 0; |
|
859 | padding: 0; | |
856 |
|
860 | |||
857 | .btn { |
|
861 | .btn { | |
858 | display: inline-block; |
|
862 | display: inline-block; | |
859 | } |
|
863 | } | |
860 | } |
|
864 | } | |
861 |
|
865 | |||
862 | .notification-list { |
|
866 | .notification-list { | |
863 |
|
867 | |||
864 | div { |
|
868 | div { | |
865 | vertical-align: middle; |
|
869 | vertical-align: middle; | |
866 | } |
|
870 | } | |
867 |
|
871 | |||
868 | .container { |
|
872 | .container { | |
869 | display: block; |
|
873 | display: block; | |
870 | margin: 0 0 @padding 0; |
|
874 | margin: 0 0 @padding 0; | |
871 | } |
|
875 | } | |
872 |
|
876 | |||
873 | .delete-notifications { |
|
877 | .delete-notifications { | |
874 | margin-left: @padding; |
|
878 | margin-left: @padding; | |
875 | text-align: right; |
|
879 | text-align: right; | |
876 | cursor: pointer; |
|
880 | cursor: pointer; | |
877 | } |
|
881 | } | |
878 |
|
882 | |||
879 | .read-notifications { |
|
883 | .read-notifications { | |
880 | margin-left: @padding/2; |
|
884 | margin-left: @padding/2; | |
881 | text-align: right; |
|
885 | text-align: right; | |
882 | width: 35px; |
|
886 | width: 35px; | |
883 | cursor: pointer; |
|
887 | cursor: pointer; | |
884 | } |
|
888 | } | |
885 |
|
889 | |||
886 | .icon-minus-sign { |
|
890 | .icon-minus-sign { | |
887 | color: @alert2; |
|
891 | color: @alert2; | |
888 | } |
|
892 | } | |
889 |
|
893 | |||
890 | .icon-ok-sign { |
|
894 | .icon-ok-sign { | |
891 | color: @alert1; |
|
895 | color: @alert1; | |
892 | } |
|
896 | } | |
893 | } |
|
897 | } | |
894 |
|
898 | |||
895 | .user_settings { |
|
899 | .user_settings { | |
896 | float: left; |
|
900 | float: left; | |
897 | clear: both; |
|
901 | clear: both; | |
898 | display: block; |
|
902 | display: block; | |
899 | width: 100%; |
|
903 | width: 100%; | |
900 |
|
904 | |||
901 | .gravatar_box { |
|
905 | .gravatar_box { | |
902 | margin-bottom: @padding; |
|
906 | margin-bottom: @padding; | |
903 |
|
907 | |||
904 | &:after { |
|
908 | &:after { | |
905 | content: " "; |
|
909 | content: " "; | |
906 | clear: both; |
|
910 | clear: both; | |
907 | width: 100%; |
|
911 | width: 100%; | |
908 | } |
|
912 | } | |
909 | } |
|
913 | } | |
910 |
|
914 | |||
911 | .fields .field { |
|
915 | .fields .field { | |
912 | clear: both; |
|
916 | clear: both; | |
913 | } |
|
917 | } | |
914 | } |
|
918 | } | |
915 |
|
919 | |||
916 | .advanced_settings { |
|
920 | .advanced_settings { | |
917 | margin-bottom: @space; |
|
921 | margin-bottom: @space; | |
918 |
|
922 | |||
919 | .help-block { |
|
923 | .help-block { | |
920 | margin-left: 0; |
|
924 | margin-left: 0; | |
921 | } |
|
925 | } | |
922 |
|
926 | |||
923 | button + .help-block { |
|
927 | button + .help-block { | |
924 | margin-top: @padding; |
|
928 | margin-top: @padding; | |
925 | } |
|
929 | } | |
926 | } |
|
930 | } | |
927 |
|
931 | |||
928 | // admin settings radio buttons and labels |
|
932 | // admin settings radio buttons and labels | |
929 | .label-2 { |
|
933 | .label-2 { | |
930 | float: left; |
|
934 | float: left; | |
931 | width: @label2-width; |
|
935 | width: @label2-width; | |
932 |
|
936 | |||
933 | label { |
|
937 | label { | |
934 | color: @grey1; |
|
938 | color: @grey1; | |
935 | } |
|
939 | } | |
936 | } |
|
940 | } | |
937 | .checkboxes { |
|
941 | .checkboxes { | |
938 | float: left; |
|
942 | float: left; | |
939 | width: @checkboxes-width; |
|
943 | width: @checkboxes-width; | |
940 | margin-bottom: @padding; |
|
944 | margin-bottom: @padding; | |
941 |
|
945 | |||
942 | .checkbox { |
|
946 | .checkbox { | |
943 | width: 100%; |
|
947 | width: 100%; | |
944 |
|
948 | |||
945 | label { |
|
949 | label { | |
946 | margin: 0; |
|
950 | margin: 0; | |
947 | padding: 0; |
|
951 | padding: 0; | |
948 | } |
|
952 | } | |
949 | } |
|
953 | } | |
950 |
|
954 | |||
951 | .checkbox + .checkbox { |
|
955 | .checkbox + .checkbox { | |
952 | display: inline-block; |
|
956 | display: inline-block; | |
953 | } |
|
957 | } | |
954 |
|
958 | |||
955 | label { |
|
959 | label { | |
956 | margin-right: 1em; |
|
960 | margin-right: 1em; | |
957 | } |
|
961 | } | |
958 | } |
|
962 | } | |
959 |
|
963 | |||
960 | // CHANGELOG |
|
964 | // CHANGELOG | |
961 | .container_header { |
|
965 | .container_header { | |
962 | float: left; |
|
966 | float: left; | |
963 | display: block; |
|
967 | display: block; | |
964 | width: 100%; |
|
968 | width: 100%; | |
965 | margin: @padding 0 @padding; |
|
969 | margin: @padding 0 @padding; | |
966 |
|
970 | |||
967 | #filter_changelog { |
|
971 | #filter_changelog { | |
968 | float: left; |
|
972 | float: left; | |
969 | margin-right: @padding; |
|
973 | margin-right: @padding; | |
970 | } |
|
974 | } | |
971 |
|
975 | |||
972 | .breadcrumbs_light { |
|
976 | .breadcrumbs_light { | |
973 | display: inline-block; |
|
977 | display: inline-block; | |
974 | } |
|
978 | } | |
975 | } |
|
979 | } | |
976 |
|
980 | |||
977 | .info_box { |
|
981 | .info_box { | |
978 | float: right; |
|
982 | float: right; | |
979 | } |
|
983 | } | |
980 |
|
984 | |||
981 |
|
985 | |||
982 |
|
986 | |||
983 | #graph_content{ |
|
987 | #graph_content{ | |
984 |
|
988 | |||
985 | // adjust for table headers so that graph renders properly |
|
989 | // adjust for table headers so that graph renders properly | |
986 | // #graph_nodes padding - table cell padding |
|
990 | // #graph_nodes padding - table cell padding | |
987 | padding-top: (@space - (@basefontsize * 2.4)); |
|
991 | padding-top: (@space - (@basefontsize * 2.4)); | |
988 |
|
992 | |||
989 | &.graph_full_width { |
|
993 | &.graph_full_width { | |
990 | width: 100%; |
|
994 | width: 100%; | |
991 | max-width: 100%; |
|
995 | max-width: 100%; | |
992 | } |
|
996 | } | |
993 | } |
|
997 | } | |
994 |
|
998 | |||
995 | #graph { |
|
999 | #graph { | |
996 |
|
1000 | |||
997 | .pagination-left { |
|
1001 | .pagination-left { | |
998 | float: left; |
|
1002 | float: left; | |
999 | clear: both; |
|
1003 | clear: both; | |
1000 | } |
|
1004 | } | |
1001 |
|
1005 | |||
1002 | .log-container { |
|
1006 | .log-container { | |
1003 | max-width: 345px; |
|
1007 | max-width: 345px; | |
1004 |
|
1008 | |||
1005 | .message{ |
|
1009 | .message{ | |
1006 | max-width: 340px; |
|
1010 | max-width: 340px; | |
1007 | } |
|
1011 | } | |
1008 | } |
|
1012 | } | |
1009 |
|
1013 | |||
1010 | .graph-col-wrapper { |
|
1014 | .graph-col-wrapper { | |
1011 |
|
1015 | |||
1012 | #graph_nodes { |
|
1016 | #graph_nodes { | |
1013 | width: 100px; |
|
1017 | width: 100px; | |
1014 | position: absolute; |
|
1018 | position: absolute; | |
1015 | left: 70px; |
|
1019 | left: 70px; | |
1016 | z-index: -1; |
|
1020 | z-index: -1; | |
1017 | } |
|
1021 | } | |
1018 | } |
|
1022 | } | |
1019 |
|
1023 | |||
1020 | .load-more-commits { |
|
1024 | .load-more-commits { | |
1021 | text-align: center; |
|
1025 | text-align: center; | |
1022 | } |
|
1026 | } | |
1023 | .load-more-commits:hover { |
|
1027 | .load-more-commits:hover { | |
1024 | background-color: @grey7; |
|
1028 | background-color: @grey7; | |
1025 | } |
|
1029 | } | |
1026 | .load-more-commits { |
|
1030 | .load-more-commits { | |
1027 | a { |
|
1031 | a { | |
1028 | display: block; |
|
1032 | display: block; | |
1029 | } |
|
1033 | } | |
1030 | } |
|
1034 | } | |
1031 | } |
|
1035 | } | |
1032 |
|
1036 | |||
1033 | .obsolete-toggle { |
|
1037 | .obsolete-toggle { | |
1034 | line-height: 30px; |
|
1038 | line-height: 30px; | |
1035 | margin-left: -15px; |
|
1039 | margin-left: -15px; | |
1036 | } |
|
1040 | } | |
1037 |
|
1041 | |||
1038 | #rev_range_container, #rev_range_clear, #rev_range_more { |
|
1042 | #rev_range_container, #rev_range_clear, #rev_range_more { | |
1039 | margin-top: -5px; |
|
1043 | margin-top: -5px; | |
1040 | margin-bottom: -5px; |
|
1044 | margin-bottom: -5px; | |
1041 | } |
|
1045 | } | |
1042 |
|
1046 | |||
1043 | #filter_changelog { |
|
1047 | #filter_changelog { | |
1044 | float: left; |
|
1048 | float: left; | |
1045 | } |
|
1049 | } | |
1046 |
|
1050 | |||
1047 |
|
1051 | |||
1048 | //--- THEME ------------------// |
|
1052 | //--- THEME ------------------// | |
1049 |
|
1053 | |||
1050 | #logo { |
|
1054 | #logo { | |
1051 | float: left; |
|
1055 | float: left; | |
1052 | margin: 9px 0 0 0; |
|
1056 | margin: 9px 0 0 0; | |
1053 |
|
1057 | |||
1054 | .header { |
|
1058 | .header { | |
1055 | background-color: transparent; |
|
1059 | background-color: transparent; | |
1056 | } |
|
1060 | } | |
1057 |
|
1061 | |||
1058 | a { |
|
1062 | a { | |
1059 | display: inline-block; |
|
1063 | display: inline-block; | |
1060 | } |
|
1064 | } | |
1061 |
|
1065 | |||
1062 | img { |
|
1066 | img { | |
1063 | height:30px; |
|
1067 | height:30px; | |
1064 | } |
|
1068 | } | |
1065 | } |
|
1069 | } | |
1066 |
|
1070 | |||
1067 | .logo-wrapper { |
|
1071 | .logo-wrapper { | |
1068 | float:left; |
|
1072 | float:left; | |
1069 | } |
|
1073 | } | |
1070 |
|
1074 | |||
1071 | .branding { |
|
1075 | .branding { | |
1072 | float: left; |
|
1076 | float: left; | |
1073 | padding: 9px 2px; |
|
1077 | padding: 9px 2px; | |
1074 | line-height: 1em; |
|
1078 | line-height: 1em; | |
1075 | font-size: @navigation-fontsize; |
|
1079 | font-size: @navigation-fontsize; | |
1076 |
|
1080 | |||
1077 | a { |
|
1081 | a { | |
1078 | color: @grey5 |
|
1082 | color: @grey5 | |
1079 | } |
|
1083 | } | |
1080 | @media screen and (max-width: 1200px) { |
|
1084 | @media screen and (max-width: 1200px) { | |
1081 | display: none; |
|
1085 | display: none; | |
1082 | } |
|
1086 | } | |
1083 | } |
|
1087 | } | |
1084 |
|
1088 | |||
1085 | img { |
|
1089 | img { | |
1086 | border: none; |
|
1090 | border: none; | |
1087 | outline: none; |
|
1091 | outline: none; | |
1088 | } |
|
1092 | } | |
1089 | user-profile-header |
|
1093 | user-profile-header | |
1090 | label { |
|
1094 | label { | |
1091 |
|
1095 | |||
1092 | input[type="checkbox"] { |
|
1096 | input[type="checkbox"] { | |
1093 | margin-right: 1em; |
|
1097 | margin-right: 1em; | |
1094 | } |
|
1098 | } | |
1095 | input[type="radio"] { |
|
1099 | input[type="radio"] { | |
1096 | margin-right: 1em; |
|
1100 | margin-right: 1em; | |
1097 | } |
|
1101 | } | |
1098 | } |
|
1102 | } | |
1099 |
|
1103 | |||
1100 | .review-status { |
|
1104 | .review-status { | |
1101 | &.under_review { |
|
1105 | &.under_review { | |
1102 | color: @alert3; |
|
1106 | color: @alert3; | |
1103 | } |
|
1107 | } | |
1104 | &.approved { |
|
1108 | &.approved { | |
1105 | color: @alert1; |
|
1109 | color: @alert1; | |
1106 | } |
|
1110 | } | |
1107 | &.rejected, |
|
1111 | &.rejected, | |
1108 | &.forced_closed{ |
|
1112 | &.forced_closed{ | |
1109 | color: @alert2; |
|
1113 | color: @alert2; | |
1110 | } |
|
1114 | } | |
1111 | &.not_reviewed { |
|
1115 | &.not_reviewed { | |
1112 | color: @grey5; |
|
1116 | color: @grey5; | |
1113 | } |
|
1117 | } | |
1114 | } |
|
1118 | } | |
1115 |
|
1119 | |||
1116 | .review-status-under_review { |
|
1120 | .review-status-under_review { | |
1117 | color: @alert3; |
|
1121 | color: @alert3; | |
1118 | } |
|
1122 | } | |
1119 | .status-tag-under_review { |
|
1123 | .status-tag-under_review { | |
1120 | border-color: @alert3; |
|
1124 | border-color: @alert3; | |
1121 | } |
|
1125 | } | |
1122 |
|
1126 | |||
1123 | .review-status-approved { |
|
1127 | .review-status-approved { | |
1124 | color: @alert1; |
|
1128 | color: @alert1; | |
1125 | } |
|
1129 | } | |
1126 | .status-tag-approved { |
|
1130 | .status-tag-approved { | |
1127 | border-color: @alert1; |
|
1131 | border-color: @alert1; | |
1128 | } |
|
1132 | } | |
1129 |
|
1133 | |||
1130 | .review-status-rejected, |
|
1134 | .review-status-rejected, | |
1131 | .review-status-forced_closed { |
|
1135 | .review-status-forced_closed { | |
1132 | color: @alert2; |
|
1136 | color: @alert2; | |
1133 | } |
|
1137 | } | |
1134 | .status-tag-rejected, |
|
1138 | .status-tag-rejected, | |
1135 | .status-tag-forced_closed { |
|
1139 | .status-tag-forced_closed { | |
1136 | border-color: @alert2; |
|
1140 | border-color: @alert2; | |
1137 | } |
|
1141 | } | |
1138 |
|
1142 | |||
1139 | .review-status-not_reviewed { |
|
1143 | .review-status-not_reviewed { | |
1140 | color: @grey5; |
|
1144 | color: @grey5; | |
1141 | } |
|
1145 | } | |
1142 | .status-tag-not_reviewed { |
|
1146 | .status-tag-not_reviewed { | |
1143 | border-color: @grey5; |
|
1147 | border-color: @grey5; | |
1144 | } |
|
1148 | } | |
1145 |
|
1149 | |||
1146 | .test_pattern_preview { |
|
1150 | .test_pattern_preview { | |
1147 | margin: @space 0; |
|
1151 | margin: @space 0; | |
1148 |
|
1152 | |||
1149 | p { |
|
1153 | p { | |
1150 | margin-bottom: 0; |
|
1154 | margin-bottom: 0; | |
1151 | border-bottom: @border-thickness solid @border-default-color; |
|
1155 | border-bottom: @border-thickness solid @border-default-color; | |
1152 | color: @grey3; |
|
1156 | color: @grey3; | |
1153 | } |
|
1157 | } | |
1154 |
|
1158 | |||
1155 | .btn { |
|
1159 | .btn { | |
1156 | margin-bottom: @padding; |
|
1160 | margin-bottom: @padding; | |
1157 | } |
|
1161 | } | |
1158 | } |
|
1162 | } | |
1159 | #test_pattern_result { |
|
1163 | #test_pattern_result { | |
1160 | display: none; |
|
1164 | display: none; | |
1161 | &:extend(pre); |
|
1165 | &:extend(pre); | |
1162 | padding: .9em; |
|
1166 | padding: .9em; | |
1163 | color: @grey3; |
|
1167 | color: @grey3; | |
1164 | background-color: @grey7; |
|
1168 | background-color: @grey7; | |
1165 | border-right: @border-thickness solid @border-default-color; |
|
1169 | border-right: @border-thickness solid @border-default-color; | |
1166 | border-bottom: @border-thickness solid @border-default-color; |
|
1170 | border-bottom: @border-thickness solid @border-default-color; | |
1167 | border-left: @border-thickness solid @border-default-color; |
|
1171 | border-left: @border-thickness solid @border-default-color; | |
1168 | } |
|
1172 | } | |
1169 |
|
1173 | |||
1170 | #repo_vcs_settings { |
|
1174 | #repo_vcs_settings { | |
1171 | #inherit_overlay_vcs_default { |
|
1175 | #inherit_overlay_vcs_default { | |
1172 | display: none; |
|
1176 | display: none; | |
1173 | } |
|
1177 | } | |
1174 | #inherit_overlay_vcs_custom { |
|
1178 | #inherit_overlay_vcs_custom { | |
1175 | display: custom; |
|
1179 | display: custom; | |
1176 | } |
|
1180 | } | |
1177 | &.inherited { |
|
1181 | &.inherited { | |
1178 | #inherit_overlay_vcs_default { |
|
1182 | #inherit_overlay_vcs_default { | |
1179 | display: block; |
|
1183 | display: block; | |
1180 | } |
|
1184 | } | |
1181 | #inherit_overlay_vcs_custom { |
|
1185 | #inherit_overlay_vcs_custom { | |
1182 | display: none; |
|
1186 | display: none; | |
1183 | } |
|
1187 | } | |
1184 | } |
|
1188 | } | |
1185 | } |
|
1189 | } | |
1186 |
|
1190 | |||
1187 | .issue-tracker-link { |
|
1191 | .issue-tracker-link { | |
1188 | color: @rcblue; |
|
1192 | color: @rcblue; | |
1189 | } |
|
1193 | } | |
1190 |
|
1194 | |||
1191 | // Issue Tracker Table Show/Hide |
|
1195 | // Issue Tracker Table Show/Hide | |
1192 | #repo_issue_tracker { |
|
1196 | #repo_issue_tracker { | |
1193 | #inherit_overlay { |
|
1197 | #inherit_overlay { | |
1194 | display: none; |
|
1198 | display: none; | |
1195 | } |
|
1199 | } | |
1196 | #custom_overlay { |
|
1200 | #custom_overlay { | |
1197 | display: custom; |
|
1201 | display: custom; | |
1198 | } |
|
1202 | } | |
1199 | &.inherited { |
|
1203 | &.inherited { | |
1200 | #inherit_overlay { |
|
1204 | #inherit_overlay { | |
1201 | display: block; |
|
1205 | display: block; | |
1202 | } |
|
1206 | } | |
1203 | #custom_overlay { |
|
1207 | #custom_overlay { | |
1204 | display: none; |
|
1208 | display: none; | |
1205 | } |
|
1209 | } | |
1206 | } |
|
1210 | } | |
1207 | } |
|
1211 | } | |
1208 | table.issuetracker { |
|
1212 | table.issuetracker { | |
1209 | &.readonly { |
|
1213 | &.readonly { | |
1210 | tr, td { |
|
1214 | tr, td { | |
1211 | color: @grey3; |
|
1215 | color: @grey3; | |
1212 | } |
|
1216 | } | |
1213 | } |
|
1217 | } | |
1214 | .edit { |
|
1218 | .edit { | |
1215 | display: none; |
|
1219 | display: none; | |
1216 | } |
|
1220 | } | |
1217 | .editopen { |
|
1221 | .editopen { | |
1218 | .edit { |
|
1222 | .edit { | |
1219 | display: inline; |
|
1223 | display: inline; | |
1220 | } |
|
1224 | } | |
1221 | .entry { |
|
1225 | .entry { | |
1222 | display: none; |
|
1226 | display: none; | |
1223 | } |
|
1227 | } | |
1224 | } |
|
1228 | } | |
1225 | tr td.td-action { |
|
1229 | tr td.td-action { | |
1226 | min-width: 117px; |
|
1230 | min-width: 117px; | |
1227 | } |
|
1231 | } | |
1228 | td input { |
|
1232 | td input { | |
1229 | max-width: none; |
|
1233 | max-width: none; | |
1230 | min-width: 30px; |
|
1234 | min-width: 30px; | |
1231 | width: 80%; |
|
1235 | width: 80%; | |
1232 | } |
|
1236 | } | |
1233 | .issuetracker_pref input { |
|
1237 | .issuetracker_pref input { | |
1234 | width: 40%; |
|
1238 | width: 40%; | |
1235 | } |
|
1239 | } | |
1236 | input.edit_issuetracker_update { |
|
1240 | input.edit_issuetracker_update { | |
1237 | margin-right: 0; |
|
1241 | margin-right: 0; | |
1238 | width: auto; |
|
1242 | width: auto; | |
1239 | } |
|
1243 | } | |
1240 | } |
|
1244 | } | |
1241 |
|
1245 | |||
1242 | table.integrations { |
|
1246 | table.integrations { | |
1243 | .td-icon { |
|
1247 | .td-icon { | |
1244 | width: 20px; |
|
1248 | width: 20px; | |
1245 | .integration-icon { |
|
1249 | .integration-icon { | |
1246 | height: 20px; |
|
1250 | height: 20px; | |
1247 | width: 20px; |
|
1251 | width: 20px; | |
1248 | } |
|
1252 | } | |
1249 | } |
|
1253 | } | |
1250 | } |
|
1254 | } | |
1251 |
|
1255 | |||
1252 | .integrations { |
|
1256 | .integrations { | |
1253 | a.integration-box { |
|
1257 | a.integration-box { | |
1254 | color: @text-color; |
|
1258 | color: @text-color; | |
1255 | &:hover { |
|
1259 | &:hover { | |
1256 | .panel { |
|
1260 | .panel { | |
1257 | background: #fbfbfb; |
|
1261 | background: #fbfbfb; | |
1258 | } |
|
1262 | } | |
1259 | } |
|
1263 | } | |
1260 | .integration-icon { |
|
1264 | .integration-icon { | |
1261 | width: 30px; |
|
1265 | width: 30px; | |
1262 | height: 30px; |
|
1266 | height: 30px; | |
1263 | margin-right: 20px; |
|
1267 | margin-right: 20px; | |
1264 | float: left; |
|
1268 | float: left; | |
1265 | } |
|
1269 | } | |
1266 |
|
1270 | |||
1267 | .panel-body { |
|
1271 | .panel-body { | |
1268 | padding: 10px; |
|
1272 | padding: 10px; | |
1269 | } |
|
1273 | } | |
1270 | .panel { |
|
1274 | .panel { | |
1271 | margin-bottom: 10px; |
|
1275 | margin-bottom: 10px; | |
1272 | } |
|
1276 | } | |
1273 | h2 { |
|
1277 | h2 { | |
1274 | display: inline-block; |
|
1278 | display: inline-block; | |
1275 | margin: 0; |
|
1279 | margin: 0; | |
1276 | min-width: 140px; |
|
1280 | min-width: 140px; | |
1277 | } |
|
1281 | } | |
1278 | } |
|
1282 | } | |
1279 | a.integration-box.dummy-integration { |
|
1283 | a.integration-box.dummy-integration { | |
1280 | color: @grey4 |
|
1284 | color: @grey4 | |
1281 | } |
|
1285 | } | |
1282 | } |
|
1286 | } | |
1283 |
|
1287 | |||
1284 | //Permissions Settings |
|
1288 | //Permissions Settings | |
1285 | #add_perm { |
|
1289 | #add_perm { | |
1286 | margin: 0 0 @padding; |
|
1290 | margin: 0 0 @padding; | |
1287 | cursor: pointer; |
|
1291 | cursor: pointer; | |
1288 | } |
|
1292 | } | |
1289 |
|
1293 | |||
1290 | .perm_ac { |
|
1294 | .perm_ac { | |
1291 | input { |
|
1295 | input { | |
1292 | width: 95%; |
|
1296 | width: 95%; | |
1293 | } |
|
1297 | } | |
1294 | } |
|
1298 | } | |
1295 |
|
1299 | |||
1296 | .autocomplete-suggestions { |
|
1300 | .autocomplete-suggestions { | |
1297 | width: auto !important; // overrides autocomplete.js |
|
1301 | width: auto !important; // overrides autocomplete.js | |
1298 | min-width: 278px; |
|
1302 | min-width: 278px; | |
1299 | margin: 0; |
|
1303 | margin: 0; | |
1300 | border: @border-thickness solid @grey5; |
|
1304 | border: @border-thickness solid @grey5; | |
1301 | border-radius: @border-radius; |
|
1305 | border-radius: @border-radius; | |
1302 | color: @grey2; |
|
1306 | color: @grey2; | |
1303 | background-color: white; |
|
1307 | background-color: white; | |
1304 | } |
|
1308 | } | |
1305 |
|
1309 | |||
1306 | .autocomplete-qfilter-suggestions { |
|
1310 | .autocomplete-qfilter-suggestions { | |
1307 | width: auto !important; // overrides autocomplete.js |
|
1311 | width: auto !important; // overrides autocomplete.js | |
1308 | max-height: 100% !important; |
|
1312 | max-height: 100% !important; | |
1309 | min-width: 376px; |
|
1313 | min-width: 376px; | |
1310 | margin: 0; |
|
1314 | margin: 0; | |
1311 | border: @border-thickness solid @grey5; |
|
1315 | border: @border-thickness solid @grey5; | |
1312 | color: @grey2; |
|
1316 | color: @grey2; | |
1313 | background-color: white; |
|
1317 | background-color: white; | |
1314 | } |
|
1318 | } | |
1315 |
|
1319 | |||
1316 | .autocomplete-selected { |
|
1320 | .autocomplete-selected { | |
1317 | background: #F0F0F0; |
|
1321 | background: #F0F0F0; | |
1318 | } |
|
1322 | } | |
1319 |
|
1323 | |||
1320 | .ac-container-wrap { |
|
1324 | .ac-container-wrap { | |
1321 | margin: 0; |
|
1325 | margin: 0; | |
1322 | padding: 8px; |
|
1326 | padding: 8px; | |
1323 | border-bottom: @border-thickness solid @grey5; |
|
1327 | border-bottom: @border-thickness solid @grey5; | |
1324 | list-style-type: none; |
|
1328 | list-style-type: none; | |
1325 | cursor: pointer; |
|
1329 | cursor: pointer; | |
1326 |
|
1330 | |||
1327 | &:hover { |
|
1331 | &:hover { | |
1328 | background-color: @grey7; |
|
1332 | background-color: @grey7; | |
1329 | } |
|
1333 | } | |
1330 |
|
1334 | |||
1331 | img { |
|
1335 | img { | |
1332 | height: @gravatar-size; |
|
1336 | height: @gravatar-size; | |
1333 | width: @gravatar-size; |
|
1337 | width: @gravatar-size; | |
1334 | margin-right: 1em; |
|
1338 | margin-right: 1em; | |
1335 | } |
|
1339 | } | |
1336 |
|
1340 | |||
1337 | strong { |
|
1341 | strong { | |
1338 | font-weight: normal; |
|
1342 | font-weight: normal; | |
1339 | } |
|
1343 | } | |
1340 | } |
|
1344 | } | |
1341 |
|
1345 | |||
1342 | // Settings Dropdown |
|
1346 | // Settings Dropdown | |
1343 | .user-menu .container { |
|
1347 | .user-menu .container { | |
1344 | padding: 0 4px; |
|
1348 | padding: 0 4px; | |
1345 | margin: 0; |
|
1349 | margin: 0; | |
1346 | } |
|
1350 | } | |
1347 |
|
1351 | |||
1348 | .user-menu .gravatar { |
|
1352 | .user-menu .gravatar { | |
1349 | cursor: pointer; |
|
1353 | cursor: pointer; | |
1350 | } |
|
1354 | } | |
1351 |
|
1355 | |||
1352 | .codeblock { |
|
1356 | .codeblock { | |
1353 | margin-bottom: @padding; |
|
1357 | margin-bottom: @padding; | |
1354 | clear: both; |
|
1358 | clear: both; | |
1355 |
|
1359 | |||
1356 | .stats { |
|
1360 | .stats { | |
1357 | overflow: hidden; |
|
1361 | overflow: hidden; | |
1358 | } |
|
1362 | } | |
1359 |
|
1363 | |||
1360 | .message{ |
|
1364 | .message{ | |
1361 | textarea{ |
|
1365 | textarea{ | |
1362 | margin: 0; |
|
1366 | margin: 0; | |
1363 | } |
|
1367 | } | |
1364 | } |
|
1368 | } | |
1365 |
|
1369 | |||
1366 | .code-header { |
|
1370 | .code-header { | |
1367 | .stats { |
|
1371 | .stats { | |
1368 | line-height: 2em; |
|
1372 | line-height: 2em; | |
1369 |
|
1373 | |||
1370 | .revision_id { |
|
1374 | .revision_id { | |
1371 | margin-left: 0; |
|
1375 | margin-left: 0; | |
1372 | } |
|
1376 | } | |
1373 | .buttons { |
|
1377 | .buttons { | |
1374 | padding-right: 0; |
|
1378 | padding-right: 0; | |
1375 | } |
|
1379 | } | |
1376 | } |
|
1380 | } | |
1377 |
|
1381 | |||
1378 | .item{ |
|
1382 | .item{ | |
1379 | margin-right: 0.5em; |
|
1383 | margin-right: 0.5em; | |
1380 | } |
|
1384 | } | |
1381 | } |
|
1385 | } | |
1382 |
|
1386 | |||
1383 | #editor_container { |
|
1387 | #editor_container { | |
1384 | position: relative; |
|
1388 | position: relative; | |
1385 | margin: @padding 10px; |
|
1389 | margin: @padding 10px; | |
1386 | } |
|
1390 | } | |
1387 | } |
|
1391 | } | |
1388 |
|
1392 | |||
1389 | #file_history_container { |
|
1393 | #file_history_container { | |
1390 | display: none; |
|
1394 | display: none; | |
1391 | } |
|
1395 | } | |
1392 |
|
1396 | |||
1393 | .file-history-inner { |
|
1397 | .file-history-inner { | |
1394 | margin-bottom: 10px; |
|
1398 | margin-bottom: 10px; | |
1395 | } |
|
1399 | } | |
1396 |
|
1400 | |||
1397 | // Pull Requests |
|
1401 | // Pull Requests | |
1398 | .summary-details { |
|
1402 | .summary-details { | |
1399 | width: 72%; |
|
1403 | width: 72%; | |
1400 | } |
|
1404 | } | |
1401 | .pr-summary { |
|
1405 | .pr-summary { | |
1402 | border-bottom: @border-thickness solid @grey5; |
|
1406 | border-bottom: @border-thickness solid @grey5; | |
1403 | margin-bottom: @space; |
|
1407 | margin-bottom: @space; | |
1404 | } |
|
1408 | } | |
1405 | .reviewers-title { |
|
1409 | .reviewers-title { | |
1406 | width: 25%; |
|
1410 | width: 25%; | |
1407 | min-width: 200px; |
|
1411 | min-width: 200px; | |
1408 | } |
|
1412 | } | |
1409 | .reviewers { |
|
1413 | .reviewers { | |
1410 | width: 25%; |
|
1414 | width: 25%; | |
1411 | min-width: 200px; |
|
1415 | min-width: 200px; | |
1412 | } |
|
1416 | } | |
1413 | .reviewers ul li { |
|
1417 | .reviewers ul li { | |
1414 | position: relative; |
|
1418 | position: relative; | |
1415 | width: 100%; |
|
1419 | width: 100%; | |
1416 | padding-bottom: 8px; |
|
1420 | padding-bottom: 8px; | |
1417 | list-style-type: none; |
|
1421 | list-style-type: none; | |
1418 | } |
|
1422 | } | |
1419 |
|
1423 | |||
1420 | .reviewer_entry { |
|
1424 | .reviewer_entry { | |
1421 | min-height: 55px; |
|
1425 | min-height: 55px; | |
1422 | } |
|
1426 | } | |
1423 |
|
1427 | |||
1424 | .reviewers_member { |
|
1428 | .reviewers_member { | |
1425 | width: 100%; |
|
1429 | width: 100%; | |
1426 | overflow: auto; |
|
1430 | overflow: auto; | |
1427 | } |
|
1431 | } | |
1428 | .reviewer_reason { |
|
1432 | .reviewer_reason { | |
1429 | padding-left: 20px; |
|
1433 | padding-left: 20px; | |
1430 | line-height: 1.5em; |
|
1434 | line-height: 1.5em; | |
1431 | } |
|
1435 | } | |
1432 | .reviewer_status { |
|
1436 | .reviewer_status { | |
1433 | display: inline-block; |
|
1437 | display: inline-block; | |
1434 | width: 25px; |
|
1438 | width: 25px; | |
1435 | min-width: 25px; |
|
1439 | min-width: 25px; | |
1436 | height: 1.2em; |
|
1440 | height: 1.2em; | |
1437 | line-height: 1em; |
|
1441 | line-height: 1em; | |
1438 | } |
|
1442 | } | |
1439 |
|
1443 | |||
1440 | .reviewer_name { |
|
1444 | .reviewer_name { | |
1441 | display: inline-block; |
|
1445 | display: inline-block; | |
1442 | max-width: 83%; |
|
1446 | max-width: 83%; | |
1443 | padding-right: 20px; |
|
1447 | padding-right: 20px; | |
1444 | vertical-align: middle; |
|
1448 | vertical-align: middle; | |
1445 | line-height: 1; |
|
1449 | line-height: 1; | |
1446 |
|
1450 | |||
1447 | .rc-user { |
|
1451 | .rc-user { | |
1448 | min-width: 0; |
|
1452 | min-width: 0; | |
1449 | margin: -2px 1em 0 0; |
|
1453 | margin: -2px 1em 0 0; | |
1450 | } |
|
1454 | } | |
1451 |
|
1455 | |||
1452 | .reviewer { |
|
1456 | .reviewer { | |
1453 | float: left; |
|
1457 | float: left; | |
1454 | } |
|
1458 | } | |
1455 | } |
|
1459 | } | |
1456 |
|
1460 | |||
1457 | .reviewer_member_mandatory { |
|
1461 | .reviewer_member_mandatory { | |
1458 | position: absolute; |
|
1462 | position: absolute; | |
1459 | left: 15px; |
|
1463 | left: 15px; | |
1460 | top: 8px; |
|
1464 | top: 8px; | |
1461 | width: 16px; |
|
1465 | width: 16px; | |
1462 | font-size: 11px; |
|
1466 | font-size: 11px; | |
1463 | margin: 0; |
|
1467 | margin: 0; | |
1464 | padding: 0; |
|
1468 | padding: 0; | |
1465 | color: black; |
|
1469 | color: black; | |
1466 | } |
|
1470 | } | |
1467 |
|
1471 | |||
1468 | .reviewer_member_mandatory_remove, |
|
1472 | .reviewer_member_mandatory_remove, | |
1469 | .reviewer_member_remove { |
|
1473 | .reviewer_member_remove { | |
1470 | position: absolute; |
|
1474 | position: absolute; | |
1471 | right: 0; |
|
1475 | right: 0; | |
1472 | top: 0; |
|
1476 | top: 0; | |
1473 | width: 16px; |
|
1477 | width: 16px; | |
1474 | margin-bottom: 10px; |
|
1478 | margin-bottom: 10px; | |
1475 | padding: 0; |
|
1479 | padding: 0; | |
1476 | color: black; |
|
1480 | color: black; | |
1477 | } |
|
1481 | } | |
1478 |
|
1482 | |||
1479 | .reviewer_member_mandatory_remove { |
|
1483 | .reviewer_member_mandatory_remove { | |
1480 | color: @grey4; |
|
1484 | color: @grey4; | |
1481 | } |
|
1485 | } | |
1482 |
|
1486 | |||
1483 | .reviewer_member_status { |
|
1487 | .reviewer_member_status { | |
1484 | margin-top: 5px; |
|
1488 | margin-top: 5px; | |
1485 | } |
|
1489 | } | |
1486 | .pr-summary #summary{ |
|
1490 | .pr-summary #summary{ | |
1487 | width: 100%; |
|
1491 | width: 100%; | |
1488 | } |
|
1492 | } | |
1489 | .pr-summary .action_button:hover { |
|
1493 | .pr-summary .action_button:hover { | |
1490 | border: 0; |
|
1494 | border: 0; | |
1491 | cursor: pointer; |
|
1495 | cursor: pointer; | |
1492 | } |
|
1496 | } | |
1493 | .pr-details-title { |
|
1497 | .pr-details-title { | |
1494 | padding-bottom: 8px; |
|
1498 | padding-bottom: 8px; | |
1495 | border-bottom: @border-thickness solid @grey5; |
|
1499 | border-bottom: @border-thickness solid @grey5; | |
1496 |
|
1500 | |||
1497 | .action_button.disabled { |
|
1501 | .action_button.disabled { | |
1498 | color: @grey4; |
|
1502 | color: @grey4; | |
1499 | cursor: inherit; |
|
1503 | cursor: inherit; | |
1500 | } |
|
1504 | } | |
1501 | .action_button { |
|
1505 | .action_button { | |
1502 | color: @rcblue; |
|
1506 | color: @rcblue; | |
1503 | } |
|
1507 | } | |
1504 | } |
|
1508 | } | |
1505 | .pr-details-content { |
|
1509 | .pr-details-content { | |
1506 | margin-top: @textmargin; |
|
1510 | margin-top: @textmargin; | |
1507 | margin-bottom: @textmargin; |
|
1511 | margin-bottom: @textmargin; | |
1508 | } |
|
1512 | } | |
1509 |
|
1513 | |||
1510 | .pr-reviewer-rules { |
|
1514 | .pr-reviewer-rules { | |
1511 | padding: 10px 0px 20px 0px; |
|
1515 | padding: 10px 0px 20px 0px; | |
1512 | } |
|
1516 | } | |
1513 |
|
1517 | |||
1514 | .group_members { |
|
1518 | .group_members { | |
1515 | margin-top: 0; |
|
1519 | margin-top: 0; | |
1516 | padding: 0; |
|
1520 | padding: 0; | |
1517 | list-style: outside none none; |
|
1521 | list-style: outside none none; | |
1518 |
|
1522 | |||
1519 | img { |
|
1523 | img { | |
1520 | height: @gravatar-size; |
|
1524 | height: @gravatar-size; | |
1521 | width: @gravatar-size; |
|
1525 | width: @gravatar-size; | |
1522 | margin-right: .5em; |
|
1526 | margin-right: .5em; | |
1523 | margin-left: 3px; |
|
1527 | margin-left: 3px; | |
1524 | } |
|
1528 | } | |
1525 |
|
1529 | |||
1526 | .to-delete { |
|
1530 | .to-delete { | |
1527 | .user { |
|
1531 | .user { | |
1528 | text-decoration: line-through; |
|
1532 | text-decoration: line-through; | |
1529 | } |
|
1533 | } | |
1530 | } |
|
1534 | } | |
1531 | } |
|
1535 | } | |
1532 |
|
1536 | |||
1533 | .compare_view_commits_title { |
|
1537 | .compare_view_commits_title { | |
1534 | .disabled { |
|
1538 | .disabled { | |
1535 | cursor: inherit; |
|
1539 | cursor: inherit; | |
1536 | &:hover{ |
|
1540 | &:hover{ | |
1537 | background-color: inherit; |
|
1541 | background-color: inherit; | |
1538 | color: inherit; |
|
1542 | color: inherit; | |
1539 | } |
|
1543 | } | |
1540 | } |
|
1544 | } | |
1541 | } |
|
1545 | } | |
1542 |
|
1546 | |||
1543 | .subtitle-compare { |
|
1547 | .subtitle-compare { | |
1544 | margin: -15px 0px 0px 0px; |
|
1548 | margin: -15px 0px 0px 0px; | |
1545 | } |
|
1549 | } | |
1546 |
|
1550 | |||
1547 | // new entry in group_members |
|
1551 | // new entry in group_members | |
1548 | .td-author-new-entry { |
|
1552 | .td-author-new-entry { | |
1549 | background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3); |
|
1553 | background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3); | |
1550 | } |
|
1554 | } | |
1551 |
|
1555 | |||
1552 | .usergroup_member_remove { |
|
1556 | .usergroup_member_remove { | |
1553 | width: 16px; |
|
1557 | width: 16px; | |
1554 | margin-bottom: 10px; |
|
1558 | margin-bottom: 10px; | |
1555 | padding: 0; |
|
1559 | padding: 0; | |
1556 | color: black !important; |
|
1560 | color: black !important; | |
1557 | cursor: pointer; |
|
1561 | cursor: pointer; | |
1558 | } |
|
1562 | } | |
1559 |
|
1563 | |||
1560 | .reviewer_ac .ac-input { |
|
1564 | .reviewer_ac .ac-input { | |
1561 | width: 92%; |
|
1565 | width: 92%; | |
1562 | margin-bottom: 1em; |
|
1566 | margin-bottom: 1em; | |
1563 | } |
|
1567 | } | |
1564 |
|
1568 | |||
1565 | .compare_view_commits tr{ |
|
1569 | .compare_view_commits tr{ | |
1566 | height: 20px; |
|
1570 | height: 20px; | |
1567 | } |
|
1571 | } | |
1568 | .compare_view_commits td { |
|
1572 | .compare_view_commits td { | |
1569 | vertical-align: top; |
|
1573 | vertical-align: top; | |
1570 | padding-top: 10px; |
|
1574 | padding-top: 10px; | |
1571 | } |
|
1575 | } | |
1572 | .compare_view_commits .author { |
|
1576 | .compare_view_commits .author { | |
1573 | margin-left: 5px; |
|
1577 | margin-left: 5px; | |
1574 | } |
|
1578 | } | |
1575 |
|
1579 | |||
1576 | .compare_view_commits { |
|
1580 | .compare_view_commits { | |
1577 | .color-a { |
|
1581 | .color-a { | |
1578 | color: @alert1; |
|
1582 | color: @alert1; | |
1579 | } |
|
1583 | } | |
1580 |
|
1584 | |||
1581 | .color-c { |
|
1585 | .color-c { | |
1582 | color: @color3; |
|
1586 | color: @color3; | |
1583 | } |
|
1587 | } | |
1584 |
|
1588 | |||
1585 | .color-r { |
|
1589 | .color-r { | |
1586 | color: @color5; |
|
1590 | color: @color5; | |
1587 | } |
|
1591 | } | |
1588 |
|
1592 | |||
1589 | .color-a-bg { |
|
1593 | .color-a-bg { | |
1590 | background-color: @alert1; |
|
1594 | background-color: @alert1; | |
1591 | } |
|
1595 | } | |
1592 |
|
1596 | |||
1593 | .color-c-bg { |
|
1597 | .color-c-bg { | |
1594 | background-color: @alert3; |
|
1598 | background-color: @alert3; | |
1595 | } |
|
1599 | } | |
1596 |
|
1600 | |||
1597 | .color-r-bg { |
|
1601 | .color-r-bg { | |
1598 | background-color: @alert2; |
|
1602 | background-color: @alert2; | |
1599 | } |
|
1603 | } | |
1600 |
|
1604 | |||
1601 | .color-a-border { |
|
1605 | .color-a-border { | |
1602 | border: 1px solid @alert1; |
|
1606 | border: 1px solid @alert1; | |
1603 | } |
|
1607 | } | |
1604 |
|
1608 | |||
1605 | .color-c-border { |
|
1609 | .color-c-border { | |
1606 | border: 1px solid @alert3; |
|
1610 | border: 1px solid @alert3; | |
1607 | } |
|
1611 | } | |
1608 |
|
1612 | |||
1609 | .color-r-border { |
|
1613 | .color-r-border { | |
1610 | border: 1px solid @alert2; |
|
1614 | border: 1px solid @alert2; | |
1611 | } |
|
1615 | } | |
1612 |
|
1616 | |||
1613 | .commit-change-indicator { |
|
1617 | .commit-change-indicator { | |
1614 | width: 15px; |
|
1618 | width: 15px; | |
1615 | height: 15px; |
|
1619 | height: 15px; | |
1616 | position: relative; |
|
1620 | position: relative; | |
1617 | left: 15px; |
|
1621 | left: 15px; | |
1618 | } |
|
1622 | } | |
1619 |
|
1623 | |||
1620 | .commit-change-content { |
|
1624 | .commit-change-content { | |
1621 | text-align: center; |
|
1625 | text-align: center; | |
1622 | vertical-align: middle; |
|
1626 | vertical-align: middle; | |
1623 | line-height: 15px; |
|
1627 | line-height: 15px; | |
1624 | } |
|
1628 | } | |
1625 | } |
|
1629 | } | |
1626 |
|
1630 | |||
1627 | .compare_view_filepath { |
|
1631 | .compare_view_filepath { | |
1628 | color: @grey1; |
|
1632 | color: @grey1; | |
1629 | } |
|
1633 | } | |
1630 |
|
1634 | |||
1631 | .show_more { |
|
1635 | .show_more { | |
1632 | display: inline-block; |
|
1636 | display: inline-block; | |
1633 | width: 0; |
|
1637 | width: 0; | |
1634 | height: 0; |
|
1638 | height: 0; | |
1635 | vertical-align: middle; |
|
1639 | vertical-align: middle; | |
1636 | content: ""; |
|
1640 | content: ""; | |
1637 | border: 4px solid; |
|
1641 | border: 4px solid; | |
1638 | border-right-color: transparent; |
|
1642 | border-right-color: transparent; | |
1639 | border-bottom-color: transparent; |
|
1643 | border-bottom-color: transparent; | |
1640 | border-left-color: transparent; |
|
1644 | border-left-color: transparent; | |
1641 | font-size: 0; |
|
1645 | font-size: 0; | |
1642 | } |
|
1646 | } | |
1643 |
|
1647 | |||
1644 | .journal_more .show_more { |
|
1648 | .journal_more .show_more { | |
1645 | display: inline; |
|
1649 | display: inline; | |
1646 |
|
1650 | |||
1647 | &:after { |
|
1651 | &:after { | |
1648 | content: none; |
|
1652 | content: none; | |
1649 | } |
|
1653 | } | |
1650 | } |
|
1654 | } | |
1651 |
|
1655 | |||
1652 | .compare_view_commits .collapse_commit:after { |
|
1656 | .compare_view_commits .collapse_commit:after { | |
1653 | cursor: pointer; |
|
1657 | cursor: pointer; | |
1654 | content: "\00A0\25B4"; |
|
1658 | content: "\00A0\25B4"; | |
1655 | margin-left: -3px; |
|
1659 | margin-left: -3px; | |
1656 | font-size: 17px; |
|
1660 | font-size: 17px; | |
1657 | color: @grey4; |
|
1661 | color: @grey4; | |
1658 | } |
|
1662 | } | |
1659 |
|
1663 | |||
1660 | .diff_links { |
|
1664 | .diff_links { | |
1661 | margin-left: 8px; |
|
1665 | margin-left: 8px; | |
1662 | } |
|
1666 | } | |
1663 |
|
1667 | |||
1664 | #pull_request_overview { |
|
1668 | #pull_request_overview { | |
1665 | div.ancestor { |
|
1669 | div.ancestor { | |
1666 | margin: -33px 0; |
|
1670 | margin: -33px 0; | |
1667 | } |
|
1671 | } | |
1668 | } |
|
1672 | } | |
1669 |
|
1673 | |||
1670 | div.ancestor { |
|
1674 | div.ancestor { | |
1671 | line-height: 33px; |
|
1675 | line-height: 33px; | |
1672 | } |
|
1676 | } | |
1673 |
|
1677 | |||
1674 | .cs_icon_td input[type="checkbox"] { |
|
1678 | .cs_icon_td input[type="checkbox"] { | |
1675 | display: none; |
|
1679 | display: none; | |
1676 | } |
|
1680 | } | |
1677 |
|
1681 | |||
1678 | .cs_icon_td .expand_file_icon:after { |
|
1682 | .cs_icon_td .expand_file_icon:after { | |
1679 | cursor: pointer; |
|
1683 | cursor: pointer; | |
1680 | content: "\00A0\25B6"; |
|
1684 | content: "\00A0\25B6"; | |
1681 | font-size: 12px; |
|
1685 | font-size: 12px; | |
1682 | color: @grey4; |
|
1686 | color: @grey4; | |
1683 | } |
|
1687 | } | |
1684 |
|
1688 | |||
1685 | .cs_icon_td .collapse_file_icon:after { |
|
1689 | .cs_icon_td .collapse_file_icon:after { | |
1686 | cursor: pointer; |
|
1690 | cursor: pointer; | |
1687 | content: "\00A0\25BC"; |
|
1691 | content: "\00A0\25BC"; | |
1688 | font-size: 12px; |
|
1692 | font-size: 12px; | |
1689 | color: @grey4; |
|
1693 | color: @grey4; | |
1690 | } |
|
1694 | } | |
1691 |
|
1695 | |||
1692 | /*new binary |
|
1696 | /*new binary | |
1693 | NEW_FILENODE = 1 |
|
1697 | NEW_FILENODE = 1 | |
1694 | DEL_FILENODE = 2 |
|
1698 | DEL_FILENODE = 2 | |
1695 | MOD_FILENODE = 3 |
|
1699 | MOD_FILENODE = 3 | |
1696 | RENAMED_FILENODE = 4 |
|
1700 | RENAMED_FILENODE = 4 | |
1697 | COPIED_FILENODE = 5 |
|
1701 | COPIED_FILENODE = 5 | |
1698 | CHMOD_FILENODE = 6 |
|
1702 | CHMOD_FILENODE = 6 | |
1699 | BIN_FILENODE = 7 |
|
1703 | BIN_FILENODE = 7 | |
1700 | */ |
|
1704 | */ | |
1701 | .cs_files_expand { |
|
1705 | .cs_files_expand { | |
1702 | font-size: @basefontsize + 5px; |
|
1706 | font-size: @basefontsize + 5px; | |
1703 | line-height: 1.8em; |
|
1707 | line-height: 1.8em; | |
1704 | float: right; |
|
1708 | float: right; | |
1705 | } |
|
1709 | } | |
1706 |
|
1710 | |||
1707 | .cs_files_expand span{ |
|
1711 | .cs_files_expand span{ | |
1708 | color: @rcblue; |
|
1712 | color: @rcblue; | |
1709 | cursor: pointer; |
|
1713 | cursor: pointer; | |
1710 | } |
|
1714 | } | |
1711 | .cs_files { |
|
1715 | .cs_files { | |
1712 | clear: both; |
|
1716 | clear: both; | |
1713 | padding-bottom: @padding; |
|
1717 | padding-bottom: @padding; | |
1714 |
|
1718 | |||
1715 | .cur_cs { |
|
1719 | .cur_cs { | |
1716 | margin: 10px 2px; |
|
1720 | margin: 10px 2px; | |
1717 | font-weight: bold; |
|
1721 | font-weight: bold; | |
1718 | } |
|
1722 | } | |
1719 |
|
1723 | |||
1720 | .node { |
|
1724 | .node { | |
1721 | float: left; |
|
1725 | float: left; | |
1722 | } |
|
1726 | } | |
1723 |
|
1727 | |||
1724 | .changes { |
|
1728 | .changes { | |
1725 | float: right; |
|
1729 | float: right; | |
1726 | color: white; |
|
1730 | color: white; | |
1727 | font-size: @basefontsize - 4px; |
|
1731 | font-size: @basefontsize - 4px; | |
1728 | margin-top: 4px; |
|
1732 | margin-top: 4px; | |
1729 | opacity: 0.6; |
|
1733 | opacity: 0.6; | |
1730 | filter: Alpha(opacity=60); /* IE8 and earlier */ |
|
1734 | filter: Alpha(opacity=60); /* IE8 and earlier */ | |
1731 |
|
1735 | |||
1732 | .added { |
|
1736 | .added { | |
1733 | background-color: @alert1; |
|
1737 | background-color: @alert1; | |
1734 | float: left; |
|
1738 | float: left; | |
1735 | text-align: center; |
|
1739 | text-align: center; | |
1736 | } |
|
1740 | } | |
1737 |
|
1741 | |||
1738 | .deleted { |
|
1742 | .deleted { | |
1739 | background-color: @alert2; |
|
1743 | background-color: @alert2; | |
1740 | float: left; |
|
1744 | float: left; | |
1741 | text-align: center; |
|
1745 | text-align: center; | |
1742 | } |
|
1746 | } | |
1743 |
|
1747 | |||
1744 | .bin { |
|
1748 | .bin { | |
1745 | background-color: @alert1; |
|
1749 | background-color: @alert1; | |
1746 | text-align: center; |
|
1750 | text-align: center; | |
1747 | } |
|
1751 | } | |
1748 |
|
1752 | |||
1749 | /*new binary*/ |
|
1753 | /*new binary*/ | |
1750 | .bin.bin1 { |
|
1754 | .bin.bin1 { | |
1751 | background-color: @alert1; |
|
1755 | background-color: @alert1; | |
1752 | text-align: center; |
|
1756 | text-align: center; | |
1753 | } |
|
1757 | } | |
1754 |
|
1758 | |||
1755 | /*deleted binary*/ |
|
1759 | /*deleted binary*/ | |
1756 | .bin.bin2 { |
|
1760 | .bin.bin2 { | |
1757 | background-color: @alert2; |
|
1761 | background-color: @alert2; | |
1758 | text-align: center; |
|
1762 | text-align: center; | |
1759 | } |
|
1763 | } | |
1760 |
|
1764 | |||
1761 | /*mod binary*/ |
|
1765 | /*mod binary*/ | |
1762 | .bin.bin3 { |
|
1766 | .bin.bin3 { | |
1763 | background-color: @grey2; |
|
1767 | background-color: @grey2; | |
1764 | text-align: center; |
|
1768 | text-align: center; | |
1765 | } |
|
1769 | } | |
1766 |
|
1770 | |||
1767 | /*rename file*/ |
|
1771 | /*rename file*/ | |
1768 | .bin.bin4 { |
|
1772 | .bin.bin4 { | |
1769 | background-color: @alert4; |
|
1773 | background-color: @alert4; | |
1770 | text-align: center; |
|
1774 | text-align: center; | |
1771 | } |
|
1775 | } | |
1772 |
|
1776 | |||
1773 | /*copied file*/ |
|
1777 | /*copied file*/ | |
1774 | .bin.bin5 { |
|
1778 | .bin.bin5 { | |
1775 | background-color: @alert4; |
|
1779 | background-color: @alert4; | |
1776 | text-align: center; |
|
1780 | text-align: center; | |
1777 | } |
|
1781 | } | |
1778 |
|
1782 | |||
1779 | /*chmod file*/ |
|
1783 | /*chmod file*/ | |
1780 | .bin.bin6 { |
|
1784 | .bin.bin6 { | |
1781 | background-color: @grey2; |
|
1785 | background-color: @grey2; | |
1782 | text-align: center; |
|
1786 | text-align: center; | |
1783 | } |
|
1787 | } | |
1784 | } |
|
1788 | } | |
1785 | } |
|
1789 | } | |
1786 |
|
1790 | |||
1787 | .cs_files .cs_added, .cs_files .cs_A, |
|
1791 | .cs_files .cs_added, .cs_files .cs_A, | |
1788 | .cs_files .cs_added, .cs_files .cs_M, |
|
1792 | .cs_files .cs_added, .cs_files .cs_M, | |
1789 | .cs_files .cs_added, .cs_files .cs_D { |
|
1793 | .cs_files .cs_added, .cs_files .cs_D { | |
1790 | height: 16px; |
|
1794 | height: 16px; | |
1791 | padding-right: 10px; |
|
1795 | padding-right: 10px; | |
1792 | margin-top: 7px; |
|
1796 | margin-top: 7px; | |
1793 | text-align: left; |
|
1797 | text-align: left; | |
1794 | } |
|
1798 | } | |
1795 |
|
1799 | |||
1796 | .cs_icon_td { |
|
1800 | .cs_icon_td { | |
1797 | min-width: 16px; |
|
1801 | min-width: 16px; | |
1798 | width: 16px; |
|
1802 | width: 16px; | |
1799 | } |
|
1803 | } | |
1800 |
|
1804 | |||
1801 | .pull-request-merge { |
|
1805 | .pull-request-merge { | |
1802 | border: 1px solid @grey5; |
|
1806 | border: 1px solid @grey5; | |
1803 | padding: 10px 0px 20px; |
|
1807 | padding: 10px 0px 20px; | |
1804 | margin-top: 10px; |
|
1808 | margin-top: 10px; | |
1805 | margin-bottom: 20px; |
|
1809 | margin-bottom: 20px; | |
1806 | } |
|
1810 | } | |
1807 |
|
1811 | |||
1808 | .pull-request-merge-refresh { |
|
1812 | .pull-request-merge-refresh { | |
1809 | margin: 2px 7px; |
|
1813 | margin: 2px 7px; | |
1810 | a { |
|
1814 | a { | |
1811 | color: @grey3; |
|
1815 | color: @grey3; | |
1812 | } |
|
1816 | } | |
1813 | } |
|
1817 | } | |
1814 |
|
1818 | |||
1815 | .pull-request-merge ul { |
|
1819 | .pull-request-merge ul { | |
1816 | padding: 0px 0px; |
|
1820 | padding: 0px 0px; | |
1817 | } |
|
1821 | } | |
1818 |
|
1822 | |||
1819 | .pull-request-merge li { |
|
1823 | .pull-request-merge li { | |
1820 | list-style-type: none; |
|
1824 | list-style-type: none; | |
1821 | } |
|
1825 | } | |
1822 |
|
1826 | |||
1823 | .pull-request-merge .pull-request-wrap { |
|
1827 | .pull-request-merge .pull-request-wrap { | |
1824 | height: auto; |
|
1828 | height: auto; | |
1825 | padding: 0px 0px; |
|
1829 | padding: 0px 0px; | |
1826 | text-align: right; |
|
1830 | text-align: right; | |
1827 | } |
|
1831 | } | |
1828 |
|
1832 | |||
1829 | .pull-request-merge span { |
|
1833 | .pull-request-merge span { | |
1830 | margin-right: 5px; |
|
1834 | margin-right: 5px; | |
1831 | } |
|
1835 | } | |
1832 |
|
1836 | |||
1833 | .pull-request-merge-actions { |
|
1837 | .pull-request-merge-actions { | |
1834 | min-height: 30px; |
|
1838 | min-height: 30px; | |
1835 | padding: 0px 0px; |
|
1839 | padding: 0px 0px; | |
1836 | } |
|
1840 | } | |
1837 |
|
1841 | |||
1838 | .pull-request-merge-info { |
|
1842 | .pull-request-merge-info { | |
1839 | padding: 0px 5px 5px 0px; |
|
1843 | padding: 0px 5px 5px 0px; | |
1840 | } |
|
1844 | } | |
1841 |
|
1845 | |||
1842 | .merge-status { |
|
1846 | .merge-status { | |
1843 | margin-right: 5px; |
|
1847 | margin-right: 5px; | |
1844 | } |
|
1848 | } | |
1845 |
|
1849 | |||
1846 | .merge-message { |
|
1850 | .merge-message { | |
1847 | font-size: 1.2em |
|
1851 | font-size: 1.2em | |
1848 | } |
|
1852 | } | |
1849 |
|
1853 | |||
1850 | .merge-message.success i, |
|
1854 | .merge-message.success i, | |
1851 | .merge-icon.success i { |
|
1855 | .merge-icon.success i { | |
1852 | color:@alert1; |
|
1856 | color:@alert1; | |
1853 | } |
|
1857 | } | |
1854 |
|
1858 | |||
1855 | .merge-message.warning i, |
|
1859 | .merge-message.warning i, | |
1856 | .merge-icon.warning i { |
|
1860 | .merge-icon.warning i { | |
1857 | color: @alert3; |
|
1861 | color: @alert3; | |
1858 | } |
|
1862 | } | |
1859 |
|
1863 | |||
1860 | .merge-message.error i, |
|
1864 | .merge-message.error i, | |
1861 | .merge-icon.error i { |
|
1865 | .merge-icon.error i { | |
1862 | color:@alert2; |
|
1866 | color:@alert2; | |
1863 | } |
|
1867 | } | |
1864 |
|
1868 | |||
1865 | .pr-versions { |
|
1869 | .pr-versions { | |
1866 | font-size: 1.1em; |
|
1870 | font-size: 1.1em; | |
1867 |
|
1871 | |||
1868 | table { |
|
1872 | table { | |
1869 | padding: 0px 5px; |
|
1873 | padding: 0px 5px; | |
1870 | } |
|
1874 | } | |
1871 |
|
1875 | |||
1872 | td { |
|
1876 | td { | |
1873 | line-height: 15px; |
|
1877 | line-height: 15px; | |
1874 | } |
|
1878 | } | |
1875 |
|
1879 | |||
1876 | .compare-radio-button { |
|
1880 | .compare-radio-button { | |
1877 | position: relative; |
|
1881 | position: relative; | |
1878 | top: -3px; |
|
1882 | top: -3px; | |
1879 | } |
|
1883 | } | |
1880 | } |
|
1884 | } | |
1881 |
|
1885 | |||
1882 |
|
1886 | |||
1883 | #close_pull_request { |
|
1887 | #close_pull_request { | |
1884 | margin-right: 0px; |
|
1888 | margin-right: 0px; | |
1885 | } |
|
1889 | } | |
1886 |
|
1890 | |||
1887 | .empty_data { |
|
1891 | .empty_data { | |
1888 | color: @grey4; |
|
1892 | color: @grey4; | |
1889 | } |
|
1893 | } | |
1890 |
|
1894 | |||
1891 | #changeset_compare_view_content { |
|
1895 | #changeset_compare_view_content { | |
1892 | clear: both; |
|
1896 | clear: both; | |
1893 | width: 100%; |
|
1897 | width: 100%; | |
1894 | box-sizing: border-box; |
|
1898 | box-sizing: border-box; | |
1895 | .border-radius(@border-radius); |
|
1899 | .border-radius(@border-radius); | |
1896 |
|
1900 | |||
1897 | .help-block { |
|
1901 | .help-block { | |
1898 | margin: @padding 0; |
|
1902 | margin: @padding 0; | |
1899 | color: @text-color; |
|
1903 | color: @text-color; | |
1900 | &.pre-formatting { |
|
1904 | &.pre-formatting { | |
1901 | white-space: pre; |
|
1905 | white-space: pre; | |
1902 | } |
|
1906 | } | |
1903 | } |
|
1907 | } | |
1904 |
|
1908 | |||
1905 | .empty_data { |
|
1909 | .empty_data { | |
1906 | margin: @padding 0; |
|
1910 | margin: @padding 0; | |
1907 | } |
|
1911 | } | |
1908 |
|
1912 | |||
1909 | .alert { |
|
1913 | .alert { | |
1910 | margin-bottom: @space; |
|
1914 | margin-bottom: @space; | |
1911 | } |
|
1915 | } | |
1912 | } |
|
1916 | } | |
1913 |
|
1917 | |||
1914 | .table_disp { |
|
1918 | .table_disp { | |
1915 | .status { |
|
1919 | .status { | |
1916 | width: auto; |
|
1920 | width: auto; | |
1917 | } |
|
1921 | } | |
1918 | } |
|
1922 | } | |
1919 |
|
1923 | |||
1920 |
|
1924 | |||
1921 | .creation_in_progress { |
|
1925 | .creation_in_progress { | |
1922 | color: @grey4 |
|
1926 | color: @grey4 | |
1923 | } |
|
1927 | } | |
1924 |
|
1928 | |||
1925 | .status_box_menu { |
|
1929 | .status_box_menu { | |
1926 | margin: 0; |
|
1930 | margin: 0; | |
1927 | } |
|
1931 | } | |
1928 |
|
1932 | |||
1929 | .notification-table{ |
|
1933 | .notification-table{ | |
1930 | margin-bottom: @space; |
|
1934 | margin-bottom: @space; | |
1931 | display: table; |
|
1935 | display: table; | |
1932 | width: 100%; |
|
1936 | width: 100%; | |
1933 |
|
1937 | |||
1934 | .container{ |
|
1938 | .container{ | |
1935 | display: table-row; |
|
1939 | display: table-row; | |
1936 |
|
1940 | |||
1937 | .notification-header{ |
|
1941 | .notification-header{ | |
1938 | border-bottom: @border-thickness solid @border-default-color; |
|
1942 | border-bottom: @border-thickness solid @border-default-color; | |
1939 | } |
|
1943 | } | |
1940 |
|
1944 | |||
1941 | .notification-subject{ |
|
1945 | .notification-subject{ | |
1942 | display: table-cell; |
|
1946 | display: table-cell; | |
1943 | } |
|
1947 | } | |
1944 | } |
|
1948 | } | |
1945 | } |
|
1949 | } | |
1946 |
|
1950 | |||
1947 | // Notifications |
|
1951 | // Notifications | |
1948 | .notification-header{ |
|
1952 | .notification-header{ | |
1949 | display: table; |
|
1953 | display: table; | |
1950 | width: 100%; |
|
1954 | width: 100%; | |
1951 | padding: floor(@basefontsize/2) 0; |
|
1955 | padding: floor(@basefontsize/2) 0; | |
1952 | line-height: 1em; |
|
1956 | line-height: 1em; | |
1953 |
|
1957 | |||
1954 | .desc, .delete-notifications, .read-notifications{ |
|
1958 | .desc, .delete-notifications, .read-notifications{ | |
1955 | display: table-cell; |
|
1959 | display: table-cell; | |
1956 | text-align: left; |
|
1960 | text-align: left; | |
1957 | } |
|
1961 | } | |
1958 |
|
1962 | |||
1959 | .delete-notifications, .read-notifications{ |
|
1963 | .delete-notifications, .read-notifications{ | |
1960 | width: 35px; |
|
1964 | width: 35px; | |
1961 | min-width: 35px; //fixes when only one button is displayed |
|
1965 | min-width: 35px; //fixes when only one button is displayed | |
1962 | } |
|
1966 | } | |
1963 | } |
|
1967 | } | |
1964 |
|
1968 | |||
1965 | .notification-body { |
|
1969 | .notification-body { | |
1966 | .markdown-block, |
|
1970 | .markdown-block, | |
1967 | .rst-block { |
|
1971 | .rst-block { | |
1968 | padding: @padding 0; |
|
1972 | padding: @padding 0; | |
1969 | } |
|
1973 | } | |
1970 |
|
1974 | |||
1971 | .notification-subject { |
|
1975 | .notification-subject { | |
1972 | padding: @textmargin 0; |
|
1976 | padding: @textmargin 0; | |
1973 | border-bottom: @border-thickness solid @border-default-color; |
|
1977 | border-bottom: @border-thickness solid @border-default-color; | |
1974 | } |
|
1978 | } | |
1975 | } |
|
1979 | } | |
1976 |
|
1980 | |||
1977 |
|
1981 | |||
1978 | .notifications_buttons{ |
|
1982 | .notifications_buttons{ | |
1979 | float: right; |
|
1983 | float: right; | |
1980 | } |
|
1984 | } | |
1981 |
|
1985 | |||
1982 | #notification-status{ |
|
1986 | #notification-status{ | |
1983 | display: inline; |
|
1987 | display: inline; | |
1984 | } |
|
1988 | } | |
1985 |
|
1989 | |||
1986 | // Repositories |
|
1990 | // Repositories | |
1987 |
|
1991 | |||
1988 | #summary.fields{ |
|
1992 | #summary.fields{ | |
1989 | display: table; |
|
1993 | display: table; | |
1990 |
|
1994 | |||
1991 | .field{ |
|
1995 | .field{ | |
1992 | display: table-row; |
|
1996 | display: table-row; | |
1993 |
|
1997 | |||
1994 | .label-summary{ |
|
1998 | .label-summary{ | |
1995 | display: table-cell; |
|
1999 | display: table-cell; | |
1996 | min-width: @label-summary-minwidth; |
|
2000 | min-width: @label-summary-minwidth; | |
1997 | padding-top: @padding/2; |
|
2001 | padding-top: @padding/2; | |
1998 | padding-bottom: @padding/2; |
|
2002 | padding-bottom: @padding/2; | |
1999 | padding-right: @padding/2; |
|
2003 | padding-right: @padding/2; | |
2000 | } |
|
2004 | } | |
2001 |
|
2005 | |||
2002 | .input{ |
|
2006 | .input{ | |
2003 | display: table-cell; |
|
2007 | display: table-cell; | |
2004 | padding: @padding/2; |
|
2008 | padding: @padding/2; | |
2005 |
|
2009 | |||
2006 | input{ |
|
2010 | input{ | |
2007 | min-width: 29em; |
|
2011 | min-width: 29em; | |
2008 | padding: @padding/4; |
|
2012 | padding: @padding/4; | |
2009 | } |
|
2013 | } | |
2010 | } |
|
2014 | } | |
2011 | .statistics, .downloads{ |
|
2015 | .statistics, .downloads{ | |
2012 | .disabled{ |
|
2016 | .disabled{ | |
2013 | color: @grey4; |
|
2017 | color: @grey4; | |
2014 | } |
|
2018 | } | |
2015 | } |
|
2019 | } | |
2016 | } |
|
2020 | } | |
2017 | } |
|
2021 | } | |
2018 |
|
2022 | |||
2019 | #summary{ |
|
2023 | #summary{ | |
2020 | width: 70%; |
|
2024 | width: 70%; | |
2021 | } |
|
2025 | } | |
2022 |
|
2026 | |||
2023 |
|
2027 | |||
2024 | // Journal |
|
2028 | // Journal | |
2025 | .journal.title { |
|
2029 | .journal.title { | |
2026 | h5 { |
|
2030 | h5 { | |
2027 | float: left; |
|
2031 | float: left; | |
2028 | margin: 0; |
|
2032 | margin: 0; | |
2029 | width: 70%; |
|
2033 | width: 70%; | |
2030 | } |
|
2034 | } | |
2031 |
|
2035 | |||
2032 | ul { |
|
2036 | ul { | |
2033 | float: right; |
|
2037 | float: right; | |
2034 | display: inline-block; |
|
2038 | display: inline-block; | |
2035 | margin: 0; |
|
2039 | margin: 0; | |
2036 | width: 30%; |
|
2040 | width: 30%; | |
2037 | text-align: right; |
|
2041 | text-align: right; | |
2038 |
|
2042 | |||
2039 | li { |
|
2043 | li { | |
2040 | display: inline; |
|
2044 | display: inline; | |
2041 | font-size: @journal-fontsize; |
|
2045 | font-size: @journal-fontsize; | |
2042 | line-height: 1em; |
|
2046 | line-height: 1em; | |
2043 |
|
2047 | |||
2044 | list-style-type: none; |
|
2048 | list-style-type: none; | |
2045 | } |
|
2049 | } | |
2046 | } |
|
2050 | } | |
2047 | } |
|
2051 | } | |
2048 |
|
2052 | |||
2049 | .filterexample { |
|
2053 | .filterexample { | |
2050 | position: absolute; |
|
2054 | position: absolute; | |
2051 | top: 95px; |
|
2055 | top: 95px; | |
2052 | left: @contentpadding; |
|
2056 | left: @contentpadding; | |
2053 | color: @rcblue; |
|
2057 | color: @rcblue; | |
2054 | font-size: 11px; |
|
2058 | font-size: 11px; | |
2055 | font-family: @text-regular; |
|
2059 | font-family: @text-regular; | |
2056 | cursor: help; |
|
2060 | cursor: help; | |
2057 |
|
2061 | |||
2058 | &:hover { |
|
2062 | &:hover { | |
2059 | color: @rcdarkblue; |
|
2063 | color: @rcdarkblue; | |
2060 | } |
|
2064 | } | |
2061 |
|
2065 | |||
2062 | @media (max-width:768px) { |
|
2066 | @media (max-width:768px) { | |
2063 | position: relative; |
|
2067 | position: relative; | |
2064 | top: auto; |
|
2068 | top: auto; | |
2065 | left: auto; |
|
2069 | left: auto; | |
2066 | display: block; |
|
2070 | display: block; | |
2067 | } |
|
2071 | } | |
2068 | } |
|
2072 | } | |
2069 |
|
2073 | |||
2070 |
|
2074 | |||
2071 | #journal{ |
|
2075 | #journal{ | |
2072 | margin-bottom: @space; |
|
2076 | margin-bottom: @space; | |
2073 |
|
2077 | |||
2074 | .journal_day{ |
|
2078 | .journal_day{ | |
2075 | margin-bottom: @textmargin/2; |
|
2079 | margin-bottom: @textmargin/2; | |
2076 | padding-bottom: @textmargin/2; |
|
2080 | padding-bottom: @textmargin/2; | |
2077 | font-size: @journal-fontsize; |
|
2081 | font-size: @journal-fontsize; | |
2078 | border-bottom: @border-thickness solid @border-default-color; |
|
2082 | border-bottom: @border-thickness solid @border-default-color; | |
2079 | } |
|
2083 | } | |
2080 |
|
2084 | |||
2081 | .journal_container{ |
|
2085 | .journal_container{ | |
2082 | margin-bottom: @space; |
|
2086 | margin-bottom: @space; | |
2083 |
|
2087 | |||
2084 | .journal_user{ |
|
2088 | .journal_user{ | |
2085 | display: inline-block; |
|
2089 | display: inline-block; | |
2086 | } |
|
2090 | } | |
2087 | .journal_action_container{ |
|
2091 | .journal_action_container{ | |
2088 | display: block; |
|
2092 | display: block; | |
2089 | margin-top: @textmargin; |
|
2093 | margin-top: @textmargin; | |
2090 |
|
2094 | |||
2091 | div{ |
|
2095 | div{ | |
2092 | display: inline; |
|
2096 | display: inline; | |
2093 | } |
|
2097 | } | |
2094 |
|
2098 | |||
2095 | div.journal_action_params{ |
|
2099 | div.journal_action_params{ | |
2096 | display: block; |
|
2100 | display: block; | |
2097 | } |
|
2101 | } | |
2098 |
|
2102 | |||
2099 | div.journal_repo:after{ |
|
2103 | div.journal_repo:after{ | |
2100 | content: "\A"; |
|
2104 | content: "\A"; | |
2101 | white-space: pre; |
|
2105 | white-space: pre; | |
2102 | } |
|
2106 | } | |
2103 |
|
2107 | |||
2104 | div.date{ |
|
2108 | div.date{ | |
2105 | display: block; |
|
2109 | display: block; | |
2106 | margin-bottom: @textmargin; |
|
2110 | margin-bottom: @textmargin; | |
2107 | } |
|
2111 | } | |
2108 | } |
|
2112 | } | |
2109 | } |
|
2113 | } | |
2110 | } |
|
2114 | } | |
2111 |
|
2115 | |||
2112 | // Files |
|
2116 | // Files | |
2113 | .edit-file-title { |
|
2117 | .edit-file-title { | |
2114 | font-size: 16px; |
|
2118 | font-size: 16px; | |
2115 |
|
2119 | |||
2116 | .title-heading { |
|
2120 | .title-heading { | |
2117 | padding: 2px; |
|
2121 | padding: 2px; | |
2118 | } |
|
2122 | } | |
2119 | } |
|
2123 | } | |
2120 |
|
2124 | |||
2121 | .edit-file-fieldset { |
|
2125 | .edit-file-fieldset { | |
2122 | margin: @sidebarpadding 0; |
|
2126 | margin: @sidebarpadding 0; | |
2123 |
|
2127 | |||
2124 | .fieldset { |
|
2128 | .fieldset { | |
2125 | .left-label { |
|
2129 | .left-label { | |
2126 | width: 13%; |
|
2130 | width: 13%; | |
2127 | } |
|
2131 | } | |
2128 | .right-content { |
|
2132 | .right-content { | |
2129 | width: 87%; |
|
2133 | width: 87%; | |
2130 | max-width: 100%; |
|
2134 | max-width: 100%; | |
2131 | } |
|
2135 | } | |
2132 | .filename-label { |
|
2136 | .filename-label { | |
2133 | margin-top: 13px; |
|
2137 | margin-top: 13px; | |
2134 | } |
|
2138 | } | |
2135 | .commit-message-label { |
|
2139 | .commit-message-label { | |
2136 | margin-top: 4px; |
|
2140 | margin-top: 4px; | |
2137 | } |
|
2141 | } | |
2138 | .file-upload-input { |
|
2142 | .file-upload-input { | |
2139 | input { |
|
2143 | input { | |
2140 | display: none; |
|
2144 | display: none; | |
2141 | } |
|
2145 | } | |
2142 | margin-top: 10px; |
|
2146 | margin-top: 10px; | |
2143 | } |
|
2147 | } | |
2144 | .file-upload-label { |
|
2148 | .file-upload-label { | |
2145 | margin-top: 10px; |
|
2149 | margin-top: 10px; | |
2146 | } |
|
2150 | } | |
2147 | p { |
|
2151 | p { | |
2148 | margin-top: 5px; |
|
2152 | margin-top: 5px; | |
2149 | } |
|
2153 | } | |
2150 |
|
2154 | |||
2151 | } |
|
2155 | } | |
2152 | .custom-path-link { |
|
2156 | .custom-path-link { | |
2153 | margin-left: 5px; |
|
2157 | margin-left: 5px; | |
2154 | } |
|
2158 | } | |
2155 | #commit { |
|
2159 | #commit { | |
2156 | resize: vertical; |
|
2160 | resize: vertical; | |
2157 | } |
|
2161 | } | |
2158 | } |
|
2162 | } | |
2159 |
|
2163 | |||
2160 | .delete-file-preview { |
|
2164 | .delete-file-preview { | |
2161 | max-height: 250px; |
|
2165 | max-height: 250px; | |
2162 | } |
|
2166 | } | |
2163 |
|
2167 | |||
2164 | .new-file, |
|
2168 | .new-file, | |
2165 | #filter_activate, |
|
2169 | #filter_activate, | |
2166 | #filter_deactivate { |
|
2170 | #filter_deactivate { | |
2167 | float: right; |
|
2171 | float: right; | |
2168 | margin: 0 0 0 10px; |
|
2172 | margin: 0 0 0 10px; | |
2169 | } |
|
2173 | } | |
2170 |
|
2174 | |||
2171 | .file-upload-transaction-wrapper { |
|
2175 | .file-upload-transaction-wrapper { | |
2172 | margin-top: 57px; |
|
2176 | margin-top: 57px; | |
2173 | clear: both; |
|
2177 | clear: both; | |
2174 | } |
|
2178 | } | |
2175 |
|
2179 | |||
2176 | .file-upload-transaction-wrapper .error { |
|
2180 | .file-upload-transaction-wrapper .error { | |
2177 | color: @color5; |
|
2181 | color: @color5; | |
2178 | } |
|
2182 | } | |
2179 |
|
2183 | |||
2180 | .file-upload-transaction { |
|
2184 | .file-upload-transaction { | |
2181 | min-height: 200px; |
|
2185 | min-height: 200px; | |
2182 | padding: 54px; |
|
2186 | padding: 54px; | |
2183 | border: 1px solid @grey5; |
|
2187 | border: 1px solid @grey5; | |
2184 | text-align: center; |
|
2188 | text-align: center; | |
2185 | clear: both; |
|
2189 | clear: both; | |
2186 | } |
|
2190 | } | |
2187 |
|
2191 | |||
2188 | .file-upload-transaction i { |
|
2192 | .file-upload-transaction i { | |
2189 | font-size: 48px |
|
2193 | font-size: 48px | |
2190 | } |
|
2194 | } | |
2191 |
|
2195 | |||
2192 | h3.files_location{ |
|
2196 | h3.files_location{ | |
2193 | line-height: 2.4em; |
|
2197 | line-height: 2.4em; | |
2194 | } |
|
2198 | } | |
2195 |
|
2199 | |||
2196 | .browser-nav { |
|
2200 | .browser-nav { | |
2197 | width: 100%; |
|
2201 | width: 100%; | |
2198 | display: table; |
|
2202 | display: table; | |
2199 | margin-bottom: 20px; |
|
2203 | margin-bottom: 20px; | |
2200 |
|
2204 | |||
2201 | .info_box { |
|
2205 | .info_box { | |
2202 | float: left; |
|
2206 | float: left; | |
2203 | display: inline-table; |
|
2207 | display: inline-table; | |
2204 | height: 2.5em; |
|
2208 | height: 2.5em; | |
2205 |
|
2209 | |||
2206 | .browser-cur-rev, .info_box_elem { |
|
2210 | .browser-cur-rev, .info_box_elem { | |
2207 | display: table-cell; |
|
2211 | display: table-cell; | |
2208 | vertical-align: middle; |
|
2212 | vertical-align: middle; | |
2209 | } |
|
2213 | } | |
2210 |
|
2214 | |||
2211 | .drop-menu { |
|
2215 | .drop-menu { | |
2212 | margin: 0 10px; |
|
2216 | margin: 0 10px; | |
2213 | } |
|
2217 | } | |
2214 |
|
2218 | |||
2215 | .info_box_elem { |
|
2219 | .info_box_elem { | |
2216 | border-top: @border-thickness solid @grey5; |
|
2220 | border-top: @border-thickness solid @grey5; | |
2217 | border-bottom: @border-thickness solid @grey5; |
|
2221 | border-bottom: @border-thickness solid @grey5; | |
2218 | box-shadow: @button-shadow; |
|
2222 | box-shadow: @button-shadow; | |
2219 |
|
2223 | |||
2220 | #at_rev, a { |
|
2224 | #at_rev, a { | |
2221 | padding: 0.6em 0.4em; |
|
2225 | padding: 0.6em 0.4em; | |
2222 | margin: 0; |
|
2226 | margin: 0; | |
2223 | .box-shadow(none); |
|
2227 | .box-shadow(none); | |
2224 | border: 0; |
|
2228 | border: 0; | |
2225 | height: 12px; |
|
2229 | height: 12px; | |
2226 | color: @grey2; |
|
2230 | color: @grey2; | |
2227 | } |
|
2231 | } | |
2228 |
|
2232 | |||
2229 | input#at_rev { |
|
2233 | input#at_rev { | |
2230 | max-width: 50px; |
|
2234 | max-width: 50px; | |
2231 | text-align: center; |
|
2235 | text-align: center; | |
2232 | } |
|
2236 | } | |
2233 |
|
2237 | |||
2234 | &.previous { |
|
2238 | &.previous { | |
2235 | border: @border-thickness solid @grey5; |
|
2239 | border: @border-thickness solid @grey5; | |
2236 | border-top-left-radius: @border-radius; |
|
2240 | border-top-left-radius: @border-radius; | |
2237 | border-bottom-left-radius: @border-radius; |
|
2241 | border-bottom-left-radius: @border-radius; | |
2238 |
|
2242 | |||
2239 | &:hover { |
|
2243 | &:hover { | |
2240 | border-color: @grey4; |
|
2244 | border-color: @grey4; | |
2241 | } |
|
2245 | } | |
2242 |
|
2246 | |||
2243 | .disabled { |
|
2247 | .disabled { | |
2244 | color: @grey5; |
|
2248 | color: @grey5; | |
2245 | cursor: not-allowed; |
|
2249 | cursor: not-allowed; | |
2246 | opacity: 0.5; |
|
2250 | opacity: 0.5; | |
2247 | } |
|
2251 | } | |
2248 | } |
|
2252 | } | |
2249 |
|
2253 | |||
2250 | &.next { |
|
2254 | &.next { | |
2251 | border: @border-thickness solid @grey5; |
|
2255 | border: @border-thickness solid @grey5; | |
2252 | border-top-right-radius: @border-radius; |
|
2256 | border-top-right-radius: @border-radius; | |
2253 | border-bottom-right-radius: @border-radius; |
|
2257 | border-bottom-right-radius: @border-radius; | |
2254 |
|
2258 | |||
2255 | &:hover { |
|
2259 | &:hover { | |
2256 | border-color: @grey4; |
|
2260 | border-color: @grey4; | |
2257 | } |
|
2261 | } | |
2258 |
|
2262 | |||
2259 | .disabled { |
|
2263 | .disabled { | |
2260 | color: @grey5; |
|
2264 | color: @grey5; | |
2261 | cursor: not-allowed; |
|
2265 | cursor: not-allowed; | |
2262 | opacity: 0.5; |
|
2266 | opacity: 0.5; | |
2263 | } |
|
2267 | } | |
2264 | } |
|
2268 | } | |
2265 | } |
|
2269 | } | |
2266 |
|
2270 | |||
2267 | .browser-cur-rev { |
|
2271 | .browser-cur-rev { | |
2268 |
|
2272 | |||
2269 | span{ |
|
2273 | span{ | |
2270 | margin: 0; |
|
2274 | margin: 0; | |
2271 | color: @rcblue; |
|
2275 | color: @rcblue; | |
2272 | height: 12px; |
|
2276 | height: 12px; | |
2273 | display: inline-block; |
|
2277 | display: inline-block; | |
2274 | padding: 0.7em 1em ; |
|
2278 | padding: 0.7em 1em ; | |
2275 | border: @border-thickness solid @rcblue; |
|
2279 | border: @border-thickness solid @rcblue; | |
2276 | margin-right: @padding; |
|
2280 | margin-right: @padding; | |
2277 | } |
|
2281 | } | |
2278 | } |
|
2282 | } | |
2279 |
|
2283 | |||
2280 | } |
|
2284 | } | |
2281 |
|
2285 | |||
2282 | .select-index-number { |
|
2286 | .select-index-number { | |
2283 | margin: 0 0 0 20px; |
|
2287 | margin: 0 0 0 20px; | |
2284 | color: @grey3; |
|
2288 | color: @grey3; | |
2285 | } |
|
2289 | } | |
2286 |
|
2290 | |||
2287 | .search_activate { |
|
2291 | .search_activate { | |
2288 | display: table-cell; |
|
2292 | display: table-cell; | |
2289 | vertical-align: middle; |
|
2293 | vertical-align: middle; | |
2290 |
|
2294 | |||
2291 | input, label{ |
|
2295 | input, label{ | |
2292 | margin: 0; |
|
2296 | margin: 0; | |
2293 | padding: 0; |
|
2297 | padding: 0; | |
2294 | } |
|
2298 | } | |
2295 |
|
2299 | |||
2296 | input{ |
|
2300 | input{ | |
2297 | margin-left: @textmargin; |
|
2301 | margin-left: @textmargin; | |
2298 | } |
|
2302 | } | |
2299 |
|
2303 | |||
2300 | } |
|
2304 | } | |
2301 | } |
|
2305 | } | |
2302 |
|
2306 | |||
2303 | .browser-cur-rev{ |
|
2307 | .browser-cur-rev{ | |
2304 | margin-bottom: @textmargin; |
|
2308 | margin-bottom: @textmargin; | |
2305 | } |
|
2309 | } | |
2306 |
|
2310 | |||
2307 | #node_filter_box_loading{ |
|
2311 | #node_filter_box_loading{ | |
2308 | .info_text; |
|
2312 | .info_text; | |
2309 | } |
|
2313 | } | |
2310 |
|
2314 | |||
2311 | .browser-search { |
|
2315 | .browser-search { | |
2312 | margin: -25px 0px 5px 0px; |
|
2316 | margin: -25px 0px 5px 0px; | |
2313 | } |
|
2317 | } | |
2314 |
|
2318 | |||
2315 | .files-quick-filter { |
|
2319 | .files-quick-filter { | |
2316 | float: right; |
|
2320 | float: right; | |
2317 | width: 180px; |
|
2321 | width: 180px; | |
2318 | position: relative; |
|
2322 | position: relative; | |
2319 | } |
|
2323 | } | |
2320 |
|
2324 | |||
2321 | .files-filter-box { |
|
2325 | .files-filter-box { | |
2322 | display: flex; |
|
2326 | display: flex; | |
2323 | padding: 0px; |
|
2327 | padding: 0px; | |
2324 | border-radius: 3px; |
|
2328 | border-radius: 3px; | |
2325 | margin-bottom: 0; |
|
2329 | margin-bottom: 0; | |
2326 |
|
2330 | |||
2327 | a { |
|
2331 | a { | |
2328 | border: none !important; |
|
2332 | border: none !important; | |
2329 | } |
|
2333 | } | |
2330 |
|
2334 | |||
2331 | li { |
|
2335 | li { | |
2332 | list-style-type: none |
|
2336 | list-style-type: none | |
2333 | } |
|
2337 | } | |
2334 | } |
|
2338 | } | |
2335 |
|
2339 | |||
2336 | .files-filter-box-path { |
|
2340 | .files-filter-box-path { | |
2337 | line-height: 33px; |
|
2341 | line-height: 33px; | |
2338 | padding: 0; |
|
2342 | padding: 0; | |
2339 | width: 20px; |
|
2343 | width: 20px; | |
2340 | position: absolute; |
|
2344 | position: absolute; | |
2341 | z-index: 11; |
|
2345 | z-index: 11; | |
2342 | left: 5px; |
|
2346 | left: 5px; | |
2343 | } |
|
2347 | } | |
2344 |
|
2348 | |||
2345 | .files-filter-box-input { |
|
2349 | .files-filter-box-input { | |
2346 | margin-right: 0; |
|
2350 | margin-right: 0; | |
2347 |
|
2351 | |||
2348 | input { |
|
2352 | input { | |
2349 | border: 1px solid @white; |
|
2353 | border: 1px solid @white; | |
2350 | padding-left: 25px; |
|
2354 | padding-left: 25px; | |
2351 | width: 145px; |
|
2355 | width: 145px; | |
2352 |
|
2356 | |||
2353 | &:hover { |
|
2357 | &:hover { | |
2354 | border-color: @grey6; |
|
2358 | border-color: @grey6; | |
2355 | } |
|
2359 | } | |
2356 |
|
2360 | |||
2357 | &:focus { |
|
2361 | &:focus { | |
2358 | border-color: @grey5; |
|
2362 | border-color: @grey5; | |
2359 | } |
|
2363 | } | |
2360 | } |
|
2364 | } | |
2361 | } |
|
2365 | } | |
2362 |
|
2366 | |||
2363 | .browser-result{ |
|
2367 | .browser-result{ | |
2364 | td a{ |
|
2368 | td a{ | |
2365 | margin-left: 0.5em; |
|
2369 | margin-left: 0.5em; | |
2366 | display: inline-block; |
|
2370 | display: inline-block; | |
2367 |
|
2371 | |||
2368 | em { |
|
2372 | em { | |
2369 | font-weight: @text-bold-weight; |
|
2373 | font-weight: @text-bold-weight; | |
2370 | font-family: @text-bold; |
|
2374 | font-family: @text-bold; | |
2371 | } |
|
2375 | } | |
2372 | } |
|
2376 | } | |
2373 | } |
|
2377 | } | |
2374 |
|
2378 | |||
2375 | .browser-highlight{ |
|
2379 | .browser-highlight{ | |
2376 | background-color: @grey5-alpha; |
|
2380 | background-color: @grey5-alpha; | |
2377 | } |
|
2381 | } | |
2378 |
|
2382 | |||
2379 |
|
2383 | |||
2380 | .edit-file-fieldset #location, |
|
2384 | .edit-file-fieldset #location, | |
2381 | .edit-file-fieldset #filename { |
|
2385 | .edit-file-fieldset #filename { | |
2382 | display: flex; |
|
2386 | display: flex; | |
2383 | width: -moz-available; /* WebKit-based browsers will ignore this. */ |
|
2387 | width: -moz-available; /* WebKit-based browsers will ignore this. */ | |
2384 | width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */ |
|
2388 | width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */ | |
2385 | width: fill-available; |
|
2389 | width: fill-available; | |
2386 | border: 0; |
|
2390 | border: 0; | |
2387 | } |
|
2391 | } | |
2388 |
|
2392 | |||
2389 | .path-items { |
|
2393 | .path-items { | |
2390 | display: flex; |
|
2394 | display: flex; | |
2391 | padding: 0; |
|
2395 | padding: 0; | |
2392 | border: 1px solid #eeeeee; |
|
2396 | border: 1px solid #eeeeee; | |
2393 | width: 100%; |
|
2397 | width: 100%; | |
2394 | float: left; |
|
2398 | float: left; | |
2395 |
|
2399 | |||
2396 | .breadcrumb-path { |
|
2400 | .breadcrumb-path { | |
2397 | line-height: 30px; |
|
2401 | line-height: 30px; | |
2398 | padding: 0 4px; |
|
2402 | padding: 0 4px; | |
2399 | white-space: nowrap; |
|
2403 | white-space: nowrap; | |
2400 | } |
|
2404 | } | |
2401 |
|
2405 | |||
2402 | .location-path { |
|
2406 | .location-path { | |
2403 | width: -moz-available; /* WebKit-based browsers will ignore this. */ |
|
2407 | width: -moz-available; /* WebKit-based browsers will ignore this. */ | |
2404 | width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */ |
|
2408 | width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */ | |
2405 | width: fill-available; |
|
2409 | width: fill-available; | |
2406 |
|
2410 | |||
2407 | .file-name-input { |
|
2411 | .file-name-input { | |
2408 | padding: 0.5em 0; |
|
2412 | padding: 0.5em 0; | |
2409 | } |
|
2413 | } | |
2410 |
|
2414 | |||
2411 | } |
|
2415 | } | |
2412 |
|
2416 | |||
2413 | ul { |
|
2417 | ul { | |
2414 | display: flex; |
|
2418 | display: flex; | |
2415 | margin: 0; |
|
2419 | margin: 0; | |
2416 | padding: 0; |
|
2420 | padding: 0; | |
2417 | width: 100%; |
|
2421 | width: 100%; | |
2418 | } |
|
2422 | } | |
2419 |
|
2423 | |||
2420 | li { |
|
2424 | li { | |
2421 | list-style-type: none; |
|
2425 | list-style-type: none; | |
2422 | } |
|
2426 | } | |
2423 |
|
2427 | |||
2424 | } |
|
2428 | } | |
2425 |
|
2429 | |||
2426 | .editor-items { |
|
2430 | .editor-items { | |
2427 | height: 40px; |
|
2431 | height: 40px; | |
2428 | margin: 10px 0 -17px 10px; |
|
2432 | margin: 10px 0 -17px 10px; | |
2429 |
|
2433 | |||
2430 | .editor-action { |
|
2434 | .editor-action { | |
2431 | cursor: pointer; |
|
2435 | cursor: pointer; | |
2432 | } |
|
2436 | } | |
2433 |
|
2437 | |||
2434 | .editor-action.active { |
|
2438 | .editor-action.active { | |
2435 | border-bottom: 2px solid #5C5C5C; |
|
2439 | border-bottom: 2px solid #5C5C5C; | |
2436 | } |
|
2440 | } | |
2437 |
|
2441 | |||
2438 | li { |
|
2442 | li { | |
2439 | list-style-type: none; |
|
2443 | list-style-type: none; | |
2440 | } |
|
2444 | } | |
2441 | } |
|
2445 | } | |
2442 |
|
2446 | |||
2443 | .edit-file-fieldset .message textarea { |
|
2447 | .edit-file-fieldset .message textarea { | |
2444 | border: 1px solid #eeeeee; |
|
2448 | border: 1px solid #eeeeee; | |
2445 | } |
|
2449 | } | |
2446 |
|
2450 | |||
2447 | #files_data .codeblock { |
|
2451 | #files_data .codeblock { | |
2448 | background-color: #F5F5F5; |
|
2452 | background-color: #F5F5F5; | |
2449 | } |
|
2453 | } | |
2450 |
|
2454 | |||
2451 | #editor_preview { |
|
2455 | #editor_preview { | |
2452 | background: white; |
|
2456 | background: white; | |
2453 | } |
|
2457 | } | |
2454 |
|
2458 | |||
2455 | .show-editor { |
|
2459 | .show-editor { | |
2456 | padding: 10px; |
|
2460 | padding: 10px; | |
2457 | background-color: white; |
|
2461 | background-color: white; | |
2458 |
|
2462 | |||
2459 | } |
|
2463 | } | |
2460 |
|
2464 | |||
2461 | .show-preview { |
|
2465 | .show-preview { | |
2462 | padding: 10px; |
|
2466 | padding: 10px; | |
2463 | background-color: white; |
|
2467 | background-color: white; | |
2464 | border-left: 1px solid #eeeeee; |
|
2468 | border-left: 1px solid #eeeeee; | |
2465 | } |
|
2469 | } | |
2466 | // quick filter |
|
2470 | // quick filter | |
2467 | .grid-quick-filter { |
|
2471 | .grid-quick-filter { | |
2468 | float: right; |
|
2472 | float: right; | |
2469 | position: relative; |
|
2473 | position: relative; | |
2470 | } |
|
2474 | } | |
2471 |
|
2475 | |||
2472 | .grid-filter-box { |
|
2476 | .grid-filter-box { | |
2473 | display: flex; |
|
2477 | display: flex; | |
2474 | padding: 0px; |
|
2478 | padding: 0px; | |
2475 | border-radius: 3px; |
|
2479 | border-radius: 3px; | |
2476 | margin-bottom: 0; |
|
2480 | margin-bottom: 0; | |
2477 |
|
2481 | |||
2478 | a { |
|
2482 | a { | |
2479 | border: none !important; |
|
2483 | border: none !important; | |
2480 | } |
|
2484 | } | |
2481 |
|
2485 | |||
2482 | li { |
|
2486 | li { | |
2483 | list-style-type: none |
|
2487 | list-style-type: none | |
2484 | } |
|
2488 | } | |
2485 | } |
|
2489 | } | |
2486 |
|
2490 | |||
2487 | .grid-filter-box-icon { |
|
2491 | .grid-filter-box-icon { | |
2488 | line-height: 33px; |
|
2492 | line-height: 33px; | |
2489 | padding: 0; |
|
2493 | padding: 0; | |
2490 | width: 20px; |
|
2494 | width: 20px; | |
2491 | position: absolute; |
|
2495 | position: absolute; | |
2492 | z-index: 11; |
|
2496 | z-index: 11; | |
2493 | left: 5px; |
|
2497 | left: 5px; | |
2494 | } |
|
2498 | } | |
2495 |
|
2499 | |||
2496 | .grid-filter-box-input { |
|
2500 | .grid-filter-box-input { | |
2497 | margin-right: 0; |
|
2501 | margin-right: 0; | |
2498 |
|
2502 | |||
2499 | input { |
|
2503 | input { | |
2500 | border: 1px solid @white; |
|
2504 | border: 1px solid @white; | |
2501 | padding-left: 25px; |
|
2505 | padding-left: 25px; | |
2502 | width: 145px; |
|
2506 | width: 145px; | |
2503 |
|
2507 | |||
2504 | &:hover { |
|
2508 | &:hover { | |
2505 | border-color: @grey6; |
|
2509 | border-color: @grey6; | |
2506 | } |
|
2510 | } | |
2507 |
|
2511 | |||
2508 | &:focus { |
|
2512 | &:focus { | |
2509 | border-color: @grey5; |
|
2513 | border-color: @grey5; | |
2510 | } |
|
2514 | } | |
2511 | } |
|
2515 | } | |
2512 | } |
|
2516 | } | |
2513 |
|
2517 | |||
2514 |
|
2518 | |||
2515 |
|
2519 | |||
2516 | // Search |
|
2520 | // Search | |
2517 |
|
2521 | |||
2518 | .search-form{ |
|
2522 | .search-form{ | |
2519 | #q { |
|
2523 | #q { | |
2520 | width: @search-form-width; |
|
2524 | width: @search-form-width; | |
2521 | } |
|
2525 | } | |
2522 | .fields{ |
|
2526 | .fields{ | |
2523 | margin: 0 0 @space; |
|
2527 | margin: 0 0 @space; | |
2524 | } |
|
2528 | } | |
2525 |
|
2529 | |||
2526 | label{ |
|
2530 | label{ | |
2527 | display: inline-block; |
|
2531 | display: inline-block; | |
2528 | margin-right: @textmargin; |
|
2532 | margin-right: @textmargin; | |
2529 | padding-top: 0.25em; |
|
2533 | padding-top: 0.25em; | |
2530 | } |
|
2534 | } | |
2531 |
|
2535 | |||
2532 |
|
2536 | |||
2533 | .results{ |
|
2537 | .results{ | |
2534 | clear: both; |
|
2538 | clear: both; | |
2535 | margin: 0 0 @padding; |
|
2539 | margin: 0 0 @padding; | |
2536 | } |
|
2540 | } | |
2537 |
|
2541 | |||
2538 | .search-tags { |
|
2542 | .search-tags { | |
2539 | padding: 5px 0; |
|
2543 | padding: 5px 0; | |
2540 | } |
|
2544 | } | |
2541 | } |
|
2545 | } | |
2542 |
|
2546 | |||
2543 | div.search-feedback-items { |
|
2547 | div.search-feedback-items { | |
2544 | display: inline-block; |
|
2548 | display: inline-block; | |
2545 | } |
|
2549 | } | |
2546 |
|
2550 | |||
2547 | div.search-code-body { |
|
2551 | div.search-code-body { | |
2548 | background-color: #ffffff; padding: 5px 0 5px 10px; |
|
2552 | background-color: #ffffff; padding: 5px 0 5px 10px; | |
2549 | pre { |
|
2553 | pre { | |
2550 | .match { background-color: #faffa6;} |
|
2554 | .match { background-color: #faffa6;} | |
2551 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } |
|
2555 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } | |
2552 | } |
|
2556 | } | |
2553 | } |
|
2557 | } | |
2554 |
|
2558 | |||
2555 | .expand_commit.search { |
|
2559 | .expand_commit.search { | |
2556 | .show_more.open { |
|
2560 | .show_more.open { | |
2557 | height: auto; |
|
2561 | height: auto; | |
2558 | max-height: none; |
|
2562 | max-height: none; | |
2559 | } |
|
2563 | } | |
2560 | } |
|
2564 | } | |
2561 |
|
2565 | |||
2562 | .search-results { |
|
2566 | .search-results { | |
2563 |
|
2567 | |||
2564 | h2 { |
|
2568 | h2 { | |
2565 | margin-bottom: 0; |
|
2569 | margin-bottom: 0; | |
2566 | } |
|
2570 | } | |
2567 | .codeblock { |
|
2571 | .codeblock { | |
2568 | border: none; |
|
2572 | border: none; | |
2569 | background: transparent; |
|
2573 | background: transparent; | |
2570 | } |
|
2574 | } | |
2571 |
|
2575 | |||
2572 | .codeblock-header { |
|
2576 | .codeblock-header { | |
2573 | border: none; |
|
2577 | border: none; | |
2574 | background: transparent; |
|
2578 | background: transparent; | |
2575 | } |
|
2579 | } | |
2576 |
|
2580 | |||
2577 | .code-body { |
|
2581 | .code-body { | |
2578 | border: @border-thickness solid @grey6; |
|
2582 | border: @border-thickness solid @grey6; | |
2579 | .border-radius(@border-radius); |
|
2583 | .border-radius(@border-radius); | |
2580 | } |
|
2584 | } | |
2581 |
|
2585 | |||
2582 | .td-commit { |
|
2586 | .td-commit { | |
2583 | &:extend(pre); |
|
2587 | &:extend(pre); | |
2584 | border-bottom: @border-thickness solid @border-default-color; |
|
2588 | border-bottom: @border-thickness solid @border-default-color; | |
2585 | } |
|
2589 | } | |
2586 |
|
2590 | |||
2587 | .message { |
|
2591 | .message { | |
2588 | height: auto; |
|
2592 | height: auto; | |
2589 | max-width: 350px; |
|
2593 | max-width: 350px; | |
2590 | white-space: normal; |
|
2594 | white-space: normal; | |
2591 | text-overflow: initial; |
|
2595 | text-overflow: initial; | |
2592 | overflow: visible; |
|
2596 | overflow: visible; | |
2593 |
|
2597 | |||
2594 | .match { background-color: #faffa6;} |
|
2598 | .match { background-color: #faffa6;} | |
2595 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } |
|
2599 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } | |
2596 | } |
|
2600 | } | |
2597 |
|
2601 | |||
2598 | .path { |
|
2602 | .path { | |
2599 | border-bottom: none !important; |
|
2603 | border-bottom: none !important; | |
2600 | border-left: 1px solid @grey6 !important; |
|
2604 | border-left: 1px solid @grey6 !important; | |
2601 | border-right: 1px solid @grey6 !important; |
|
2605 | border-right: 1px solid @grey6 !important; | |
2602 | } |
|
2606 | } | |
2603 | } |
|
2607 | } | |
2604 |
|
2608 | |||
2605 | table.rctable td.td-search-results div { |
|
2609 | table.rctable td.td-search-results div { | |
2606 | max-width: 100%; |
|
2610 | max-width: 100%; | |
2607 | } |
|
2611 | } | |
2608 |
|
2612 | |||
2609 | #tip-box, .tip-box{ |
|
2613 | #tip-box, .tip-box{ | |
2610 | padding: @menupadding/2; |
|
2614 | padding: @menupadding/2; | |
2611 | display: block; |
|
2615 | display: block; | |
2612 | border: @border-thickness solid @border-highlight-color; |
|
2616 | border: @border-thickness solid @border-highlight-color; | |
2613 | .border-radius(@border-radius); |
|
2617 | .border-radius(@border-radius); | |
2614 | background-color: white; |
|
2618 | background-color: white; | |
2615 | z-index: 99; |
|
2619 | z-index: 99; | |
2616 | white-space: pre-wrap; |
|
2620 | white-space: pre-wrap; | |
2617 | } |
|
2621 | } | |
2618 |
|
2622 | |||
2619 | #linktt { |
|
2623 | #linktt { | |
2620 | width: 79px; |
|
2624 | width: 79px; | |
2621 | } |
|
2625 | } | |
2622 |
|
2626 | |||
2623 | #help_kb .modal-content{ |
|
2627 | #help_kb .modal-content{ | |
2624 | max-width: 750px; |
|
2628 | max-width: 750px; | |
2625 | margin: 10% auto; |
|
2629 | margin: 10% auto; | |
2626 |
|
2630 | |||
2627 | table{ |
|
2631 | table{ | |
2628 | td,th{ |
|
2632 | td,th{ | |
2629 | border-bottom: none; |
|
2633 | border-bottom: none; | |
2630 | line-height: 2.5em; |
|
2634 | line-height: 2.5em; | |
2631 | } |
|
2635 | } | |
2632 | th{ |
|
2636 | th{ | |
2633 | padding-bottom: @textmargin/2; |
|
2637 | padding-bottom: @textmargin/2; | |
2634 | } |
|
2638 | } | |
2635 | td.keys{ |
|
2639 | td.keys{ | |
2636 | text-align: center; |
|
2640 | text-align: center; | |
2637 | } |
|
2641 | } | |
2638 | } |
|
2642 | } | |
2639 |
|
2643 | |||
2640 | .block-left{ |
|
2644 | .block-left{ | |
2641 | width: 45%; |
|
2645 | width: 45%; | |
2642 | margin-right: 5%; |
|
2646 | margin-right: 5%; | |
2643 | } |
|
2647 | } | |
2644 | .modal-footer{ |
|
2648 | .modal-footer{ | |
2645 | clear: both; |
|
2649 | clear: both; | |
2646 | } |
|
2650 | } | |
2647 | .key.tag{ |
|
2651 | .key.tag{ | |
2648 | padding: 0.5em; |
|
2652 | padding: 0.5em; | |
2649 | background-color: @rcblue; |
|
2653 | background-color: @rcblue; | |
2650 | color: white; |
|
2654 | color: white; | |
2651 | border-color: @rcblue; |
|
2655 | border-color: @rcblue; | |
2652 | .box-shadow(none); |
|
2656 | .box-shadow(none); | |
2653 | } |
|
2657 | } | |
2654 | } |
|
2658 | } | |
2655 |
|
2659 | |||
2656 |
|
2660 | |||
2657 |
|
2661 | |||
2658 | //--- IMPORTS FOR REFACTORED STYLES ------------------// |
|
2662 | //--- IMPORTS FOR REFACTORED STYLES ------------------// | |
2659 |
|
2663 | |||
2660 | @import 'statistics-graph'; |
|
2664 | @import 'statistics-graph'; | |
2661 | @import 'tables'; |
|
2665 | @import 'tables'; | |
2662 | @import 'forms'; |
|
2666 | @import 'forms'; | |
2663 | @import 'diff'; |
|
2667 | @import 'diff'; | |
2664 | @import 'summary'; |
|
2668 | @import 'summary'; | |
2665 | @import 'navigation'; |
|
2669 | @import 'navigation'; | |
2666 |
|
2670 | |||
2667 | //--- SHOW/HIDE SECTIONS --// |
|
2671 | //--- SHOW/HIDE SECTIONS --// | |
2668 |
|
2672 | |||
2669 | .btn-collapse { |
|
2673 | .btn-collapse { | |
2670 | float: right; |
|
2674 | float: right; | |
2671 | text-align: right; |
|
2675 | text-align: right; | |
2672 | font-family: @text-light; |
|
2676 | font-family: @text-light; | |
2673 | font-size: @basefontsize; |
|
2677 | font-size: @basefontsize; | |
2674 | cursor: pointer; |
|
2678 | cursor: pointer; | |
2675 | border: none; |
|
2679 | border: none; | |
2676 | color: @rcblue; |
|
2680 | color: @rcblue; | |
2677 | } |
|
2681 | } | |
2678 |
|
2682 | |||
2679 | table.rctable, |
|
2683 | table.rctable, | |
2680 | table.dataTable { |
|
2684 | table.dataTable { | |
2681 | .btn-collapse { |
|
2685 | .btn-collapse { | |
2682 | float: right; |
|
2686 | float: right; | |
2683 | text-align: right; |
|
2687 | text-align: right; | |
2684 | } |
|
2688 | } | |
2685 | } |
|
2689 | } | |
2686 |
|
2690 | |||
2687 | table.rctable { |
|
2691 | table.rctable { | |
2688 | &.permissions { |
|
2692 | &.permissions { | |
2689 |
|
2693 | |||
2690 | th.td-owner { |
|
2694 | th.td-owner { | |
2691 | padding: 0; |
|
2695 | padding: 0; | |
2692 | } |
|
2696 | } | |
2693 |
|
2697 | |||
2694 | th { |
|
2698 | th { | |
2695 | font-weight: normal; |
|
2699 | font-weight: normal; | |
2696 | padding: 0 5px; |
|
2700 | padding: 0 5px; | |
2697 | } |
|
2701 | } | |
2698 |
|
2702 | |||
2699 | } |
|
2703 | } | |
2700 | } |
|
2704 | } | |
2701 |
|
2705 | |||
2702 |
|
2706 | |||
2703 | // TODO: johbo: Fix for IE10, this avoids that we see a border |
|
2707 | // TODO: johbo: Fix for IE10, this avoids that we see a border | |
2704 | // and padding around checkboxes and radio boxes. Move to the right place, |
|
2708 | // and padding around checkboxes and radio boxes. Move to the right place, | |
2705 | // or better: Remove this once we did the form refactoring. |
|
2709 | // or better: Remove this once we did the form refactoring. | |
2706 | input[type=checkbox], |
|
2710 | input[type=checkbox], | |
2707 | input[type=radio] { |
|
2711 | input[type=radio] { | |
2708 | padding: 0; |
|
2712 | padding: 0; | |
2709 | border: none; |
|
2713 | border: none; | |
2710 | } |
|
2714 | } | |
2711 |
|
2715 | |||
2712 | .toggle-ajax-spinner{ |
|
2716 | .toggle-ajax-spinner{ | |
2713 | height: 16px; |
|
2717 | height: 16px; | |
2714 | width: 16px; |
|
2718 | width: 16px; | |
2715 | } |
|
2719 | } | |
2716 |
|
2720 | |||
2717 |
|
2721 | |||
2718 | .markup-form .clearfix { |
|
2722 | .markup-form .clearfix { | |
2719 | .border-radius(@border-radius); |
|
2723 | .border-radius(@border-radius); | |
2720 | margin: 0px; |
|
2724 | margin: 0px; | |
2721 | } |
|
2725 | } | |
2722 |
|
2726 | |||
2723 | .markup-form-area { |
|
2727 | .markup-form-area { | |
2724 | padding: 8px 12px; |
|
2728 | padding: 8px 12px; | |
2725 | border: 1px solid @grey4; |
|
2729 | border: 1px solid @grey4; | |
2726 | .border-radius(@border-radius); |
|
2730 | .border-radius(@border-radius); | |
2727 | } |
|
2731 | } | |
2728 |
|
2732 | |||
2729 | .markup-form-area-header .nav-links { |
|
2733 | .markup-form-area-header .nav-links { | |
2730 | display: flex; |
|
2734 | display: flex; | |
2731 | flex-flow: row wrap; |
|
2735 | flex-flow: row wrap; | |
2732 | -webkit-flex-flow: row wrap; |
|
2736 | -webkit-flex-flow: row wrap; | |
2733 | width: 100%; |
|
2737 | width: 100%; | |
2734 | } |
|
2738 | } | |
2735 |
|
2739 | |||
2736 | .markup-form-area-footer { |
|
2740 | .markup-form-area-footer { | |
2737 | display: flex; |
|
2741 | display: flex; | |
2738 | } |
|
2742 | } | |
2739 |
|
2743 | |||
2740 | .markup-form-area-footer .toolbar { |
|
2744 | .markup-form-area-footer .toolbar { | |
2741 |
|
2745 | |||
2742 | } |
|
2746 | } | |
2743 |
|
2747 | |||
2744 | // markup Form |
|
2748 | // markup Form | |
2745 | div.markup-form { |
|
2749 | div.markup-form { | |
2746 | margin-top: 20px; |
|
2750 | margin-top: 20px; | |
2747 | } |
|
2751 | } | |
2748 |
|
2752 | |||
2749 | .markup-form strong { |
|
2753 | .markup-form strong { | |
2750 | display: block; |
|
2754 | display: block; | |
2751 | margin-bottom: 15px; |
|
2755 | margin-bottom: 15px; | |
2752 | } |
|
2756 | } | |
2753 |
|
2757 | |||
2754 | .markup-form textarea { |
|
2758 | .markup-form textarea { | |
2755 | width: 100%; |
|
2759 | width: 100%; | |
2756 | height: 100px; |
|
2760 | height: 100px; | |
2757 | font-family: @text-monospace; |
|
2761 | font-family: @text-monospace; | |
2758 | } |
|
2762 | } | |
2759 |
|
2763 | |||
2760 | form.markup-form { |
|
2764 | form.markup-form { | |
2761 | margin-top: 10px; |
|
2765 | margin-top: 10px; | |
2762 | margin-left: 10px; |
|
2766 | margin-left: 10px; | |
2763 | } |
|
2767 | } | |
2764 |
|
2768 | |||
2765 | .markup-form .comment-block-ta, |
|
2769 | .markup-form .comment-block-ta, | |
2766 | .markup-form .preview-box { |
|
2770 | .markup-form .preview-box { | |
2767 | .border-radius(@border-radius); |
|
2771 | .border-radius(@border-radius); | |
2768 | .box-sizing(border-box); |
|
2772 | .box-sizing(border-box); | |
2769 | background-color: white; |
|
2773 | background-color: white; | |
2770 | } |
|
2774 | } | |
2771 |
|
2775 | |||
2772 | .markup-form .preview-box.unloaded { |
|
2776 | .markup-form .preview-box.unloaded { | |
2773 | height: 50px; |
|
2777 | height: 50px; | |
2774 | text-align: center; |
|
2778 | text-align: center; | |
2775 | padding: 20px; |
|
2779 | padding: 20px; | |
2776 | background-color: white; |
|
2780 | background-color: white; | |
2777 | } |
|
2781 | } | |
2778 |
|
2782 | |||
2779 |
|
2783 | |||
2780 | .dropzone-wrapper { |
|
2784 | .dropzone-wrapper { | |
2781 | border: 1px solid @grey5; |
|
2785 | border: 1px solid @grey5; | |
2782 | padding: 20px; |
|
2786 | padding: 20px; | |
2783 | } |
|
2787 | } | |
2784 |
|
2788 | |||
2785 | .dropzone, |
|
2789 | .dropzone, | |
2786 | .dropzone-pure { |
|
2790 | .dropzone-pure { | |
2787 | border: 2px dashed @grey5; |
|
2791 | border: 2px dashed @grey5; | |
2788 | border-radius: 5px; |
|
2792 | border-radius: 5px; | |
2789 | background: white; |
|
2793 | background: white; | |
2790 | min-height: 200px; |
|
2794 | min-height: 200px; | |
2791 | padding: 54px; |
|
2795 | padding: 54px; | |
2792 |
|
2796 | |||
2793 | .dz-message { |
|
2797 | .dz-message { | |
2794 | font-weight: 700; |
|
2798 | font-weight: 700; | |
2795 | text-align: center; |
|
2799 | text-align: center; | |
2796 | margin: 2em 0; |
|
2800 | margin: 2em 0; | |
2797 | } |
|
2801 | } | |
2798 |
|
2802 | |||
2799 | } |
|
2803 | } | |
2800 |
|
2804 | |||
2801 | .dz-preview { |
|
2805 | .dz-preview { | |
2802 | margin: 10px 0 !important; |
|
2806 | margin: 10px 0 !important; | |
2803 | position: relative; |
|
2807 | position: relative; | |
2804 | vertical-align: top; |
|
2808 | vertical-align: top; | |
2805 | padding: 10px; |
|
2809 | padding: 10px; | |
2806 | border-bottom: 1px solid @grey5; |
|
2810 | border-bottom: 1px solid @grey5; | |
2807 | } |
|
2811 | } | |
2808 |
|
2812 | |||
2809 | .dz-filename { |
|
2813 | .dz-filename { | |
2810 | font-weight: 700; |
|
2814 | font-weight: 700; | |
2811 | float: left; |
|
2815 | float: left; | |
2812 | } |
|
2816 | } | |
2813 |
|
2817 | |||
2814 | .dz-sending { |
|
2818 | .dz-sending { | |
2815 | float: right; |
|
2819 | float: right; | |
2816 | } |
|
2820 | } | |
2817 |
|
2821 | |||
2818 | .dz-response { |
|
2822 | .dz-response { | |
2819 | clear: both |
|
2823 | clear: both | |
2820 | } |
|
2824 | } | |
2821 |
|
2825 | |||
2822 | .dz-filename-size { |
|
2826 | .dz-filename-size { | |
2823 | float: right |
|
2827 | float: right | |
2824 | } |
|
2828 | } | |
2825 |
|
2829 | |||
2826 | .dz-error-message { |
|
2830 | .dz-error-message { | |
2827 | color: @alert2; |
|
2831 | color: @alert2; | |
2828 | padding-top: 10px; |
|
2832 | padding-top: 10px; | |
2829 | clear: both; |
|
2833 | clear: both; | |
2830 | } |
|
2834 | } | |
2831 |
|
2835 | |||
2832 |
|
2836 | |||
2833 | .user-hovercard { |
|
2837 | .user-hovercard { | |
2834 | padding: 5px; |
|
2838 | padding: 5px; | |
2835 | } |
|
2839 | } | |
2836 |
|
2840 | |||
2837 | .user-hovercard-icon { |
|
2841 | .user-hovercard-icon { | |
2838 | display: inline; |
|
2842 | display: inline; | |
2839 | padding: 0; |
|
2843 | padding: 0; | |
2840 | box-sizing: content-box; |
|
2844 | box-sizing: content-box; | |
2841 | border-radius: 50%; |
|
2845 | border-radius: 50%; | |
2842 | float: left; |
|
2846 | float: left; | |
2843 | } |
|
2847 | } | |
2844 |
|
2848 | |||
2845 | .user-hovercard-name { |
|
2849 | .user-hovercard-name { | |
2846 | float: right; |
|
2850 | float: right; | |
2847 | vertical-align: top; |
|
2851 | vertical-align: top; | |
2848 | padding-left: 10px; |
|
2852 | padding-left: 10px; | |
2849 | min-width: 150px; |
|
2853 | min-width: 150px; | |
2850 | } |
|
2854 | } | |
2851 |
|
2855 | |||
2852 | .user-hovercard-bio { |
|
2856 | .user-hovercard-bio { | |
2853 | clear: both; |
|
2857 | clear: both; | |
2854 | padding-top: 10px; |
|
2858 | padding-top: 10px; | |
2855 | } |
|
2859 | } | |
2856 |
|
2860 | |||
2857 | .user-hovercard-header { |
|
2861 | .user-hovercard-header { | |
2858 | clear: both; |
|
2862 | clear: both; | |
2859 | min-height: 10px; |
|
2863 | min-height: 10px; | |
2860 | } |
|
2864 | } | |
2861 |
|
2865 | |||
2862 | .user-hovercard-footer { |
|
2866 | .user-hovercard-footer { | |
2863 | clear: both; |
|
2867 | clear: both; | |
2864 | min-height: 10px; |
|
2868 | min-height: 10px; | |
2865 | } |
|
2869 | } | |
2866 |
|
2870 | |||
2867 | .user-group-hovercard { |
|
2871 | .user-group-hovercard { | |
2868 | padding: 5px; |
|
2872 | padding: 5px; | |
2869 | } |
|
2873 | } | |
2870 |
|
2874 | |||
2871 | .user-group-hovercard-icon { |
|
2875 | .user-group-hovercard-icon { | |
2872 | display: inline; |
|
2876 | display: inline; | |
2873 | padding: 0; |
|
2877 | padding: 0; | |
2874 | box-sizing: content-box; |
|
2878 | box-sizing: content-box; | |
2875 | border-radius: 50%; |
|
2879 | border-radius: 50%; | |
2876 | float: left; |
|
2880 | float: left; | |
2877 | } |
|
2881 | } | |
2878 |
|
2882 | |||
2879 | .user-group-hovercard-name { |
|
2883 | .user-group-hovercard-name { | |
2880 | float: left; |
|
2884 | float: left; | |
2881 | vertical-align: top; |
|
2885 | vertical-align: top; | |
2882 | padding-left: 10px; |
|
2886 | padding-left: 10px; | |
2883 | min-width: 150px; |
|
2887 | min-width: 150px; | |
2884 | } |
|
2888 | } | |
2885 |
|
2889 | |||
2886 | .user-group-hovercard-icon i { |
|
2890 | .user-group-hovercard-icon i { | |
2887 | border: 1px solid @grey4; |
|
2891 | border: 1px solid @grey4; | |
2888 | border-radius: 4px; |
|
2892 | border-radius: 4px; | |
2889 | } |
|
2893 | } | |
2890 |
|
2894 | |||
2891 | .user-group-hovercard-bio { |
|
2895 | .user-group-hovercard-bio { | |
2892 | clear: both; |
|
2896 | clear: both; | |
2893 | padding-top: 10px; |
|
2897 | padding-top: 10px; | |
2894 | line-height: 1.0em; |
|
2898 | line-height: 1.0em; | |
2895 | } |
|
2899 | } | |
2896 |
|
2900 | |||
2897 | .user-group-hovercard-header { |
|
2901 | .user-group-hovercard-header { | |
2898 | clear: both; |
|
2902 | clear: both; | |
2899 | min-height: 10px; |
|
2903 | min-height: 10px; | |
2900 | } |
|
2904 | } | |
2901 |
|
2905 | |||
2902 | .user-group-hovercard-footer { |
|
2906 | .user-group-hovercard-footer { | |
2903 | clear: both; |
|
2907 | clear: both; | |
2904 | min-height: 10px; |
|
2908 | min-height: 10px; | |
2905 | } |
|
2909 | } | |
2906 |
|
2910 | |||
2907 | .pr-hovercard-header { |
|
2911 | .pr-hovercard-header { | |
2908 | clear: both; |
|
2912 | clear: both; | |
2909 | display: block; |
|
2913 | display: block; | |
2910 | line-height: 20px; |
|
2914 | line-height: 20px; | |
2911 | } |
|
2915 | } | |
2912 |
|
2916 | |||
2913 | .pr-hovercard-user { |
|
2917 | .pr-hovercard-user { | |
2914 | display: flex; |
|
2918 | display: flex; | |
2915 | align-items: center; |
|
2919 | align-items: center; | |
2916 | padding-left: 5px; |
|
2920 | padding-left: 5px; | |
2917 | } |
|
2921 | } | |
2918 |
|
2922 | |||
2919 | .pr-hovercard-title { |
|
2923 | .pr-hovercard-title { | |
2920 | padding-top: 5px; |
|
2924 | padding-top: 5px; | |
2921 | } No newline at end of file |
|
2925 | } |
@@ -1,110 +1,110 b'' | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 | <%inherit file="/base/base.mako"/> |
|
2 | <%inherit file="/base/base.mako"/> | |
3 | <%namespace name="dt" file="/data_table/_dt_elements.mako"/> |
|
3 | <%namespace name="dt" file="/data_table/_dt_elements.mako"/> | |
4 |
|
4 | |||
5 | <%def name="robots()"> |
|
5 | <%def name="robots()"> | |
6 | %if c.gist.gist_type != 'public': |
|
6 | %if c.gist.gist_type != 'public': | |
7 | <meta name="robots" content="noindex, nofollow"> |
|
7 | <meta name="robots" content="noindex, nofollow"> | |
8 | %else: |
|
8 | %else: | |
9 | ${parent.robots()} |
|
9 | ${parent.robots()} | |
10 | %endif |
|
10 | %endif | |
11 | </%def> |
|
11 | </%def> | |
12 |
|
12 | |||
13 | <%def name="title()"> |
|
13 | <%def name="title()"> | |
14 | ${_('Gist')} · ${c.gist.gist_access_id} |
|
14 | ${_('Gist')} · ${c.gist.gist_access_id} | |
15 | %if c.rhodecode_name: |
|
15 | %if c.rhodecode_name: | |
16 | · ${h.branding(c.rhodecode_name)} |
|
16 | · ${h.branding(c.rhodecode_name)} | |
17 | %endif |
|
17 | %endif | |
18 | </%def> |
|
18 | </%def> | |
19 |
|
19 | |||
20 | <%def name="breadcrumbs_links()"> |
|
20 | <%def name="breadcrumbs_links()"> | |
21 | ${_('Gist')} · ${c.gist.gist_access_id} |
|
21 | ${_('Gist')} · ${c.gist.gist_access_id} | |
22 | </%def> |
|
22 | </%def> | |
23 |
|
23 | |||
24 | <%def name="menu_bar_nav()"> |
|
24 | <%def name="menu_bar_nav()"> | |
25 | ${self.menu_items(active='gists')} |
|
25 | ${self.menu_items(active='gists')} | |
26 | </%def> |
|
26 | </%def> | |
27 |
|
27 | |||
28 | <%def name="main()"> |
|
28 | <%def name="main()"> | |
29 | <div class="box"> |
|
29 | <div class="box"> | |
30 | <!-- box / title --> |
|
30 | <!-- box / title --> | |
31 |
|
31 | |||
32 | <div class="table"> |
|
32 | <div class="table"> | |
33 | <div id="files_data"> |
|
33 | <div id="files_data"> | |
34 | <div id="codeblock" class="codeblock"> |
|
34 | <div id="codeblock" class="codeblock"> | |
35 | <div class="code-header"> |
|
35 | <div class="code-header"> | |
36 | <div class="gist_url"> |
|
36 | <div class="gist_url"> | |
37 | <div class="pull-left"> |
|
37 | <div class="pull-left"> | |
38 | <code> |
|
38 | <code> | |
39 | ${dt.gist_type(c.gist.gist_type)} |
|
39 | ${dt.gist_type(c.gist.gist_type)} | |
40 | <span class="tag disabled">${c.gist.gist_access_id}</span> |
|
40 | <span class="tag disabled">${c.gist.gist_access_id}</span> | |
41 | ${c.gist.gist_url()} <span class="icon-clipboard clipboard-action" data-clipboard-text="${c.gist.gist_url()}" title="${_('Copy the url')}"></span> |
|
41 | ${c.gist.gist_url()} <span class="icon-clipboard clipboard-action" data-clipboard-text="${c.gist.gist_url()}" title="${_('Copy the url')}"></span> | |
42 | </code> |
|
42 | </code> | |
43 | </div> |
|
43 | </div> | |
44 |
|
44 | |||
45 | <div class="pull-right buttons"> |
|
45 | <div class="pull-right buttons"> | |
46 | ## only owner should see that |
|
46 | ## only owner should see that | |
47 | <a href="#copySource" onclick="return false;" class="btn btn-mini icon-clipboard clipboard-action" data-clipboard-text="${c.files[0].content}">${_('Copy content')}</a> |
|
47 | <a href="#copySource" onclick="return false;" class="btn btn-mini icon-clipboard no-grey clipboard-action" data-clipboard-text="${c.files[0].content}">${_('Copy content')}</a> | |
48 |
|
48 | |||
49 | %if c.is_super_admin or c.gist.gist_owner == c.rhodecode_user.user_id: |
|
49 | %if c.is_super_admin or c.gist.gist_owner == c.rhodecode_user.user_id: | |
50 | ${h.link_to(_('Edit'), h.route_path('gist_edit', gist_id=c.gist.gist_access_id), class_="btn btn-mini")} |
|
50 | ${h.link_to(_('Edit'), h.route_path('gist_edit', gist_id=c.gist.gist_access_id), class_="btn btn-mini")} | |
51 | %endif |
|
51 | %endif | |
52 | ${h.link_to(_('Show as Raw'), h.route_path('gist_show_formatted', gist_id=c.gist.gist_access_id, revision='tip', format='raw'), class_="btn btn-mini")} |
|
52 | ${h.link_to(_('Show as Raw'), h.route_path('gist_show_formatted', gist_id=c.gist.gist_access_id, revision='tip', format='raw'), class_="btn btn-mini")} | |
53 |
|
53 | |||
54 | %if c.is_super_admin or c.gist.gist_owner == c.rhodecode_user.user_id: |
|
54 | %if c.is_super_admin or c.gist.gist_owner == c.rhodecode_user.user_id: | |
55 | <div class="pull-right remove_gist"> |
|
55 | <div class="pull-right remove_gist"> | |
56 | ${h.secure_form(h.route_path('gist_delete', gist_id=c.gist.gist_access_id), request=request)} |
|
56 | ${h.secure_form(h.route_path('gist_delete', gist_id=c.gist.gist_access_id), request=request)} | |
57 | ${h.submit('remove_gist', _('Delete'),class_="btn btn-mini btn-danger",onclick="return confirm('"+_('Confirm to delete this Gist')+"');")} |
|
57 | ${h.submit('remove_gist', _('Delete'),class_="btn btn-mini btn-danger",onclick="return confirm('"+_('Confirm to delete this Gist')+"');")} | |
58 | ${h.end_form()} |
|
58 | ${h.end_form()} | |
59 | </div> |
|
59 | </div> | |
60 | %endif |
|
60 | %endif | |
61 | </div> |
|
61 | </div> | |
62 | </div> |
|
62 | </div> | |
63 |
|
63 | |||
64 | <div class="gist-desc"> |
|
64 | <div class="gist-desc"> | |
65 | <code>${c.gist.gist_description}</code> |
|
65 | <code>${c.gist.gist_description}</code> | |
66 | </div> |
|
66 | </div> | |
67 |
|
67 | |||
68 | <div class="author"> |
|
68 | <div class="author"> | |
69 | <div title="${h.tooltip(c.file_last_commit.author)}"> |
|
69 | <div title="${h.tooltip(c.file_last_commit.author)}"> | |
70 | ${self.gravatar_with_user(c.file_last_commit.author, 16, tooltip=True)} - ${_('created')} ${h.age_component(c.file_last_commit.date)}, |
|
70 | ${self.gravatar_with_user(c.file_last_commit.author, 16, tooltip=True)} - ${_('created')} ${h.age_component(c.file_last_commit.date)}, | |
71 | ${_('expires')}: |
|
71 | ${_('expires')}: | |
72 | %if c.gist.gist_expires == -1: |
|
72 | %if c.gist.gist_expires == -1: | |
73 | ${_('never')} |
|
73 | ${_('never')} | |
74 | %else: |
|
74 | %else: | |
75 | ${h.age_component(h.time_to_utcdatetime(c.gist.gist_expires))} |
|
75 | ${h.age_component(h.time_to_utcdatetime(c.gist.gist_expires))} | |
76 | %endif |
|
76 | %endif | |
77 | </span> |
|
77 | </span> | |
78 | </div> |
|
78 | </div> | |
79 |
|
79 | |||
80 | </div> |
|
80 | </div> | |
81 | <div class="commit">${h.urlify_commit_message(c.file_last_commit.message, None)}</div> |
|
81 | <div class="commit">${h.urlify_commit_message(c.file_last_commit.message, None)}</div> | |
82 | </div> |
|
82 | </div> | |
83 |
|
83 | |||
84 | ## iterate over the files |
|
84 | ## iterate over the files | |
85 | % for gist_file in c.files: |
|
85 | % for gist_file in c.files: | |
86 | <% renderer = c.render and h.renderer_from_filename(gist_file.path, exclude=['.txt', '.TXT'])%> |
|
86 | <% renderer = c.render and h.renderer_from_filename(gist_file.path, exclude=['.txt', '.TXT'])%> | |
87 | <!-- |
|
87 | <!-- | |
88 | <div id="${h.FID('G', gist_file.path)}" class="stats" > |
|
88 | <div id="${h.FID('G', gist_file.path)}" class="stats" > | |
89 | <a href="${c.gist.gist_url()}">ΒΆ</a> |
|
89 | <a href="${c.gist.gist_url()}">ΒΆ</a> | |
90 | <b >${gist_file.path}</b> |
|
90 | <b >${gist_file.path}</b> | |
91 | <div> |
|
91 | <div> | |
92 | ${h.link_to(_('Show as raw'), h.route_path('gist_show_formatted_path', gist_id=c.gist.gist_access_id, revision=gist_file.commit.raw_id, format='raw', f_path=gist_file.path), class_="btn btn-mini")} |
|
92 | ${h.link_to(_('Show as raw'), h.route_path('gist_show_formatted_path', gist_id=c.gist.gist_access_id, revision=gist_file.commit.raw_id, format='raw', f_path=gist_file.path), class_="btn btn-mini")} | |
93 | </div> |
|
93 | </div> | |
94 | </div> |
|
94 | </div> | |
95 | --> |
|
95 | --> | |
96 | <div class="code-body textarea text-area editor"> |
|
96 | <div class="code-body textarea text-area editor"> | |
97 | %if renderer: |
|
97 | %if renderer: | |
98 | ${h.render(gist_file.content, renderer=renderer)} |
|
98 | ${h.render(gist_file.content, renderer=renderer)} | |
99 | %else: |
|
99 | %else: | |
100 | ${h.pygmentize(gist_file,linenos=True,anchorlinenos=True,lineanchors='L',cssclass="code-highlight")} |
|
100 | ${h.pygmentize(gist_file,linenos=True,anchorlinenos=True,lineanchors='L',cssclass="code-highlight")} | |
101 | %endif |
|
101 | %endif | |
102 | </div> |
|
102 | </div> | |
103 | %endfor |
|
103 | %endfor | |
104 | </div> |
|
104 | </div> | |
105 | </div> |
|
105 | </div> | |
106 | </div> |
|
106 | </div> | |
107 |
|
107 | |||
108 |
|
108 | |||
109 | </div> |
|
109 | </div> | |
110 | </%def> |
|
110 | </%def> |
@@ -1,176 +1,176 b'' | |||||
1 | <%namespace name="sourceblock" file="/codeblocks/source.mako"/> |
|
1 | <%namespace name="sourceblock" file="/codeblocks/source.mako"/> | |
2 |
|
2 | |||
3 | <div id="codeblock" class="browserblock"> |
|
3 | <div id="codeblock" class="browserblock"> | |
4 | <div class="browser-header"> |
|
4 | <div class="browser-header"> | |
5 | <div class="browser-nav"> |
|
5 | <div class="browser-nav"> | |
6 | <div class="pull-left"> |
|
6 | <div class="pull-left"> | |
7 | ## loads the history for a file |
|
7 | ## loads the history for a file | |
8 | ${h.hidden('file_refs_filter')} |
|
8 | ${h.hidden('file_refs_filter')} | |
9 | </div> |
|
9 | </div> | |
10 |
|
10 | |||
11 | <div class="pull-right"> |
|
11 | <div class="pull-right"> | |
12 |
|
12 | |||
13 | ## Download |
|
13 | ## Download | |
14 | % if c.lf_node: |
|
14 | % if c.lf_node: | |
15 | <a class="btn btn-default" href="${h.route_path('repo_file_download',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path, _query=dict(lf=1))}"> |
|
15 | <a class="btn btn-default" href="${h.route_path('repo_file_download',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path, _query=dict(lf=1))}"> | |
16 | ${_('Download largefile')} |
|
16 | ${_('Download largefile')} | |
17 | </a> |
|
17 | </a> | |
18 | % else: |
|
18 | % else: | |
19 | <a class="btn btn-default" href="${h.route_path('repo_file_download',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path)}"> |
|
19 | <a class="btn btn-default" href="${h.route_path('repo_file_download',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path)}"> | |
20 | ${_('Download file')} |
|
20 | ${_('Download file')} | |
21 | </a> |
|
21 | </a> | |
22 | % endif |
|
22 | % endif | |
23 |
|
23 | |||
24 | %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): |
|
24 | %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): | |
25 | ## on branch head, can edit files |
|
25 | ## on branch head, can edit files | |
26 | %if c.on_branch_head and c.branch_or_raw_id: |
|
26 | %if c.on_branch_head and c.branch_or_raw_id: | |
27 | ## binary files are delete only |
|
27 | ## binary files are delete only | |
28 | % if c.file.is_binary: |
|
28 | % if c.file.is_binary: | |
29 | ${h.link_to(_('Edit'), '#Edit', class_="btn btn-default disabled tooltip", title=_('Editing binary files not allowed'))} |
|
29 | ${h.link_to(_('Edit'), '#Edit', class_="btn btn-default disabled tooltip", title=_('Editing binary files not allowed'))} | |
30 | ${h.link_to(_('Delete'), h.route_path('repo_files_remove_file',repo_name=c.repo_name,commit_id=c.branch_or_raw_id,f_path=c.f_path),class_="btn btn-danger")} |
|
30 | ${h.link_to(_('Delete'), h.route_path('repo_files_remove_file',repo_name=c.repo_name,commit_id=c.branch_or_raw_id,f_path=c.f_path),class_="btn btn-danger")} | |
31 | % else: |
|
31 | % else: | |
32 | <a class="btn btn-default" href="${h.route_path('repo_files_edit_file',repo_name=c.repo_name,commit_id=c.branch_or_raw_id,f_path=c.f_path)}"> |
|
32 | <a class="btn btn-default" href="${h.route_path('repo_files_edit_file',repo_name=c.repo_name,commit_id=c.branch_or_raw_id,f_path=c.f_path)}"> | |
33 | ${_('Edit on branch: ')}<code>${c.branch_name}</code> |
|
33 | ${_('Edit on branch: ')}<code>${c.branch_name}</code> | |
34 | </a> |
|
34 | </a> | |
35 |
|
35 | |||
36 | <a class="btn btn-danger" href="${h.route_path('repo_files_remove_file',repo_name=c.repo_name,commit_id=c.branch_or_raw_id,f_path=c.f_path)}"> |
|
36 | <a class="btn btn-danger" href="${h.route_path('repo_files_remove_file',repo_name=c.repo_name,commit_id=c.branch_or_raw_id,f_path=c.f_path)}"> | |
37 | ${_('Delete')} |
|
37 | ${_('Delete')} | |
38 | </a> |
|
38 | </a> | |
39 | % endif |
|
39 | % endif | |
40 | ## not on head, forbid all |
|
40 | ## not on head, forbid all | |
41 | % else: |
|
41 | % else: | |
42 | ${h.link_to(_('Edit'), '#Edit', class_="btn btn-default disabled tooltip", title=_('Editing files allowed only when on branch head commit'))} |
|
42 | ${h.link_to(_('Edit'), '#Edit', class_="btn btn-default disabled tooltip", title=_('Editing files allowed only when on branch head commit'))} | |
43 | ${h.link_to(_('Delete'), '#Delete', class_="btn btn-default btn-danger disabled tooltip", title=_('Deleting files allowed only when on branch head commit'))} |
|
43 | ${h.link_to(_('Delete'), '#Delete', class_="btn btn-default btn-danger disabled tooltip", title=_('Deleting files allowed only when on branch head commit'))} | |
44 | % endif |
|
44 | % endif | |
45 | %endif |
|
45 | %endif | |
46 |
|
46 | |||
47 | </div> |
|
47 | </div> | |
48 | </div> |
|
48 | </div> | |
49 | <div id="file_history_container"></div> |
|
49 | <div id="file_history_container"></div> | |
50 |
|
50 | |||
51 | </div> |
|
51 | </div> | |
52 | </div> |
|
52 | </div> | |
53 |
|
53 | |||
54 | <div class="codeblock"> |
|
54 | <div class="codeblock"> | |
55 | <div class=" codeblock-header"> |
|
55 | <div class=" codeblock-header"> | |
56 | <div class="file-filename"> |
|
56 | <div class="file-filename"> | |
57 | <i class="icon-file"></i> ${c.file} |
|
57 | <i class="icon-file"></i> ${c.file} | |
58 | </div> |
|
58 | </div> | |
59 |
|
59 | |||
60 | <div class="file-stats"> |
|
60 | <div class="file-stats"> | |
61 |
|
61 | |||
62 | <div class="stats-info"> |
|
62 | <div class="stats-info"> | |
63 | <span class="stats-first-item"> |
|
63 | <span class="stats-first-item"> | |
64 | % if c.file_size_too_big: |
|
64 | % if c.file_size_too_big: | |
65 | 0 ${(_('lines'))} |
|
65 | 0 ${(_('lines'))} | |
66 | % else: |
|
66 | % else: | |
67 | ${c.file.lines()[0]} ${_ungettext('line', 'lines', c.file.lines()[0])} |
|
67 | ${c.file.lines()[0]} ${_ungettext('line', 'lines', c.file.lines()[0])} | |
68 | % endif |
|
68 | % endif | |
69 | </span> |
|
69 | </span> | |
70 |
|
70 | |||
71 | <span> | ${h.format_byte_size_binary(c.file.size)}</span> |
|
71 | <span> | ${h.format_byte_size_binary(c.file.size)}</span> | |
72 | % if c.lf_node: |
|
72 | % if c.lf_node: | |
73 | <span title="${_('This file is a pointer to large binary file')}"> | ${_('LargeFile')} ${h.format_byte_size_binary(c.lf_node.size)} </span> |
|
73 | <span title="${_('This file is a pointer to large binary file')}"> | ${_('LargeFile')} ${h.format_byte_size_binary(c.lf_node.size)} </span> | |
74 | % endif |
|
74 | % endif | |
75 | <span> |
|
75 | <span> | |
76 | | ${c.file.mimetype} |
|
76 | | ${c.file.mimetype} | |
77 | </span> |
|
77 | </span> | |
78 |
|
78 | |||
79 | % if not c.file_size_too_big: |
|
79 | % if not c.file_size_too_big: | |
80 | <span> | |
|
80 | <span> | | |
81 | ${h.get_lexer_for_filenode(c.file).__class__.__name__} |
|
81 | ${h.get_lexer_for_filenode(c.file).__class__.__name__} | |
82 | </span> |
|
82 | </span> | |
83 | % endif |
|
83 | % endif | |
84 |
|
84 | |||
85 | </div> |
|
85 | </div> | |
86 | </div> |
|
86 | </div> | |
87 | </div> |
|
87 | </div> | |
88 |
|
88 | |||
89 | <div class="path clear-fix"> |
|
89 | <div class="path clear-fix"> | |
90 | <div class="pull-left"> |
|
90 | <div class="pull-left"> | |
91 | ${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path, request.GET.get('at'))} |
|
91 | ${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path, request.GET.get('at'))} | |
92 | </div> |
|
92 | </div> | |
93 |
|
93 | |||
94 | <div class="pull-right stats"> |
|
94 | <div class="pull-right stats"> | |
95 | <a id="file_history_overview" href="#loadHistory"> |
|
95 | <a id="file_history_overview" href="#loadHistory"> | |
96 | ${_('History')} |
|
96 | ${_('History')} | |
97 | </a> |
|
97 | </a> | |
98 | | |
|
98 | | | |
99 | %if c.annotate: |
|
99 | %if c.annotate: | |
100 | ${h.link_to(_('Source'), h.route_path('repo_files', repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} |
|
100 | ${h.link_to(_('Source'), h.route_path('repo_files', repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} | |
101 | %else: |
|
101 | %else: | |
102 | ${h.link_to(_('Annotation'), h.route_path('repo_files:annotated',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} |
|
102 | ${h.link_to(_('Annotation'), h.route_path('repo_files:annotated',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} | |
103 | %endif |
|
103 | %endif | |
104 | | ${h.link_to(_('Raw'), h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} |
|
104 | | ${h.link_to(_('Raw'), h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} | |
105 | % if not c.file.is_binary: |
|
105 | % if not c.file.is_binary: | |
106 | |<a href="#copySource" onclick="return false;" class="clipboard-action" data-clipboard-text="${c.file.content}">${_('Copy content')}</a> |
|
106 | |<a href="#copySource" onclick="return false;" class="no-grey clipboard-action" data-clipboard-text="${c.file.content}">${_('Copy content')}</a> | |
107 | % endif |
|
107 | % endif | |
108 |
|
108 | |||
109 | </div> |
|
109 | </div> | |
110 | <div class="clear-fix"></div> |
|
110 | <div class="clear-fix"></div> | |
111 | </div> |
|
111 | </div> | |
112 |
|
112 | |||
113 | <div class="code-body clear-fix "> |
|
113 | <div class="code-body clear-fix "> | |
114 | %if c.file.is_binary: |
|
114 | %if c.file.is_binary: | |
115 | <% rendered_binary = h.render_binary(c.repo_name, c.file)%> |
|
115 | <% rendered_binary = h.render_binary(c.repo_name, c.file)%> | |
116 | % if rendered_binary: |
|
116 | % if rendered_binary: | |
117 | ${rendered_binary} |
|
117 | ${rendered_binary} | |
118 | % else: |
|
118 | % else: | |
119 | <div> |
|
119 | <div> | |
120 | ${_('Binary file ({})').format(c.file.mimetype)} |
|
120 | ${_('Binary file ({})').format(c.file.mimetype)} | |
121 | </div> |
|
121 | </div> | |
122 | % endif |
|
122 | % endif | |
123 | %else: |
|
123 | %else: | |
124 | % if c.file_size_too_big: |
|
124 | % if c.file_size_too_big: | |
125 | ${_('File size {} is bigger then allowed limit {}. ').format(h.format_byte_size_binary(c.file.size), h.format_byte_size_binary(c.visual.cut_off_limit_file))} ${h.link_to(_('Show as raw'), |
|
125 | ${_('File size {} is bigger then allowed limit {}. ').format(h.format_byte_size_binary(c.file.size), h.format_byte_size_binary(c.visual.cut_off_limit_file))} ${h.link_to(_('Show as raw'), | |
126 | h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} |
|
126 | h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} | |
127 | % else: |
|
127 | % else: | |
128 | %if c.renderer and not c.annotate: |
|
128 | %if c.renderer and not c.annotate: | |
129 | ## pick relative url based on renderer |
|
129 | ## pick relative url based on renderer | |
130 | <% |
|
130 | <% | |
131 | relative_urls = { |
|
131 | relative_urls = { | |
132 | 'raw': h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path), |
|
132 | 'raw': h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path), | |
133 | 'standard': h.route_path('repo_files',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path), |
|
133 | 'standard': h.route_path('repo_files',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path), | |
134 | } |
|
134 | } | |
135 | %> |
|
135 | %> | |
136 | ${h.render(c.file.content, renderer=c.renderer, relative_urls=relative_urls)} |
|
136 | ${h.render(c.file.content, renderer=c.renderer, relative_urls=relative_urls)} | |
137 | %else: |
|
137 | %else: | |
138 | <table class="cb codehilite"> |
|
138 | <table class="cb codehilite"> | |
139 | %if c.annotate: |
|
139 | %if c.annotate: | |
140 | <% color_hasher = h.color_hasher() %> |
|
140 | <% color_hasher = h.color_hasher() %> | |
141 | %for annotation, lines in c.annotated_lines: |
|
141 | %for annotation, lines in c.annotated_lines: | |
142 | ${sourceblock.render_annotation_lines(annotation, lines, color_hasher)} |
|
142 | ${sourceblock.render_annotation_lines(annotation, lines, color_hasher)} | |
143 | %endfor |
|
143 | %endfor | |
144 | %else: |
|
144 | %else: | |
145 | %for line_num, tokens in enumerate(c.lines, 1): |
|
145 | %for line_num, tokens in enumerate(c.lines, 1): | |
146 | ${sourceblock.render_line(line_num, tokens)} |
|
146 | ${sourceblock.render_line(line_num, tokens)} | |
147 | %endfor |
|
147 | %endfor | |
148 | %endif |
|
148 | %endif | |
149 | </table> |
|
149 | </table> | |
150 | %endif |
|
150 | %endif | |
151 | % endif |
|
151 | % endif | |
152 | %endif |
|
152 | %endif | |
153 | </div> |
|
153 | </div> | |
154 |
|
154 | |||
155 | </div> |
|
155 | </div> | |
156 |
|
156 | |||
157 | <script type="text/javascript"> |
|
157 | <script type="text/javascript"> | |
158 | % if request.GET.get('mark'): |
|
158 | % if request.GET.get('mark'): | |
159 |
|
159 | |||
160 | $(function(){ |
|
160 | $(function(){ | |
161 | $(".codehilite").mark( |
|
161 | $(".codehilite").mark( | |
162 | "${request.GET.get('mark')}", |
|
162 | "${request.GET.get('mark')}", | |
163 | { |
|
163 | { | |
164 | "className": 'match', |
|
164 | "className": 'match', | |
165 | "accuracy": "complementary", |
|
165 | "accuracy": "complementary", | |
166 | "ignorePunctuation": ":._(){}[]!'+=".split(""), |
|
166 | "ignorePunctuation": ":._(){}[]!'+=".split(""), | |
167 | "each": function(el) { |
|
167 | "each": function(el) { | |
168 | // and also highlight lines ! |
|
168 | // and also highlight lines ! | |
169 | $($(el).closest('tr')).find('td.cb-lineno').addClass('cb-line-selected'); |
|
169 | $($(el).closest('tr')).find('td.cb-lineno').addClass('cb-line-selected'); | |
170 | } |
|
170 | } | |
171 | } |
|
171 | } | |
172 | ); |
|
172 | ); | |
173 |
|
173 | |||
174 | }); |
|
174 | }); | |
175 | % endif |
|
175 | % endif | |
176 | </script> |
|
176 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now