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