Show More
@@ -1,2093 +1,2099 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 'fonts'; |
|
8 | @import 'fonts'; | |
9 | @import 'variables'; |
|
9 | @import 'variables'; | |
10 | @import 'bootstrap-variables'; |
|
10 | @import 'bootstrap-variables'; | |
11 | @import 'form-bootstrap'; |
|
11 | @import 'form-bootstrap'; | |
12 | @import 'codemirror'; |
|
12 | @import 'codemirror'; | |
13 | @import 'legacy_code_styles'; |
|
13 | @import 'legacy_code_styles'; | |
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 |
|
28 | |||
29 |
|
29 | |||
30 | //--- BASE ------------------// |
|
30 | //--- BASE ------------------// | |
31 | .noscript-error { |
|
31 | .noscript-error { | |
32 | top: 0; |
|
32 | top: 0; | |
33 | left: 0; |
|
33 | left: 0; | |
34 | width: 100%; |
|
34 | width: 100%; | |
35 | z-index: 101; |
|
35 | z-index: 101; | |
36 | text-align: center; |
|
36 | text-align: center; | |
37 | font-family: @text-semibold; |
|
37 | font-family: @text-semibold; | |
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 | } |
|
42 | } | |
43 |
|
43 | |||
44 | html { |
|
44 | html { | |
45 | display: table; |
|
45 | display: table; | |
46 | height: 100%; |
|
46 | height: 100%; | |
47 | width: 100%; |
|
47 | width: 100%; | |
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | body { |
|
50 | body { | |
51 | display: table-cell; |
|
51 | display: table-cell; | |
52 | width: 100%; |
|
52 | width: 100%; | |
53 | } |
|
53 | } | |
54 |
|
54 | |||
55 | //--- LAYOUT ------------------// |
|
55 | //--- LAYOUT ------------------// | |
56 |
|
56 | |||
57 | .hidden{ |
|
57 | .hidden{ | |
58 | display: none !important; |
|
58 | display: none !important; | |
59 | } |
|
59 | } | |
60 |
|
60 | |||
61 | .box{ |
|
61 | .box{ | |
62 | float: left; |
|
62 | float: left; | |
63 | width: 100%; |
|
63 | width: 100%; | |
64 | } |
|
64 | } | |
65 |
|
65 | |||
66 | .browser-header { |
|
66 | .browser-header { | |
67 | clear: both; |
|
67 | clear: both; | |
68 | } |
|
68 | } | |
69 | .main { |
|
69 | .main { | |
70 | clear: both; |
|
70 | clear: both; | |
71 | padding:0 0 @pagepadding; |
|
71 | padding:0 0 @pagepadding; | |
72 | height: auto; |
|
72 | height: auto; | |
73 |
|
73 | |||
74 | &:after { //clearfix |
|
74 | &:after { //clearfix | |
75 | content:""; |
|
75 | content:""; | |
76 | clear:both; |
|
76 | clear:both; | |
77 | width:100%; |
|
77 | width:100%; | |
78 | display:block; |
|
78 | display:block; | |
79 | } |
|
79 | } | |
80 | } |
|
80 | } | |
81 |
|
81 | |||
82 | .action-link{ |
|
82 | .action-link{ | |
83 | margin-left: @padding; |
|
83 | margin-left: @padding; | |
84 | padding-left: @padding; |
|
84 | padding-left: @padding; | |
85 | border-left: @border-thickness solid @border-default-color; |
|
85 | border-left: @border-thickness solid @border-default-color; | |
86 | } |
|
86 | } | |
87 |
|
87 | |||
88 | input + .action-link, .action-link.first{ |
|
88 | input + .action-link, .action-link.first{ | |
89 | border-left: none; |
|
89 | border-left: none; | |
90 | } |
|
90 | } | |
91 |
|
91 | |||
92 | .action-link.last{ |
|
92 | .action-link.last{ | |
93 | margin-right: @padding; |
|
93 | margin-right: @padding; | |
94 | padding-right: @padding; |
|
94 | padding-right: @padding; | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
97 | .action-link.active, |
|
97 | .action-link.active, | |
98 | .action-link.active a{ |
|
98 | .action-link.active a{ | |
99 | color: @grey4; |
|
99 | color: @grey4; | |
100 | } |
|
100 | } | |
101 |
|
101 | |||
102 | ul.simple-list{ |
|
102 | ul.simple-list{ | |
103 | list-style: none; |
|
103 | list-style: none; | |
104 | margin: 0; |
|
104 | margin: 0; | |
105 | padding: 0; |
|
105 | padding: 0; | |
106 | } |
|
106 | } | |
107 |
|
107 | |||
108 | .main-content { |
|
108 | .main-content { | |
109 | padding-bottom: @pagepadding; |
|
109 | padding-bottom: @pagepadding; | |
110 | } |
|
110 | } | |
111 |
|
111 | |||
112 | .wrapper { |
|
112 | .wrapper { | |
113 | position: relative; |
|
113 | position: relative; | |
114 | max-width: @wrapper-maxwidth; |
|
114 | max-width: @wrapper-maxwidth; | |
115 | margin: 0 auto; |
|
115 | margin: 0 auto; | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | #content { |
|
118 | #content { | |
119 | clear: both; |
|
119 | clear: both; | |
120 | padding: 0 @contentpadding; |
|
120 | padding: 0 @contentpadding; | |
121 | } |
|
121 | } | |
122 |
|
122 | |||
123 | .advanced-settings-fields{ |
|
123 | .advanced-settings-fields{ | |
124 | input{ |
|
124 | input{ | |
125 | margin-left: @textmargin; |
|
125 | margin-left: @textmargin; | |
126 | margin-right: @padding/2; |
|
126 | margin-right: @padding/2; | |
127 | } |
|
127 | } | |
128 | } |
|
128 | } | |
129 |
|
129 | |||
130 | .cs_files_title { |
|
130 | .cs_files_title { | |
131 | margin: @pagepadding 0 0; |
|
131 | margin: @pagepadding 0 0; | |
132 | } |
|
132 | } | |
133 |
|
133 | |||
134 | input.inline[type="file"] { |
|
134 | input.inline[type="file"] { | |
135 | display: inline; |
|
135 | display: inline; | |
136 | } |
|
136 | } | |
137 |
|
137 | |||
138 | .error_page { |
|
138 | .error_page { | |
139 | margin: 10% auto; |
|
139 | margin: 10% auto; | |
140 |
|
140 | |||
141 | h1 { |
|
141 | h1 { | |
142 | color: @grey2; |
|
142 | color: @grey2; | |
143 | } |
|
143 | } | |
144 |
|
144 | |||
145 | .error-branding { |
|
145 | .error-branding { | |
146 | font-family: @text-semibold; |
|
146 | font-family: @text-semibold; | |
147 | color: @grey4; |
|
147 | color: @grey4; | |
148 | } |
|
148 | } | |
149 |
|
149 | |||
150 | .error_message { |
|
150 | .error_message { | |
151 | font-family: @text-regular; |
|
151 | font-family: @text-regular; | |
152 | } |
|
152 | } | |
153 |
|
153 | |||
154 | .sidebar { |
|
154 | .sidebar { | |
155 | min-height: 275px; |
|
155 | min-height: 275px; | |
156 | margin: 0; |
|
156 | margin: 0; | |
157 | padding: 0 0 @sidebarpadding @sidebarpadding; |
|
157 | padding: 0 0 @sidebarpadding @sidebarpadding; | |
158 | border: none; |
|
158 | border: none; | |
159 | } |
|
159 | } | |
160 |
|
160 | |||
161 | .main-content { |
|
161 | .main-content { | |
162 | position: relative; |
|
162 | position: relative; | |
163 | margin: 0 @sidebarpadding @sidebarpadding; |
|
163 | margin: 0 @sidebarpadding @sidebarpadding; | |
164 | padding: 0 0 0 @sidebarpadding; |
|
164 | padding: 0 0 0 @sidebarpadding; | |
165 | border-left: @border-thickness solid @grey5; |
|
165 | border-left: @border-thickness solid @grey5; | |
166 |
|
166 | |||
167 | @media (max-width:767px) { |
|
167 | @media (max-width:767px) { | |
168 | clear: both; |
|
168 | clear: both; | |
169 | width: 100%; |
|
169 | width: 100%; | |
170 | margin: 0; |
|
170 | margin: 0; | |
171 | border: none; |
|
171 | border: none; | |
172 | } |
|
172 | } | |
173 | } |
|
173 | } | |
174 |
|
174 | |||
175 | .inner-column { |
|
175 | .inner-column { | |
176 | float: left; |
|
176 | float: left; | |
177 | width: 29.75%; |
|
177 | width: 29.75%; | |
178 | min-height: 150px; |
|
178 | min-height: 150px; | |
179 | margin: @sidebarpadding 2% 0 0; |
|
179 | margin: @sidebarpadding 2% 0 0; | |
180 | padding: 0 2% 0 0; |
|
180 | padding: 0 2% 0 0; | |
181 | border-right: @border-thickness solid @grey5; |
|
181 | border-right: @border-thickness solid @grey5; | |
182 |
|
182 | |||
183 | @media (max-width:767px) { |
|
183 | @media (max-width:767px) { | |
184 | clear: both; |
|
184 | clear: both; | |
185 | width: 100%; |
|
185 | width: 100%; | |
186 | border: none; |
|
186 | border: none; | |
187 | } |
|
187 | } | |
188 |
|
188 | |||
189 | ul { |
|
189 | ul { | |
190 | padding-left: 1.25em; |
|
190 | padding-left: 1.25em; | |
191 | } |
|
191 | } | |
192 |
|
192 | |||
193 | &:last-child { |
|
193 | &:last-child { | |
194 | margin: @sidebarpadding 0 0; |
|
194 | margin: @sidebarpadding 0 0; | |
195 | border: none; |
|
195 | border: none; | |
196 | } |
|
196 | } | |
197 |
|
197 | |||
198 | h4 { |
|
198 | h4 { | |
199 | margin: 0 0 @padding; |
|
199 | margin: 0 0 @padding; | |
200 | font-family: @text-semibold; |
|
200 | font-family: @text-semibold; | |
201 | } |
|
201 | } | |
202 | } |
|
202 | } | |
203 | } |
|
203 | } | |
204 | .error-page-logo { |
|
204 | .error-page-logo { | |
205 | width: 130px; |
|
205 | width: 130px; | |
206 | height: 160px; |
|
206 | height: 160px; | |
207 | } |
|
207 | } | |
208 |
|
208 | |||
209 | // HEADER |
|
209 | // HEADER | |
210 | .header { |
|
210 | .header { | |
211 |
|
211 | |||
212 | // TODO: johbo: Fix login pages, so that they work without a min-height |
|
212 | // TODO: johbo: Fix login pages, so that they work without a min-height | |
213 | // for the header and then remove the min-height. I chose a smaller value |
|
213 | // for the header and then remove the min-height. I chose a smaller value | |
214 | // intentionally here to avoid rendering issues in the main navigation. |
|
214 | // intentionally here to avoid rendering issues in the main navigation. | |
215 | min-height: 49px; |
|
215 | min-height: 49px; | |
216 |
|
216 | |||
217 | position: relative; |
|
217 | position: relative; | |
218 | vertical-align: bottom; |
|
218 | vertical-align: bottom; | |
219 | padding: 0 @header-padding; |
|
219 | padding: 0 @header-padding; | |
220 | background-color: @grey2; |
|
220 | background-color: @grey2; | |
221 | color: @grey5; |
|
221 | color: @grey5; | |
222 |
|
222 | |||
223 | .title { |
|
223 | .title { | |
224 | overflow: visible; |
|
224 | overflow: visible; | |
225 | } |
|
225 | } | |
226 |
|
226 | |||
227 | &:before, |
|
227 | &:before, | |
228 | &:after { |
|
228 | &:after { | |
229 | content: ""; |
|
229 | content: ""; | |
230 | clear: both; |
|
230 | clear: both; | |
231 | width: 100%; |
|
231 | width: 100%; | |
232 | } |
|
232 | } | |
233 |
|
233 | |||
234 | // TODO: johbo: Avoids breaking "Repositories" chooser |
|
234 | // TODO: johbo: Avoids breaking "Repositories" chooser | |
235 | .select2-container .select2-choice .select2-arrow { |
|
235 | .select2-container .select2-choice .select2-arrow { | |
236 | display: none; |
|
236 | display: none; | |
237 | } |
|
237 | } | |
238 | } |
|
238 | } | |
239 |
|
239 | |||
240 | #header-inner { |
|
240 | #header-inner { | |
241 | &.title { |
|
241 | &.title { | |
242 | margin: 0; |
|
242 | margin: 0; | |
243 | } |
|
243 | } | |
244 | &:before, |
|
244 | &:before, | |
245 | &:after { |
|
245 | &:after { | |
246 | content: ""; |
|
246 | content: ""; | |
247 | clear: both; |
|
247 | clear: both; | |
248 | } |
|
248 | } | |
249 | } |
|
249 | } | |
250 |
|
250 | |||
251 | // Gists |
|
251 | // Gists | |
252 | #files_data { |
|
252 | #files_data { | |
253 | clear: both; //for firefox |
|
253 | clear: both; //for firefox | |
254 | } |
|
254 | } | |
255 | #gistid { |
|
255 | #gistid { | |
256 | margin-right: @padding; |
|
256 | margin-right: @padding; | |
257 | } |
|
257 | } | |
258 |
|
258 | |||
259 | // Global Settings Editor |
|
259 | // Global Settings Editor | |
260 | .textarea.editor { |
|
260 | .textarea.editor { | |
261 | float: left; |
|
261 | float: left; | |
262 | position: relative; |
|
262 | position: relative; | |
263 | max-width: @texteditor-width; |
|
263 | max-width: @texteditor-width; | |
264 |
|
264 | |||
265 | select { |
|
265 | select { | |
266 | position: absolute; |
|
266 | position: absolute; | |
267 | top:10px; |
|
267 | top:10px; | |
268 | right:0; |
|
268 | right:0; | |
269 | } |
|
269 | } | |
270 |
|
270 | |||
271 | .CodeMirror { |
|
271 | .CodeMirror { | |
272 | margin: 0; |
|
272 | margin: 0; | |
273 | } |
|
273 | } | |
274 |
|
274 | |||
275 | .help-block { |
|
275 | .help-block { | |
276 | margin: 0 0 @padding; |
|
276 | margin: 0 0 @padding; | |
277 | padding:.5em; |
|
277 | padding:.5em; | |
278 | background-color: @grey6; |
|
278 | background-color: @grey6; | |
279 | } |
|
279 | } | |
280 | } |
|
280 | } | |
281 |
|
281 | |||
282 | ul.auth_plugins { |
|
282 | ul.auth_plugins { | |
283 | margin: @padding 0 @padding @legend-width; |
|
283 | margin: @padding 0 @padding @legend-width; | |
284 | padding: 0; |
|
284 | padding: 0; | |
285 |
|
285 | |||
286 | li { |
|
286 | li { | |
287 | margin-bottom: @padding; |
|
287 | margin-bottom: @padding; | |
288 | line-height: 1em; |
|
288 | line-height: 1em; | |
289 | list-style-type: none; |
|
289 | list-style-type: none; | |
290 |
|
290 | |||
291 | .auth_buttons .btn { |
|
291 | .auth_buttons .btn { | |
292 | margin-right: @padding; |
|
292 | margin-right: @padding; | |
293 | } |
|
293 | } | |
294 |
|
294 | |||
295 | &:before { content: none; } |
|
295 | &:before { content: none; } | |
296 | } |
|
296 | } | |
297 | } |
|
297 | } | |
298 |
|
298 | |||
299 |
|
299 | |||
300 | // My Account PR list |
|
300 | // My Account PR list | |
301 |
|
301 | |||
302 | #show_closed { |
|
302 | #show_closed { | |
303 | margin: 0 1em 0 0; |
|
303 | margin: 0 1em 0 0; | |
304 | } |
|
304 | } | |
305 |
|
305 | |||
306 | .pullrequestlist { |
|
306 | .pullrequestlist { | |
307 | .closed { |
|
307 | .closed { | |
308 | background-color: @grey6; |
|
308 | background-color: @grey6; | |
309 | } |
|
309 | } | |
310 | .td-status { |
|
310 | .td-status { | |
311 | padding-left: .5em; |
|
311 | padding-left: .5em; | |
312 | } |
|
312 | } | |
313 | .truncate { |
|
313 | .log-container .truncate { | |
314 | height: 2.75em; |
|
314 | height: 2.75em; | |
315 | white-space: pre-line; |
|
315 | white-space: pre-line; | |
316 | } |
|
316 | } | |
317 | table.rctable .user { |
|
317 | table.rctable .user { | |
318 | padding-left: 0; |
|
318 | padding-left: 0; | |
319 | } |
|
319 | } | |
|
320 | table.rctable { | |||
|
321 | td.td-description, | |||
|
322 | .rc-user { | |||
|
323 | min-width: auto; | |||
|
324 | } | |||
|
325 | } | |||
320 | } |
|
326 | } | |
321 |
|
327 | |||
322 | // Pull Requests |
|
328 | // Pull Requests | |
323 |
|
329 | |||
324 | .pullrequests_section_head { |
|
330 | .pullrequests_section_head { | |
325 | display: block; |
|
331 | display: block; | |
326 | clear: both; |
|
332 | clear: both; | |
327 | margin: @padding 0; |
|
333 | margin: @padding 0; | |
328 | font-family: @text-bold; |
|
334 | font-family: @text-bold; | |
329 | } |
|
335 | } | |
330 |
|
336 | |||
331 | .pr-origininfo, .pr-targetinfo { |
|
337 | .pr-origininfo, .pr-targetinfo { | |
332 | position: relative; |
|
338 | position: relative; | |
333 |
|
339 | |||
334 | .tag { |
|
340 | .tag { | |
335 | display: inline-block; |
|
341 | display: inline-block; | |
336 | margin: 0 1em .5em 0; |
|
342 | margin: 0 1em .5em 0; | |
337 | } |
|
343 | } | |
338 |
|
344 | |||
339 | .clone-url { |
|
345 | .clone-url { | |
340 | display: inline-block; |
|
346 | display: inline-block; | |
341 | margin: 0 0 .5em 0; |
|
347 | margin: 0 0 .5em 0; | |
342 | padding: 0; |
|
348 | padding: 0; | |
343 | line-height: 1.2em; |
|
349 | line-height: 1.2em; | |
344 | } |
|
350 | } | |
345 | } |
|
351 | } | |
346 |
|
352 | |||
347 | .pr-pullinfo { |
|
353 | .pr-pullinfo { | |
348 | clear: both; |
|
354 | clear: both; | |
349 | margin: .5em 0; |
|
355 | margin: .5em 0; | |
350 | } |
|
356 | } | |
351 |
|
357 | |||
352 | #pr-title-input { |
|
358 | #pr-title-input { | |
353 | width: 72%; |
|
359 | width: 72%; | |
354 | font-size: 1em; |
|
360 | font-size: 1em; | |
355 | font-family: @text-bold; |
|
361 | font-family: @text-bold; | |
356 | margin: 0; |
|
362 | margin: 0; | |
357 | padding: 0 0 0 @padding/4; |
|
363 | padding: 0 0 0 @padding/4; | |
358 | line-height: 1.7em; |
|
364 | line-height: 1.7em; | |
359 | color: @text-color; |
|
365 | color: @text-color; | |
360 | letter-spacing: .02em; |
|
366 | letter-spacing: .02em; | |
361 | } |
|
367 | } | |
362 |
|
368 | |||
363 | #pullrequest_title { |
|
369 | #pullrequest_title { | |
364 | width: 100%; |
|
370 | width: 100%; | |
365 | box-sizing: border-box; |
|
371 | box-sizing: border-box; | |
366 | } |
|
372 | } | |
367 |
|
373 | |||
368 | #pr_open_message { |
|
374 | #pr_open_message { | |
369 | border: @border-thickness solid #fff; |
|
375 | border: @border-thickness solid #fff; | |
370 | border-radius: @border-radius; |
|
376 | border-radius: @border-radius; | |
371 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; |
|
377 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; | |
372 | text-align: right; |
|
378 | text-align: right; | |
373 | overflow: hidden; |
|
379 | overflow: hidden; | |
374 | } |
|
380 | } | |
375 |
|
381 | |||
376 | .pr-submit-button { |
|
382 | .pr-submit-button { | |
377 | float: right; |
|
383 | float: right; | |
378 | margin: 0 0 0 5px; |
|
384 | margin: 0 0 0 5px; | |
379 | } |
|
385 | } | |
380 |
|
386 | |||
381 | .pr-spacing-container { |
|
387 | .pr-spacing-container { | |
382 | padding: 20px; |
|
388 | padding: 20px; | |
383 | clear: both |
|
389 | clear: both | |
384 | } |
|
390 | } | |
385 |
|
391 | |||
386 | #pr-description-input { |
|
392 | #pr-description-input { | |
387 | margin-bottom: 0; |
|
393 | margin-bottom: 0; | |
388 | } |
|
394 | } | |
389 |
|
395 | |||
390 | .pr-description-label { |
|
396 | .pr-description-label { | |
391 | vertical-align: top; |
|
397 | vertical-align: top; | |
392 | } |
|
398 | } | |
393 |
|
399 | |||
394 | .perms_section_head { |
|
400 | .perms_section_head { | |
395 | min-width: 625px; |
|
401 | min-width: 625px; | |
396 |
|
402 | |||
397 | h2 { |
|
403 | h2 { | |
398 | margin-bottom: 0; |
|
404 | margin-bottom: 0; | |
399 | } |
|
405 | } | |
400 |
|
406 | |||
401 | .label-checkbox { |
|
407 | .label-checkbox { | |
402 | float: left; |
|
408 | float: left; | |
403 | } |
|
409 | } | |
404 |
|
410 | |||
405 | &.field { |
|
411 | &.field { | |
406 | margin: @space 0 @padding; |
|
412 | margin: @space 0 @padding; | |
407 | } |
|
413 | } | |
408 |
|
414 | |||
409 | &:first-child.field { |
|
415 | &:first-child.field { | |
410 | margin-top: 0; |
|
416 | margin-top: 0; | |
411 |
|
417 | |||
412 | .label { |
|
418 | .label { | |
413 | margin-top: 0; |
|
419 | margin-top: 0; | |
414 | padding-top: 0; |
|
420 | padding-top: 0; | |
415 | } |
|
421 | } | |
416 |
|
422 | |||
417 | .radios { |
|
423 | .radios { | |
418 | padding-top: 0; |
|
424 | padding-top: 0; | |
419 | } |
|
425 | } | |
420 | } |
|
426 | } | |
421 |
|
427 | |||
422 | .radios { |
|
428 | .radios { | |
423 | float: right; |
|
429 | float: right; | |
424 | position: relative; |
|
430 | position: relative; | |
425 | width: 405px; |
|
431 | width: 405px; | |
426 | } |
|
432 | } | |
427 | } |
|
433 | } | |
428 |
|
434 | |||
429 | //--- MODULES ------------------// |
|
435 | //--- MODULES ------------------// | |
430 |
|
436 | |||
431 |
|
437 | |||
432 | // Fixed Sidebar Column |
|
438 | // Fixed Sidebar Column | |
433 | .sidebar-col-wrapper { |
|
439 | .sidebar-col-wrapper { | |
434 | padding-left: @sidebar-all-width; |
|
440 | padding-left: @sidebar-all-width; | |
435 |
|
441 | |||
436 | .sidebar { |
|
442 | .sidebar { | |
437 | width: @sidebar-width; |
|
443 | width: @sidebar-width; | |
438 | margin-left: -@sidebar-all-width; |
|
444 | margin-left: -@sidebar-all-width; | |
439 | } |
|
445 | } | |
440 | } |
|
446 | } | |
441 |
|
447 | |||
442 | .sidebar-col-wrapper.scw-small { |
|
448 | .sidebar-col-wrapper.scw-small { | |
443 | padding-left: @sidebar-small-all-width; |
|
449 | padding-left: @sidebar-small-all-width; | |
444 |
|
450 | |||
445 | .sidebar { |
|
451 | .sidebar { | |
446 | width: @sidebar-small-width; |
|
452 | width: @sidebar-small-width; | |
447 | margin-left: -@sidebar-small-all-width; |
|
453 | margin-left: -@sidebar-small-all-width; | |
448 | } |
|
454 | } | |
449 | } |
|
455 | } | |
450 |
|
456 | |||
451 |
|
457 | |||
452 | // FOOTER |
|
458 | // FOOTER | |
453 | #footer { |
|
459 | #footer { | |
454 | padding: 0; |
|
460 | padding: 0; | |
455 | text-align: center; |
|
461 | text-align: center; | |
456 | vertical-align: middle; |
|
462 | vertical-align: middle; | |
457 | color: @grey2; |
|
463 | color: @grey2; | |
458 | background-color: @grey6; |
|
464 | background-color: @grey6; | |
459 |
|
465 | |||
460 | p { |
|
466 | p { | |
461 | margin: 0; |
|
467 | margin: 0; | |
462 | padding: 1em; |
|
468 | padding: 1em; | |
463 | line-height: 1em; |
|
469 | line-height: 1em; | |
464 | } |
|
470 | } | |
465 |
|
471 | |||
466 | .server-instance { //server instance |
|
472 | .server-instance { //server instance | |
467 | display: none; |
|
473 | display: none; | |
468 | } |
|
474 | } | |
469 |
|
475 | |||
470 | .title { |
|
476 | .title { | |
471 | float: none; |
|
477 | float: none; | |
472 | margin: 0 auto; |
|
478 | margin: 0 auto; | |
473 | } |
|
479 | } | |
474 | } |
|
480 | } | |
475 |
|
481 | |||
476 | button.close { |
|
482 | button.close { | |
477 | padding: 0; |
|
483 | padding: 0; | |
478 | cursor: pointer; |
|
484 | cursor: pointer; | |
479 | background: transparent; |
|
485 | background: transparent; | |
480 | border: 0; |
|
486 | border: 0; | |
481 | .box-shadow(none); |
|
487 | .box-shadow(none); | |
482 | -webkit-appearance: none; |
|
488 | -webkit-appearance: none; | |
483 | } |
|
489 | } | |
484 |
|
490 | |||
485 | .close { |
|
491 | .close { | |
486 | float: right; |
|
492 | float: right; | |
487 | font-size: 21px; |
|
493 | font-size: 21px; | |
488 | font-family: @text-bootstrap; |
|
494 | font-family: @text-bootstrap; | |
489 | line-height: 1em; |
|
495 | line-height: 1em; | |
490 | font-weight: bold; |
|
496 | font-weight: bold; | |
491 | color: @grey2; |
|
497 | color: @grey2; | |
492 |
|
498 | |||
493 | &:hover, |
|
499 | &:hover, | |
494 | &:focus { |
|
500 | &:focus { | |
495 | color: @grey1; |
|
501 | color: @grey1; | |
496 | text-decoration: none; |
|
502 | text-decoration: none; | |
497 | cursor: pointer; |
|
503 | cursor: pointer; | |
498 | } |
|
504 | } | |
499 | } |
|
505 | } | |
500 |
|
506 | |||
501 | // GRID |
|
507 | // GRID | |
502 | .sorting, |
|
508 | .sorting, | |
503 | .sorting_desc, |
|
509 | .sorting_desc, | |
504 | .sorting_asc { |
|
510 | .sorting_asc { | |
505 | cursor: pointer; |
|
511 | cursor: pointer; | |
506 | } |
|
512 | } | |
507 | .sorting_desc:after { |
|
513 | .sorting_desc:after { | |
508 | content: "\00A0\25B2"; |
|
514 | content: "\00A0\25B2"; | |
509 | font-size: .75em; |
|
515 | font-size: .75em; | |
510 | } |
|
516 | } | |
511 | .sorting_asc:after { |
|
517 | .sorting_asc:after { | |
512 | content: "\00A0\25BC"; |
|
518 | content: "\00A0\25BC"; | |
513 | font-size: .68em; |
|
519 | font-size: .68em; | |
514 | } |
|
520 | } | |
515 |
|
521 | |||
516 |
|
522 | |||
517 | .user_auth_tokens { |
|
523 | .user_auth_tokens { | |
518 |
|
524 | |||
519 | &.truncate { |
|
525 | &.truncate { | |
520 | white-space: nowrap; |
|
526 | white-space: nowrap; | |
521 | overflow: hidden; |
|
527 | overflow: hidden; | |
522 | text-overflow: ellipsis; |
|
528 | text-overflow: ellipsis; | |
523 | } |
|
529 | } | |
524 |
|
530 | |||
525 | .fields .field .input { |
|
531 | .fields .field .input { | |
526 | margin: 0; |
|
532 | margin: 0; | |
527 | } |
|
533 | } | |
528 |
|
534 | |||
529 | input#description { |
|
535 | input#description { | |
530 | width: 100px; |
|
536 | width: 100px; | |
531 | margin: 0; |
|
537 | margin: 0; | |
532 | } |
|
538 | } | |
533 |
|
539 | |||
534 | .drop-menu { |
|
540 | .drop-menu { | |
535 | // TODO: johbo: Remove this, should work out of the box when |
|
541 | // TODO: johbo: Remove this, should work out of the box when | |
536 | // having multiple inputs inline |
|
542 | // having multiple inputs inline | |
537 | margin: 0 0 0 5px; |
|
543 | margin: 0 0 0 5px; | |
538 | } |
|
544 | } | |
539 | } |
|
545 | } | |
540 | #user_list_table { |
|
546 | #user_list_table { | |
541 | .closed { |
|
547 | .closed { | |
542 | background-color: @grey6; |
|
548 | background-color: @grey6; | |
543 | } |
|
549 | } | |
544 | } |
|
550 | } | |
545 |
|
551 | |||
546 |
|
552 | |||
547 | input { |
|
553 | input { | |
548 | &.disabled { |
|
554 | &.disabled { | |
549 | opacity: .5; |
|
555 | opacity: .5; | |
550 | } |
|
556 | } | |
551 | } |
|
557 | } | |
552 |
|
558 | |||
553 | // remove extra padding in firefox |
|
559 | // remove extra padding in firefox | |
554 | input::-moz-focus-inner { border:0; padding:0 } |
|
560 | input::-moz-focus-inner { border:0; padding:0 } | |
555 |
|
561 | |||
556 | .adjacent input { |
|
562 | .adjacent input { | |
557 | margin-bottom: @padding; |
|
563 | margin-bottom: @padding; | |
558 | } |
|
564 | } | |
559 |
|
565 | |||
560 | .permissions_boxes { |
|
566 | .permissions_boxes { | |
561 | display: block; |
|
567 | display: block; | |
562 | } |
|
568 | } | |
563 |
|
569 | |||
564 | //TODO: lisa: this should be in tables |
|
570 | //TODO: lisa: this should be in tables | |
565 | .show_more_col { |
|
571 | .show_more_col { | |
566 | width: 20px; |
|
572 | width: 20px; | |
567 | } |
|
573 | } | |
568 |
|
574 | |||
569 | //FORMS |
|
575 | //FORMS | |
570 |
|
576 | |||
571 | .medium-inline, |
|
577 | .medium-inline, | |
572 | input#description.medium-inline { |
|
578 | input#description.medium-inline { | |
573 | display: inline; |
|
579 | display: inline; | |
574 | width: @medium-inline-input-width; |
|
580 | width: @medium-inline-input-width; | |
575 | min-width: 100px; |
|
581 | min-width: 100px; | |
576 | } |
|
582 | } | |
577 |
|
583 | |||
578 | select { |
|
584 | select { | |
579 | //reset |
|
585 | //reset | |
580 | -webkit-appearance: none; |
|
586 | -webkit-appearance: none; | |
581 | -moz-appearance: none; |
|
587 | -moz-appearance: none; | |
582 |
|
588 | |||
583 | display: inline-block; |
|
589 | display: inline-block; | |
584 | height: 28px; |
|
590 | height: 28px; | |
585 | width: auto; |
|
591 | width: auto; | |
586 | margin: 0 @padding @padding 0; |
|
592 | margin: 0 @padding @padding 0; | |
587 | padding: 0 18px 0 8px; |
|
593 | padding: 0 18px 0 8px; | |
588 | line-height:1em; |
|
594 | line-height:1em; | |
589 | font-size: @basefontsize; |
|
595 | font-size: @basefontsize; | |
590 | border: @border-thickness solid @rcblue; |
|
596 | border: @border-thickness solid @rcblue; | |
591 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; |
|
597 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; | |
592 | color: @rcblue; |
|
598 | color: @rcblue; | |
593 |
|
599 | |||
594 | &:after { |
|
600 | &:after { | |
595 | content: "\00A0\25BE"; |
|
601 | content: "\00A0\25BE"; | |
596 | } |
|
602 | } | |
597 |
|
603 | |||
598 | &:focus { |
|
604 | &:focus { | |
599 | outline: none; |
|
605 | outline: none; | |
600 | } |
|
606 | } | |
601 | } |
|
607 | } | |
602 |
|
608 | |||
603 | option { |
|
609 | option { | |
604 | &:focus { |
|
610 | &:focus { | |
605 | outline: none; |
|
611 | outline: none; | |
606 | } |
|
612 | } | |
607 | } |
|
613 | } | |
608 |
|
614 | |||
609 | input, |
|
615 | input, | |
610 | textarea { |
|
616 | textarea { | |
611 | padding: @input-padding; |
|
617 | padding: @input-padding; | |
612 | border: @input-border-thickness solid @border-highlight-color; |
|
618 | border: @input-border-thickness solid @border-highlight-color; | |
613 | .border-radius (@border-radius); |
|
619 | .border-radius (@border-radius); | |
614 | font-family: @text-light; |
|
620 | font-family: @text-light; | |
615 | font-size: @basefontsize; |
|
621 | font-size: @basefontsize; | |
616 |
|
622 | |||
617 | &.input-sm { |
|
623 | &.input-sm { | |
618 | padding: 5px; |
|
624 | padding: 5px; | |
619 | } |
|
625 | } | |
620 |
|
626 | |||
621 | &#description { |
|
627 | &#description { | |
622 | min-width: @input-description-minwidth; |
|
628 | min-width: @input-description-minwidth; | |
623 | min-height: 1em; |
|
629 | min-height: 1em; | |
624 | padding: 10px; |
|
630 | padding: 10px; | |
625 | } |
|
631 | } | |
626 | } |
|
632 | } | |
627 |
|
633 | |||
628 | .field-sm { |
|
634 | .field-sm { | |
629 | input, |
|
635 | input, | |
630 | textarea { |
|
636 | textarea { | |
631 | padding: 5px; |
|
637 | padding: 5px; | |
632 | } |
|
638 | } | |
633 | } |
|
639 | } | |
634 |
|
640 | |||
635 | textarea { |
|
641 | textarea { | |
636 | display: block; |
|
642 | display: block; | |
637 | clear: both; |
|
643 | clear: both; | |
638 | width: 100%; |
|
644 | width: 100%; | |
639 | min-height: 100px; |
|
645 | min-height: 100px; | |
640 | margin-bottom: @padding; |
|
646 | margin-bottom: @padding; | |
641 | .box-sizing(border-box); |
|
647 | .box-sizing(border-box); | |
642 | overflow: auto; |
|
648 | overflow: auto; | |
643 | } |
|
649 | } | |
644 |
|
650 | |||
645 | label { |
|
651 | label { | |
646 | font-family: @text-light; |
|
652 | font-family: @text-light; | |
647 | } |
|
653 | } | |
648 |
|
654 | |||
649 | // GRAVATARS |
|
655 | // GRAVATARS | |
650 | // centers gravatar on username to the right |
|
656 | // centers gravatar on username to the right | |
651 |
|
657 | |||
652 | .gravatar { |
|
658 | .gravatar { | |
653 | display: inline; |
|
659 | display: inline; | |
654 | min-width: 16px; |
|
660 | min-width: 16px; | |
655 | min-height: 16px; |
|
661 | min-height: 16px; | |
656 | margin: -5px 0; |
|
662 | margin: -5px 0; | |
657 | padding: 0; |
|
663 | padding: 0; | |
658 | line-height: 1em; |
|
664 | line-height: 1em; | |
659 | border: 1px solid @grey4; |
|
665 | border: 1px solid @grey4; | |
660 |
|
666 | |||
661 | &.gravatar-large { |
|
667 | &.gravatar-large { | |
662 | margin: -0.5em .25em -0.5em 0; |
|
668 | margin: -0.5em .25em -0.5em 0; | |
663 | } |
|
669 | } | |
664 |
|
670 | |||
665 | & + .user { |
|
671 | & + .user { | |
666 | display: inline; |
|
672 | display: inline; | |
667 | margin: 0; |
|
673 | margin: 0; | |
668 | padding: 0 0 0 .17em; |
|
674 | padding: 0 0 0 .17em; | |
669 | line-height: 1em; |
|
675 | line-height: 1em; | |
670 | } |
|
676 | } | |
671 | } |
|
677 | } | |
672 |
|
678 | |||
673 | .user-inline-data { |
|
679 | .user-inline-data { | |
674 | display: inline-block; |
|
680 | display: inline-block; | |
675 | float: left; |
|
681 | float: left; | |
676 | padding-left: .5em; |
|
682 | padding-left: .5em; | |
677 | line-height: 1.3em; |
|
683 | line-height: 1.3em; | |
678 | } |
|
684 | } | |
679 |
|
685 | |||
680 | .rc-user { // gravatar + user wrapper |
|
686 | .rc-user { // gravatar + user wrapper | |
681 | float: left; |
|
687 | float: left; | |
682 | position: relative; |
|
688 | position: relative; | |
683 | min-width: 100px; |
|
689 | min-width: 100px; | |
684 | max-width: 200px; |
|
690 | max-width: 200px; | |
685 | min-height: (@gravatar-size + @border-thickness * 2); // account for border |
|
691 | min-height: (@gravatar-size + @border-thickness * 2); // account for border | |
686 | display: block; |
|
692 | display: block; | |
687 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); |
|
693 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); | |
688 |
|
694 | |||
689 |
|
695 | |||
690 | .gravatar { |
|
696 | .gravatar { | |
691 | display: block; |
|
697 | display: block; | |
692 | position: absolute; |
|
698 | position: absolute; | |
693 | top: 0; |
|
699 | top: 0; | |
694 | left: 0; |
|
700 | left: 0; | |
695 | min-width: @gravatar-size; |
|
701 | min-width: @gravatar-size; | |
696 | min-height: @gravatar-size; |
|
702 | min-height: @gravatar-size; | |
697 | margin: 0; |
|
703 | margin: 0; | |
698 | } |
|
704 | } | |
699 |
|
705 | |||
700 | .user { |
|
706 | .user { | |
701 | display: block; |
|
707 | display: block; | |
702 | max-width: 175px; |
|
708 | max-width: 175px; | |
703 | padding-top: 2px; |
|
709 | padding-top: 2px; | |
704 | overflow: hidden; |
|
710 | overflow: hidden; | |
705 | text-overflow: ellipsis; |
|
711 | text-overflow: ellipsis; | |
706 | } |
|
712 | } | |
707 | } |
|
713 | } | |
708 |
|
714 | |||
709 | .gist-gravatar, |
|
715 | .gist-gravatar, | |
710 | .journal_container { |
|
716 | .journal_container { | |
711 | .gravatar-large { |
|
717 | .gravatar-large { | |
712 | margin: 0 .5em -10px 0; |
|
718 | margin: 0 .5em -10px 0; | |
713 | } |
|
719 | } | |
714 | } |
|
720 | } | |
715 |
|
721 | |||
716 |
|
722 | |||
717 | // ADMIN SETTINGS |
|
723 | // ADMIN SETTINGS | |
718 |
|
724 | |||
719 | // Tag Patterns |
|
725 | // Tag Patterns | |
720 | .tag_patterns { |
|
726 | .tag_patterns { | |
721 | .tag_input { |
|
727 | .tag_input { | |
722 | margin-bottom: @padding; |
|
728 | margin-bottom: @padding; | |
723 | } |
|
729 | } | |
724 | } |
|
730 | } | |
725 |
|
731 | |||
726 | .locked_input { |
|
732 | .locked_input { | |
727 | position: relative; |
|
733 | position: relative; | |
728 |
|
734 | |||
729 | input { |
|
735 | input { | |
730 | display: inline; |
|
736 | display: inline; | |
731 | margin-top: 3px; |
|
737 | margin-top: 3px; | |
732 | } |
|
738 | } | |
733 |
|
739 | |||
734 | br { |
|
740 | br { | |
735 | display: none; |
|
741 | display: none; | |
736 | } |
|
742 | } | |
737 |
|
743 | |||
738 | .error-message { |
|
744 | .error-message { | |
739 | float: left; |
|
745 | float: left; | |
740 | width: 100%; |
|
746 | width: 100%; | |
741 | } |
|
747 | } | |
742 |
|
748 | |||
743 | .lock_input_button { |
|
749 | .lock_input_button { | |
744 | display: inline; |
|
750 | display: inline; | |
745 | } |
|
751 | } | |
746 |
|
752 | |||
747 | .help-block { |
|
753 | .help-block { | |
748 | clear: both; |
|
754 | clear: both; | |
749 | } |
|
755 | } | |
750 | } |
|
756 | } | |
751 |
|
757 | |||
752 | // Notifications |
|
758 | // Notifications | |
753 |
|
759 | |||
754 | .notifications_buttons { |
|
760 | .notifications_buttons { | |
755 | margin: 0 0 @space 0; |
|
761 | margin: 0 0 @space 0; | |
756 | padding: 0; |
|
762 | padding: 0; | |
757 |
|
763 | |||
758 | .btn { |
|
764 | .btn { | |
759 | display: inline-block; |
|
765 | display: inline-block; | |
760 | } |
|
766 | } | |
761 | } |
|
767 | } | |
762 |
|
768 | |||
763 | .notification-list { |
|
769 | .notification-list { | |
764 |
|
770 | |||
765 | div { |
|
771 | div { | |
766 | display: inline-block; |
|
772 | display: inline-block; | |
767 | vertical-align: middle; |
|
773 | vertical-align: middle; | |
768 | } |
|
774 | } | |
769 |
|
775 | |||
770 | .container { |
|
776 | .container { | |
771 | display: block; |
|
777 | display: block; | |
772 | margin: 0 0 @padding 0; |
|
778 | margin: 0 0 @padding 0; | |
773 | } |
|
779 | } | |
774 |
|
780 | |||
775 | .delete-notifications { |
|
781 | .delete-notifications { | |
776 | margin-left: @padding; |
|
782 | margin-left: @padding; | |
777 | text-align: right; |
|
783 | text-align: right; | |
778 | cursor: pointer; |
|
784 | cursor: pointer; | |
779 | } |
|
785 | } | |
780 |
|
786 | |||
781 | .read-notifications { |
|
787 | .read-notifications { | |
782 | margin-left: @padding/2; |
|
788 | margin-left: @padding/2; | |
783 | text-align: right; |
|
789 | text-align: right; | |
784 | width: 35px; |
|
790 | width: 35px; | |
785 | cursor: pointer; |
|
791 | cursor: pointer; | |
786 | } |
|
792 | } | |
787 |
|
793 | |||
788 | .icon-minus-sign { |
|
794 | .icon-minus-sign { | |
789 | color: @alert2; |
|
795 | color: @alert2; | |
790 | } |
|
796 | } | |
791 |
|
797 | |||
792 | .icon-ok-sign { |
|
798 | .icon-ok-sign { | |
793 | color: @alert1; |
|
799 | color: @alert1; | |
794 | } |
|
800 | } | |
795 | } |
|
801 | } | |
796 |
|
802 | |||
797 | .user_settings { |
|
803 | .user_settings { | |
798 | float: left; |
|
804 | float: left; | |
799 | clear: both; |
|
805 | clear: both; | |
800 | display: block; |
|
806 | display: block; | |
801 | width: 100%; |
|
807 | width: 100%; | |
802 |
|
808 | |||
803 | .gravatar_box { |
|
809 | .gravatar_box { | |
804 | margin-bottom: @padding; |
|
810 | margin-bottom: @padding; | |
805 |
|
811 | |||
806 | &:after { |
|
812 | &:after { | |
807 | content: " "; |
|
813 | content: " "; | |
808 | clear: both; |
|
814 | clear: both; | |
809 | width: 100%; |
|
815 | width: 100%; | |
810 | } |
|
816 | } | |
811 | } |
|
817 | } | |
812 |
|
818 | |||
813 | .fields .field { |
|
819 | .fields .field { | |
814 | clear: both; |
|
820 | clear: both; | |
815 | } |
|
821 | } | |
816 | } |
|
822 | } | |
817 |
|
823 | |||
818 | .advanced_settings { |
|
824 | .advanced_settings { | |
819 | margin-bottom: @space; |
|
825 | margin-bottom: @space; | |
820 |
|
826 | |||
821 | .help-block { |
|
827 | .help-block { | |
822 | margin-left: 0; |
|
828 | margin-left: 0; | |
823 | } |
|
829 | } | |
824 |
|
830 | |||
825 | button + .help-block { |
|
831 | button + .help-block { | |
826 | margin-top: @padding; |
|
832 | margin-top: @padding; | |
827 | } |
|
833 | } | |
828 | } |
|
834 | } | |
829 |
|
835 | |||
830 | // admin settings radio buttons and labels |
|
836 | // admin settings radio buttons and labels | |
831 | .label-2 { |
|
837 | .label-2 { | |
832 | float: left; |
|
838 | float: left; | |
833 | width: @label2-width; |
|
839 | width: @label2-width; | |
834 |
|
840 | |||
835 | label { |
|
841 | label { | |
836 | color: @grey1; |
|
842 | color: @grey1; | |
837 | } |
|
843 | } | |
838 | } |
|
844 | } | |
839 | .checkboxes { |
|
845 | .checkboxes { | |
840 | float: left; |
|
846 | float: left; | |
841 | width: @checkboxes-width; |
|
847 | width: @checkboxes-width; | |
842 | margin-bottom: @padding; |
|
848 | margin-bottom: @padding; | |
843 |
|
849 | |||
844 | .checkbox { |
|
850 | .checkbox { | |
845 | width: 100%; |
|
851 | width: 100%; | |
846 |
|
852 | |||
847 | label { |
|
853 | label { | |
848 | margin: 0; |
|
854 | margin: 0; | |
849 | padding: 0; |
|
855 | padding: 0; | |
850 | } |
|
856 | } | |
851 | } |
|
857 | } | |
852 |
|
858 | |||
853 | .checkbox + .checkbox { |
|
859 | .checkbox + .checkbox { | |
854 | display: inline-block; |
|
860 | display: inline-block; | |
855 | } |
|
861 | } | |
856 |
|
862 | |||
857 | label { |
|
863 | label { | |
858 | margin-right: 1em; |
|
864 | margin-right: 1em; | |
859 | } |
|
865 | } | |
860 | } |
|
866 | } | |
861 |
|
867 | |||
862 | // CHANGELOG |
|
868 | // CHANGELOG | |
863 | .container_header { |
|
869 | .container_header { | |
864 | float: left; |
|
870 | float: left; | |
865 | display: block; |
|
871 | display: block; | |
866 | width: 100%; |
|
872 | width: 100%; | |
867 | margin: @padding 0 @padding; |
|
873 | margin: @padding 0 @padding; | |
868 |
|
874 | |||
869 | #filter_changelog { |
|
875 | #filter_changelog { | |
870 | float: left; |
|
876 | float: left; | |
871 | margin-right: @padding; |
|
877 | margin-right: @padding; | |
872 | } |
|
878 | } | |
873 |
|
879 | |||
874 | .breadcrumbs_light { |
|
880 | .breadcrumbs_light { | |
875 | display: inline-block; |
|
881 | display: inline-block; | |
876 | } |
|
882 | } | |
877 | } |
|
883 | } | |
878 |
|
884 | |||
879 | .info_box { |
|
885 | .info_box { | |
880 | float: right; |
|
886 | float: right; | |
881 | } |
|
887 | } | |
882 |
|
888 | |||
883 |
|
889 | |||
884 | #graph_nodes { |
|
890 | #graph_nodes { | |
885 | padding-top: 43px; |
|
891 | padding-top: 43px; | |
886 | } |
|
892 | } | |
887 |
|
893 | |||
888 | #graph_content{ |
|
894 | #graph_content{ | |
889 |
|
895 | |||
890 | // adjust for table headers so that graph renders properly |
|
896 | // adjust for table headers so that graph renders properly | |
891 | // #graph_nodes padding - table cell padding |
|
897 | // #graph_nodes padding - table cell padding | |
892 | padding-top: (@space - (@basefontsize * 2.4)); |
|
898 | padding-top: (@space - (@basefontsize * 2.4)); | |
893 |
|
899 | |||
894 | &.graph_full_width { |
|
900 | &.graph_full_width { | |
895 | width: 100%; |
|
901 | width: 100%; | |
896 | max-width: 100%; |
|
902 | max-width: 100%; | |
897 | } |
|
903 | } | |
898 | } |
|
904 | } | |
899 |
|
905 | |||
900 | #graph { |
|
906 | #graph { | |
901 | .flag_status { |
|
907 | .flag_status { | |
902 | margin: 0; |
|
908 | margin: 0; | |
903 | } |
|
909 | } | |
904 |
|
910 | |||
905 | .pagination-left { |
|
911 | .pagination-left { | |
906 | float: left; |
|
912 | float: left; | |
907 | clear: both; |
|
913 | clear: both; | |
908 | } |
|
914 | } | |
909 |
|
915 | |||
910 | .log-container { |
|
916 | .log-container { | |
911 | max-width: 345px; |
|
917 | max-width: 345px; | |
912 |
|
918 | |||
913 | .message{ |
|
919 | .message{ | |
914 | max-width: 340px; |
|
920 | max-width: 340px; | |
915 | } |
|
921 | } | |
916 | } |
|
922 | } | |
917 |
|
923 | |||
918 | .graph-col-wrapper { |
|
924 | .graph-col-wrapper { | |
919 | padding-left: 110px; |
|
925 | padding-left: 110px; | |
920 |
|
926 | |||
921 | #graph_nodes { |
|
927 | #graph_nodes { | |
922 | width: 100px; |
|
928 | width: 100px; | |
923 | margin-left: -110px; |
|
929 | margin-left: -110px; | |
924 | float: left; |
|
930 | float: left; | |
925 | clear: left; |
|
931 | clear: left; | |
926 | } |
|
932 | } | |
927 | } |
|
933 | } | |
928 | } |
|
934 | } | |
929 |
|
935 | |||
930 | #filter_changelog { |
|
936 | #filter_changelog { | |
931 | float: left; |
|
937 | float: left; | |
932 | } |
|
938 | } | |
933 |
|
939 | |||
934 |
|
940 | |||
935 | //--- THEME ------------------// |
|
941 | //--- THEME ------------------// | |
936 |
|
942 | |||
937 | #logo { |
|
943 | #logo { | |
938 | float: left; |
|
944 | float: left; | |
939 | margin: 9px 0 0 0; |
|
945 | margin: 9px 0 0 0; | |
940 |
|
946 | |||
941 | .header { |
|
947 | .header { | |
942 | background-color: transparent; |
|
948 | background-color: transparent; | |
943 | } |
|
949 | } | |
944 |
|
950 | |||
945 | a { |
|
951 | a { | |
946 | display: inline-block; |
|
952 | display: inline-block; | |
947 | } |
|
953 | } | |
948 |
|
954 | |||
949 | img { |
|
955 | img { | |
950 | height:30px; |
|
956 | height:30px; | |
951 | } |
|
957 | } | |
952 | } |
|
958 | } | |
953 |
|
959 | |||
954 | .logo-wrapper { |
|
960 | .logo-wrapper { | |
955 | float:left; |
|
961 | float:left; | |
956 | } |
|
962 | } | |
957 |
|
963 | |||
958 | .branding{ |
|
964 | .branding{ | |
959 | float: left; |
|
965 | float: left; | |
960 | padding: 9px 2px; |
|
966 | padding: 9px 2px; | |
961 | line-height: 1em; |
|
967 | line-height: 1em; | |
962 | font-size: @navigation-fontsize; |
|
968 | font-size: @navigation-fontsize; | |
963 | } |
|
969 | } | |
964 |
|
970 | |||
965 | img { |
|
971 | img { | |
966 | border: none; |
|
972 | border: none; | |
967 | outline: none; |
|
973 | outline: none; | |
968 | } |
|
974 | } | |
969 | user-profile-header |
|
975 | user-profile-header | |
970 | label { |
|
976 | label { | |
971 |
|
977 | |||
972 | input[type="checkbox"] { |
|
978 | input[type="checkbox"] { | |
973 | margin-right: 1em; |
|
979 | margin-right: 1em; | |
974 | } |
|
980 | } | |
975 | input[type="radio"] { |
|
981 | input[type="radio"] { | |
976 | margin-right: 1em; |
|
982 | margin-right: 1em; | |
977 | } |
|
983 | } | |
978 | } |
|
984 | } | |
979 |
|
985 | |||
980 | .flag_status { |
|
986 | .flag_status { | |
981 | margin: 2px 8px 6px 2px; |
|
987 | margin: 2px 8px 6px 2px; | |
982 | &.under_review { |
|
988 | &.under_review { | |
983 | .circle(5px, @alert3); |
|
989 | .circle(5px, @alert3); | |
984 | } |
|
990 | } | |
985 | &.approved { |
|
991 | &.approved { | |
986 | .circle(5px, @alert1); |
|
992 | .circle(5px, @alert1); | |
987 | } |
|
993 | } | |
988 | &.rejected, |
|
994 | &.rejected, | |
989 | &.forced_closed{ |
|
995 | &.forced_closed{ | |
990 | .circle(5px, @alert2); |
|
996 | .circle(5px, @alert2); | |
991 | } |
|
997 | } | |
992 | &.not_reviewed { |
|
998 | &.not_reviewed { | |
993 | .circle(5px, @grey5); |
|
999 | .circle(5px, @grey5); | |
994 | } |
|
1000 | } | |
995 | } |
|
1001 | } | |
996 |
|
1002 | |||
997 | .flag_status_comment_box { |
|
1003 | .flag_status_comment_box { | |
998 | margin: 5px 6px 0px 2px; |
|
1004 | margin: 5px 6px 0px 2px; | |
999 | } |
|
1005 | } | |
1000 | .test_pattern_preview { |
|
1006 | .test_pattern_preview { | |
1001 | margin: @space 0; |
|
1007 | margin: @space 0; | |
1002 |
|
1008 | |||
1003 | p { |
|
1009 | p { | |
1004 | margin-bottom: 0; |
|
1010 | margin-bottom: 0; | |
1005 | border-bottom: @border-thickness solid @border-default-color; |
|
1011 | border-bottom: @border-thickness solid @border-default-color; | |
1006 | color: @grey3; |
|
1012 | color: @grey3; | |
1007 | } |
|
1013 | } | |
1008 |
|
1014 | |||
1009 | .btn { |
|
1015 | .btn { | |
1010 | margin-bottom: @padding; |
|
1016 | margin-bottom: @padding; | |
1011 | } |
|
1017 | } | |
1012 | } |
|
1018 | } | |
1013 | #test_pattern_result { |
|
1019 | #test_pattern_result { | |
1014 | display: none; |
|
1020 | display: none; | |
1015 | &:extend(pre); |
|
1021 | &:extend(pre); | |
1016 | padding: .9em; |
|
1022 | padding: .9em; | |
1017 | color: @grey3; |
|
1023 | color: @grey3; | |
1018 | background-color: @grey7; |
|
1024 | background-color: @grey7; | |
1019 | border-right: @border-thickness solid @border-default-color; |
|
1025 | border-right: @border-thickness solid @border-default-color; | |
1020 | border-bottom: @border-thickness solid @border-default-color; |
|
1026 | border-bottom: @border-thickness solid @border-default-color; | |
1021 | border-left: @border-thickness solid @border-default-color; |
|
1027 | border-left: @border-thickness solid @border-default-color; | |
1022 | } |
|
1028 | } | |
1023 |
|
1029 | |||
1024 | #repo_vcs_settings { |
|
1030 | #repo_vcs_settings { | |
1025 | #inherit_overlay_vcs_default { |
|
1031 | #inherit_overlay_vcs_default { | |
1026 | display: none; |
|
1032 | display: none; | |
1027 | } |
|
1033 | } | |
1028 | #inherit_overlay_vcs_custom { |
|
1034 | #inherit_overlay_vcs_custom { | |
1029 | display: custom; |
|
1035 | display: custom; | |
1030 | } |
|
1036 | } | |
1031 | &.inherited { |
|
1037 | &.inherited { | |
1032 | #inherit_overlay_vcs_default { |
|
1038 | #inherit_overlay_vcs_default { | |
1033 | display: block; |
|
1039 | display: block; | |
1034 | } |
|
1040 | } | |
1035 | #inherit_overlay_vcs_custom { |
|
1041 | #inherit_overlay_vcs_custom { | |
1036 | display: none; |
|
1042 | display: none; | |
1037 | } |
|
1043 | } | |
1038 | } |
|
1044 | } | |
1039 | } |
|
1045 | } | |
1040 |
|
1046 | |||
1041 | .issue-tracker-link { |
|
1047 | .issue-tracker-link { | |
1042 | color: @rcblue; |
|
1048 | color: @rcblue; | |
1043 | } |
|
1049 | } | |
1044 |
|
1050 | |||
1045 | // Issue Tracker Table Show/Hide |
|
1051 | // Issue Tracker Table Show/Hide | |
1046 | #repo_issue_tracker { |
|
1052 | #repo_issue_tracker { | |
1047 | #inherit_overlay { |
|
1053 | #inherit_overlay { | |
1048 | display: none; |
|
1054 | display: none; | |
1049 | } |
|
1055 | } | |
1050 | #custom_overlay { |
|
1056 | #custom_overlay { | |
1051 | display: custom; |
|
1057 | display: custom; | |
1052 | } |
|
1058 | } | |
1053 | &.inherited { |
|
1059 | &.inherited { | |
1054 | #inherit_overlay { |
|
1060 | #inherit_overlay { | |
1055 | display: block; |
|
1061 | display: block; | |
1056 | } |
|
1062 | } | |
1057 | #custom_overlay { |
|
1063 | #custom_overlay { | |
1058 | display: none; |
|
1064 | display: none; | |
1059 | } |
|
1065 | } | |
1060 | } |
|
1066 | } | |
1061 | } |
|
1067 | } | |
1062 | table.issuetracker { |
|
1068 | table.issuetracker { | |
1063 | &.readonly { |
|
1069 | &.readonly { | |
1064 | tr, td { |
|
1070 | tr, td { | |
1065 | color: @grey3; |
|
1071 | color: @grey3; | |
1066 | } |
|
1072 | } | |
1067 | } |
|
1073 | } | |
1068 | .edit { |
|
1074 | .edit { | |
1069 | display: none; |
|
1075 | display: none; | |
1070 | } |
|
1076 | } | |
1071 | .editopen { |
|
1077 | .editopen { | |
1072 | .edit { |
|
1078 | .edit { | |
1073 | display: inline; |
|
1079 | display: inline; | |
1074 | } |
|
1080 | } | |
1075 | .entry { |
|
1081 | .entry { | |
1076 | display: none; |
|
1082 | display: none; | |
1077 | } |
|
1083 | } | |
1078 | } |
|
1084 | } | |
1079 | tr td.td-action { |
|
1085 | tr td.td-action { | |
1080 | min-width: 117px; |
|
1086 | min-width: 117px; | |
1081 | } |
|
1087 | } | |
1082 | td input { |
|
1088 | td input { | |
1083 | max-width: none; |
|
1089 | max-width: none; | |
1084 | min-width: 30px; |
|
1090 | min-width: 30px; | |
1085 | width: 80%; |
|
1091 | width: 80%; | |
1086 | } |
|
1092 | } | |
1087 | .issuetracker_pref input { |
|
1093 | .issuetracker_pref input { | |
1088 | width: 40%; |
|
1094 | width: 40%; | |
1089 | } |
|
1095 | } | |
1090 | input.edit_issuetracker_update { |
|
1096 | input.edit_issuetracker_update { | |
1091 | margin-right: 0; |
|
1097 | margin-right: 0; | |
1092 | width: auto; |
|
1098 | width: auto; | |
1093 | } |
|
1099 | } | |
1094 | } |
|
1100 | } | |
1095 |
|
1101 | |||
1096 |
|
1102 | |||
1097 | //Permissions Settings |
|
1103 | //Permissions Settings | |
1098 | #add_perm { |
|
1104 | #add_perm { | |
1099 | margin: 0 0 @padding; |
|
1105 | margin: 0 0 @padding; | |
1100 | cursor: pointer; |
|
1106 | cursor: pointer; | |
1101 | } |
|
1107 | } | |
1102 |
|
1108 | |||
1103 | .perm_ac { |
|
1109 | .perm_ac { | |
1104 | input { |
|
1110 | input { | |
1105 | width: 95%; |
|
1111 | width: 95%; | |
1106 | } |
|
1112 | } | |
1107 | } |
|
1113 | } | |
1108 |
|
1114 | |||
1109 | .autocomplete-suggestions { |
|
1115 | .autocomplete-suggestions { | |
1110 | width: auto !important; // overrides autocomplete.js |
|
1116 | width: auto !important; // overrides autocomplete.js | |
1111 | margin: 0; |
|
1117 | margin: 0; | |
1112 | border: @border-thickness solid @rcblue; |
|
1118 | border: @border-thickness solid @rcblue; | |
1113 | border-radius: @border-radius; |
|
1119 | border-radius: @border-radius; | |
1114 | color: @rcblue; |
|
1120 | color: @rcblue; | |
1115 | background-color: white; |
|
1121 | background-color: white; | |
1116 | } |
|
1122 | } | |
1117 | .autocomplete-selected { |
|
1123 | .autocomplete-selected { | |
1118 | background: #F0F0F0; |
|
1124 | background: #F0F0F0; | |
1119 | } |
|
1125 | } | |
1120 | .ac-container-wrap { |
|
1126 | .ac-container-wrap { | |
1121 | margin: 0; |
|
1127 | margin: 0; | |
1122 | padding: 8px; |
|
1128 | padding: 8px; | |
1123 | border-bottom: @border-thickness solid @rclightblue; |
|
1129 | border-bottom: @border-thickness solid @rclightblue; | |
1124 | list-style-type: none; |
|
1130 | list-style-type: none; | |
1125 | cursor: pointer; |
|
1131 | cursor: pointer; | |
1126 |
|
1132 | |||
1127 | &:hover { |
|
1133 | &:hover { | |
1128 | background-color: @rclightblue; |
|
1134 | background-color: @rclightblue; | |
1129 | } |
|
1135 | } | |
1130 |
|
1136 | |||
1131 | img { |
|
1137 | img { | |
1132 | margin-right: 1em; |
|
1138 | margin-right: 1em; | |
1133 | } |
|
1139 | } | |
1134 |
|
1140 | |||
1135 | strong { |
|
1141 | strong { | |
1136 | font-weight: normal; |
|
1142 | font-weight: normal; | |
1137 | } |
|
1143 | } | |
1138 | } |
|
1144 | } | |
1139 |
|
1145 | |||
1140 | // Settings Dropdown |
|
1146 | // Settings Dropdown | |
1141 | .user-menu .container { |
|
1147 | .user-menu .container { | |
1142 | padding: 0 4px; |
|
1148 | padding: 0 4px; | |
1143 | margin: 0; |
|
1149 | margin: 0; | |
1144 | } |
|
1150 | } | |
1145 |
|
1151 | |||
1146 | .user-menu .gravatar { |
|
1152 | .user-menu .gravatar { | |
1147 | cursor: pointer; |
|
1153 | cursor: pointer; | |
1148 | } |
|
1154 | } | |
1149 |
|
1155 | |||
1150 | .codeblock { |
|
1156 | .codeblock { | |
1151 | margin-bottom: @padding; |
|
1157 | margin-bottom: @padding; | |
1152 | clear: both; |
|
1158 | clear: both; | |
1153 |
|
1159 | |||
1154 | .stats{ |
|
1160 | .stats{ | |
1155 | overflow: hidden; |
|
1161 | overflow: hidden; | |
1156 | } |
|
1162 | } | |
1157 |
|
1163 | |||
1158 | .message{ |
|
1164 | .message{ | |
1159 | textarea{ |
|
1165 | textarea{ | |
1160 | margin: 0; |
|
1166 | margin: 0; | |
1161 | } |
|
1167 | } | |
1162 | } |
|
1168 | } | |
1163 |
|
1169 | |||
1164 | .code-header { |
|
1170 | .code-header { | |
1165 | .stats { |
|
1171 | .stats { | |
1166 | line-height: 2em; |
|
1172 | line-height: 2em; | |
1167 |
|
1173 | |||
1168 | .revision_id { |
|
1174 | .revision_id { | |
1169 | margin-left: 0; |
|
1175 | margin-left: 0; | |
1170 | } |
|
1176 | } | |
1171 | .buttons { |
|
1177 | .buttons { | |
1172 | padding-right: 0; |
|
1178 | padding-right: 0; | |
1173 | } |
|
1179 | } | |
1174 | } |
|
1180 | } | |
1175 |
|
1181 | |||
1176 | .item{ |
|
1182 | .item{ | |
1177 | margin-right: 0.5em; |
|
1183 | margin-right: 0.5em; | |
1178 | } |
|
1184 | } | |
1179 | } |
|
1185 | } | |
1180 |
|
1186 | |||
1181 | #editor_container{ |
|
1187 | #editor_container{ | |
1182 | position: relative; |
|
1188 | position: relative; | |
1183 | margin: @padding; |
|
1189 | margin: @padding; | |
1184 | } |
|
1190 | } | |
1185 | } |
|
1191 | } | |
1186 |
|
1192 | |||
1187 | #file_history_container { |
|
1193 | #file_history_container { | |
1188 | display: none; |
|
1194 | display: none; | |
1189 | } |
|
1195 | } | |
1190 |
|
1196 | |||
1191 | .file-history-inner { |
|
1197 | .file-history-inner { | |
1192 | margin-bottom: 10px; |
|
1198 | margin-bottom: 10px; | |
1193 | } |
|
1199 | } | |
1194 |
|
1200 | |||
1195 | // Pull Requests |
|
1201 | // Pull Requests | |
1196 | .summary-details { |
|
1202 | .summary-details { | |
1197 | width: 72%; |
|
1203 | width: 72%; | |
1198 | } |
|
1204 | } | |
1199 | .pr-summary { |
|
1205 | .pr-summary { | |
1200 | border-bottom: @border-thickness solid @grey5; |
|
1206 | border-bottom: @border-thickness solid @grey5; | |
1201 | margin-bottom: @space; |
|
1207 | margin-bottom: @space; | |
1202 | } |
|
1208 | } | |
1203 | .reviewers-title { |
|
1209 | .reviewers-title { | |
1204 | width: 25%; |
|
1210 | width: 25%; | |
1205 | min-width: 200px; |
|
1211 | min-width: 200px; | |
1206 | } |
|
1212 | } | |
1207 | .reviewers { |
|
1213 | .reviewers { | |
1208 | width: 25%; |
|
1214 | width: 25%; | |
1209 | min-width: 200px; |
|
1215 | min-width: 200px; | |
1210 | } |
|
1216 | } | |
1211 | .reviewers ul li { |
|
1217 | .reviewers ul li { | |
1212 | position: relative; |
|
1218 | position: relative; | |
1213 | width: 100%; |
|
1219 | width: 100%; | |
1214 | margin-bottom: 8px; |
|
1220 | margin-bottom: 8px; | |
1215 | } |
|
1221 | } | |
1216 | .reviewers_member { |
|
1222 | .reviewers_member { | |
1217 | width: 100%; |
|
1223 | width: 100%; | |
1218 | overflow: auto; |
|
1224 | overflow: auto; | |
1219 | } |
|
1225 | } | |
1220 | .reviewer_status { |
|
1226 | .reviewer_status { | |
1221 | display: inline-block; |
|
1227 | display: inline-block; | |
1222 | vertical-align: top; |
|
1228 | vertical-align: top; | |
1223 | width: 7%; |
|
1229 | width: 7%; | |
1224 | min-width: 20px; |
|
1230 | min-width: 20px; | |
1225 | height: 1.2em; |
|
1231 | height: 1.2em; | |
1226 | margin-top: 3px; |
|
1232 | margin-top: 3px; | |
1227 | line-height: 1em; |
|
1233 | line-height: 1em; | |
1228 | } |
|
1234 | } | |
1229 |
|
1235 | |||
1230 | .reviewer_name { |
|
1236 | .reviewer_name { | |
1231 | display: inline-block; |
|
1237 | display: inline-block; | |
1232 | max-width: 83%; |
|
1238 | max-width: 83%; | |
1233 | padding-right: 20px; |
|
1239 | padding-right: 20px; | |
1234 | vertical-align: middle; |
|
1240 | vertical-align: middle; | |
1235 | line-height: 1; |
|
1241 | line-height: 1; | |
1236 |
|
1242 | |||
1237 | .rc-user { |
|
1243 | .rc-user { | |
1238 | min-width: 0; |
|
1244 | min-width: 0; | |
1239 | margin: -2px 1em 0 0; |
|
1245 | margin: -2px 1em 0 0; | |
1240 | } |
|
1246 | } | |
1241 |
|
1247 | |||
1242 | .reviewer { |
|
1248 | .reviewer { | |
1243 | float: left; |
|
1249 | float: left; | |
1244 | } |
|
1250 | } | |
1245 |
|
1251 | |||
1246 | &.to-delete { |
|
1252 | &.to-delete { | |
1247 | .user, |
|
1253 | .user, | |
1248 | .reviewer { |
|
1254 | .reviewer { | |
1249 | text-decoration: line-through; |
|
1255 | text-decoration: line-through; | |
1250 | } |
|
1256 | } | |
1251 | } |
|
1257 | } | |
1252 | } |
|
1258 | } | |
1253 |
|
1259 | |||
1254 | .reviewer_member_remove { |
|
1260 | .reviewer_member_remove { | |
1255 | position: absolute; |
|
1261 | position: absolute; | |
1256 | right: 0; |
|
1262 | right: 0; | |
1257 | top: 0; |
|
1263 | top: 0; | |
1258 | width: 16px; |
|
1264 | width: 16px; | |
1259 | margin-bottom: 10px; |
|
1265 | margin-bottom: 10px; | |
1260 | padding: 0; |
|
1266 | padding: 0; | |
1261 | color: black; |
|
1267 | color: black; | |
1262 | } |
|
1268 | } | |
1263 | .reviewer_member_status { |
|
1269 | .reviewer_member_status { | |
1264 | margin-top: 5px; |
|
1270 | margin-top: 5px; | |
1265 | } |
|
1271 | } | |
1266 | .pr-summary #summary{ |
|
1272 | .pr-summary #summary{ | |
1267 | width: 100%; |
|
1273 | width: 100%; | |
1268 | } |
|
1274 | } | |
1269 | .pr-summary .action_button:hover { |
|
1275 | .pr-summary .action_button:hover { | |
1270 | border: 0; |
|
1276 | border: 0; | |
1271 | cursor: pointer; |
|
1277 | cursor: pointer; | |
1272 | } |
|
1278 | } | |
1273 | .pr-details-title { |
|
1279 | .pr-details-title { | |
1274 | padding-bottom: 8px; |
|
1280 | padding-bottom: 8px; | |
1275 | border-bottom: @border-thickness solid @grey5; |
|
1281 | border-bottom: @border-thickness solid @grey5; | |
1276 | .action_button { |
|
1282 | .action_button { | |
1277 | color: @rcblue; |
|
1283 | color: @rcblue; | |
1278 | } |
|
1284 | } | |
1279 | } |
|
1285 | } | |
1280 | .pr-details-content { |
|
1286 | .pr-details-content { | |
1281 | margin-top: @textmargin; |
|
1287 | margin-top: @textmargin; | |
1282 | margin-bottom: @textmargin; |
|
1288 | margin-bottom: @textmargin; | |
1283 | } |
|
1289 | } | |
1284 | .pr-description { |
|
1290 | .pr-description { | |
1285 | white-space:pre-wrap; |
|
1291 | white-space:pre-wrap; | |
1286 | } |
|
1292 | } | |
1287 | .group_members { |
|
1293 | .group_members { | |
1288 | margin-top: 0; |
|
1294 | margin-top: 0; | |
1289 | padding: 0; |
|
1295 | padding: 0; | |
1290 | list-style: outside none none; |
|
1296 | list-style: outside none none; | |
1291 | } |
|
1297 | } | |
1292 | .reviewer_ac .ac-input { |
|
1298 | .reviewer_ac .ac-input { | |
1293 | width: 92%; |
|
1299 | width: 92%; | |
1294 | margin-bottom: 1em; |
|
1300 | margin-bottom: 1em; | |
1295 | } |
|
1301 | } | |
1296 | #update_commits { |
|
1302 | #update_commits { | |
1297 | float: right; |
|
1303 | float: right; | |
1298 | } |
|
1304 | } | |
1299 | .compare_view_commits tr{ |
|
1305 | .compare_view_commits tr{ | |
1300 | height: 20px; |
|
1306 | height: 20px; | |
1301 | } |
|
1307 | } | |
1302 | .compare_view_commits td { |
|
1308 | .compare_view_commits td { | |
1303 | vertical-align: top; |
|
1309 | vertical-align: top; | |
1304 | padding-top: 10px; |
|
1310 | padding-top: 10px; | |
1305 | } |
|
1311 | } | |
1306 | .compare_view_commits .author { |
|
1312 | .compare_view_commits .author { | |
1307 | margin-left: 5px; |
|
1313 | margin-left: 5px; | |
1308 | } |
|
1314 | } | |
1309 |
|
1315 | |||
1310 | .compare_view_files { |
|
1316 | .compare_view_files { | |
1311 | width: 100%; |
|
1317 | width: 100%; | |
1312 |
|
1318 | |||
1313 | td { |
|
1319 | td { | |
1314 | vertical-align: middle; |
|
1320 | vertical-align: middle; | |
1315 | } |
|
1321 | } | |
1316 | } |
|
1322 | } | |
1317 |
|
1323 | |||
1318 | .compare_view_filepath { |
|
1324 | .compare_view_filepath { | |
1319 | color: @grey1; |
|
1325 | color: @grey1; | |
1320 | } |
|
1326 | } | |
1321 |
|
1327 | |||
1322 | .show_more { |
|
1328 | .show_more { | |
1323 | display: inline-block; |
|
1329 | display: inline-block; | |
1324 | position: relative; |
|
1330 | position: relative; | |
1325 | vertical-align: middle; |
|
1331 | vertical-align: middle; | |
1326 | width: 4px; |
|
1332 | width: 4px; | |
1327 | height: @basefontsize; |
|
1333 | height: @basefontsize; | |
1328 |
|
1334 | |||
1329 | &:after { |
|
1335 | &:after { | |
1330 | content: "\00A0\25BE"; |
|
1336 | content: "\00A0\25BE"; | |
1331 | display: inline-block; |
|
1337 | display: inline-block; | |
1332 | width:10px; |
|
1338 | width:10px; | |
1333 | line-height: 5px; |
|
1339 | line-height: 5px; | |
1334 | font-size: 12px; |
|
1340 | font-size: 12px; | |
1335 | cursor: pointer; |
|
1341 | cursor: pointer; | |
1336 | } |
|
1342 | } | |
1337 | } |
|
1343 | } | |
1338 |
|
1344 | |||
1339 | .journal_more .show_more { |
|
1345 | .journal_more .show_more { | |
1340 | display: inline; |
|
1346 | display: inline; | |
1341 |
|
1347 | |||
1342 | &:after { |
|
1348 | &:after { | |
1343 | content: none; |
|
1349 | content: none; | |
1344 | } |
|
1350 | } | |
1345 | } |
|
1351 | } | |
1346 |
|
1352 | |||
1347 | .open .show_more:after, |
|
1353 | .open .show_more:after, | |
1348 | .select2-dropdown-open .show_more:after { |
|
1354 | .select2-dropdown-open .show_more:after { | |
1349 | .rotate(180deg); |
|
1355 | .rotate(180deg); | |
1350 | margin-left: 4px; |
|
1356 | margin-left: 4px; | |
1351 | } |
|
1357 | } | |
1352 |
|
1358 | |||
1353 |
|
1359 | |||
1354 | .compare_view_commits .collapse_commit:after { |
|
1360 | .compare_view_commits .collapse_commit:after { | |
1355 | cursor: pointer; |
|
1361 | cursor: pointer; | |
1356 | content: "\00A0\25B4"; |
|
1362 | content: "\00A0\25B4"; | |
1357 | margin-left: -3px; |
|
1363 | margin-left: -3px; | |
1358 | font-size: 17px; |
|
1364 | font-size: 17px; | |
1359 | color: @grey4; |
|
1365 | color: @grey4; | |
1360 | } |
|
1366 | } | |
1361 |
|
1367 | |||
1362 | .diff_links { |
|
1368 | .diff_links { | |
1363 | margin-left: 8px; |
|
1369 | margin-left: 8px; | |
1364 | } |
|
1370 | } | |
1365 |
|
1371 | |||
1366 | p.ancestor { |
|
1372 | p.ancestor { | |
1367 | margin: @padding 0; |
|
1373 | margin: @padding 0; | |
1368 | } |
|
1374 | } | |
1369 |
|
1375 | |||
1370 | .cs_icon_td input[type="checkbox"] { |
|
1376 | .cs_icon_td input[type="checkbox"] { | |
1371 | display: none; |
|
1377 | display: none; | |
1372 | } |
|
1378 | } | |
1373 |
|
1379 | |||
1374 | .cs_icon_td .expand_file_icon:after { |
|
1380 | .cs_icon_td .expand_file_icon:after { | |
1375 | cursor: pointer; |
|
1381 | cursor: pointer; | |
1376 | content: "\00A0\25B6"; |
|
1382 | content: "\00A0\25B6"; | |
1377 | font-size: 12px; |
|
1383 | font-size: 12px; | |
1378 | color: @grey4; |
|
1384 | color: @grey4; | |
1379 | } |
|
1385 | } | |
1380 |
|
1386 | |||
1381 | .cs_icon_td .collapse_file_icon:after { |
|
1387 | .cs_icon_td .collapse_file_icon:after { | |
1382 | cursor: pointer; |
|
1388 | cursor: pointer; | |
1383 | content: "\00A0\25BC"; |
|
1389 | content: "\00A0\25BC"; | |
1384 | font-size: 12px; |
|
1390 | font-size: 12px; | |
1385 | color: @grey4; |
|
1391 | color: @grey4; | |
1386 | } |
|
1392 | } | |
1387 |
|
1393 | |||
1388 | /*new binary |
|
1394 | /*new binary | |
1389 | NEW_FILENODE = 1 |
|
1395 | NEW_FILENODE = 1 | |
1390 | DEL_FILENODE = 2 |
|
1396 | DEL_FILENODE = 2 | |
1391 | MOD_FILENODE = 3 |
|
1397 | MOD_FILENODE = 3 | |
1392 | RENAMED_FILENODE = 4 |
|
1398 | RENAMED_FILENODE = 4 | |
1393 | COPIED_FILENODE = 5 |
|
1399 | COPIED_FILENODE = 5 | |
1394 | CHMOD_FILENODE = 6 |
|
1400 | CHMOD_FILENODE = 6 | |
1395 | BIN_FILENODE = 7 |
|
1401 | BIN_FILENODE = 7 | |
1396 | */ |
|
1402 | */ | |
1397 | .cs_files_expand { |
|
1403 | .cs_files_expand { | |
1398 | font-size: @basefontsize + 5px; |
|
1404 | font-size: @basefontsize + 5px; | |
1399 | line-height: 1.8em; |
|
1405 | line-height: 1.8em; | |
1400 | float: right; |
|
1406 | float: right; | |
1401 | } |
|
1407 | } | |
1402 |
|
1408 | |||
1403 | .cs_files_expand span{ |
|
1409 | .cs_files_expand span{ | |
1404 | color: @rcblue; |
|
1410 | color: @rcblue; | |
1405 | cursor: pointer; |
|
1411 | cursor: pointer; | |
1406 | } |
|
1412 | } | |
1407 | .cs_files { |
|
1413 | .cs_files { | |
1408 | clear: both; |
|
1414 | clear: both; | |
1409 | padding-bottom: @padding; |
|
1415 | padding-bottom: @padding; | |
1410 |
|
1416 | |||
1411 | .cur_cs { |
|
1417 | .cur_cs { | |
1412 | margin: 10px 2px; |
|
1418 | margin: 10px 2px; | |
1413 | font-weight: bold; |
|
1419 | font-weight: bold; | |
1414 | } |
|
1420 | } | |
1415 |
|
1421 | |||
1416 | .node { |
|
1422 | .node { | |
1417 | float: left; |
|
1423 | float: left; | |
1418 | } |
|
1424 | } | |
1419 |
|
1425 | |||
1420 | .changes { |
|
1426 | .changes { | |
1421 | float: right; |
|
1427 | float: right; | |
1422 | color: white; |
|
1428 | color: white; | |
1423 | font-size: @basefontsize - 4px; |
|
1429 | font-size: @basefontsize - 4px; | |
1424 | margin-top: 4px; |
|
1430 | margin-top: 4px; | |
1425 | opacity: 0.6; |
|
1431 | opacity: 0.6; | |
1426 | filter: Alpha(opacity=60); /* IE8 and earlier */ |
|
1432 | filter: Alpha(opacity=60); /* IE8 and earlier */ | |
1427 |
|
1433 | |||
1428 | .added { |
|
1434 | .added { | |
1429 | background-color: @alert1; |
|
1435 | background-color: @alert1; | |
1430 | float: left; |
|
1436 | float: left; | |
1431 | text-align: center; |
|
1437 | text-align: center; | |
1432 | } |
|
1438 | } | |
1433 |
|
1439 | |||
1434 | .deleted { |
|
1440 | .deleted { | |
1435 | background-color: @alert2; |
|
1441 | background-color: @alert2; | |
1436 | float: left; |
|
1442 | float: left; | |
1437 | text-align: center; |
|
1443 | text-align: center; | |
1438 | } |
|
1444 | } | |
1439 |
|
1445 | |||
1440 | .bin { |
|
1446 | .bin { | |
1441 | background-color: @alert1; |
|
1447 | background-color: @alert1; | |
1442 | text-align: center; |
|
1448 | text-align: center; | |
1443 | } |
|
1449 | } | |
1444 |
|
1450 | |||
1445 | /*new binary*/ |
|
1451 | /*new binary*/ | |
1446 | .bin.bin1 { |
|
1452 | .bin.bin1 { | |
1447 | background-color: @alert1; |
|
1453 | background-color: @alert1; | |
1448 | text-align: center; |
|
1454 | text-align: center; | |
1449 | } |
|
1455 | } | |
1450 |
|
1456 | |||
1451 | /*deleted binary*/ |
|
1457 | /*deleted binary*/ | |
1452 | .bin.bin2 { |
|
1458 | .bin.bin2 { | |
1453 | background-color: @alert2; |
|
1459 | background-color: @alert2; | |
1454 | text-align: center; |
|
1460 | text-align: center; | |
1455 | } |
|
1461 | } | |
1456 |
|
1462 | |||
1457 | /*mod binary*/ |
|
1463 | /*mod binary*/ | |
1458 | .bin.bin3 { |
|
1464 | .bin.bin3 { | |
1459 | background-color: @grey2; |
|
1465 | background-color: @grey2; | |
1460 | text-align: center; |
|
1466 | text-align: center; | |
1461 | } |
|
1467 | } | |
1462 |
|
1468 | |||
1463 | /*rename file*/ |
|
1469 | /*rename file*/ | |
1464 | .bin.bin4 { |
|
1470 | .bin.bin4 { | |
1465 | background-color: @alert4; |
|
1471 | background-color: @alert4; | |
1466 | text-align: center; |
|
1472 | text-align: center; | |
1467 | } |
|
1473 | } | |
1468 |
|
1474 | |||
1469 | /*copied file*/ |
|
1475 | /*copied file*/ | |
1470 | .bin.bin5 { |
|
1476 | .bin.bin5 { | |
1471 | background-color: @alert4; |
|
1477 | background-color: @alert4; | |
1472 | text-align: center; |
|
1478 | text-align: center; | |
1473 | } |
|
1479 | } | |
1474 |
|
1480 | |||
1475 | /*chmod file*/ |
|
1481 | /*chmod file*/ | |
1476 | .bin.bin6 { |
|
1482 | .bin.bin6 { | |
1477 | background-color: @grey2; |
|
1483 | background-color: @grey2; | |
1478 | text-align: center; |
|
1484 | text-align: center; | |
1479 | } |
|
1485 | } | |
1480 | } |
|
1486 | } | |
1481 | } |
|
1487 | } | |
1482 |
|
1488 | |||
1483 | .cs_files .cs_added, .cs_files .cs_A, |
|
1489 | .cs_files .cs_added, .cs_files .cs_A, | |
1484 | .cs_files .cs_added, .cs_files .cs_M, |
|
1490 | .cs_files .cs_added, .cs_files .cs_M, | |
1485 | .cs_files .cs_added, .cs_files .cs_D { |
|
1491 | .cs_files .cs_added, .cs_files .cs_D { | |
1486 | height: 16px; |
|
1492 | height: 16px; | |
1487 | padding-right: 10px; |
|
1493 | padding-right: 10px; | |
1488 | margin-top: 7px; |
|
1494 | margin-top: 7px; | |
1489 | text-align: left; |
|
1495 | text-align: left; | |
1490 | } |
|
1496 | } | |
1491 |
|
1497 | |||
1492 | .cs_icon_td { |
|
1498 | .cs_icon_td { | |
1493 | min-width: 16px; |
|
1499 | min-width: 16px; | |
1494 | width: 16px; |
|
1500 | width: 16px; | |
1495 | } |
|
1501 | } | |
1496 |
|
1502 | |||
1497 | .pull-request-merge { |
|
1503 | .pull-request-merge { | |
1498 | padding: 10px 0; |
|
1504 | padding: 10px 0; | |
1499 | margin-top: 10px; |
|
1505 | margin-top: 10px; | |
1500 | margin-bottom: 20px; |
|
1506 | margin-bottom: 20px; | |
1501 | } |
|
1507 | } | |
1502 |
|
1508 | |||
1503 | .pull-request-merge .pull-request-wrap { |
|
1509 | .pull-request-merge .pull-request-wrap { | |
1504 | height: 25px; |
|
1510 | height: 25px; | |
1505 | padding: 5px 0; |
|
1511 | padding: 5px 0; | |
1506 | } |
|
1512 | } | |
1507 |
|
1513 | |||
1508 | .pull-request-merge span { |
|
1514 | .pull-request-merge span { | |
1509 | margin-right: 10px; |
|
1515 | margin-right: 10px; | |
1510 | } |
|
1516 | } | |
1511 | #close_pull_request { |
|
1517 | #close_pull_request { | |
1512 | margin-right: 0px; |
|
1518 | margin-right: 0px; | |
1513 | } |
|
1519 | } | |
1514 |
|
1520 | |||
1515 | .empty_data { |
|
1521 | .empty_data { | |
1516 | color: @grey4; |
|
1522 | color: @grey4; | |
1517 | } |
|
1523 | } | |
1518 |
|
1524 | |||
1519 | #changeset_compare_view_content { |
|
1525 | #changeset_compare_view_content { | |
1520 | margin-bottom: @space; |
|
1526 | margin-bottom: @space; | |
1521 | clear: both; |
|
1527 | clear: both; | |
1522 | width: 100%; |
|
1528 | width: 100%; | |
1523 | box-sizing: border-box; |
|
1529 | box-sizing: border-box; | |
1524 | .border-radius(@border-radius); |
|
1530 | .border-radius(@border-radius); | |
1525 |
|
1531 | |||
1526 | .help-block { |
|
1532 | .help-block { | |
1527 | margin: @padding 0; |
|
1533 | margin: @padding 0; | |
1528 | color: @text-color; |
|
1534 | color: @text-color; | |
1529 | } |
|
1535 | } | |
1530 |
|
1536 | |||
1531 | .empty_data { |
|
1537 | .empty_data { | |
1532 | margin: @padding 0; |
|
1538 | margin: @padding 0; | |
1533 | } |
|
1539 | } | |
1534 |
|
1540 | |||
1535 | .alert { |
|
1541 | .alert { | |
1536 | margin-bottom: @space; |
|
1542 | margin-bottom: @space; | |
1537 | } |
|
1543 | } | |
1538 | } |
|
1544 | } | |
1539 |
|
1545 | |||
1540 | .table_disp { |
|
1546 | .table_disp { | |
1541 | .status { |
|
1547 | .status { | |
1542 | width: auto; |
|
1548 | width: auto; | |
1543 |
|
1549 | |||
1544 | .flag_status { |
|
1550 | .flag_status { | |
1545 | float: left; |
|
1551 | float: left; | |
1546 | } |
|
1552 | } | |
1547 | } |
|
1553 | } | |
1548 | } |
|
1554 | } | |
1549 |
|
1555 | |||
1550 | .status_box_menu { |
|
1556 | .status_box_menu { | |
1551 | margin: 0; |
|
1557 | margin: 0; | |
1552 | } |
|
1558 | } | |
1553 |
|
1559 | |||
1554 | .notification-table{ |
|
1560 | .notification-table{ | |
1555 | margin-bottom: @space; |
|
1561 | margin-bottom: @space; | |
1556 | display: table; |
|
1562 | display: table; | |
1557 | width: 100%; |
|
1563 | width: 100%; | |
1558 |
|
1564 | |||
1559 | .container{ |
|
1565 | .container{ | |
1560 | display: table-row; |
|
1566 | display: table-row; | |
1561 |
|
1567 | |||
1562 | .notification-header{ |
|
1568 | .notification-header{ | |
1563 | border-bottom: @border-thickness solid @border-default-color; |
|
1569 | border-bottom: @border-thickness solid @border-default-color; | |
1564 | } |
|
1570 | } | |
1565 |
|
1571 | |||
1566 | .notification-subject{ |
|
1572 | .notification-subject{ | |
1567 | display: table-cell; |
|
1573 | display: table-cell; | |
1568 | } |
|
1574 | } | |
1569 | } |
|
1575 | } | |
1570 | } |
|
1576 | } | |
1571 |
|
1577 | |||
1572 | // Notifications |
|
1578 | // Notifications | |
1573 | .notification-header{ |
|
1579 | .notification-header{ | |
1574 | display: table; |
|
1580 | display: table; | |
1575 | width: 100%; |
|
1581 | width: 100%; | |
1576 | padding: floor(@basefontsize/2) 0; |
|
1582 | padding: floor(@basefontsize/2) 0; | |
1577 | line-height: 1em; |
|
1583 | line-height: 1em; | |
1578 |
|
1584 | |||
1579 | .desc, .delete-notifications, .read-notifications{ |
|
1585 | .desc, .delete-notifications, .read-notifications{ | |
1580 | display: table-cell; |
|
1586 | display: table-cell; | |
1581 | text-align: left; |
|
1587 | text-align: left; | |
1582 | } |
|
1588 | } | |
1583 |
|
1589 | |||
1584 | .desc{ |
|
1590 | .desc{ | |
1585 | width: 1163px; |
|
1591 | width: 1163px; | |
1586 | } |
|
1592 | } | |
1587 |
|
1593 | |||
1588 | .delete-notifications, .read-notifications{ |
|
1594 | .delete-notifications, .read-notifications{ | |
1589 | width: 35px; |
|
1595 | width: 35px; | |
1590 | min-width: 35px; //fixes when only one button is displayed |
|
1596 | min-width: 35px; //fixes when only one button is displayed | |
1591 | } |
|
1597 | } | |
1592 | } |
|
1598 | } | |
1593 |
|
1599 | |||
1594 | .notification-body { |
|
1600 | .notification-body { | |
1595 | .markdown-block, |
|
1601 | .markdown-block, | |
1596 | .rst-block { |
|
1602 | .rst-block { | |
1597 | padding: @padding 0; |
|
1603 | padding: @padding 0; | |
1598 | } |
|
1604 | } | |
1599 |
|
1605 | |||
1600 | .notification-subject { |
|
1606 | .notification-subject { | |
1601 | padding: @textmargin 0; |
|
1607 | padding: @textmargin 0; | |
1602 | border-bottom: @border-thickness solid @border-default-color; |
|
1608 | border-bottom: @border-thickness solid @border-default-color; | |
1603 | } |
|
1609 | } | |
1604 | } |
|
1610 | } | |
1605 |
|
1611 | |||
1606 |
|
1612 | |||
1607 | .notifications_buttons{ |
|
1613 | .notifications_buttons{ | |
1608 | float: right; |
|
1614 | float: right; | |
1609 | } |
|
1615 | } | |
1610 |
|
1616 | |||
1611 | // Repositories |
|
1617 | // Repositories | |
1612 |
|
1618 | |||
1613 | #summary.fields{ |
|
1619 | #summary.fields{ | |
1614 | display: table; |
|
1620 | display: table; | |
1615 |
|
1621 | |||
1616 | .field{ |
|
1622 | .field{ | |
1617 | display: table-row; |
|
1623 | display: table-row; | |
1618 |
|
1624 | |||
1619 | .label-summary{ |
|
1625 | .label-summary{ | |
1620 | display: table-cell; |
|
1626 | display: table-cell; | |
1621 | min-width: @label-summary-minwidth; |
|
1627 | min-width: @label-summary-minwidth; | |
1622 | padding-top: @padding/2; |
|
1628 | padding-top: @padding/2; | |
1623 | padding-bottom: @padding/2; |
|
1629 | padding-bottom: @padding/2; | |
1624 | padding-right: @padding/2; |
|
1630 | padding-right: @padding/2; | |
1625 | } |
|
1631 | } | |
1626 |
|
1632 | |||
1627 | .input{ |
|
1633 | .input{ | |
1628 | display: table-cell; |
|
1634 | display: table-cell; | |
1629 | padding: @padding/2; |
|
1635 | padding: @padding/2; | |
1630 |
|
1636 | |||
1631 | input{ |
|
1637 | input{ | |
1632 | min-width: 29em; |
|
1638 | min-width: 29em; | |
1633 | padding: @padding/4; |
|
1639 | padding: @padding/4; | |
1634 | } |
|
1640 | } | |
1635 | } |
|
1641 | } | |
1636 | .statistics, .downloads{ |
|
1642 | .statistics, .downloads{ | |
1637 | .disabled{ |
|
1643 | .disabled{ | |
1638 | color: @grey4; |
|
1644 | color: @grey4; | |
1639 | } |
|
1645 | } | |
1640 | } |
|
1646 | } | |
1641 | } |
|
1647 | } | |
1642 | } |
|
1648 | } | |
1643 |
|
1649 | |||
1644 | #summary{ |
|
1650 | #summary{ | |
1645 | width: 70%; |
|
1651 | width: 70%; | |
1646 | } |
|
1652 | } | |
1647 |
|
1653 | |||
1648 |
|
1654 | |||
1649 | // Journal |
|
1655 | // Journal | |
1650 | .journal.title { |
|
1656 | .journal.title { | |
1651 | h5 { |
|
1657 | h5 { | |
1652 | float: left; |
|
1658 | float: left; | |
1653 | margin: 0; |
|
1659 | margin: 0; | |
1654 | width: 70%; |
|
1660 | width: 70%; | |
1655 | } |
|
1661 | } | |
1656 |
|
1662 | |||
1657 | ul { |
|
1663 | ul { | |
1658 | float: right; |
|
1664 | float: right; | |
1659 | display: inline-block; |
|
1665 | display: inline-block; | |
1660 | margin: 0; |
|
1666 | margin: 0; | |
1661 | width: 30%; |
|
1667 | width: 30%; | |
1662 | text-align: right; |
|
1668 | text-align: right; | |
1663 |
|
1669 | |||
1664 | li { |
|
1670 | li { | |
1665 | display: inline; |
|
1671 | display: inline; | |
1666 | font-size: @journal-fontsize; |
|
1672 | font-size: @journal-fontsize; | |
1667 | line-height: 1em; |
|
1673 | line-height: 1em; | |
1668 |
|
1674 | |||
1669 | &:before { content: none; } |
|
1675 | &:before { content: none; } | |
1670 | } |
|
1676 | } | |
1671 | } |
|
1677 | } | |
1672 | } |
|
1678 | } | |
1673 |
|
1679 | |||
1674 | .filterexample { |
|
1680 | .filterexample { | |
1675 | position: absolute; |
|
1681 | position: absolute; | |
1676 | top: 95px; |
|
1682 | top: 95px; | |
1677 | left: @contentpadding; |
|
1683 | left: @contentpadding; | |
1678 | color: @rcblue; |
|
1684 | color: @rcblue; | |
1679 | font-size: 11px; |
|
1685 | font-size: 11px; | |
1680 | font-family: @text-regular; |
|
1686 | font-family: @text-regular; | |
1681 | cursor: help; |
|
1687 | cursor: help; | |
1682 |
|
1688 | |||
1683 | &:hover { |
|
1689 | &:hover { | |
1684 | color: @rcdarkblue; |
|
1690 | color: @rcdarkblue; | |
1685 | } |
|
1691 | } | |
1686 |
|
1692 | |||
1687 | @media (max-width:768px) { |
|
1693 | @media (max-width:768px) { | |
1688 | position: relative; |
|
1694 | position: relative; | |
1689 | top: auto; |
|
1695 | top: auto; | |
1690 | left: auto; |
|
1696 | left: auto; | |
1691 | display: block; |
|
1697 | display: block; | |
1692 | } |
|
1698 | } | |
1693 | } |
|
1699 | } | |
1694 |
|
1700 | |||
1695 |
|
1701 | |||
1696 | #journal{ |
|
1702 | #journal{ | |
1697 | margin-bottom: @space; |
|
1703 | margin-bottom: @space; | |
1698 |
|
1704 | |||
1699 | .journal_day{ |
|
1705 | .journal_day{ | |
1700 | margin-bottom: @textmargin/2; |
|
1706 | margin-bottom: @textmargin/2; | |
1701 | padding-bottom: @textmargin/2; |
|
1707 | padding-bottom: @textmargin/2; | |
1702 | font-size: @journal-fontsize; |
|
1708 | font-size: @journal-fontsize; | |
1703 | border-bottom: @border-thickness solid @border-default-color; |
|
1709 | border-bottom: @border-thickness solid @border-default-color; | |
1704 | } |
|
1710 | } | |
1705 |
|
1711 | |||
1706 | .journal_container{ |
|
1712 | .journal_container{ | |
1707 | margin-bottom: @space; |
|
1713 | margin-bottom: @space; | |
1708 |
|
1714 | |||
1709 | .journal_user{ |
|
1715 | .journal_user{ | |
1710 | display: inline-block; |
|
1716 | display: inline-block; | |
1711 | } |
|
1717 | } | |
1712 | .journal_action_container{ |
|
1718 | .journal_action_container{ | |
1713 | display: block; |
|
1719 | display: block; | |
1714 | margin-top: @textmargin; |
|
1720 | margin-top: @textmargin; | |
1715 |
|
1721 | |||
1716 | div{ |
|
1722 | div{ | |
1717 | display: inline; |
|
1723 | display: inline; | |
1718 | } |
|
1724 | } | |
1719 |
|
1725 | |||
1720 | div.journal_action_params{ |
|
1726 | div.journal_action_params{ | |
1721 | display: block; |
|
1727 | display: block; | |
1722 | } |
|
1728 | } | |
1723 |
|
1729 | |||
1724 | div.journal_repo:after{ |
|
1730 | div.journal_repo:after{ | |
1725 | content: "\A"; |
|
1731 | content: "\A"; | |
1726 | white-space: pre; |
|
1732 | white-space: pre; | |
1727 | } |
|
1733 | } | |
1728 |
|
1734 | |||
1729 | div.date{ |
|
1735 | div.date{ | |
1730 | display: block; |
|
1736 | display: block; | |
1731 | margin-bottom: @textmargin; |
|
1737 | margin-bottom: @textmargin; | |
1732 | } |
|
1738 | } | |
1733 | } |
|
1739 | } | |
1734 | } |
|
1740 | } | |
1735 | } |
|
1741 | } | |
1736 |
|
1742 | |||
1737 | // Files |
|
1743 | // Files | |
1738 | .edit-file-title { |
|
1744 | .edit-file-title { | |
1739 | border-bottom: @border-thickness solid @border-default-color; |
|
1745 | border-bottom: @border-thickness solid @border-default-color; | |
1740 |
|
1746 | |||
1741 | .breadcrumbs { |
|
1747 | .breadcrumbs { | |
1742 | margin-bottom: 0; |
|
1748 | margin-bottom: 0; | |
1743 | } |
|
1749 | } | |
1744 | } |
|
1750 | } | |
1745 |
|
1751 | |||
1746 | .edit-file-fieldset { |
|
1752 | .edit-file-fieldset { | |
1747 | margin-top: @sidebarpadding; |
|
1753 | margin-top: @sidebarpadding; | |
1748 |
|
1754 | |||
1749 | .fieldset { |
|
1755 | .fieldset { | |
1750 | .left-label { |
|
1756 | .left-label { | |
1751 | width: 13%; |
|
1757 | width: 13%; | |
1752 | } |
|
1758 | } | |
1753 | .right-content { |
|
1759 | .right-content { | |
1754 | width: 87%; |
|
1760 | width: 87%; | |
1755 | max-width: 100%; |
|
1761 | max-width: 100%; | |
1756 | } |
|
1762 | } | |
1757 | .filename-label { |
|
1763 | .filename-label { | |
1758 | margin-top: 13px; |
|
1764 | margin-top: 13px; | |
1759 | } |
|
1765 | } | |
1760 | .commit-message-label { |
|
1766 | .commit-message-label { | |
1761 | margin-top: 4px; |
|
1767 | margin-top: 4px; | |
1762 | } |
|
1768 | } | |
1763 | .file-upload-input { |
|
1769 | .file-upload-input { | |
1764 | input { |
|
1770 | input { | |
1765 | display: none; |
|
1771 | display: none; | |
1766 | } |
|
1772 | } | |
1767 | } |
|
1773 | } | |
1768 | p { |
|
1774 | p { | |
1769 | margin-top: 5px; |
|
1775 | margin-top: 5px; | |
1770 | } |
|
1776 | } | |
1771 |
|
1777 | |||
1772 | } |
|
1778 | } | |
1773 | .custom-path-link { |
|
1779 | .custom-path-link { | |
1774 | margin-left: 5px; |
|
1780 | margin-left: 5px; | |
1775 | } |
|
1781 | } | |
1776 | #commit { |
|
1782 | #commit { | |
1777 | resize: vertical; |
|
1783 | resize: vertical; | |
1778 | } |
|
1784 | } | |
1779 | } |
|
1785 | } | |
1780 |
|
1786 | |||
1781 | .delete-file-preview { |
|
1787 | .delete-file-preview { | |
1782 | max-height: 250px; |
|
1788 | max-height: 250px; | |
1783 | } |
|
1789 | } | |
1784 |
|
1790 | |||
1785 | .new-file, |
|
1791 | .new-file, | |
1786 | #filter_activate, |
|
1792 | #filter_activate, | |
1787 | #filter_deactivate { |
|
1793 | #filter_deactivate { | |
1788 | float: left; |
|
1794 | float: left; | |
1789 | margin: 0 0 0 15px; |
|
1795 | margin: 0 0 0 15px; | |
1790 | } |
|
1796 | } | |
1791 |
|
1797 | |||
1792 | h3.files_location{ |
|
1798 | h3.files_location{ | |
1793 | line-height: 2.4em; |
|
1799 | line-height: 2.4em; | |
1794 | } |
|
1800 | } | |
1795 |
|
1801 | |||
1796 | .browser-nav { |
|
1802 | .browser-nav { | |
1797 | display: table; |
|
1803 | display: table; | |
1798 | margin-bottom: @space; |
|
1804 | margin-bottom: @space; | |
1799 |
|
1805 | |||
1800 |
|
1806 | |||
1801 | .info_box { |
|
1807 | .info_box { | |
1802 | display: inline-table; |
|
1808 | display: inline-table; | |
1803 | height: 2.5em; |
|
1809 | height: 2.5em; | |
1804 |
|
1810 | |||
1805 | .browser-cur-rev, .info_box_elem { |
|
1811 | .browser-cur-rev, .info_box_elem { | |
1806 | display: table-cell; |
|
1812 | display: table-cell; | |
1807 | vertical-align: middle; |
|
1813 | vertical-align: middle; | |
1808 | } |
|
1814 | } | |
1809 |
|
1815 | |||
1810 | .info_box_elem { |
|
1816 | .info_box_elem { | |
1811 | border-top: @border-thickness solid @rcblue; |
|
1817 | border-top: @border-thickness solid @rcblue; | |
1812 | border-bottom: @border-thickness solid @rcblue; |
|
1818 | border-bottom: @border-thickness solid @rcblue; | |
1813 |
|
1819 | |||
1814 | #at_rev, a { |
|
1820 | #at_rev, a { | |
1815 | padding: 0.6em 0.9em; |
|
1821 | padding: 0.6em 0.9em; | |
1816 | margin: 0; |
|
1822 | margin: 0; | |
1817 | .box-shadow(none); |
|
1823 | .box-shadow(none); | |
1818 | border: 0; |
|
1824 | border: 0; | |
1819 | height: 12px; |
|
1825 | height: 12px; | |
1820 | } |
|
1826 | } | |
1821 |
|
1827 | |||
1822 | input#at_rev { |
|
1828 | input#at_rev { | |
1823 | max-width: 50px; |
|
1829 | max-width: 50px; | |
1824 | text-align: right; |
|
1830 | text-align: right; | |
1825 | } |
|
1831 | } | |
1826 |
|
1832 | |||
1827 | &.previous { |
|
1833 | &.previous { | |
1828 | border: @border-thickness solid @rcblue; |
|
1834 | border: @border-thickness solid @rcblue; | |
1829 | .disabled { |
|
1835 | .disabled { | |
1830 | color: @grey4; |
|
1836 | color: @grey4; | |
1831 | cursor: not-allowed; |
|
1837 | cursor: not-allowed; | |
1832 | } |
|
1838 | } | |
1833 | } |
|
1839 | } | |
1834 |
|
1840 | |||
1835 | &.next { |
|
1841 | &.next { | |
1836 | border: @border-thickness solid @rcblue; |
|
1842 | border: @border-thickness solid @rcblue; | |
1837 | .disabled { |
|
1843 | .disabled { | |
1838 | color: @grey4; |
|
1844 | color: @grey4; | |
1839 | cursor: not-allowed; |
|
1845 | cursor: not-allowed; | |
1840 | } |
|
1846 | } | |
1841 | } |
|
1847 | } | |
1842 | } |
|
1848 | } | |
1843 |
|
1849 | |||
1844 | .browser-cur-rev { |
|
1850 | .browser-cur-rev { | |
1845 |
|
1851 | |||
1846 | span{ |
|
1852 | span{ | |
1847 | margin: 0; |
|
1853 | margin: 0; | |
1848 | color: @rcblue; |
|
1854 | color: @rcblue; | |
1849 | height: 12px; |
|
1855 | height: 12px; | |
1850 | display: inline-block; |
|
1856 | display: inline-block; | |
1851 | padding: 0.7em 1em ; |
|
1857 | padding: 0.7em 1em ; | |
1852 | border: @border-thickness solid @rcblue; |
|
1858 | border: @border-thickness solid @rcblue; | |
1853 | margin-right: @padding; |
|
1859 | margin-right: @padding; | |
1854 | } |
|
1860 | } | |
1855 | } |
|
1861 | } | |
1856 | } |
|
1862 | } | |
1857 |
|
1863 | |||
1858 | .search_activate { |
|
1864 | .search_activate { | |
1859 | display: table-cell; |
|
1865 | display: table-cell; | |
1860 | vertical-align: middle; |
|
1866 | vertical-align: middle; | |
1861 |
|
1867 | |||
1862 | input, label{ |
|
1868 | input, label{ | |
1863 | margin: 0; |
|
1869 | margin: 0; | |
1864 | padding: 0; |
|
1870 | padding: 0; | |
1865 | } |
|
1871 | } | |
1866 |
|
1872 | |||
1867 | input{ |
|
1873 | input{ | |
1868 | margin-left: @textmargin; |
|
1874 | margin-left: @textmargin; | |
1869 | } |
|
1875 | } | |
1870 |
|
1876 | |||
1871 | } |
|
1877 | } | |
1872 | } |
|
1878 | } | |
1873 |
|
1879 | |||
1874 | .browser-cur-rev{ |
|
1880 | .browser-cur-rev{ | |
1875 | margin-bottom: @textmargin; |
|
1881 | margin-bottom: @textmargin; | |
1876 | } |
|
1882 | } | |
1877 |
|
1883 | |||
1878 | #node_filter_box_loading{ |
|
1884 | #node_filter_box_loading{ | |
1879 | .info_text; |
|
1885 | .info_text; | |
1880 | } |
|
1886 | } | |
1881 |
|
1887 | |||
1882 | .browser-search { |
|
1888 | .browser-search { | |
1883 | margin: -25px 0px 5px 0px; |
|
1889 | margin: -25px 0px 5px 0px; | |
1884 | } |
|
1890 | } | |
1885 |
|
1891 | |||
1886 | .node-filter { |
|
1892 | .node-filter { | |
1887 | font-size: @repo-title-fontsize; |
|
1893 | font-size: @repo-title-fontsize; | |
1888 | padding: 4px 0px 0px 0px; |
|
1894 | padding: 4px 0px 0px 0px; | |
1889 |
|
1895 | |||
1890 | .node-filter-path { |
|
1896 | .node-filter-path { | |
1891 | float: left; |
|
1897 | float: left; | |
1892 | color: @grey4; |
|
1898 | color: @grey4; | |
1893 | } |
|
1899 | } | |
1894 | .node-filter-input { |
|
1900 | .node-filter-input { | |
1895 | float: left; |
|
1901 | float: left; | |
1896 | margin: -2px 0px 0px 2px; |
|
1902 | margin: -2px 0px 0px 2px; | |
1897 | input { |
|
1903 | input { | |
1898 | padding: 2px; |
|
1904 | padding: 2px; | |
1899 | border: none; |
|
1905 | border: none; | |
1900 | font-size: @repo-title-fontsize; |
|
1906 | font-size: @repo-title-fontsize; | |
1901 | } |
|
1907 | } | |
1902 | } |
|
1908 | } | |
1903 | } |
|
1909 | } | |
1904 |
|
1910 | |||
1905 |
|
1911 | |||
1906 | .browser-result{ |
|
1912 | .browser-result{ | |
1907 | td a{ |
|
1913 | td a{ | |
1908 | margin-left: 0.5em; |
|
1914 | margin-left: 0.5em; | |
1909 | display: inline-block; |
|
1915 | display: inline-block; | |
1910 |
|
1916 | |||
1911 | em{ |
|
1917 | em{ | |
1912 | font-family: @text-bold; |
|
1918 | font-family: @text-bold; | |
1913 | } |
|
1919 | } | |
1914 | } |
|
1920 | } | |
1915 | } |
|
1921 | } | |
1916 |
|
1922 | |||
1917 | .browser-highlight{ |
|
1923 | .browser-highlight{ | |
1918 | background-color: @grey5-alpha; |
|
1924 | background-color: @grey5-alpha; | |
1919 | } |
|
1925 | } | |
1920 |
|
1926 | |||
1921 |
|
1927 | |||
1922 | // Search |
|
1928 | // Search | |
1923 |
|
1929 | |||
1924 | .search-form{ |
|
1930 | .search-form{ | |
1925 | #q { |
|
1931 | #q { | |
1926 | width: @search-form-width; |
|
1932 | width: @search-form-width; | |
1927 | } |
|
1933 | } | |
1928 | .fields{ |
|
1934 | .fields{ | |
1929 | margin: 0 0 @space; |
|
1935 | margin: 0 0 @space; | |
1930 | } |
|
1936 | } | |
1931 |
|
1937 | |||
1932 | label{ |
|
1938 | label{ | |
1933 | display: inline-block; |
|
1939 | display: inline-block; | |
1934 | margin-right: @textmargin; |
|
1940 | margin-right: @textmargin; | |
1935 | padding-top: 0.25em; |
|
1941 | padding-top: 0.25em; | |
1936 | } |
|
1942 | } | |
1937 |
|
1943 | |||
1938 |
|
1944 | |||
1939 | .results{ |
|
1945 | .results{ | |
1940 | clear: both; |
|
1946 | clear: both; | |
1941 | margin: 0 0 @padding; |
|
1947 | margin: 0 0 @padding; | |
1942 | } |
|
1948 | } | |
1943 | } |
|
1949 | } | |
1944 |
|
1950 | |||
1945 | div.search-feedback-items { |
|
1951 | div.search-feedback-items { | |
1946 | display: inline-block; |
|
1952 | display: inline-block; | |
1947 | padding:0px 0px 0px 96px; |
|
1953 | padding:0px 0px 0px 96px; | |
1948 | } |
|
1954 | } | |
1949 |
|
1955 | |||
1950 | div.search-code-body { |
|
1956 | div.search-code-body { | |
1951 | background-color: #ffffff; padding: 5px 0 5px 10px; |
|
1957 | background-color: #ffffff; padding: 5px 0 5px 10px; | |
1952 | pre { |
|
1958 | pre { | |
1953 | .match { background-color: #faffa6;} |
|
1959 | .match { background-color: #faffa6;} | |
1954 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } |
|
1960 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } | |
1955 | } |
|
1961 | } | |
1956 | } |
|
1962 | } | |
1957 |
|
1963 | |||
1958 | .expand_commit.search { |
|
1964 | .expand_commit.search { | |
1959 | .show_more.open { |
|
1965 | .show_more.open { | |
1960 | height: auto; |
|
1966 | height: auto; | |
1961 | max-height: none; |
|
1967 | max-height: none; | |
1962 | } |
|
1968 | } | |
1963 | } |
|
1969 | } | |
1964 |
|
1970 | |||
1965 | .search-results { |
|
1971 | .search-results { | |
1966 |
|
1972 | |||
1967 | h2 { |
|
1973 | h2 { | |
1968 | margin-bottom: 0; |
|
1974 | margin-bottom: 0; | |
1969 | } |
|
1975 | } | |
1970 | .codeblock { |
|
1976 | .codeblock { | |
1971 | border: none; |
|
1977 | border: none; | |
1972 | background: transparent; |
|
1978 | background: transparent; | |
1973 | } |
|
1979 | } | |
1974 |
|
1980 | |||
1975 | .codeblock-header { |
|
1981 | .codeblock-header { | |
1976 | border: none; |
|
1982 | border: none; | |
1977 | background: transparent; |
|
1983 | background: transparent; | |
1978 | } |
|
1984 | } | |
1979 |
|
1985 | |||
1980 | .code-body { |
|
1986 | .code-body { | |
1981 | border: @border-thickness solid @border-default-color; |
|
1987 | border: @border-thickness solid @border-default-color; | |
1982 | .border-radius(@border-radius); |
|
1988 | .border-radius(@border-radius); | |
1983 | } |
|
1989 | } | |
1984 |
|
1990 | |||
1985 | .td-commit { |
|
1991 | .td-commit { | |
1986 | &:extend(pre); |
|
1992 | &:extend(pre); | |
1987 | border-bottom: @border-thickness solid @border-default-color; |
|
1993 | border-bottom: @border-thickness solid @border-default-color; | |
1988 | } |
|
1994 | } | |
1989 |
|
1995 | |||
1990 | .message { |
|
1996 | .message { | |
1991 | height: auto; |
|
1997 | height: auto; | |
1992 | max-width: 350px; |
|
1998 | max-width: 350px; | |
1993 | white-space: normal; |
|
1999 | white-space: normal; | |
1994 | text-overflow: initial; |
|
2000 | text-overflow: initial; | |
1995 | overflow: visible; |
|
2001 | overflow: visible; | |
1996 |
|
2002 | |||
1997 | .match { background-color: #faffa6;} |
|
2003 | .match { background-color: #faffa6;} | |
1998 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } |
|
2004 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } | |
1999 | } |
|
2005 | } | |
2000 |
|
2006 | |||
2001 | } |
|
2007 | } | |
2002 |
|
2008 | |||
2003 | table.rctable td.td-search-results div { |
|
2009 | table.rctable td.td-search-results div { | |
2004 | max-width: 100%; |
|
2010 | max-width: 100%; | |
2005 | } |
|
2011 | } | |
2006 |
|
2012 | |||
2007 | #tip-box, .tip-box{ |
|
2013 | #tip-box, .tip-box{ | |
2008 | padding: @menupadding/2; |
|
2014 | padding: @menupadding/2; | |
2009 | display: block; |
|
2015 | display: block; | |
2010 | border: @border-thickness solid @border-highlight-color; |
|
2016 | border: @border-thickness solid @border-highlight-color; | |
2011 | .border-radius(@border-radius); |
|
2017 | .border-radius(@border-radius); | |
2012 | background-color: white; |
|
2018 | background-color: white; | |
2013 | z-index: 99; |
|
2019 | z-index: 99; | |
2014 | white-space: pre-wrap; |
|
2020 | white-space: pre-wrap; | |
2015 | } |
|
2021 | } | |
2016 |
|
2022 | |||
2017 | #linktt { |
|
2023 | #linktt { | |
2018 | width: 79px; |
|
2024 | width: 79px; | |
2019 | } |
|
2025 | } | |
2020 |
|
2026 | |||
2021 | #help_kb .modal-content{ |
|
2027 | #help_kb .modal-content{ | |
2022 | max-width: 750px; |
|
2028 | max-width: 750px; | |
2023 | margin: 10% auto; |
|
2029 | margin: 10% auto; | |
2024 |
|
2030 | |||
2025 | table{ |
|
2031 | table{ | |
2026 | td,th{ |
|
2032 | td,th{ | |
2027 | border-bottom: none; |
|
2033 | border-bottom: none; | |
2028 | line-height: 2.5em; |
|
2034 | line-height: 2.5em; | |
2029 | } |
|
2035 | } | |
2030 | th{ |
|
2036 | th{ | |
2031 | padding-bottom: @textmargin/2; |
|
2037 | padding-bottom: @textmargin/2; | |
2032 | } |
|
2038 | } | |
2033 | td.keys{ |
|
2039 | td.keys{ | |
2034 | text-align: center; |
|
2040 | text-align: center; | |
2035 | } |
|
2041 | } | |
2036 | } |
|
2042 | } | |
2037 |
|
2043 | |||
2038 | .block-left{ |
|
2044 | .block-left{ | |
2039 | width: 45%; |
|
2045 | width: 45%; | |
2040 | margin-right: 5%; |
|
2046 | margin-right: 5%; | |
2041 | } |
|
2047 | } | |
2042 | .modal-footer{ |
|
2048 | .modal-footer{ | |
2043 | clear: both; |
|
2049 | clear: both; | |
2044 | } |
|
2050 | } | |
2045 | .key.tag{ |
|
2051 | .key.tag{ | |
2046 | padding: 0.5em; |
|
2052 | padding: 0.5em; | |
2047 | background-color: @rcblue; |
|
2053 | background-color: @rcblue; | |
2048 | color: white; |
|
2054 | color: white; | |
2049 | border-color: @rcblue; |
|
2055 | border-color: @rcblue; | |
2050 | .box-shadow(none); |
|
2056 | .box-shadow(none); | |
2051 | } |
|
2057 | } | |
2052 | } |
|
2058 | } | |
2053 |
|
2059 | |||
2054 |
|
2060 | |||
2055 |
|
2061 | |||
2056 | //--- IMPORTS FOR REFACTORED STYLES ------------------// |
|
2062 | //--- IMPORTS FOR REFACTORED STYLES ------------------// | |
2057 |
|
2063 | |||
2058 | @import 'statistics-graph'; |
|
2064 | @import 'statistics-graph'; | |
2059 | @import 'tables'; |
|
2065 | @import 'tables'; | |
2060 | @import 'forms'; |
|
2066 | @import 'forms'; | |
2061 | @import 'diff'; |
|
2067 | @import 'diff'; | |
2062 | @import 'summary'; |
|
2068 | @import 'summary'; | |
2063 | @import 'navigation'; |
|
2069 | @import 'navigation'; | |
2064 |
|
2070 | |||
2065 | //--- SHOW/HIDE SECTIONS --// |
|
2071 | //--- SHOW/HIDE SECTIONS --// | |
2066 |
|
2072 | |||
2067 | .btn-collapse { |
|
2073 | .btn-collapse { | |
2068 | float: right; |
|
2074 | float: right; | |
2069 | text-align: right; |
|
2075 | text-align: right; | |
2070 | font-family: @text-light; |
|
2076 | font-family: @text-light; | |
2071 | font-size: @basefontsize; |
|
2077 | font-size: @basefontsize; | |
2072 | cursor: pointer; |
|
2078 | cursor: pointer; | |
2073 | border: none; |
|
2079 | border: none; | |
2074 | color: @rcblue; |
|
2080 | color: @rcblue; | |
2075 | } |
|
2081 | } | |
2076 |
|
2082 | |||
2077 | table.rctable, |
|
2083 | table.rctable, | |
2078 | table.dataTable { |
|
2084 | table.dataTable { | |
2079 | .btn-collapse { |
|
2085 | .btn-collapse { | |
2080 | float: right; |
|
2086 | float: right; | |
2081 | text-align: right; |
|
2087 | text-align: right; | |
2082 | } |
|
2088 | } | |
2083 | } |
|
2089 | } | |
2084 |
|
2090 | |||
2085 |
|
2091 | |||
2086 | // TODO: johbo: Fix for IE10, this avoids that we see a border |
|
2092 | // TODO: johbo: Fix for IE10, this avoids that we see a border | |
2087 | // and padding around checkboxes and radio boxes. Move to the right place, |
|
2093 | // and padding around checkboxes and radio boxes. Move to the right place, | |
2088 | // or better: Remove this once we did the form refactoring. |
|
2094 | // or better: Remove this once we did the form refactoring. | |
2089 | input[type=checkbox], |
|
2095 | input[type=checkbox], | |
2090 | input[type=radio] { |
|
2096 | input[type=radio] { | |
2091 | padding: 0; |
|
2097 | padding: 0; | |
2092 | border: none; |
|
2098 | border: none; | |
2093 | } |
|
2099 | } |
@@ -1,153 +1,157 b'' | |||||
1 | <%namespace name="base" file="/base/base.html"/> |
|
1 | <%namespace name="base" file="/base/base.html"/> | |
2 |
|
2 | |||
3 | <div class="panel panel-default"> |
|
3 | <div class="panel panel-default"> | |
4 | <div class="panel-body"> |
|
4 | <div class="panel-body"> | |
5 | %if c.show_closed: |
|
5 | %if c.show_closed: | |
6 | ${h.checkbox('show_closed',checked="checked", label=_('Show Closed Pull Requests'))} |
|
6 | ${h.checkbox('show_closed',checked="checked", label=_('Show Closed Pull Requests'))} | |
7 | %else: |
|
7 | %else: | |
8 | ${h.checkbox('show_closed',label=_('Show Closed Pull Requests'))} |
|
8 | ${h.checkbox('show_closed',label=_('Show Closed Pull Requests'))} | |
9 | %endif |
|
9 | %endif | |
10 | </div> |
|
10 | </div> | |
11 | </div> |
|
11 | </div> | |
12 |
|
12 | |||
13 | <div class="panel panel-default"> |
|
13 | <div class="panel panel-default"> | |
14 | <div class="panel-heading"> |
|
14 | <div class="panel-heading"> | |
15 | <h3 class="panel-title">${_('Pull Requests You Opened')}</h3> |
|
15 | <h3 class="panel-title">${_('Pull Requests You Opened')}</h3> | |
16 | </div> |
|
16 | </div> | |
17 | <div class="panel-body"> |
|
17 | <div class="panel-body"> | |
18 | <div class="pullrequestlist"> |
|
18 | <div class="pullrequestlist"> | |
19 | %if c.my_pull_requests: |
|
19 | %if c.my_pull_requests: | |
20 | <table class="rctable"> |
|
20 | <table class="rctable"> | |
21 | <thead> |
|
21 | <thead> | |
22 | <th class="td-status"></th> |
|
22 | <th class="td-status"></th> | |
23 | <th>${_('Target Repo')}</th> |
|
23 | <th>${_('Target Repo')}</th> | |
24 | <th>${_('Author')}</th> |
|
24 | <th>${_('Author')}</th> | |
25 | <th></th> |
|
25 | <th></th> | |
26 | <th>${_('Title')}</th> |
|
26 | <th>${_('Title')}</th> | |
27 | <th class="td-time">${_('Opened On')}</th> |
|
27 | <th class="td-time">${_('Opened On')}</th> | |
28 | <th></th> |
|
28 | <th></th> | |
29 | </thead> |
|
29 | </thead> | |
30 | %for pull_request in c.my_pull_requests: |
|
30 | %for pull_request in c.my_pull_requests: | |
31 | <tr class="${'closed' if pull_request.is_closed() else ''} prwrapper"> |
|
31 | <tr class="${'closed' if pull_request.is_closed() else ''} prwrapper"> | |
32 | <td class="td-status"> |
|
32 | <td class="td-status"> | |
33 | <div class="${'flag_status %s' % pull_request.calculated_review_status()} pull-left"></div> |
|
33 | <div class="${'flag_status %s' % pull_request.calculated_review_status()} pull-left"></div> | |
34 | </td> |
|
34 | </td> | |
35 | <td class="td-componentname"> |
|
35 | <td class="truncate-wrap td-componentname"> | |
36 | ${h.link_to(pull_request.target_repo.repo_name,h.url('summary_home',repo_name=pull_request.target_repo.repo_name))} |
|
36 | <div class="truncate"> | |
|
37 | ${h.link_to(pull_request.target_repo.repo_name,h.url('summary_home',repo_name=pull_request.target_repo.repo_name))} | |||
|
38 | </div> | |||
37 | </td> |
|
39 | </td> | |
38 | <td class="user"> |
|
40 | <td class="user"> | |
39 | ${base.gravatar_with_user(pull_request.author.email, 16)} |
|
41 | ${base.gravatar_with_user(pull_request.author.email, 16)} | |
40 | </td> |
|
42 | </td> | |
41 | <td class="td-message expand_commit" data-pr-id="m${pull_request.pull_request_id}" title="${_('Expand commit message')}"> |
|
43 | <td class="td-message expand_commit" data-pr-id="m${pull_request.pull_request_id}" title="${_('Expand commit message')}"> | |
42 | <div class="show_more_col"> |
|
44 | <div class="show_more_col"> | |
43 | <i class="show_more"></i> |
|
45 | <i class="show_more"></i> | |
44 | </div> |
|
46 | </div> | |
45 | </td> |
|
47 | </td> | |
46 | <td class="mid td-description"> |
|
48 | <td class="mid td-description"> | |
47 | <div class="log-container truncate-wrap"> |
|
49 | <div class="log-container truncate-wrap"> | |
48 | <div class="message truncate" id="c-m${pull_request.pull_request_id}"><a href="${h.url('pullrequest_show',repo_name=pull_request.target_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">#${pull_request.pull_request_id}: ${pull_request.title}</a>\ |
|
50 | <div class="message truncate" id="c-m${pull_request.pull_request_id}"><a href="${h.url('pullrequest_show',repo_name=pull_request.target_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">#${pull_request.pull_request_id}: ${pull_request.title}</a>\ | |
49 | %if pull_request.is_closed(): |
|
51 | %if pull_request.is_closed(): | |
50 | (${_('Closed')})\ |
|
52 | (${_('Closed')})\ | |
51 | %endif |
|
53 | %endif | |
52 | <br/>${pull_request.description}</div> |
|
54 | <br/>${pull_request.description}</div> | |
53 | </div> |
|
55 | </div> | |
54 | </td> |
|
56 | </td> | |
55 |
|
57 | |||
56 | <td class="td-time"> |
|
58 | <td class="td-time"> | |
57 | ${h.age_component(pull_request.created_on)} |
|
59 | ${h.age_component(pull_request.created_on)} | |
58 | </td> |
|
60 | </td> | |
59 | <td class="td-action repolist_actions"> |
|
61 | <td class="td-action repolist_actions"> | |
60 | ${h.secure_form(url('pullrequest_delete', repo_name=pull_request.target_repo.repo_name, pull_request_id=pull_request.pull_request_id),method='delete')} |
|
62 | ${h.secure_form(url('pullrequest_delete', repo_name=pull_request.target_repo.repo_name, pull_request_id=pull_request.pull_request_id),method='delete')} | |
61 | ${h.submit('remove_%s' % pull_request.pull_request_id, _('Delete'), |
|
63 | ${h.submit('remove_%s' % pull_request.pull_request_id, _('Delete'), | |
62 | class_="btn btn-link btn-danger",onclick="return confirm('"+_('Confirm to delete this pull request')+"');")} |
|
64 | class_="btn btn-link btn-danger",onclick="return confirm('"+_('Confirm to delete this pull request')+"');")} | |
63 | ${h.end_form()} |
|
65 | ${h.end_form()} | |
64 | </td> |
|
66 | </td> | |
65 | </tr> |
|
67 | </tr> | |
66 | %endfor |
|
68 | %endfor | |
67 | </table> |
|
69 | </table> | |
68 | %else: |
|
70 | %else: | |
69 | <h2><span class="empty_data">${_('You currently have no open pull requests.')}</span></h2> |
|
71 | <h2><span class="empty_data">${_('You currently have no open pull requests.')}</span></h2> | |
70 | %endif |
|
72 | %endif | |
71 | </div> |
|
73 | </div> | |
72 | </div> |
|
74 | </div> | |
73 | </div> |
|
75 | </div> | |
74 |
|
76 | |||
75 | <div class="panel panel-default"> |
|
77 | <div class="panel panel-default"> | |
76 | <div class="panel-heading"> |
|
78 | <div class="panel-heading"> | |
77 | <h3 class="panel-title">${_('Pull Requests You Participate In')}</h3> |
|
79 | <h3 class="panel-title">${_('Pull Requests You Participate In')}</h3> | |
78 | </div> |
|
80 | </div> | |
79 |
|
81 | |||
80 | <div class="panel-body"> |
|
82 | <div class="panel-body"> | |
81 | <div class="pullrequestlist"> |
|
83 | <div class="pullrequestlist"> | |
82 | %if c.participate_in_pull_requests: |
|
84 | %if c.participate_in_pull_requests: | |
83 | <table class="rctable"> |
|
85 | <table class="rctable"> | |
84 | <thead> |
|
86 | <thead> | |
85 | <th class="td-status"></th> |
|
87 | <th class="td-status"></th> | |
86 | <th>${_('Target Repo')}</th> |
|
88 | <th>${_('Target Repo')}</th> | |
87 | <th>${_('Author')}</th> |
|
89 | <th>${_('Author')}</th> | |
88 | <th></th> |
|
90 | <th></th> | |
89 | <th>${_('Title')}</th> |
|
91 | <th>${_('Title')}</th> | |
90 | <th class="td-time">${_('Opened On')}</th> |
|
92 | <th class="td-time">${_('Opened On')}</th> | |
91 | </thead> |
|
93 | </thead> | |
92 | %for pull_request in c.participate_in_pull_requests: |
|
94 | %for pull_request in c.participate_in_pull_requests: | |
93 | <tr class="${'closed' if pull_request.is_closed() else ''} prwrapper"> |
|
95 | <tr class="${'closed' if pull_request.is_closed() else ''} prwrapper"> | |
94 | <td class="td-status"> |
|
96 | <td class="td-status"> | |
95 | <div class="${'flag_status %s' % pull_request.calculated_review_status()} pull-left"></div> |
|
97 | <div class="${'flag_status %s' % pull_request.calculated_review_status()} pull-left"></div> | |
96 | </td> |
|
98 | </td> | |
97 | <td class="td-componentname"> |
|
99 | <td class="truncate-wrap td-componentname"> | |
98 | ${h.link_to(pull_request.target_repo.repo_name,h.url('summary_home',repo_name=pull_request.target_repo.repo_name))} |
|
100 | <div class="truncate"> | |
|
101 | ${h.link_to(pull_request.target_repo.repo_name,h.url('summary_home',repo_name=pull_request.target_repo.repo_name))} | |||
|
102 | </div> | |||
99 | </td> |
|
103 | </td> | |
100 | <td class="user"> |
|
104 | <td class="user"> | |
101 | ${base.gravatar_with_user(pull_request.author.email, 16)} |
|
105 | ${base.gravatar_with_user(pull_request.author.email, 16)} | |
102 | </td> |
|
106 | </td> | |
103 | <td class="td-message expand_commit" data-pr-id="p${pull_request.pull_request_id}" title="${_('Expand commit message')}"> |
|
107 | <td class="td-message expand_commit" data-pr-id="p${pull_request.pull_request_id}" title="${_('Expand commit message')}"> | |
104 | <div class="show_more_col"> |
|
108 | <div class="show_more_col"> | |
105 | <i class="show_more"></i> |
|
109 | <i class="show_more"></i> | |
106 | </div> |
|
110 | </div> | |
107 | </td> |
|
111 | </td> | |
108 | <td class="mid td-description"> |
|
112 | <td class="mid td-description"> | |
109 | <div class="log-container truncate-wrap"> |
|
113 | <div class="log-container truncate-wrap"> | |
110 | <div class="message truncate" id="c-p${pull_request.pull_request_id}"><a href="${h.url('pullrequest_show',repo_name=pull_request.target_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">#${pull_request.pull_request_id}: ${pull_request.title}</a>\ |
|
114 | <div class="message truncate" id="c-p${pull_request.pull_request_id}"><a href="${h.url('pullrequest_show',repo_name=pull_request.target_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">#${pull_request.pull_request_id}: ${pull_request.title}</a>\ | |
111 | %if pull_request.is_closed(): |
|
115 | %if pull_request.is_closed(): | |
112 | (${_('Closed')})\ |
|
116 | (${_('Closed')})\ | |
113 | %endif |
|
117 | %endif | |
114 | <br/>${pull_request.description}</div> |
|
118 | <br/>${pull_request.description}</div> | |
115 | </div> |
|
119 | </div> | |
116 | </td> |
|
120 | </td> | |
117 |
|
121 | |||
118 | <td class="td-time"> |
|
122 | <td class="td-time"> | |
119 | ${h.age_component(pull_request.created_on)} |
|
123 | ${h.age_component(pull_request.created_on)} | |
120 | </td> |
|
124 | </td> | |
121 | </tr> |
|
125 | </tr> | |
122 | %endfor |
|
126 | %endfor | |
123 | </table> |
|
127 | </table> | |
124 | %else: |
|
128 | %else: | |
125 | <h2 class="empty_data">${_('There are currently no open pull requests requiring your participation.')}</h2> |
|
129 | <h2 class="empty_data">${_('There are currently no open pull requests requiring your participation.')}</h2> | |
126 | %endif |
|
130 | %endif | |
127 | </div> |
|
131 | </div> | |
128 | </div> |
|
132 | </div> | |
129 | </div> |
|
133 | </div> | |
130 |
|
134 | |||
131 | <script> |
|
135 | <script> | |
132 | $('#show_closed').on('click', function(e){ |
|
136 | $('#show_closed').on('click', function(e){ | |
133 | if($(this).is(":checked")){ |
|
137 | if($(this).is(":checked")){ | |
134 | window.location = "${h.url('my_account_pullrequests', pr_show_closed=1)}"; |
|
138 | window.location = "${h.url('my_account_pullrequests', pr_show_closed=1)}"; | |
135 | } |
|
139 | } | |
136 | else{ |
|
140 | else{ | |
137 | window.location = "${h.url('my_account_pullrequests')}"; |
|
141 | window.location = "${h.url('my_account_pullrequests')}"; | |
138 | } |
|
142 | } | |
139 | }); |
|
143 | }); | |
140 | $('.expand_commit').on('click',function(e){ |
|
144 | $('.expand_commit').on('click',function(e){ | |
141 | var target_expand = $(this); |
|
145 | var target_expand = $(this); | |
142 | var cid = target_expand.data('prId'); |
|
146 | var cid = target_expand.data('prId'); | |
143 |
|
147 | |||
144 | if (target_expand.hasClass('open')){ |
|
148 | if (target_expand.hasClass('open')){ | |
145 | $('#c-'+cid).css({'height': '2.75em', 'text-overflow': 'ellipsis', 'overflow':'hidden'}); |
|
149 | $('#c-'+cid).css({'height': '2.75em', 'text-overflow': 'ellipsis', 'overflow':'hidden'}); | |
146 | target_expand.removeClass('open'); |
|
150 | target_expand.removeClass('open'); | |
147 | } |
|
151 | } | |
148 | else { |
|
152 | else { | |
149 | $('#c-'+cid).css({'height': 'auto', 'text-overflow': 'initial', 'overflow':'visible'}); |
|
153 | $('#c-'+cid).css({'height': 'auto', 'text-overflow': 'initial', 'overflow':'visible'}); | |
150 | target_expand.addClass('open'); |
|
154 | target_expand.addClass('open'); | |
151 | } |
|
155 | } | |
152 | }); |
|
156 | }); | |
153 | </script> |
|
157 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now