Show More
@@ -1,1263 +1,1263 b'' | |||||
1 | // Default styles |
|
1 | // Default styles | |
2 |
|
2 | |||
3 | .diff-collapse { |
|
3 | .diff-collapse { | |
4 | margin: @padding 0; |
|
4 | margin: @padding 0; | |
5 | text-align: right; |
|
5 | text-align: right; | |
6 | } |
|
6 | } | |
7 |
|
7 | |||
8 | .diff-container { |
|
8 | .diff-container { | |
9 | margin-bottom: @space; |
|
9 | margin-bottom: @space; | |
10 |
|
10 | |||
11 | .diffblock { |
|
11 | .diffblock { | |
12 | margin-bottom: @space; |
|
12 | margin-bottom: @space; | |
13 | } |
|
13 | } | |
14 |
|
14 | |||
15 | &.hidden { |
|
15 | &.hidden { | |
16 | display: none; |
|
16 | display: none; | |
17 | overflow: hidden; |
|
17 | overflow: hidden; | |
18 | } |
|
18 | } | |
19 | } |
|
19 | } | |
20 |
|
20 | |||
21 |
|
21 | |||
22 | div.diffblock .sidebyside { |
|
22 | div.diffblock .sidebyside { | |
23 | background: #ffffff; |
|
23 | background: #ffffff; | |
24 | } |
|
24 | } | |
25 |
|
25 | |||
26 | div.diffblock { |
|
26 | div.diffblock { | |
27 | overflow-x: auto; |
|
27 | overflow-x: auto; | |
28 | overflow-y: hidden; |
|
28 | overflow-y: hidden; | |
29 | clear: both; |
|
29 | clear: both; | |
30 | padding: 0px; |
|
30 | padding: 0px; | |
31 | background: @grey6; |
|
31 | background: @grey6; | |
32 | border: @border-thickness solid @grey5; |
|
32 | border: @border-thickness solid @grey5; | |
33 | -webkit-border-radius: @border-radius @border-radius 0px 0px; |
|
33 | -webkit-border-radius: @border-radius @border-radius 0px 0px; | |
34 | border-radius: @border-radius @border-radius 0px 0px; |
|
34 | border-radius: @border-radius @border-radius 0px 0px; | |
35 |
|
35 | |||
36 |
|
36 | |||
37 | .comments-number { |
|
37 | .comments-number { | |
38 | float: right; |
|
38 | float: right; | |
39 | } |
|
39 | } | |
40 |
|
40 | |||
41 | // BEGIN CODE-HEADER STYLES |
|
41 | // BEGIN CODE-HEADER STYLES | |
42 |
|
42 | |||
43 | .code-header { |
|
43 | .code-header { | |
44 | background: @grey6; |
|
44 | background: @grey6; | |
45 | padding: 10px 0 10px 0; |
|
45 | padding: 10px 0 10px 0; | |
46 | height: auto; |
|
46 | height: auto; | |
47 | width: 100%; |
|
47 | width: 100%; | |
48 |
|
48 | |||
49 | .hash { |
|
49 | .hash { | |
50 | float: left; |
|
50 | float: left; | |
51 | padding: 2px 0 0 2px; |
|
51 | padding: 2px 0 0 2px; | |
52 | } |
|
52 | } | |
53 |
|
53 | |||
54 | .date { |
|
54 | .date { | |
55 | float: left; |
|
55 | float: left; | |
56 | text-transform: uppercase; |
|
56 | text-transform: uppercase; | |
57 | padding: 4px 0px 0px 2px; |
|
57 | padding: 4px 0px 0px 2px; | |
58 | } |
|
58 | } | |
59 |
|
59 | |||
60 | div { |
|
60 | div { | |
61 | margin-left: 4px; |
|
61 | margin-left: 4px; | |
62 | } |
|
62 | } | |
63 |
|
63 | |||
64 | div.compare_header { |
|
64 | div.compare_header { | |
65 | min-height: 40px; |
|
65 | min-height: 40px; | |
66 | margin: 0; |
|
66 | margin: 0; | |
67 | padding: 0 @padding; |
|
67 | padding: 0 @padding; | |
68 |
|
68 | |||
69 | .drop-menu { |
|
69 | .drop-menu { | |
70 | float:left; |
|
70 | float:left; | |
71 | display: block; |
|
71 | display: block; | |
72 | margin:0 0 @padding 0; |
|
72 | margin:0 0 @padding 0; | |
73 | } |
|
73 | } | |
74 |
|
74 | |||
75 | .compare-label { |
|
75 | .compare-label { | |
76 | float: left; |
|
76 | float: left; | |
77 | clear: both; |
|
77 | clear: both; | |
78 | display: inline-block; |
|
78 | display: inline-block; | |
79 | min-width: 5em; |
|
79 | min-width: 5em; | |
80 | margin: 0; |
|
80 | margin: 0; | |
81 | padding: @button-padding @button-padding @button-padding 0; |
|
81 | padding: @button-padding @button-padding @button-padding 0; | |
82 | font-weight: @text-semibold-weight; |
|
82 | font-weight: @text-semibold-weight; | |
83 | font-family: @text-semibold; |
|
83 | font-family: @text-semibold; | |
84 | } |
|
84 | } | |
85 |
|
85 | |||
86 | .compare-buttons { |
|
86 | .compare-buttons { | |
87 | float: left; |
|
87 | float: left; | |
88 | margin: 0; |
|
88 | margin: 0; | |
89 | padding: 0 0 @padding; |
|
89 | padding: 0 0 @padding; | |
90 |
|
90 | |||
91 | .btn { |
|
91 | .btn { | |
92 | margin: 0 @padding 0 0; |
|
92 | margin: 0 @padding 0 0; | |
93 | } |
|
93 | } | |
94 | } |
|
94 | } | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
97 | } |
|
97 | } | |
98 |
|
98 | |||
99 | .parents { |
|
99 | .parents { | |
100 | float: left; |
|
100 | float: left; | |
101 | width: 100px; |
|
101 | width: 100px; | |
102 | font-weight: 400; |
|
102 | font-weight: 400; | |
103 | vertical-align: middle; |
|
103 | vertical-align: middle; | |
104 | padding: 0px 2px 0px 2px; |
|
104 | padding: 0px 2px 0px 2px; | |
105 | background-color: @grey6; |
|
105 | background-color: @grey6; | |
106 |
|
106 | |||
107 | #parent_link { |
|
107 | #parent_link { | |
108 | margin: 00px 2px; |
|
108 | margin: 00px 2px; | |
109 |
|
109 | |||
110 | &.double { |
|
110 | &.double { | |
111 | margin: 0px 2px; |
|
111 | margin: 0px 2px; | |
112 | } |
|
112 | } | |
113 |
|
113 | |||
114 | &.disabled{ |
|
114 | &.disabled{ | |
115 | margin-right: @padding; |
|
115 | margin-right: @padding; | |
116 | } |
|
116 | } | |
117 | } |
|
117 | } | |
118 | } |
|
118 | } | |
119 |
|
119 | |||
120 | .children { |
|
120 | .children { | |
121 | float: right; |
|
121 | float: right; | |
122 | width: 100px; |
|
122 | width: 100px; | |
123 | font-weight: 400; |
|
123 | font-weight: 400; | |
124 | vertical-align: middle; |
|
124 | vertical-align: middle; | |
125 | text-align: right; |
|
125 | text-align: right; | |
126 | padding: 0px 2px 0px 2px; |
|
126 | padding: 0px 2px 0px 2px; | |
127 | background-color: @grey6; |
|
127 | background-color: @grey6; | |
128 |
|
128 | |||
129 | #child_link { |
|
129 | #child_link { | |
130 | margin: 0px 2px; |
|
130 | margin: 0px 2px; | |
131 |
|
131 | |||
132 | &.double { |
|
132 | &.double { | |
133 | margin: 0px 2px; |
|
133 | margin: 0px 2px; | |
134 | } |
|
134 | } | |
135 |
|
135 | |||
136 | &.disabled{ |
|
136 | &.disabled{ | |
137 | margin-right: @padding; |
|
137 | margin-right: @padding; | |
138 | } |
|
138 | } | |
139 | } |
|
139 | } | |
140 | } |
|
140 | } | |
141 |
|
141 | |||
142 | .changeset_header { |
|
142 | .changeset_header { | |
143 | height: 16px; |
|
143 | height: 16px; | |
144 |
|
144 | |||
145 | & > div{ |
|
145 | & > div{ | |
146 | margin-right: @padding; |
|
146 | margin-right: @padding; | |
147 | } |
|
147 | } | |
148 | } |
|
148 | } | |
149 |
|
149 | |||
150 | .changeset_file { |
|
150 | .changeset_file { | |
151 | text-align: left; |
|
151 | text-align: left; | |
152 | float: left; |
|
152 | float: left; | |
153 | padding: 0; |
|
153 | padding: 0; | |
154 |
|
154 | |||
155 | a{ |
|
155 | a{ | |
156 | display: inline-block; |
|
156 | display: inline-block; | |
157 | margin-right: 0.5em; |
|
157 | margin-right: 0.5em; | |
158 | } |
|
158 | } | |
159 |
|
159 | |||
160 | #selected_mode{ |
|
160 | #selected_mode{ | |
161 | margin-left: 0; |
|
161 | margin-left: 0; | |
162 | } |
|
162 | } | |
163 | } |
|
163 | } | |
164 |
|
164 | |||
165 | .diff-menu-wrapper { |
|
165 | .diff-menu-wrapper { | |
166 | float: left; |
|
166 | float: left; | |
167 | } |
|
167 | } | |
168 |
|
168 | |||
169 | .diff-menu { |
|
169 | .diff-menu { | |
170 | position: absolute; |
|
170 | position: absolute; | |
171 | background: none repeat scroll 0 0 #FFFFFF; |
|
171 | background: none repeat scroll 0 0 #FFFFFF; | |
172 | border-color: #003367 @grey3 @grey3; |
|
172 | border-color: #003367 @grey3 @grey3; | |
173 | border-right: 1px solid @grey3; |
|
173 | border-right: 1px solid @grey3; | |
174 | border-style: solid solid solid; |
|
174 | border-style: solid solid solid; | |
175 | border-width: @border-thickness; |
|
175 | border-width: @border-thickness; | |
176 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); |
|
176 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); | |
177 | margin-top: 5px; |
|
177 | margin-top: 5px; | |
178 | margin-left: 1px; |
|
178 | margin-left: 1px; | |
179 | } |
|
179 | } | |
180 |
|
180 | |||
181 | .diff-actions, .editor-actions { |
|
181 | .diff-actions, .editor-actions { | |
182 | float: left; |
|
182 | float: left; | |
183 |
|
183 | |||
184 | input{ |
|
184 | input{ | |
185 | margin: 0 0.5em 0 0; |
|
185 | margin: 0 0.5em 0 0; | |
186 | } |
|
186 | } | |
187 | } |
|
187 | } | |
188 |
|
188 | |||
189 | // END CODE-HEADER STYLES |
|
189 | // END CODE-HEADER STYLES | |
190 |
|
190 | |||
191 | // BEGIN CODE-BODY STYLES |
|
191 | // BEGIN CODE-BODY STYLES | |
192 |
|
192 | |||
193 | .code-body { |
|
193 | .code-body { | |
194 | padding: 0; |
|
194 | padding: 0; | |
195 | background-color: #ffffff; |
|
195 | background-color: #ffffff; | |
196 | position: relative; |
|
196 | position: relative; | |
197 | max-width: none; |
|
197 | max-width: none; | |
198 | box-sizing: border-box; |
|
198 | box-sizing: border-box; | |
199 | // TODO: johbo: Parent has overflow: auto, this forces the child here |
|
199 | // TODO: johbo: Parent has overflow: auto, this forces the child here | |
200 | // to have the intended size and to scroll. Should be simplified. |
|
200 | // to have the intended size and to scroll. Should be simplified. | |
201 | width: 100%; |
|
201 | width: 100%; | |
202 | overflow-x: auto; |
|
202 | overflow-x: auto; | |
203 | } |
|
203 | } | |
204 |
|
204 | |||
205 | pre.raw { |
|
205 | pre.raw { | |
206 | background: white; |
|
206 | background: white; | |
207 | color: @grey1; |
|
207 | color: @grey1; | |
208 | } |
|
208 | } | |
209 | // END CODE-BODY STYLES |
|
209 | // END CODE-BODY STYLES | |
210 |
|
210 | |||
211 | } |
|
211 | } | |
212 |
|
212 | |||
213 |
|
213 | |||
214 | table.code-difftable { |
|
214 | table.code-difftable { | |
215 | border-collapse: collapse; |
|
215 | border-collapse: collapse; | |
216 | width: 99%; |
|
216 | width: 99%; | |
217 | border-radius: 0px !important; |
|
217 | border-radius: 0px !important; | |
218 |
|
218 | |||
219 | td { |
|
219 | td { | |
220 | padding: 0 !important; |
|
220 | padding: 0 !important; | |
221 | background: none !important; |
|
221 | background: none !important; | |
222 | border: 0 !important; |
|
222 | border: 0 !important; | |
223 | } |
|
223 | } | |
224 |
|
224 | |||
225 | .context { |
|
225 | .context { | |
226 | background: none repeat scroll 0 0 #DDE7EF; |
|
226 | background: none repeat scroll 0 0 #DDE7EF; | |
227 | } |
|
227 | } | |
228 |
|
228 | |||
229 | .add { |
|
229 | .add { | |
230 | background: none repeat scroll 0 0 #DDFFDD; |
|
230 | background: none repeat scroll 0 0 #DDFFDD; | |
231 |
|
231 | |||
232 | ins { |
|
232 | ins { | |
233 | background: none repeat scroll 0 0 #AAFFAA; |
|
233 | background: none repeat scroll 0 0 #AAFFAA; | |
234 | text-decoration: none; |
|
234 | text-decoration: none; | |
235 | } |
|
235 | } | |
236 | } |
|
236 | } | |
237 |
|
237 | |||
238 | .del { |
|
238 | .del { | |
239 | background: none repeat scroll 0 0 #FFDDDD; |
|
239 | background: none repeat scroll 0 0 #FFDDDD; | |
240 |
|
240 | |||
241 | del { |
|
241 | del { | |
242 | background: none repeat scroll 0 0 #FFAAAA; |
|
242 | background: none repeat scroll 0 0 #FFAAAA; | |
243 | text-decoration: none; |
|
243 | text-decoration: none; | |
244 | } |
|
244 | } | |
245 | } |
|
245 | } | |
246 |
|
246 | |||
247 | /** LINE NUMBERS **/ |
|
247 | /** LINE NUMBERS **/ | |
248 | .lineno { |
|
248 | .lineno { | |
249 | padding-left: 2px !important; |
|
249 | padding-left: 2px !important; | |
250 | padding-right: 2px; |
|
250 | padding-right: 2px; | |
251 | text-align: right; |
|
251 | text-align: right; | |
252 | width: 32px; |
|
252 | width: 32px; | |
253 | -moz-user-select: none; |
|
253 | -moz-user-select: none; | |
254 | -webkit-user-select: none; |
|
254 | -webkit-user-select: none; | |
255 | border-right: @border-thickness solid @grey5 !important; |
|
255 | border-right: @border-thickness solid @grey5 !important; | |
256 | border-left: 0px solid #CCC !important; |
|
256 | border-left: 0px solid #CCC !important; | |
257 | border-top: 0px solid #CCC !important; |
|
257 | border-top: 0px solid #CCC !important; | |
258 | border-bottom: none !important; |
|
258 | border-bottom: none !important; | |
259 |
|
259 | |||
260 | a { |
|
260 | a { | |
261 | &:extend(pre); |
|
261 | &:extend(pre); | |
262 | text-align: right; |
|
262 | text-align: right; | |
263 | padding-right: 2px; |
|
263 | padding-right: 2px; | |
264 | cursor: pointer; |
|
264 | cursor: pointer; | |
265 | display: block; |
|
265 | display: block; | |
266 | width: 32px; |
|
266 | width: 32px; | |
267 | } |
|
267 | } | |
268 | } |
|
268 | } | |
269 |
|
269 | |||
270 | .context { |
|
270 | .context { | |
271 | cursor: auto; |
|
271 | cursor: auto; | |
272 | &:extend(pre); |
|
272 | &:extend(pre); | |
273 | } |
|
273 | } | |
274 |
|
274 | |||
275 | .lineno-inline { |
|
275 | .lineno-inline { | |
276 | background: none repeat scroll 0 0 #FFF !important; |
|
276 | background: none repeat scroll 0 0 #FFF !important; | |
277 | padding-left: 2px; |
|
277 | padding-left: 2px; | |
278 | padding-right: 2px; |
|
278 | padding-right: 2px; | |
279 | text-align: right; |
|
279 | text-align: right; | |
280 | width: 30px; |
|
280 | width: 30px; | |
281 | -moz-user-select: none; |
|
281 | -moz-user-select: none; | |
282 | -webkit-user-select: none; |
|
282 | -webkit-user-select: none; | |
283 | } |
|
283 | } | |
284 |
|
284 | |||
285 | /** CODE **/ |
|
285 | /** CODE **/ | |
286 | .code { |
|
286 | .code { | |
287 | display: block; |
|
287 | display: block; | |
288 | width: 100%; |
|
288 | width: 100%; | |
289 |
|
289 | |||
290 | td { |
|
290 | td { | |
291 | margin: 0; |
|
291 | margin: 0; | |
292 | padding: 0; |
|
292 | padding: 0; | |
293 | } |
|
293 | } | |
294 |
|
294 | |||
295 | pre { |
|
295 | pre { | |
296 | margin: 0; |
|
296 | margin: 0; | |
297 | padding: 0; |
|
297 | padding: 0; | |
298 | margin-left: .5em; |
|
298 | margin-left: .5em; | |
299 | } |
|
299 | } | |
300 | } |
|
300 | } | |
301 | } |
|
301 | } | |
302 |
|
302 | |||
303 |
|
303 | |||
304 | // Comments |
|
304 | // Comments | |
305 |
|
305 | |||
306 | div.comment:target { |
|
306 | div.comment:target { | |
307 | border-left: 6px solid @comment-highlight-color !important; |
|
307 | border-left: 6px solid @comment-highlight-color !important; | |
308 | padding-left: 3px; |
|
308 | padding-left: 3px; | |
309 | margin-left: -9px; |
|
309 | margin-left: -9px; | |
310 | } |
|
310 | } | |
311 |
|
311 | |||
312 | //TODO: anderson: can't get an absolute number out of anything, so had to put the |
|
312 | //TODO: anderson: can't get an absolute number out of anything, so had to put the | |
313 | //current values that might change. But to make it clear I put as a calculation |
|
313 | //current values that might change. But to make it clear I put as a calculation | |
314 | @comment-max-width: 1065px; |
|
314 | @comment-max-width: 1065px; | |
315 | @pr-extra-margin: 34px; |
|
315 | @pr-extra-margin: 34px; | |
316 | @pr-border-spacing: 4px; |
|
316 | @pr-border-spacing: 4px; | |
317 | @pr-comment-width: @comment-max-width - @pr-extra-margin - @pr-border-spacing; |
|
317 | @pr-comment-width: @comment-max-width - @pr-extra-margin - @pr-border-spacing; | |
318 |
|
318 | |||
319 | // Pull Request |
|
319 | // Pull Request | |
320 | .cs_files .code-difftable { |
|
320 | .cs_files .code-difftable { | |
321 | border: @border-thickness solid @grey5; //borders only on PRs |
|
321 | border: @border-thickness solid @grey5; //borders only on PRs | |
322 |
|
322 | |||
323 | .comment-inline-form, |
|
323 | .comment-inline-form, | |
324 | div.comment { |
|
324 | div.comment { | |
325 | width: @pr-comment-width; |
|
325 | width: @pr-comment-width; | |
326 | } |
|
326 | } | |
327 | } |
|
327 | } | |
328 |
|
328 | |||
329 | // Changeset |
|
329 | // Changeset | |
330 | .code-difftable { |
|
330 | .code-difftable { | |
331 | .comment-inline-form, |
|
331 | .comment-inline-form, | |
332 | div.comment { |
|
332 | div.comment { | |
333 | width: @comment-max-width; |
|
333 | width: @comment-max-width; | |
334 | } |
|
334 | } | |
335 | } |
|
335 | } | |
336 |
|
336 | |||
337 | //Style page |
|
337 | //Style page | |
338 | @style-extra-margin: @sidebar-width + (@sidebarpadding * 3) + @padding; |
|
338 | @style-extra-margin: @sidebar-width + (@sidebarpadding * 3) + @padding; | |
339 | #style-page .code-difftable{ |
|
339 | #style-page .code-difftable{ | |
340 | .comment-inline-form, |
|
340 | .comment-inline-form, | |
341 | div.comment { |
|
341 | div.comment { | |
342 | width: @comment-max-width - @style-extra-margin; |
|
342 | width: @comment-max-width - @style-extra-margin; | |
343 | } |
|
343 | } | |
344 | } |
|
344 | } | |
345 |
|
345 | |||
346 | #context-bar > h2 { |
|
346 | #context-bar > h2 { | |
347 | font-size: 20px; |
|
347 | font-size: 20px; | |
348 | } |
|
348 | } | |
349 |
|
349 | |||
350 | #context-bar > h2> a { |
|
350 | #context-bar > h2> a { | |
351 | font-size: 20px; |
|
351 | font-size: 20px; | |
352 | } |
|
352 | } | |
353 | // end of defaults |
|
353 | // end of defaults | |
354 |
|
354 | |||
355 | .file_diff_buttons { |
|
355 | .file_diff_buttons { | |
356 | padding: 0 0 @padding; |
|
356 | padding: 0 0 @padding; | |
357 |
|
357 | |||
358 | .drop-menu { |
|
358 | .drop-menu { | |
359 | float: left; |
|
359 | float: left; | |
360 | margin: 0 @padding 0 0; |
|
360 | margin: 0 @padding 0 0; | |
361 | } |
|
361 | } | |
362 | .btn { |
|
362 | .btn { | |
363 | margin: 0 @padding 0 0; |
|
363 | margin: 0 @padding 0 0; | |
364 | } |
|
364 | } | |
365 | } |
|
365 | } | |
366 |
|
366 | |||
367 | .code-body.textarea.editor { |
|
367 | .code-body.textarea.editor { | |
368 | max-width: none; |
|
368 | max-width: none; | |
369 | padding: 15px; |
|
369 | padding: 15px; | |
370 | } |
|
370 | } | |
371 |
|
371 | |||
372 | td.injected_diff{ |
|
372 | td.injected_diff{ | |
373 | max-width: 1178px; |
|
373 | max-width: 1178px; | |
374 | overflow-x: auto; |
|
374 | overflow-x: auto; | |
375 | overflow-y: hidden; |
|
375 | overflow-y: hidden; | |
376 |
|
376 | |||
377 | div.diff-container, |
|
377 | div.diff-container, | |
378 | div.diffblock{ |
|
378 | div.diffblock{ | |
379 | max-width: 100%; |
|
379 | max-width: 100%; | |
380 | } |
|
380 | } | |
381 |
|
381 | |||
382 | div.code-body { |
|
382 | div.code-body { | |
383 | max-width: 1124px; |
|
383 | max-width: 1124px; | |
384 | overflow-x: auto; |
|
384 | overflow-x: auto; | |
385 | overflow-y: hidden; |
|
385 | overflow-y: hidden; | |
386 | padding: 0; |
|
386 | padding: 0; | |
387 | } |
|
387 | } | |
388 | div.diffblock { |
|
388 | div.diffblock { | |
389 | border: none; |
|
389 | border: none; | |
390 | } |
|
390 | } | |
391 |
|
391 | |||
392 | &.inline-form { |
|
392 | &.inline-form { | |
393 | width: 99% |
|
393 | width: 99% | |
394 | } |
|
394 | } | |
395 | } |
|
395 | } | |
396 |
|
396 | |||
397 |
|
397 | |||
398 | table.code-difftable { |
|
398 | table.code-difftable { | |
399 | width: 100%; |
|
399 | width: 100%; | |
400 | } |
|
400 | } | |
401 |
|
401 | |||
402 | /** PYGMENTS COLORING **/ |
|
402 | /** PYGMENTS COLORING **/ | |
403 | div.codeblock { |
|
403 | div.codeblock { | |
404 |
|
404 | |||
405 | // TODO: johbo: Added interim to get rid of the margin around |
|
405 | // TODO: johbo: Added interim to get rid of the margin around | |
406 | // Select2 widgets. This needs further cleanup. |
|
406 | // Select2 widgets. This needs further cleanup. | |
407 | margin-top: @padding; |
|
407 | margin-top: @padding; | |
408 |
|
408 | |||
409 | overflow: auto; |
|
409 | overflow: auto; | |
410 | padding: 0px; |
|
410 | padding: 0px; | |
411 |
border: @border-thickness solid |
|
411 | border: @border-thickness solid @grey6; | |
412 |
background: |
|
412 | background: @grey7; | |
413 | .border-radius(@border-radius); |
|
413 | .border-radius(@border-radius); | |
414 |
|
414 | |||
415 | #remove_gist { |
|
415 | #remove_gist { | |
416 | float: right; |
|
416 | float: right; | |
417 | } |
|
417 | } | |
418 |
|
418 | |||
419 | .gist_url { |
|
419 | .gist_url { | |
420 | padding: 0px 0px 10px 0px; |
|
420 | padding: 0px 0px 10px 0px; | |
421 | } |
|
421 | } | |
422 |
|
422 | |||
423 | .author { |
|
423 | .author { | |
424 | clear: both; |
|
424 | clear: both; | |
425 | vertical-align: middle; |
|
425 | vertical-align: middle; | |
426 | font-weight: @text-bold-weight; |
|
426 | font-weight: @text-bold-weight; | |
427 | font-family: @text-bold; |
|
427 | font-family: @text-bold; | |
428 | } |
|
428 | } | |
429 |
|
429 | |||
430 | .btn-mini { |
|
430 | .btn-mini { | |
431 | float: left; |
|
431 | float: left; | |
432 | margin: 0 5px 0 0; |
|
432 | margin: 0 5px 0 0; | |
433 | } |
|
433 | } | |
434 |
|
434 | |||
435 | .code-header { |
|
435 | .code-header { | |
436 | padding: @padding; |
|
436 | padding: @padding; | |
437 | border-bottom: @border-thickness solid @grey5; |
|
437 | border-bottom: @border-thickness solid @grey5; | |
438 |
|
438 | |||
439 | .rc-user { |
|
439 | .rc-user { | |
440 | min-width: 0; |
|
440 | min-width: 0; | |
441 | margin-right: .5em; |
|
441 | margin-right: .5em; | |
442 | } |
|
442 | } | |
443 |
|
443 | |||
444 | .stats { |
|
444 | .stats { | |
445 | clear: both; |
|
445 | clear: both; | |
446 | margin: 0 0 @padding 0; |
|
446 | margin: 0 0 @padding 0; | |
447 | padding: 0; |
|
447 | padding: 0; | |
448 | .left { |
|
448 | .left { | |
449 | float: left; |
|
449 | float: left; | |
450 | clear: left; |
|
450 | clear: left; | |
451 | max-width: 75%; |
|
451 | max-width: 75%; | |
452 | margin: 0 0 @padding 0; |
|
452 | margin: 0 0 @padding 0; | |
453 |
|
453 | |||
454 | &.item { |
|
454 | &.item { | |
455 | margin-right: @padding; |
|
455 | margin-right: @padding; | |
456 | &.last { border-right: none; } |
|
456 | &.last { border-right: none; } | |
457 | } |
|
457 | } | |
458 | } |
|
458 | } | |
459 | .buttons { float: right; } |
|
459 | .buttons { float: right; } | |
460 | .author { |
|
460 | .author { | |
461 | height: 25px; margin-left: 15px; font-weight: bold; |
|
461 | height: 25px; margin-left: 15px; font-weight: bold; | |
462 | } |
|
462 | } | |
463 | } |
|
463 | } | |
464 |
|
464 | |||
465 | .commit { |
|
465 | .commit { | |
466 | margin: 5px 0 0 26px; |
|
466 | margin: 5px 0 0 26px; | |
467 | font-weight: normal; |
|
467 | font-weight: normal; | |
468 | white-space: pre-wrap; |
|
468 | white-space: pre-wrap; | |
469 | } |
|
469 | } | |
470 | } |
|
470 | } | |
471 |
|
471 | |||
472 | .message { |
|
472 | .message { | |
473 | position: relative; |
|
473 | position: relative; | |
474 | margin: @padding; |
|
474 | margin: @padding; | |
475 |
|
475 | |||
476 | .codeblock-label { |
|
476 | .codeblock-label { | |
477 | margin: 0 0 1em 0; |
|
477 | margin: 0 0 1em 0; | |
478 | } |
|
478 | } | |
479 | } |
|
479 | } | |
480 |
|
480 | |||
481 | .code-body { |
|
481 | .code-body { | |
482 | padding: @padding; |
|
482 | padding: @padding; | |
483 | background-color: #ffffff; |
|
483 | background-color: #ffffff; | |
484 | min-width: 100%; |
|
484 | min-width: 100%; | |
485 | box-sizing: border-box; |
|
485 | box-sizing: border-box; | |
486 | // TODO: johbo: Parent has overflow: auto, this forces the child here |
|
486 | // TODO: johbo: Parent has overflow: auto, this forces the child here | |
487 | // to have the intended size and to scroll. Should be simplified. |
|
487 | // to have the intended size and to scroll. Should be simplified. | |
488 | width: 100%; |
|
488 | width: 100%; | |
489 | overflow-x: auto; |
|
489 | overflow-x: auto; | |
490 |
|
490 | |||
491 | img.rendered-binary { |
|
491 | img.rendered-binary { | |
492 | height: auto; |
|
492 | height: auto; | |
493 | width: 100%; |
|
493 | width: 100%; | |
494 | } |
|
494 | } | |
495 | } |
|
495 | } | |
496 |
|
496 | |||
497 | .codeblock-header { |
|
497 | .codeblock-header { | |
498 | border-bottom: 1px solid #eaeaea; |
|
498 | border-bottom: 1px solid #eaeaea; | |
499 | } |
|
499 | } | |
500 | } |
|
500 | } | |
501 |
|
501 | |||
502 | .code-highlighttable, |
|
502 | .code-highlighttable, | |
503 | div.codeblock { |
|
503 | div.codeblock { | |
504 |
|
504 | |||
505 | &.readme { |
|
505 | &.readme { | |
506 | background-color: white; |
|
506 | background-color: white; | |
507 | } |
|
507 | } | |
508 |
|
508 | |||
509 | .markdown-block table { |
|
509 | .markdown-block table { | |
510 | border-collapse: collapse; |
|
510 | border-collapse: collapse; | |
511 |
|
511 | |||
512 | th, |
|
512 | th, | |
513 | td { |
|
513 | td { | |
514 | padding: .5em; |
|
514 | padding: .5em; | |
515 | border: @border-thickness solid @border-default-color; |
|
515 | border: @border-thickness solid @border-default-color; | |
516 | } |
|
516 | } | |
517 | } |
|
517 | } | |
518 |
|
518 | |||
519 | table { |
|
519 | table { | |
520 | border: 0px; |
|
520 | border: 0px; | |
521 | margin: 0; |
|
521 | margin: 0; | |
522 | letter-spacing: normal; |
|
522 | letter-spacing: normal; | |
523 |
|
523 | |||
524 |
|
524 | |||
525 | td { |
|
525 | td { | |
526 | border: 0px; |
|
526 | border: 0px; | |
527 | vertical-align: top; |
|
527 | vertical-align: top; | |
528 | } |
|
528 | } | |
529 | } |
|
529 | } | |
530 | } |
|
530 | } | |
531 |
|
531 | |||
532 | div.codeblock .code-header .search-path { padding: 0 0 0 10px; } |
|
532 | div.codeblock .code-header .search-path { padding: 0 0 0 10px; } | |
533 | div.search-code-body { |
|
533 | div.search-code-body { | |
534 | background-color: #ffffff; padding: 5px 0 5px 10px; |
|
534 | background-color: #ffffff; padding: 5px 0 5px 10px; | |
535 | pre { |
|
535 | pre { | |
536 | .match { background-color: #faffa6;} |
|
536 | .match { background-color: #faffa6;} | |
537 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } |
|
537 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } | |
538 | } |
|
538 | } | |
539 | .code-highlighttable { |
|
539 | .code-highlighttable { | |
540 | border-collapse: collapse; |
|
540 | border-collapse: collapse; | |
541 |
|
541 | |||
542 | tr:hover { |
|
542 | tr:hover { | |
543 | background: #fafafa; |
|
543 | background: #fafafa; | |
544 | } |
|
544 | } | |
545 | td.code { |
|
545 | td.code { | |
546 | padding-left: 10px; |
|
546 | padding-left: 10px; | |
547 | } |
|
547 | } | |
548 | td.line { |
|
548 | td.line { | |
549 | border-right: 1px solid #ccc !important; |
|
549 | border-right: 1px solid #ccc !important; | |
550 | padding-right: 10px; |
|
550 | padding-right: 10px; | |
551 | text-align: right; |
|
551 | text-align: right; | |
552 | font-family: @text-monospace; |
|
552 | font-family: @text-monospace; | |
553 | span { |
|
553 | span { | |
554 | white-space: pre-wrap; |
|
554 | white-space: pre-wrap; | |
555 | color: #666666; |
|
555 | color: #666666; | |
556 | } |
|
556 | } | |
557 | } |
|
557 | } | |
558 | } |
|
558 | } | |
559 | } |
|
559 | } | |
560 |
|
560 | |||
561 | div.annotatediv { margin-left: 2px; margin-right: 4px; } |
|
561 | div.annotatediv { margin-left: 2px; margin-right: 4px; } | |
562 | .code-highlight { |
|
562 | .code-highlight { | |
563 | margin: 0; padding: 0; border-left: @border-thickness solid @grey5; |
|
563 | margin: 0; padding: 0; border-left: @border-thickness solid @grey5; | |
564 | pre, .linenodiv pre { padding: 0 5px; margin: 0; } |
|
564 | pre, .linenodiv pre { padding: 0 5px; margin: 0; } | |
565 | pre div:target {background-color: @comment-highlight-color !important;} |
|
565 | pre div:target {background-color: @comment-highlight-color !important;} | |
566 | } |
|
566 | } | |
567 |
|
567 | |||
568 | .linenos a { text-decoration: none; } |
|
568 | .linenos a { text-decoration: none; } | |
569 |
|
569 | |||
570 | .CodeMirror-selected { background: @rchighlightblue; } |
|
570 | .CodeMirror-selected { background: @rchighlightblue; } | |
571 | .CodeMirror-focused .CodeMirror-selected { background: @rchighlightblue; } |
|
571 | .CodeMirror-focused .CodeMirror-selected { background: @rchighlightblue; } | |
572 | .CodeMirror ::selection { background: @rchighlightblue; } |
|
572 | .CodeMirror ::selection { background: @rchighlightblue; } | |
573 | .CodeMirror ::-moz-selection { background: @rchighlightblue; } |
|
573 | .CodeMirror ::-moz-selection { background: @rchighlightblue; } | |
574 |
|
574 | |||
575 | .code { display: block; border:0px !important; } |
|
575 | .code { display: block; border:0px !important; } | |
576 | .code-highlight, /* TODO: dan: merge codehilite into code-highlight */ |
|
576 | .code-highlight, /* TODO: dan: merge codehilite into code-highlight */ | |
577 | /* This can be generated with `pygmentize -S default -f html` */ |
|
577 | /* This can be generated with `pygmentize -S default -f html` */ | |
578 | .codehilite { |
|
578 | .codehilite { | |
579 | .c-ElasticMatch { background-color: #faffa6; padding: 0.2em;} |
|
579 | .c-ElasticMatch { background-color: #faffa6; padding: 0.2em;} | |
580 | .hll { background-color: #ffffcc } |
|
580 | .hll { background-color: #ffffcc } | |
581 | .c { color: #408080; font-style: italic } /* Comment */ |
|
581 | .c { color: #408080; font-style: italic } /* Comment */ | |
582 | .err, .codehilite .err { border: none } /* Error */ |
|
582 | .err, .codehilite .err { border: none } /* Error */ | |
583 | .k { color: #008000; font-weight: bold } /* Keyword */ |
|
583 | .k { color: #008000; font-weight: bold } /* Keyword */ | |
584 | .o { color: #666666 } /* Operator */ |
|
584 | .o { color: #666666 } /* Operator */ | |
585 | .ch { color: #408080; font-style: italic } /* Comment.Hashbang */ |
|
585 | .ch { color: #408080; font-style: italic } /* Comment.Hashbang */ | |
586 | .cm { color: #408080; font-style: italic } /* Comment.Multiline */ |
|
586 | .cm { color: #408080; font-style: italic } /* Comment.Multiline */ | |
587 | .cp { color: #BC7A00 } /* Comment.Preproc */ |
|
587 | .cp { color: #BC7A00 } /* Comment.Preproc */ | |
588 | .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */ |
|
588 | .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */ | |
589 | .c1 { color: #408080; font-style: italic } /* Comment.Single */ |
|
589 | .c1 { color: #408080; font-style: italic } /* Comment.Single */ | |
590 | .cs { color: #408080; font-style: italic } /* Comment.Special */ |
|
590 | .cs { color: #408080; font-style: italic } /* Comment.Special */ | |
591 | .gd { color: #A00000 } /* Generic.Deleted */ |
|
591 | .gd { color: #A00000 } /* Generic.Deleted */ | |
592 | .ge { font-style: italic } /* Generic.Emph */ |
|
592 | .ge { font-style: italic } /* Generic.Emph */ | |
593 | .gr { color: #FF0000 } /* Generic.Error */ |
|
593 | .gr { color: #FF0000 } /* Generic.Error */ | |
594 | .gh { color: #000080; font-weight: bold } /* Generic.Heading */ |
|
594 | .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | |
595 | .gi { color: #00A000 } /* Generic.Inserted */ |
|
595 | .gi { color: #00A000 } /* Generic.Inserted */ | |
596 | .go { color: #888888 } /* Generic.Output */ |
|
596 | .go { color: #888888 } /* Generic.Output */ | |
597 | .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ |
|
597 | .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ | |
598 | .gs { font-weight: bold } /* Generic.Strong */ |
|
598 | .gs { font-weight: bold } /* Generic.Strong */ | |
599 | .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ |
|
599 | .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | |
600 | .gt { color: #0044DD } /* Generic.Traceback */ |
|
600 | .gt { color: #0044DD } /* Generic.Traceback */ | |
601 | .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ |
|
601 | .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ | |
602 | .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ |
|
602 | .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ | |
603 | .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ |
|
603 | .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ | |
604 | .kp { color: #008000 } /* Keyword.Pseudo */ |
|
604 | .kp { color: #008000 } /* Keyword.Pseudo */ | |
605 | .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ |
|
605 | .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ | |
606 | .kt { color: #B00040 } /* Keyword.Type */ |
|
606 | .kt { color: #B00040 } /* Keyword.Type */ | |
607 | .m { color: #666666 } /* Literal.Number */ |
|
607 | .m { color: #666666 } /* Literal.Number */ | |
608 | .s { color: #BA2121 } /* Literal.String */ |
|
608 | .s { color: #BA2121 } /* Literal.String */ | |
609 | .na { color: #7D9029 } /* Name.Attribute */ |
|
609 | .na { color: #7D9029 } /* Name.Attribute */ | |
610 | .nb { color: #008000 } /* Name.Builtin */ |
|
610 | .nb { color: #008000 } /* Name.Builtin */ | |
611 | .nc { color: #0000FF; font-weight: bold } /* Name.Class */ |
|
611 | .nc { color: #0000FF; font-weight: bold } /* Name.Class */ | |
612 | .no { color: #880000 } /* Name.Constant */ |
|
612 | .no { color: #880000 } /* Name.Constant */ | |
613 | .nd { color: #AA22FF } /* Name.Decorator */ |
|
613 | .nd { color: #AA22FF } /* Name.Decorator */ | |
614 | .ni { color: #999999; font-weight: bold } /* Name.Entity */ |
|
614 | .ni { color: #999999; font-weight: bold } /* Name.Entity */ | |
615 | .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ |
|
615 | .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ | |
616 | .nf { color: #0000FF } /* Name.Function */ |
|
616 | .nf { color: #0000FF } /* Name.Function */ | |
617 | .nl { color: #A0A000 } /* Name.Label */ |
|
617 | .nl { color: #A0A000 } /* Name.Label */ | |
618 | .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ |
|
618 | .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ | |
619 | .nt { color: #008000; font-weight: bold } /* Name.Tag */ |
|
619 | .nt { color: #008000; font-weight: bold } /* Name.Tag */ | |
620 | .nv { color: #19177C } /* Name.Variable */ |
|
620 | .nv { color: #19177C } /* Name.Variable */ | |
621 | .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ |
|
621 | .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ | |
622 | .w { color: #bbbbbb } /* Text.Whitespace */ |
|
622 | .w { color: #bbbbbb } /* Text.Whitespace */ | |
623 | .mb { color: #666666 } /* Literal.Number.Bin */ |
|
623 | .mb { color: #666666 } /* Literal.Number.Bin */ | |
624 | .mf { color: #666666 } /* Literal.Number.Float */ |
|
624 | .mf { color: #666666 } /* Literal.Number.Float */ | |
625 | .mh { color: #666666 } /* Literal.Number.Hex */ |
|
625 | .mh { color: #666666 } /* Literal.Number.Hex */ | |
626 | .mi { color: #666666 } /* Literal.Number.Integer */ |
|
626 | .mi { color: #666666 } /* Literal.Number.Integer */ | |
627 | .mo { color: #666666 } /* Literal.Number.Oct */ |
|
627 | .mo { color: #666666 } /* Literal.Number.Oct */ | |
628 | .sa { color: #BA2121 } /* Literal.String.Affix */ |
|
628 | .sa { color: #BA2121 } /* Literal.String.Affix */ | |
629 | .sb { color: #BA2121 } /* Literal.String.Backtick */ |
|
629 | .sb { color: #BA2121 } /* Literal.String.Backtick */ | |
630 | .sc { color: #BA2121 } /* Literal.String.Char */ |
|
630 | .sc { color: #BA2121 } /* Literal.String.Char */ | |
631 | .dl { color: #BA2121 } /* Literal.String.Delimiter */ |
|
631 | .dl { color: #BA2121 } /* Literal.String.Delimiter */ | |
632 | .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ |
|
632 | .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ | |
633 | .s2 { color: #BA2121 } /* Literal.String.Double */ |
|
633 | .s2 { color: #BA2121 } /* Literal.String.Double */ | |
634 | .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ |
|
634 | .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ | |
635 | .sh { color: #BA2121 } /* Literal.String.Heredoc */ |
|
635 | .sh { color: #BA2121 } /* Literal.String.Heredoc */ | |
636 | .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ |
|
636 | .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ | |
637 | .sx { color: #008000 } /* Literal.String.Other */ |
|
637 | .sx { color: #008000 } /* Literal.String.Other */ | |
638 | .sr { color: #BB6688 } /* Literal.String.Regex */ |
|
638 | .sr { color: #BB6688 } /* Literal.String.Regex */ | |
639 | .s1 { color: #BA2121 } /* Literal.String.Single */ |
|
639 | .s1 { color: #BA2121 } /* Literal.String.Single */ | |
640 | .ss { color: #19177C } /* Literal.String.Symbol */ |
|
640 | .ss { color: #19177C } /* Literal.String.Symbol */ | |
641 | .bp { color: #008000 } /* Name.Builtin.Pseudo */ |
|
641 | .bp { color: #008000 } /* Name.Builtin.Pseudo */ | |
642 | .fm { color: #0000FF } /* Name.Function.Magic */ |
|
642 | .fm { color: #0000FF } /* Name.Function.Magic */ | |
643 | .vc { color: #19177C } /* Name.Variable.Class */ |
|
643 | .vc { color: #19177C } /* Name.Variable.Class */ | |
644 | .vg { color: #19177C } /* Name.Variable.Global */ |
|
644 | .vg { color: #19177C } /* Name.Variable.Global */ | |
645 | .vi { color: #19177C } /* Name.Variable.Instance */ |
|
645 | .vi { color: #19177C } /* Name.Variable.Instance */ | |
646 | .vm { color: #19177C } /* Name.Variable.Magic */ |
|
646 | .vm { color: #19177C } /* Name.Variable.Magic */ | |
647 | .il { color: #666666 } /* Literal.Number.Integer.Long */ |
|
647 | .il { color: #666666 } /* Literal.Number.Integer.Long */ | |
648 |
|
648 | |||
649 | } |
|
649 | } | |
650 |
|
650 | |||
651 | /* customized pre blocks for markdown/rst */ |
|
651 | /* customized pre blocks for markdown/rst */ | |
652 | pre.literal-block, .codehilite pre{ |
|
652 | pre.literal-block, .codehilite pre{ | |
653 | padding: @padding; |
|
653 | padding: @padding; | |
654 | border: 1px solid @grey6; |
|
654 | border: 1px solid @grey6; | |
655 | .border-radius(@border-radius); |
|
655 | .border-radius(@border-radius); | |
656 | background-color: @grey7; |
|
656 | background-color: @grey7; | |
657 | } |
|
657 | } | |
658 |
|
658 | |||
659 |
|
659 | |||
660 | /* START NEW CODE BLOCK CSS */ |
|
660 | /* START NEW CODE BLOCK CSS */ | |
661 |
|
661 | |||
662 | @cb-line-height: 18px; |
|
662 | @cb-line-height: 18px; | |
663 | @cb-line-code-padding: 10px; |
|
663 | @cb-line-code-padding: 10px; | |
664 | @cb-text-padding: 5px; |
|
664 | @cb-text-padding: 5px; | |
665 |
|
665 | |||
666 | @pill-padding: 2px 7px; |
|
666 | @pill-padding: 2px 7px; | |
667 | @pill-padding-small: 2px 2px 1px 2px; |
|
667 | @pill-padding-small: 2px 2px 1px 2px; | |
668 |
|
668 | |||
669 | input.filediff-collapse-state { |
|
669 | input.filediff-collapse-state { | |
670 | display: none; |
|
670 | display: none; | |
671 |
|
671 | |||
672 | &:checked + .filediff { /* file diff is collapsed */ |
|
672 | &:checked + .filediff { /* file diff is collapsed */ | |
673 | .cb { |
|
673 | .cb { | |
674 | display: none |
|
674 | display: none | |
675 | } |
|
675 | } | |
676 | .filediff-collapse-indicator { |
|
676 | .filediff-collapse-indicator { | |
677 | width: 0; |
|
677 | width: 0; | |
678 | height: 0; |
|
678 | height: 0; | |
679 | border-style: solid; |
|
679 | border-style: solid; | |
680 | border-width: 4.5px 0 4.5px 9.3px; |
|
680 | border-width: 4.5px 0 4.5px 9.3px; | |
681 | border-color: transparent transparent transparent #aaa; |
|
681 | border-color: transparent transparent transparent #aaa; | |
682 | margin: 6px 0px; |
|
682 | margin: 6px 0px; | |
683 | } |
|
683 | } | |
684 | .filediff-menu { |
|
684 | .filediff-menu { | |
685 | display: none; |
|
685 | display: none; | |
686 | } |
|
686 | } | |
687 |
|
687 | |||
688 | } |
|
688 | } | |
689 |
|
689 | |||
690 | &+ .filediff { /* file diff is expanded */ |
|
690 | &+ .filediff { /* file diff is expanded */ | |
691 | .filediff-collapse-indicator { |
|
691 | .filediff-collapse-indicator { | |
692 | width: 0; |
|
692 | width: 0; | |
693 | height: 0; |
|
693 | height: 0; | |
694 | border-style: solid; |
|
694 | border-style: solid; | |
695 | border-width: 9.3px 4.5px 0 4.5px; |
|
695 | border-width: 9.3px 4.5px 0 4.5px; | |
696 | border-color: #aaa transparent transparent transparent; |
|
696 | border-color: #aaa transparent transparent transparent; | |
697 | margin: 6px 0px; |
|
697 | margin: 6px 0px; | |
698 |
|
698 | |||
699 | } |
|
699 | } | |
700 | .filediff-menu { |
|
700 | .filediff-menu { | |
701 | display: block; |
|
701 | display: block; | |
702 | } |
|
702 | } | |
703 | margin: 10px 0; |
|
703 | margin: 10px 0; | |
704 | &:nth-child(2) { |
|
704 | &:nth-child(2) { | |
705 | margin: 0; |
|
705 | margin: 0; | |
706 | } |
|
706 | } | |
707 | } |
|
707 | } | |
708 | } |
|
708 | } | |
709 |
|
709 | |||
710 | .filediffs .anchor { |
|
710 | .filediffs .anchor { | |
711 | display: block; |
|
711 | display: block; | |
712 | height: 40px; |
|
712 | height: 40px; | |
713 | margin-top: -40px; |
|
713 | margin-top: -40px; | |
714 | visibility: hidden; |
|
714 | visibility: hidden; | |
715 | } |
|
715 | } | |
716 |
|
716 | |||
717 | .filediffs .anchor:nth-of-type(1) { |
|
717 | .filediffs .anchor:nth-of-type(1) { | |
718 | display: block; |
|
718 | display: block; | |
719 | height: 80px; |
|
719 | height: 80px; | |
720 | margin-top: -80px; |
|
720 | margin-top: -80px; | |
721 | visibility: hidden; |
|
721 | visibility: hidden; | |
722 | } |
|
722 | } | |
723 |
|
723 | |||
724 | .cs_files { |
|
724 | .cs_files { | |
725 | clear: both; |
|
725 | clear: both; | |
726 | } |
|
726 | } | |
727 |
|
727 | |||
728 | #diff-file-sticky{ |
|
728 | #diff-file-sticky{ | |
729 | will-change: min-height; |
|
729 | will-change: min-height; | |
730 | } |
|
730 | } | |
731 |
|
731 | |||
732 | .sidebar__inner{ |
|
732 | .sidebar__inner{ | |
733 | transform: translate(0, 0); /* For browsers don't support translate3d. */ |
|
733 | transform: translate(0, 0); /* For browsers don't support translate3d. */ | |
734 | transform: translate3d(0, 0, 0); |
|
734 | transform: translate3d(0, 0, 0); | |
735 | will-change: position, transform; |
|
735 | will-change: position, transform; | |
736 | height: 70px; |
|
736 | height: 70px; | |
737 | z-index: 30; |
|
737 | z-index: 30; | |
738 | background-color: #fff; |
|
738 | background-color: #fff; | |
739 | padding: 5px 0px; |
|
739 | padding: 5px 0px; | |
740 | } |
|
740 | } | |
741 |
|
741 | |||
742 | .sidebar__bar { |
|
742 | .sidebar__bar { | |
743 | padding: 5px 0px 0px 0px |
|
743 | padding: 5px 0px 0px 0px | |
744 | } |
|
744 | } | |
745 |
|
745 | |||
746 | .fpath-placeholder { |
|
746 | .fpath-placeholder { | |
747 | clear: both; |
|
747 | clear: both; | |
748 | visibility: hidden |
|
748 | visibility: hidden | |
749 | } |
|
749 | } | |
750 |
|
750 | |||
751 | .is-affixed { |
|
751 | .is-affixed { | |
752 | .sidebar_inner_shadow { |
|
752 | .sidebar_inner_shadow { | |
753 | position: fixed; |
|
753 | position: fixed; | |
754 | top: 75px; |
|
754 | top: 75px; | |
755 | right: -100%; |
|
755 | right: -100%; | |
756 | left: -100%; |
|
756 | left: -100%; | |
757 | z-index: 28; |
|
757 | z-index: 28; | |
758 | display: block; |
|
758 | display: block; | |
759 | height: 5px; |
|
759 | height: 5px; | |
760 | content: ""; |
|
760 | content: ""; | |
761 | background: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.001)) repeat-x 0 0; |
|
761 | background: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.001)) repeat-x 0 0; | |
762 | border-top: 1px solid rgba(0, 0, 0, 0.15); |
|
762 | border-top: 1px solid rgba(0, 0, 0, 0.15); | |
763 | } |
|
763 | } | |
764 | .fpath-placeholder { |
|
764 | .fpath-placeholder { | |
765 | visibility: visible !important; |
|
765 | visibility: visible !important; | |
766 | } |
|
766 | } | |
767 | } |
|
767 | } | |
768 |
|
768 | |||
769 | .diffset-menu { |
|
769 | .diffset-menu { | |
770 | margin-bottom: 20px; |
|
770 | margin-bottom: 20px; | |
771 | } |
|
771 | } | |
772 | .diffset { |
|
772 | .diffset { | |
773 | margin: 20px auto; |
|
773 | margin: 20px auto; | |
774 | .diffset-heading { |
|
774 | .diffset-heading { | |
775 | border: 1px solid @grey5; |
|
775 | border: 1px solid @grey5; | |
776 | margin-bottom: -1px; |
|
776 | margin-bottom: -1px; | |
777 | // margin-top: 20px; |
|
777 | // margin-top: 20px; | |
778 | h2 { |
|
778 | h2 { | |
779 | margin: 0; |
|
779 | margin: 0; | |
780 | line-height: 38px; |
|
780 | line-height: 38px; | |
781 | padding-left: 10px; |
|
781 | padding-left: 10px; | |
782 | } |
|
782 | } | |
783 | .btn { |
|
783 | .btn { | |
784 | margin: 0; |
|
784 | margin: 0; | |
785 | } |
|
785 | } | |
786 | background: @grey6; |
|
786 | background: @grey6; | |
787 | display: block; |
|
787 | display: block; | |
788 | padding: 5px; |
|
788 | padding: 5px; | |
789 | } |
|
789 | } | |
790 | .diffset-heading-warning { |
|
790 | .diffset-heading-warning { | |
791 | background: @alert3-inner; |
|
791 | background: @alert3-inner; | |
792 | border: 1px solid @alert3; |
|
792 | border: 1px solid @alert3; | |
793 | } |
|
793 | } | |
794 | &.diffset-comments-disabled { |
|
794 | &.diffset-comments-disabled { | |
795 | .cb-comment-box-opener, .comment-inline-form, .cb-comment-add-button { |
|
795 | .cb-comment-box-opener, .comment-inline-form, .cb-comment-add-button { | |
796 | display: none !important; |
|
796 | display: none !important; | |
797 | } |
|
797 | } | |
798 | } |
|
798 | } | |
799 | } |
|
799 | } | |
800 |
|
800 | |||
801 | .filelist { |
|
801 | .filelist { | |
802 | .pill { |
|
802 | .pill { | |
803 | display: block; |
|
803 | display: block; | |
804 | float: left; |
|
804 | float: left; | |
805 | padding: @pill-padding-small; |
|
805 | padding: @pill-padding-small; | |
806 | } |
|
806 | } | |
807 | } |
|
807 | } | |
808 |
|
808 | |||
809 | .pill { |
|
809 | .pill { | |
810 | display: block; |
|
810 | display: block; | |
811 | float: left; |
|
811 | float: left; | |
812 | padding: @pill-padding; |
|
812 | padding: @pill-padding; | |
813 | } |
|
813 | } | |
814 |
|
814 | |||
815 | .pill-group { |
|
815 | .pill-group { | |
816 | .pill { |
|
816 | .pill { | |
817 | opacity: .8; |
|
817 | opacity: .8; | |
818 | margin-right: 3px; |
|
818 | margin-right: 3px; | |
819 | font-size: 12px; |
|
819 | font-size: 12px; | |
820 | font-weight: normal; |
|
820 | font-weight: normal; | |
821 |
|
821 | |||
822 | &:first-child { |
|
822 | &:first-child { | |
823 | border-radius: @border-radius 0 0 @border-radius; |
|
823 | border-radius: @border-radius 0 0 @border-radius; | |
824 | } |
|
824 | } | |
825 | &:last-child { |
|
825 | &:last-child { | |
826 | border-radius: 0 @border-radius @border-radius 0; |
|
826 | border-radius: 0 @border-radius @border-radius 0; | |
827 | } |
|
827 | } | |
828 | &:only-child { |
|
828 | &:only-child { | |
829 | border-radius: @border-radius; |
|
829 | border-radius: @border-radius; | |
830 | margin-right: 0; |
|
830 | margin-right: 0; | |
831 | } |
|
831 | } | |
832 | } |
|
832 | } | |
833 | } |
|
833 | } | |
834 |
|
834 | |||
835 | /* Main comments*/ |
|
835 | /* Main comments*/ | |
836 | #comments { |
|
836 | #comments { | |
837 | .comment-selected { |
|
837 | .comment-selected { | |
838 | border-left: 6px solid @comment-highlight-color; |
|
838 | border-left: 6px solid @comment-highlight-color; | |
839 | padding-left: 3px; |
|
839 | padding-left: 3px; | |
840 | margin-left: -9px; |
|
840 | margin-left: -9px; | |
841 | } |
|
841 | } | |
842 | } |
|
842 | } | |
843 |
|
843 | |||
844 | .filediff { |
|
844 | .filediff { | |
845 | border: 1px solid @grey5; |
|
845 | border: 1px solid @grey5; | |
846 |
|
846 | |||
847 | /* START OVERRIDES */ |
|
847 | /* START OVERRIDES */ | |
848 | .code-highlight { |
|
848 | .code-highlight { | |
849 | border: none; // TODO: remove this border from the global |
|
849 | border: none; // TODO: remove this border from the global | |
850 | // .code-highlight, it doesn't belong there |
|
850 | // .code-highlight, it doesn't belong there | |
851 | } |
|
851 | } | |
852 | label { |
|
852 | label { | |
853 | margin: 0; // TODO: remove this margin definition from global label |
|
853 | margin: 0; // TODO: remove this margin definition from global label | |
854 | // it doesn't belong there - if margin on labels |
|
854 | // it doesn't belong there - if margin on labels | |
855 | // are needed for a form they should be defined |
|
855 | // are needed for a form they should be defined | |
856 | // in the form's class |
|
856 | // in the form's class | |
857 | } |
|
857 | } | |
858 | /* END OVERRIDES */ |
|
858 | /* END OVERRIDES */ | |
859 |
|
859 | |||
860 | * { |
|
860 | * { | |
861 | box-sizing: border-box; |
|
861 | box-sizing: border-box; | |
862 | } |
|
862 | } | |
863 | .filediff-anchor { |
|
863 | .filediff-anchor { | |
864 | visibility: hidden; |
|
864 | visibility: hidden; | |
865 | } |
|
865 | } | |
866 | &:hover { |
|
866 | &:hover { | |
867 | .filediff-anchor { |
|
867 | .filediff-anchor { | |
868 | visibility: visible; |
|
868 | visibility: visible; | |
869 | } |
|
869 | } | |
870 | } |
|
870 | } | |
871 |
|
871 | |||
872 | .filediff-collapse-indicator { |
|
872 | .filediff-collapse-indicator { | |
873 | border-style: solid; |
|
873 | border-style: solid; | |
874 | float: left; |
|
874 | float: left; | |
875 | margin: 4px 0px 0 0; |
|
875 | margin: 4px 0px 0 0; | |
876 | cursor: pointer; |
|
876 | cursor: pointer; | |
877 | } |
|
877 | } | |
878 |
|
878 | |||
879 | .filediff-heading { |
|
879 | .filediff-heading { | |
880 | background: @grey7; |
|
880 | background: @grey7; | |
881 | cursor: pointer; |
|
881 | cursor: pointer; | |
882 | display: block; |
|
882 | display: block; | |
883 | padding: 5px 10px; |
|
883 | padding: 5px 10px; | |
884 | } |
|
884 | } | |
885 | .filediff-heading:after { |
|
885 | .filediff-heading:after { | |
886 | content: ""; |
|
886 | content: ""; | |
887 | display: table; |
|
887 | display: table; | |
888 | clear: both; |
|
888 | clear: both; | |
889 | } |
|
889 | } | |
890 | .filediff-heading:hover { |
|
890 | .filediff-heading:hover { | |
891 | background: #e1e9f4 !important; |
|
891 | background: #e1e9f4 !important; | |
892 | } |
|
892 | } | |
893 |
|
893 | |||
894 | .filediff-menu { |
|
894 | .filediff-menu { | |
895 | float: right; |
|
895 | float: right; | |
896 | text-align: right; |
|
896 | text-align: right; | |
897 | padding: 5px 5px 5px 0px; |
|
897 | padding: 5px 5px 5px 0px; | |
898 |
|
898 | |||
899 | &> a, |
|
899 | &> a, | |
900 | &> span { |
|
900 | &> span { | |
901 | padding: 1px; |
|
901 | padding: 1px; | |
902 | } |
|
902 | } | |
903 | } |
|
903 | } | |
904 |
|
904 | |||
905 | .filediff-collapse-button, .filediff-expand-button { |
|
905 | .filediff-collapse-button, .filediff-expand-button { | |
906 | cursor: pointer; |
|
906 | cursor: pointer; | |
907 | } |
|
907 | } | |
908 | .filediff-collapse-button { |
|
908 | .filediff-collapse-button { | |
909 | display: inline; |
|
909 | display: inline; | |
910 | } |
|
910 | } | |
911 | .filediff-expand-button { |
|
911 | .filediff-expand-button { | |
912 | display: none; |
|
912 | display: none; | |
913 | } |
|
913 | } | |
914 | .filediff-collapsed .filediff-collapse-button { |
|
914 | .filediff-collapsed .filediff-collapse-button { | |
915 | display: none; |
|
915 | display: none; | |
916 | } |
|
916 | } | |
917 | .filediff-collapsed .filediff-expand-button { |
|
917 | .filediff-collapsed .filediff-expand-button { | |
918 | display: inline; |
|
918 | display: inline; | |
919 | } |
|
919 | } | |
920 |
|
920 | |||
921 | /**** COMMENTS ****/ |
|
921 | /**** COMMENTS ****/ | |
922 |
|
922 | |||
923 | .filediff-menu { |
|
923 | .filediff-menu { | |
924 | .show-comment-button { |
|
924 | .show-comment-button { | |
925 | display: none; |
|
925 | display: none; | |
926 | } |
|
926 | } | |
927 | } |
|
927 | } | |
928 | &.hide-comments { |
|
928 | &.hide-comments { | |
929 | .inline-comments { |
|
929 | .inline-comments { | |
930 | display: none; |
|
930 | display: none; | |
931 | } |
|
931 | } | |
932 | .filediff-menu { |
|
932 | .filediff-menu { | |
933 | .show-comment-button { |
|
933 | .show-comment-button { | |
934 | display: inline; |
|
934 | display: inline; | |
935 | } |
|
935 | } | |
936 | .hide-comment-button { |
|
936 | .hide-comment-button { | |
937 | display: none; |
|
937 | display: none; | |
938 | } |
|
938 | } | |
939 | } |
|
939 | } | |
940 | } |
|
940 | } | |
941 |
|
941 | |||
942 | .hide-line-comments { |
|
942 | .hide-line-comments { | |
943 | .inline-comments { |
|
943 | .inline-comments { | |
944 | display: none; |
|
944 | display: none; | |
945 | } |
|
945 | } | |
946 | } |
|
946 | } | |
947 |
|
947 | |||
948 | /**** END COMMENTS ****/ |
|
948 | /**** END COMMENTS ****/ | |
949 |
|
949 | |||
950 | } |
|
950 | } | |
951 |
|
951 | |||
952 |
|
952 | |||
953 |
|
953 | |||
954 | .filediff, .filelist { |
|
954 | .filediff, .filelist { | |
955 | .pill { |
|
955 | .pill { | |
956 | &[op="name"] { |
|
956 | &[op="name"] { | |
957 | background: none; |
|
957 | background: none; | |
958 | opacity: 1; |
|
958 | opacity: 1; | |
959 | color: white; |
|
959 | color: white; | |
960 | } |
|
960 | } | |
961 | &[op="limited"] { |
|
961 | &[op="limited"] { | |
962 | background: @grey2; |
|
962 | background: @grey2; | |
963 | color: white; |
|
963 | color: white; | |
964 | } |
|
964 | } | |
965 | &[op="binary"] { |
|
965 | &[op="binary"] { | |
966 | background: @color7; |
|
966 | background: @color7; | |
967 | color: white; |
|
967 | color: white; | |
968 | } |
|
968 | } | |
969 | &[op="modified"] { |
|
969 | &[op="modified"] { | |
970 | background: @alert1; |
|
970 | background: @alert1; | |
971 | color: white; |
|
971 | color: white; | |
972 | } |
|
972 | } | |
973 | &[op="renamed"] { |
|
973 | &[op="renamed"] { | |
974 | background: @color4; |
|
974 | background: @color4; | |
975 | color: white; |
|
975 | color: white; | |
976 | } |
|
976 | } | |
977 | &[op="copied"] { |
|
977 | &[op="copied"] { | |
978 | background: @color4; |
|
978 | background: @color4; | |
979 | color: white; |
|
979 | color: white; | |
980 | } |
|
980 | } | |
981 | &[op="mode"] { |
|
981 | &[op="mode"] { | |
982 | background: @grey3; |
|
982 | background: @grey3; | |
983 | color: white; |
|
983 | color: white; | |
984 | } |
|
984 | } | |
985 | &[op="symlink"] { |
|
985 | &[op="symlink"] { | |
986 | background: @color8; |
|
986 | background: @color8; | |
987 | color: white; |
|
987 | color: white; | |
988 | } |
|
988 | } | |
989 |
|
989 | |||
990 | &[op="added"] { /* added lines */ |
|
990 | &[op="added"] { /* added lines */ | |
991 | background: @alert1; |
|
991 | background: @alert1; | |
992 | color: white; |
|
992 | color: white; | |
993 | } |
|
993 | } | |
994 | &[op="deleted"] { /* deleted lines */ |
|
994 | &[op="deleted"] { /* deleted lines */ | |
995 | background: @alert2; |
|
995 | background: @alert2; | |
996 | color: white; |
|
996 | color: white; | |
997 | } |
|
997 | } | |
998 |
|
998 | |||
999 | &[op="created"] { /* created file */ |
|
999 | &[op="created"] { /* created file */ | |
1000 | background: @alert1; |
|
1000 | background: @alert1; | |
1001 | color: white; |
|
1001 | color: white; | |
1002 | } |
|
1002 | } | |
1003 | &[op="removed"] { /* deleted file */ |
|
1003 | &[op="removed"] { /* deleted file */ | |
1004 | background: @color5; |
|
1004 | background: @color5; | |
1005 | color: white; |
|
1005 | color: white; | |
1006 | } |
|
1006 | } | |
1007 | } |
|
1007 | } | |
1008 | } |
|
1008 | } | |
1009 |
|
1009 | |||
1010 |
|
1010 | |||
1011 | .filediff-outdated { |
|
1011 | .filediff-outdated { | |
1012 | padding: 8px 0; |
|
1012 | padding: 8px 0; | |
1013 |
|
1013 | |||
1014 | .filediff-heading { |
|
1014 | .filediff-heading { | |
1015 | opacity: .5; |
|
1015 | opacity: .5; | |
1016 | } |
|
1016 | } | |
1017 | } |
|
1017 | } | |
1018 |
|
1018 | |||
1019 | table.cb { |
|
1019 | table.cb { | |
1020 | width: 100%; |
|
1020 | width: 100%; | |
1021 | border-collapse: collapse; |
|
1021 | border-collapse: collapse; | |
1022 |
|
1022 | |||
1023 | .cb-text { |
|
1023 | .cb-text { | |
1024 | padding: @cb-text-padding; |
|
1024 | padding: @cb-text-padding; | |
1025 | } |
|
1025 | } | |
1026 | .cb-hunk { |
|
1026 | .cb-hunk { | |
1027 | padding: @cb-text-padding; |
|
1027 | padding: @cb-text-padding; | |
1028 | } |
|
1028 | } | |
1029 | .cb-expand { |
|
1029 | .cb-expand { | |
1030 | display: none; |
|
1030 | display: none; | |
1031 | } |
|
1031 | } | |
1032 | .cb-collapse { |
|
1032 | .cb-collapse { | |
1033 | display: inline; |
|
1033 | display: inline; | |
1034 | } |
|
1034 | } | |
1035 | &.cb-collapsed { |
|
1035 | &.cb-collapsed { | |
1036 | .cb-line { |
|
1036 | .cb-line { | |
1037 | display: none; |
|
1037 | display: none; | |
1038 | } |
|
1038 | } | |
1039 | .cb-expand { |
|
1039 | .cb-expand { | |
1040 | display: inline; |
|
1040 | display: inline; | |
1041 | } |
|
1041 | } | |
1042 | .cb-collapse { |
|
1042 | .cb-collapse { | |
1043 | display: none; |
|
1043 | display: none; | |
1044 | } |
|
1044 | } | |
1045 | .cb-hunk { |
|
1045 | .cb-hunk { | |
1046 | display: none; |
|
1046 | display: none; | |
1047 | } |
|
1047 | } | |
1048 | } |
|
1048 | } | |
1049 |
|
1049 | |||
1050 | /* intentionally general selector since .cb-line-selected must override it |
|
1050 | /* intentionally general selector since .cb-line-selected must override it | |
1051 | and they both use !important since the td itself may have a random color |
|
1051 | and they both use !important since the td itself may have a random color | |
1052 | generated by annotation blocks. TLDR: if you change it, make sure |
|
1052 | generated by annotation blocks. TLDR: if you change it, make sure | |
1053 | annotated block selection and line selection in file view still work */ |
|
1053 | annotated block selection and line selection in file view still work */ | |
1054 | .cb-line-fresh .cb-content { |
|
1054 | .cb-line-fresh .cb-content { | |
1055 | background: white !important; |
|
1055 | background: white !important; | |
1056 | } |
|
1056 | } | |
1057 | .cb-warning { |
|
1057 | .cb-warning { | |
1058 | background: #fff4dd; |
|
1058 | background: #fff4dd; | |
1059 | } |
|
1059 | } | |
1060 |
|
1060 | |||
1061 | &.cb-diff-sideside { |
|
1061 | &.cb-diff-sideside { | |
1062 | td { |
|
1062 | td { | |
1063 | &.cb-content { |
|
1063 | &.cb-content { | |
1064 | width: 50%; |
|
1064 | width: 50%; | |
1065 | } |
|
1065 | } | |
1066 | } |
|
1066 | } | |
1067 | } |
|
1067 | } | |
1068 |
|
1068 | |||
1069 | tr { |
|
1069 | tr { | |
1070 | &.cb-annotate { |
|
1070 | &.cb-annotate { | |
1071 | border-top: 1px solid #eee; |
|
1071 | border-top: 1px solid #eee; | |
1072 | } |
|
1072 | } | |
1073 |
|
1073 | |||
1074 | &.cb-comment-info { |
|
1074 | &.cb-comment-info { | |
1075 | border-top: 1px solid #eee; |
|
1075 | border-top: 1px solid #eee; | |
1076 | color: rgba(0, 0, 0, 0.3); |
|
1076 | color: rgba(0, 0, 0, 0.3); | |
1077 | background: #edf2f9; |
|
1077 | background: #edf2f9; | |
1078 |
|
1078 | |||
1079 | td { |
|
1079 | td { | |
1080 |
|
1080 | |||
1081 | } |
|
1081 | } | |
1082 | } |
|
1082 | } | |
1083 |
|
1083 | |||
1084 | &.cb-hunk { |
|
1084 | &.cb-hunk { | |
1085 | font-family: @text-monospace; |
|
1085 | font-family: @text-monospace; | |
1086 | color: rgba(0, 0, 0, 0.3); |
|
1086 | color: rgba(0, 0, 0, 0.3); | |
1087 |
|
1087 | |||
1088 | td { |
|
1088 | td { | |
1089 | &:first-child { |
|
1089 | &:first-child { | |
1090 | background: #edf2f9; |
|
1090 | background: #edf2f9; | |
1091 | } |
|
1091 | } | |
1092 | &:last-child { |
|
1092 | &:last-child { | |
1093 | background: #f4f7fb; |
|
1093 | background: #f4f7fb; | |
1094 | } |
|
1094 | } | |
1095 | } |
|
1095 | } | |
1096 | } |
|
1096 | } | |
1097 | } |
|
1097 | } | |
1098 |
|
1098 | |||
1099 |
|
1099 | |||
1100 | td { |
|
1100 | td { | |
1101 | vertical-align: top; |
|
1101 | vertical-align: top; | |
1102 | padding: 0; |
|
1102 | padding: 0; | |
1103 |
|
1103 | |||
1104 | &.cb-content { |
|
1104 | &.cb-content { | |
1105 | font-size: 12.35px; |
|
1105 | font-size: 12.35px; | |
1106 |
|
1106 | |||
1107 | &.cb-line-selected .cb-code { |
|
1107 | &.cb-line-selected .cb-code { | |
1108 | background: @comment-highlight-color !important; |
|
1108 | background: @comment-highlight-color !important; | |
1109 | } |
|
1109 | } | |
1110 |
|
1110 | |||
1111 | span.cb-code { |
|
1111 | span.cb-code { | |
1112 | line-height: @cb-line-height; |
|
1112 | line-height: @cb-line-height; | |
1113 | padding-left: @cb-line-code-padding; |
|
1113 | padding-left: @cb-line-code-padding; | |
1114 | padding-right: @cb-line-code-padding; |
|
1114 | padding-right: @cb-line-code-padding; | |
1115 | display: block; |
|
1115 | display: block; | |
1116 | white-space: pre-wrap; |
|
1116 | white-space: pre-wrap; | |
1117 | font-family: @text-monospace; |
|
1117 | font-family: @text-monospace; | |
1118 | word-break: break-all; |
|
1118 | word-break: break-all; | |
1119 | .nonl { |
|
1119 | .nonl { | |
1120 | color: @color5; |
|
1120 | color: @color5; | |
1121 | } |
|
1121 | } | |
1122 | .cb-action { |
|
1122 | .cb-action { | |
1123 | &:before { |
|
1123 | &:before { | |
1124 | content: " "; |
|
1124 | content: " "; | |
1125 | } |
|
1125 | } | |
1126 | &.cb-deletion:before { |
|
1126 | &.cb-deletion:before { | |
1127 | content: "- "; |
|
1127 | content: "- "; | |
1128 | } |
|
1128 | } | |
1129 | &.cb-addition:before { |
|
1129 | &.cb-addition:before { | |
1130 | content: "+ "; |
|
1130 | content: "+ "; | |
1131 | } |
|
1131 | } | |
1132 | } |
|
1132 | } | |
1133 | } |
|
1133 | } | |
1134 |
|
1134 | |||
1135 | &> button.cb-comment-box-opener { |
|
1135 | &> button.cb-comment-box-opener { | |
1136 |
|
1136 | |||
1137 | padding: 2px 2px 1px 3px; |
|
1137 | padding: 2px 2px 1px 3px; | |
1138 | margin-left: -6px; |
|
1138 | margin-left: -6px; | |
1139 | margin-top: -1px; |
|
1139 | margin-top: -1px; | |
1140 |
|
1140 | |||
1141 | border-radius: @border-radius; |
|
1141 | border-radius: @border-radius; | |
1142 | position: absolute; |
|
1142 | position: absolute; | |
1143 | display: none; |
|
1143 | display: none; | |
1144 | } |
|
1144 | } | |
1145 | .cb-comment { |
|
1145 | .cb-comment { | |
1146 | margin-top: 10px; |
|
1146 | margin-top: 10px; | |
1147 | white-space: normal; |
|
1147 | white-space: normal; | |
1148 | } |
|
1148 | } | |
1149 | } |
|
1149 | } | |
1150 | &:hover { |
|
1150 | &:hover { | |
1151 | button.cb-comment-box-opener { |
|
1151 | button.cb-comment-box-opener { | |
1152 | display: block; |
|
1152 | display: block; | |
1153 | } |
|
1153 | } | |
1154 | &+ td button.cb-comment-box-opener { |
|
1154 | &+ td button.cb-comment-box-opener { | |
1155 | display: block |
|
1155 | display: block | |
1156 | } |
|
1156 | } | |
1157 | } |
|
1157 | } | |
1158 |
|
1158 | |||
1159 | &.cb-data { |
|
1159 | &.cb-data { | |
1160 | text-align: right; |
|
1160 | text-align: right; | |
1161 | width: 30px; |
|
1161 | width: 30px; | |
1162 | font-family: @text-monospace; |
|
1162 | font-family: @text-monospace; | |
1163 |
|
1163 | |||
1164 | .icon-comment { |
|
1164 | .icon-comment { | |
1165 | cursor: pointer; |
|
1165 | cursor: pointer; | |
1166 | } |
|
1166 | } | |
1167 | &.cb-line-selected { |
|
1167 | &.cb-line-selected { | |
1168 | background: @comment-highlight-color !important; |
|
1168 | background: @comment-highlight-color !important; | |
1169 | } |
|
1169 | } | |
1170 | &.cb-line-selected > div { |
|
1170 | &.cb-line-selected > div { | |
1171 | display: block; |
|
1171 | display: block; | |
1172 | background: @comment-highlight-color !important; |
|
1172 | background: @comment-highlight-color !important; | |
1173 | line-height: @cb-line-height; |
|
1173 | line-height: @cb-line-height; | |
1174 | color: rgba(0, 0, 0, 0.3); |
|
1174 | color: rgba(0, 0, 0, 0.3); | |
1175 | } |
|
1175 | } | |
1176 | } |
|
1176 | } | |
1177 |
|
1177 | |||
1178 | &.cb-lineno { |
|
1178 | &.cb-lineno { | |
1179 | padding: 0; |
|
1179 | padding: 0; | |
1180 | width: 50px; |
|
1180 | width: 50px; | |
1181 | color: rgba(0, 0, 0, 0.3); |
|
1181 | color: rgba(0, 0, 0, 0.3); | |
1182 | text-align: right; |
|
1182 | text-align: right; | |
1183 | border-right: 1px solid #eee; |
|
1183 | border-right: 1px solid #eee; | |
1184 | font-family: @text-monospace; |
|
1184 | font-family: @text-monospace; | |
1185 | -webkit-user-select: none; |
|
1185 | -webkit-user-select: none; | |
1186 | -moz-user-select: none; |
|
1186 | -moz-user-select: none; | |
1187 | user-select: none; |
|
1187 | user-select: none; | |
1188 |
|
1188 | |||
1189 | a::before { |
|
1189 | a::before { | |
1190 | content: attr(data-line-no); |
|
1190 | content: attr(data-line-no); | |
1191 | } |
|
1191 | } | |
1192 | &.cb-line-selected { |
|
1192 | &.cb-line-selected { | |
1193 | background: @comment-highlight-color !important; |
|
1193 | background: @comment-highlight-color !important; | |
1194 | } |
|
1194 | } | |
1195 |
|
1195 | |||
1196 | a { |
|
1196 | a { | |
1197 | display: block; |
|
1197 | display: block; | |
1198 | padding-right: @cb-line-code-padding; |
|
1198 | padding-right: @cb-line-code-padding; | |
1199 | padding-left: @cb-line-code-padding; |
|
1199 | padding-left: @cb-line-code-padding; | |
1200 | line-height: @cb-line-height; |
|
1200 | line-height: @cb-line-height; | |
1201 | color: rgba(0, 0, 0, 0.3); |
|
1201 | color: rgba(0, 0, 0, 0.3); | |
1202 | } |
|
1202 | } | |
1203 | } |
|
1203 | } | |
1204 |
|
1204 | |||
1205 | &.cb-empty { |
|
1205 | &.cb-empty { | |
1206 | background: @grey7; |
|
1206 | background: @grey7; | |
1207 | } |
|
1207 | } | |
1208 |
|
1208 | |||
1209 | ins { |
|
1209 | ins { | |
1210 | color: black; |
|
1210 | color: black; | |
1211 | background: #a6f3a6; |
|
1211 | background: #a6f3a6; | |
1212 | text-decoration: none; |
|
1212 | text-decoration: none; | |
1213 | } |
|
1213 | } | |
1214 | del { |
|
1214 | del { | |
1215 | color: black; |
|
1215 | color: black; | |
1216 | background: #f8cbcb; |
|
1216 | background: #f8cbcb; | |
1217 | text-decoration: none; |
|
1217 | text-decoration: none; | |
1218 | } |
|
1218 | } | |
1219 | &.cb-addition { |
|
1219 | &.cb-addition { | |
1220 | background: #ecffec; |
|
1220 | background: #ecffec; | |
1221 |
|
1221 | |||
1222 | &.blob-lineno { |
|
1222 | &.blob-lineno { | |
1223 | background: #ddffdd; |
|
1223 | background: #ddffdd; | |
1224 | } |
|
1224 | } | |
1225 | } |
|
1225 | } | |
1226 | &.cb-deletion { |
|
1226 | &.cb-deletion { | |
1227 | background: #ffecec; |
|
1227 | background: #ffecec; | |
1228 |
|
1228 | |||
1229 | &.blob-lineno { |
|
1229 | &.blob-lineno { | |
1230 | background: #ffdddd; |
|
1230 | background: #ffdddd; | |
1231 | } |
|
1231 | } | |
1232 | } |
|
1232 | } | |
1233 | &.cb-annotate-message-spacer { |
|
1233 | &.cb-annotate-message-spacer { | |
1234 | width:8px; |
|
1234 | width:8px; | |
1235 | padding: 1px 0px 0px 3px; |
|
1235 | padding: 1px 0px 0px 3px; | |
1236 | } |
|
1236 | } | |
1237 | &.cb-annotate-info { |
|
1237 | &.cb-annotate-info { | |
1238 | width: 320px; |
|
1238 | width: 320px; | |
1239 | min-width: 320px; |
|
1239 | min-width: 320px; | |
1240 | max-width: 320px; |
|
1240 | max-width: 320px; | |
1241 | padding: 5px 2px; |
|
1241 | padding: 5px 2px; | |
1242 | font-size: 13px; |
|
1242 | font-size: 13px; | |
1243 |
|
1243 | |||
1244 | .cb-annotate-message { |
|
1244 | .cb-annotate-message { | |
1245 | padding: 2px 0px 0px 0px; |
|
1245 | padding: 2px 0px 0px 0px; | |
1246 | white-space: pre-line; |
|
1246 | white-space: pre-line; | |
1247 | overflow: hidden; |
|
1247 | overflow: hidden; | |
1248 | } |
|
1248 | } | |
1249 | .rc-user { |
|
1249 | .rc-user { | |
1250 | float: none; |
|
1250 | float: none; | |
1251 | padding: 0 6px 0 17px; |
|
1251 | padding: 0 6px 0 17px; | |
1252 | min-width: unset; |
|
1252 | min-width: unset; | |
1253 | min-height: unset; |
|
1253 | min-height: unset; | |
1254 | } |
|
1254 | } | |
1255 | } |
|
1255 | } | |
1256 |
|
1256 | |||
1257 | &.cb-annotate-revision { |
|
1257 | &.cb-annotate-revision { | |
1258 | cursor: pointer; |
|
1258 | cursor: pointer; | |
1259 | text-align: right; |
|
1259 | text-align: right; | |
1260 | padding: 1px 3px 0px 3px; |
|
1260 | padding: 1px 3px 0px 3px; | |
1261 | } |
|
1261 | } | |
1262 | } |
|
1262 | } | |
1263 | } |
|
1263 | } |
@@ -1,2551 +1,2550 b'' | |||||
1 | //Primary CSS |
|
1 | //Primary CSS | |
2 |
|
2 | |||
3 | //--- IMPORTS ------------------// |
|
3 | //--- IMPORTS ------------------// | |
4 |
|
4 | |||
5 | @import 'helpers'; |
|
5 | @import 'helpers'; | |
6 | @import 'mixins'; |
|
6 | @import 'mixins'; | |
7 | @import 'rcicons'; |
|
7 | @import 'rcicons'; | |
8 | @import 'variables'; |
|
8 | @import 'variables'; | |
9 | @import 'bootstrap-variables'; |
|
9 | @import 'bootstrap-variables'; | |
10 | @import 'form-bootstrap'; |
|
10 | @import 'form-bootstrap'; | |
11 | @import 'codemirror'; |
|
11 | @import 'codemirror'; | |
12 | @import 'legacy_code_styles'; |
|
12 | @import 'legacy_code_styles'; | |
13 | @import 'readme-box'; |
|
13 | @import 'readme-box'; | |
14 | @import 'progress-bar'; |
|
14 | @import 'progress-bar'; | |
15 |
|
15 | |||
16 | @import 'type'; |
|
16 | @import 'type'; | |
17 | @import 'alerts'; |
|
17 | @import 'alerts'; | |
18 | @import 'buttons'; |
|
18 | @import 'buttons'; | |
19 | @import 'tags'; |
|
19 | @import 'tags'; | |
20 | @import 'code-block'; |
|
20 | @import 'code-block'; | |
21 | @import 'examples'; |
|
21 | @import 'examples'; | |
22 | @import 'login'; |
|
22 | @import 'login'; | |
23 | @import 'main-content'; |
|
23 | @import 'main-content'; | |
24 | @import 'select2'; |
|
24 | @import 'select2'; | |
25 | @import 'comments'; |
|
25 | @import 'comments'; | |
26 | @import 'panels-bootstrap'; |
|
26 | @import 'panels-bootstrap'; | |
27 | @import 'panels'; |
|
27 | @import 'panels'; | |
28 | @import 'deform'; |
|
28 | @import 'deform'; | |
29 |
|
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-size: 120%; |
|
37 | font-size: 120%; | |
38 | color: white; |
|
38 | color: white; | |
39 | background-color: @alert2; |
|
39 | background-color: @alert2; | |
40 | padding: 5px 0 5px 0; |
|
40 | padding: 5px 0 5px 0; | |
41 | font-weight: @text-semibold-weight; |
|
41 | font-weight: @text-semibold-weight; | |
42 | font-family: @text-semibold; |
|
42 | font-family: @text-semibold; | |
43 | } |
|
43 | } | |
44 |
|
44 | |||
45 | html { |
|
45 | html { | |
46 | display: table; |
|
46 | display: table; | |
47 | height: 100%; |
|
47 | height: 100%; | |
48 | width: 100%; |
|
48 | width: 100%; | |
49 | } |
|
49 | } | |
50 |
|
50 | |||
51 | body { |
|
51 | body { | |
52 | display: table-cell; |
|
52 | display: table-cell; | |
53 | width: 100%; |
|
53 | width: 100%; | |
54 | } |
|
54 | } | |
55 |
|
55 | |||
56 | //--- LAYOUT ------------------// |
|
56 | //--- LAYOUT ------------------// | |
57 |
|
57 | |||
58 | .hidden{ |
|
58 | .hidden{ | |
59 | display: none !important; |
|
59 | display: none !important; | |
60 | } |
|
60 | } | |
61 |
|
61 | |||
62 | .box{ |
|
62 | .box{ | |
63 | float: left; |
|
63 | float: left; | |
64 | width: 100%; |
|
64 | width: 100%; | |
65 | } |
|
65 | } | |
66 |
|
66 | |||
67 | .browser-header { |
|
67 | .browser-header { | |
68 | clear: both; |
|
68 | clear: both; | |
69 | } |
|
69 | } | |
70 | .main { |
|
70 | .main { | |
71 | clear: both; |
|
71 | clear: both; | |
72 | padding:0 0 @pagepadding; |
|
72 | padding:0 0 @pagepadding; | |
73 | height: auto; |
|
73 | height: auto; | |
74 |
|
74 | |||
75 | &:after { //clearfix |
|
75 | &:after { //clearfix | |
76 | content:""; |
|
76 | content:""; | |
77 | clear:both; |
|
77 | clear:both; | |
78 | width:100%; |
|
78 | width:100%; | |
79 | display:block; |
|
79 | display:block; | |
80 | } |
|
80 | } | |
81 | } |
|
81 | } | |
82 |
|
82 | |||
83 | .action-link{ |
|
83 | .action-link{ | |
84 | margin-left: @padding; |
|
84 | margin-left: @padding; | |
85 | padding-left: @padding; |
|
85 | padding-left: @padding; | |
86 | border-left: @border-thickness solid @border-default-color; |
|
86 | border-left: @border-thickness solid @border-default-color; | |
87 | } |
|
87 | } | |
88 |
|
88 | |||
89 | input + .action-link, .action-link.first{ |
|
89 | input + .action-link, .action-link.first{ | |
90 | border-left: none; |
|
90 | border-left: none; | |
91 | } |
|
91 | } | |
92 |
|
92 | |||
93 | .action-link.last{ |
|
93 | .action-link.last{ | |
94 | margin-right: @padding; |
|
94 | margin-right: @padding; | |
95 | padding-right: @padding; |
|
95 | padding-right: @padding; | |
96 | } |
|
96 | } | |
97 |
|
97 | |||
98 | .action-link.active, |
|
98 | .action-link.active, | |
99 | .action-link.active a{ |
|
99 | .action-link.active a{ | |
100 | color: @grey4; |
|
100 | color: @grey4; | |
101 | } |
|
101 | } | |
102 |
|
102 | |||
103 | .action-link.disabled { |
|
103 | .action-link.disabled { | |
104 | color: @grey4; |
|
104 | color: @grey4; | |
105 | cursor: inherit; |
|
105 | cursor: inherit; | |
106 | } |
|
106 | } | |
107 |
|
107 | |||
108 | .clipboard-action { |
|
108 | .clipboard-action { | |
109 | cursor: pointer; |
|
109 | cursor: pointer; | |
110 | } |
|
110 | } | |
111 |
|
111 | |||
112 | ul.simple-list{ |
|
112 | ul.simple-list{ | |
113 | list-style: none; |
|
113 | list-style: none; | |
114 | margin: 0; |
|
114 | margin: 0; | |
115 | padding: 0; |
|
115 | padding: 0; | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | .main-content { |
|
118 | .main-content { | |
119 | padding-bottom: @pagepadding; |
|
119 | padding-bottom: @pagepadding; | |
120 | } |
|
120 | } | |
121 |
|
121 | |||
122 | .wide-mode-wrapper { |
|
122 | .wide-mode-wrapper { | |
123 | max-width:4000px !important; |
|
123 | max-width:4000px !important; | |
124 | } |
|
124 | } | |
125 |
|
125 | |||
126 | .wrapper { |
|
126 | .wrapper { | |
127 | position: relative; |
|
127 | position: relative; | |
128 | max-width: @wrapper-maxwidth; |
|
128 | max-width: @wrapper-maxwidth; | |
129 | margin: 0 auto; |
|
129 | margin: 0 auto; | |
130 | } |
|
130 | } | |
131 |
|
131 | |||
132 | #content { |
|
132 | #content { | |
133 | clear: both; |
|
133 | clear: both; | |
134 | padding: 0 @contentpadding; |
|
134 | padding: 0 @contentpadding; | |
135 | } |
|
135 | } | |
136 |
|
136 | |||
137 | .advanced-settings-fields{ |
|
137 | .advanced-settings-fields{ | |
138 | input{ |
|
138 | input{ | |
139 | margin-left: @textmargin; |
|
139 | margin-left: @textmargin; | |
140 | margin-right: @padding/2; |
|
140 | margin-right: @padding/2; | |
141 | } |
|
141 | } | |
142 | } |
|
142 | } | |
143 |
|
143 | |||
144 | .cs_files_title { |
|
144 | .cs_files_title { | |
145 | margin: @pagepadding 0 0; |
|
145 | margin: @pagepadding 0 0; | |
146 | } |
|
146 | } | |
147 |
|
147 | |||
148 | input.inline[type="file"] { |
|
148 | input.inline[type="file"] { | |
149 | display: inline; |
|
149 | display: inline; | |
150 | } |
|
150 | } | |
151 |
|
151 | |||
152 | .error_page { |
|
152 | .error_page { | |
153 | margin: 10% auto; |
|
153 | margin: 10% auto; | |
154 |
|
154 | |||
155 | h1 { |
|
155 | h1 { | |
156 | color: @grey2; |
|
156 | color: @grey2; | |
157 | } |
|
157 | } | |
158 |
|
158 | |||
159 | .alert { |
|
159 | .alert { | |
160 | margin: @padding 0; |
|
160 | margin: @padding 0; | |
161 | } |
|
161 | } | |
162 |
|
162 | |||
163 | .error-branding { |
|
163 | .error-branding { | |
164 | color: @grey4; |
|
164 | color: @grey4; | |
165 | font-weight: @text-semibold-weight; |
|
165 | font-weight: @text-semibold-weight; | |
166 | font-family: @text-semibold; |
|
166 | font-family: @text-semibold; | |
167 | } |
|
167 | } | |
168 |
|
168 | |||
169 | .error_message { |
|
169 | .error_message { | |
170 | font-family: @text-regular; |
|
170 | font-family: @text-regular; | |
171 | } |
|
171 | } | |
172 |
|
172 | |||
173 | .sidebar { |
|
173 | .sidebar { | |
174 | min-height: 275px; |
|
174 | min-height: 275px; | |
175 | margin: 0; |
|
175 | margin: 0; | |
176 | padding: 0 0 @sidebarpadding @sidebarpadding; |
|
176 | padding: 0 0 @sidebarpadding @sidebarpadding; | |
177 | border: none; |
|
177 | border: none; | |
178 | } |
|
178 | } | |
179 |
|
179 | |||
180 | .main-content { |
|
180 | .main-content { | |
181 | position: relative; |
|
181 | position: relative; | |
182 | margin: 0 @sidebarpadding @sidebarpadding; |
|
182 | margin: 0 @sidebarpadding @sidebarpadding; | |
183 | padding: 0 0 0 @sidebarpadding; |
|
183 | padding: 0 0 0 @sidebarpadding; | |
184 | border-left: @border-thickness solid @grey5; |
|
184 | border-left: @border-thickness solid @grey5; | |
185 |
|
185 | |||
186 | @media (max-width:767px) { |
|
186 | @media (max-width:767px) { | |
187 | clear: both; |
|
187 | clear: both; | |
188 | width: 100%; |
|
188 | width: 100%; | |
189 | margin: 0; |
|
189 | margin: 0; | |
190 | border: none; |
|
190 | border: none; | |
191 | } |
|
191 | } | |
192 | } |
|
192 | } | |
193 |
|
193 | |||
194 | .inner-column { |
|
194 | .inner-column { | |
195 | float: left; |
|
195 | float: left; | |
196 | width: 29.75%; |
|
196 | width: 29.75%; | |
197 | min-height: 150px; |
|
197 | min-height: 150px; | |
198 | margin: @sidebarpadding 2% 0 0; |
|
198 | margin: @sidebarpadding 2% 0 0; | |
199 | padding: 0 2% 0 0; |
|
199 | padding: 0 2% 0 0; | |
200 | border-right: @border-thickness solid @grey5; |
|
200 | border-right: @border-thickness solid @grey5; | |
201 |
|
201 | |||
202 | @media (max-width:767px) { |
|
202 | @media (max-width:767px) { | |
203 | clear: both; |
|
203 | clear: both; | |
204 | width: 100%; |
|
204 | width: 100%; | |
205 | border: none; |
|
205 | border: none; | |
206 | } |
|
206 | } | |
207 |
|
207 | |||
208 | ul { |
|
208 | ul { | |
209 | padding-left: 1.25em; |
|
209 | padding-left: 1.25em; | |
210 | } |
|
210 | } | |
211 |
|
211 | |||
212 | &:last-child { |
|
212 | &:last-child { | |
213 | margin: @sidebarpadding 0 0; |
|
213 | margin: @sidebarpadding 0 0; | |
214 | border: none; |
|
214 | border: none; | |
215 | } |
|
215 | } | |
216 |
|
216 | |||
217 | h4 { |
|
217 | h4 { | |
218 | margin: 0 0 @padding; |
|
218 | margin: 0 0 @padding; | |
219 | font-weight: @text-semibold-weight; |
|
219 | font-weight: @text-semibold-weight; | |
220 | font-family: @text-semibold; |
|
220 | font-family: @text-semibold; | |
221 | } |
|
221 | } | |
222 | } |
|
222 | } | |
223 | } |
|
223 | } | |
224 | .error-page-logo { |
|
224 | .error-page-logo { | |
225 | width: 130px; |
|
225 | width: 130px; | |
226 | height: 160px; |
|
226 | height: 160px; | |
227 | } |
|
227 | } | |
228 |
|
228 | |||
229 | // HEADER |
|
229 | // HEADER | |
230 | .header { |
|
230 | .header { | |
231 |
|
231 | |||
232 | // TODO: johbo: Fix login pages, so that they work without a min-height |
|
232 | // TODO: johbo: Fix login pages, so that they work without a min-height | |
233 | // for the header and then remove the min-height. I chose a smaller value |
|
233 | // for the header and then remove the min-height. I chose a smaller value | |
234 | // intentionally here to avoid rendering issues in the main navigation. |
|
234 | // intentionally here to avoid rendering issues in the main navigation. | |
235 | min-height: 49px; |
|
235 | min-height: 49px; | |
236 |
|
236 | |||
237 | position: relative; |
|
237 | position: relative; | |
238 | vertical-align: bottom; |
|
238 | vertical-align: bottom; | |
239 | padding: 0 @header-padding; |
|
239 | padding: 0 @header-padding; | |
240 | background-color: @grey1; |
|
240 | background-color: @grey1; | |
241 | color: @grey5; |
|
241 | color: @grey5; | |
242 |
|
242 | |||
243 | .title { |
|
243 | .title { | |
244 | overflow: visible; |
|
244 | overflow: visible; | |
245 | } |
|
245 | } | |
246 |
|
246 | |||
247 | &:before, |
|
247 | &:before, | |
248 | &:after { |
|
248 | &:after { | |
249 | content: ""; |
|
249 | content: ""; | |
250 | clear: both; |
|
250 | clear: both; | |
251 | width: 100%; |
|
251 | width: 100%; | |
252 | } |
|
252 | } | |
253 |
|
253 | |||
254 | // TODO: johbo: Avoids breaking "Repositories" chooser |
|
254 | // TODO: johbo: Avoids breaking "Repositories" chooser | |
255 | .select2-container .select2-choice .select2-arrow { |
|
255 | .select2-container .select2-choice .select2-arrow { | |
256 | display: none; |
|
256 | display: none; | |
257 | } |
|
257 | } | |
258 | } |
|
258 | } | |
259 |
|
259 | |||
260 | #header-inner { |
|
260 | #header-inner { | |
261 | &.title { |
|
261 | &.title { | |
262 | margin: 0; |
|
262 | margin: 0; | |
263 | } |
|
263 | } | |
264 | &:before, |
|
264 | &:before, | |
265 | &:after { |
|
265 | &:after { | |
266 | content: ""; |
|
266 | content: ""; | |
267 | clear: both; |
|
267 | clear: both; | |
268 | } |
|
268 | } | |
269 | } |
|
269 | } | |
270 |
|
270 | |||
271 | // Gists |
|
271 | // Gists | |
272 | #files_data { |
|
272 | #files_data { | |
273 | clear: both; //for firefox |
|
273 | clear: both; //for firefox | |
274 | } |
|
274 | } | |
275 | #gistid { |
|
275 | #gistid { | |
276 | margin-right: @padding; |
|
276 | margin-right: @padding; | |
277 | } |
|
277 | } | |
278 |
|
278 | |||
279 | // Global Settings Editor |
|
279 | // Global Settings Editor | |
280 | .textarea.editor { |
|
280 | .textarea.editor { | |
281 | float: left; |
|
281 | float: left; | |
282 | position: relative; |
|
282 | position: relative; | |
283 | max-width: @texteditor-width; |
|
283 | max-width: @texteditor-width; | |
284 |
|
284 | |||
285 | select { |
|
285 | select { | |
286 | position: absolute; |
|
286 | position: absolute; | |
287 | top:10px; |
|
287 | top:10px; | |
288 | right:0; |
|
288 | right:0; | |
289 | } |
|
289 | } | |
290 |
|
290 | |||
291 | .CodeMirror { |
|
291 | .CodeMirror { | |
292 | margin: 0; |
|
292 | margin: 0; | |
293 | } |
|
293 | } | |
294 |
|
294 | |||
295 | .help-block { |
|
295 | .help-block { | |
296 | margin: 0 0 @padding; |
|
296 | margin: 0 0 @padding; | |
297 | padding:.5em; |
|
297 | padding:.5em; | |
298 | background-color: @grey6; |
|
298 | background-color: @grey6; | |
299 | &.pre-formatting { |
|
299 | &.pre-formatting { | |
300 | white-space: pre; |
|
300 | white-space: pre; | |
301 | } |
|
301 | } | |
302 | } |
|
302 | } | |
303 | } |
|
303 | } | |
304 |
|
304 | |||
305 | ul.auth_plugins { |
|
305 | ul.auth_plugins { | |
306 | margin: @padding 0 @padding @legend-width; |
|
306 | margin: @padding 0 @padding @legend-width; | |
307 | padding: 0; |
|
307 | padding: 0; | |
308 |
|
308 | |||
309 | li { |
|
309 | li { | |
310 | margin-bottom: @padding; |
|
310 | margin-bottom: @padding; | |
311 | line-height: 1em; |
|
311 | line-height: 1em; | |
312 | list-style-type: none; |
|
312 | list-style-type: none; | |
313 |
|
313 | |||
314 | .auth_buttons .btn { |
|
314 | .auth_buttons .btn { | |
315 | margin-right: @padding; |
|
315 | margin-right: @padding; | |
316 | } |
|
316 | } | |
317 |
|
317 | |||
318 | } |
|
318 | } | |
319 | } |
|
319 | } | |
320 |
|
320 | |||
321 |
|
321 | |||
322 | // My Account PR list |
|
322 | // My Account PR list | |
323 |
|
323 | |||
324 | #show_closed { |
|
324 | #show_closed { | |
325 | margin: 0 1em 0 0; |
|
325 | margin: 0 1em 0 0; | |
326 | } |
|
326 | } | |
327 |
|
327 | |||
328 | .pullrequestlist { |
|
328 | .pullrequestlist { | |
329 | .closed { |
|
329 | .closed { | |
330 | background-color: @grey6; |
|
330 | background-color: @grey6; | |
331 | } |
|
331 | } | |
332 | .td-status { |
|
332 | .td-status { | |
333 | padding-left: .5em; |
|
333 | padding-left: .5em; | |
334 | } |
|
334 | } | |
335 | .log-container .truncate { |
|
335 | .log-container .truncate { | |
336 | height: 2.75em; |
|
336 | height: 2.75em; | |
337 | white-space: pre-line; |
|
337 | white-space: pre-line; | |
338 | } |
|
338 | } | |
339 | table.rctable .user { |
|
339 | table.rctable .user { | |
340 | padding-left: 0; |
|
340 | padding-left: 0; | |
341 | } |
|
341 | } | |
342 | table.rctable { |
|
342 | table.rctable { | |
343 | td.td-description, |
|
343 | td.td-description, | |
344 | .rc-user { |
|
344 | .rc-user { | |
345 | min-width: auto; |
|
345 | min-width: auto; | |
346 | } |
|
346 | } | |
347 | } |
|
347 | } | |
348 | } |
|
348 | } | |
349 |
|
349 | |||
350 | // Pull Requests |
|
350 | // Pull Requests | |
351 |
|
351 | |||
352 | .pullrequests_section_head { |
|
352 | .pullrequests_section_head { | |
353 | display: block; |
|
353 | display: block; | |
354 | clear: both; |
|
354 | clear: both; | |
355 | margin: @padding 0; |
|
355 | margin: @padding 0; | |
356 | font-weight: @text-bold-weight; |
|
356 | font-weight: @text-bold-weight; | |
357 | font-family: @text-bold; |
|
357 | font-family: @text-bold; | |
358 | } |
|
358 | } | |
359 |
|
359 | |||
360 | .pr-origininfo, .pr-targetinfo { |
|
360 | .pr-origininfo, .pr-targetinfo { | |
361 | position: relative; |
|
361 | position: relative; | |
362 |
|
362 | |||
363 | .tag { |
|
363 | .tag { | |
364 | display: inline-block; |
|
364 | display: inline-block; | |
365 | margin: 0 1em .5em 0; |
|
365 | margin: 0 1em .5em 0; | |
366 | } |
|
366 | } | |
367 |
|
367 | |||
368 | .clone-url { |
|
368 | .clone-url { | |
369 | display: inline-block; |
|
369 | display: inline-block; | |
370 | margin: 0 0 .5em 0; |
|
370 | margin: 0 0 .5em 0; | |
371 | padding: 0; |
|
371 | padding: 0; | |
372 | line-height: 1.2em; |
|
372 | line-height: 1.2em; | |
373 | } |
|
373 | } | |
374 | } |
|
374 | } | |
375 |
|
375 | |||
376 | .pr-mergeinfo { |
|
376 | .pr-mergeinfo { | |
377 | min-width: 95% !important; |
|
377 | min-width: 95% !important; | |
378 | padding: 0 !important; |
|
378 | padding: 0 !important; | |
379 | border: 0; |
|
379 | border: 0; | |
380 | } |
|
380 | } | |
381 | .pr-mergeinfo-copy { |
|
381 | .pr-mergeinfo-copy { | |
382 | padding: 0 0; |
|
382 | padding: 0 0; | |
383 | } |
|
383 | } | |
384 |
|
384 | |||
385 | .pr-pullinfo { |
|
385 | .pr-pullinfo { | |
386 | min-width: 95% !important; |
|
386 | min-width: 95% !important; | |
387 | padding: 0 !important; |
|
387 | padding: 0 !important; | |
388 | border: 0; |
|
388 | border: 0; | |
389 | } |
|
389 | } | |
390 | .pr-pullinfo-copy { |
|
390 | .pr-pullinfo-copy { | |
391 | padding: 0 0; |
|
391 | padding: 0 0; | |
392 | } |
|
392 | } | |
393 |
|
393 | |||
394 |
|
394 | |||
395 | #pr-title-input { |
|
395 | #pr-title-input { | |
396 | width: 72%; |
|
396 | width: 72%; | |
397 | font-size: 1em; |
|
397 | font-size: 1em; | |
398 | margin: 0; |
|
398 | margin: 0; | |
399 | padding: 0 0 0 @padding/4; |
|
399 | padding: 0 0 0 @padding/4; | |
400 | line-height: 1.7em; |
|
400 | line-height: 1.7em; | |
401 | color: @text-color; |
|
401 | color: @text-color; | |
402 | letter-spacing: .02em; |
|
402 | letter-spacing: .02em; | |
403 | font-weight: @text-bold-weight; |
|
403 | font-weight: @text-bold-weight; | |
404 | font-family: @text-bold; |
|
404 | font-family: @text-bold; | |
405 | } |
|
405 | } | |
406 |
|
406 | |||
407 | #pullrequest_title { |
|
407 | #pullrequest_title { | |
408 | width: 100%; |
|
408 | width: 100%; | |
409 | box-sizing: border-box; |
|
409 | box-sizing: border-box; | |
410 | } |
|
410 | } | |
411 |
|
411 | |||
412 | #pr_open_message { |
|
412 | #pr_open_message { | |
413 | border: @border-thickness solid #fff; |
|
413 | border: @border-thickness solid #fff; | |
414 | border-radius: @border-radius; |
|
414 | border-radius: @border-radius; | |
415 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; |
|
415 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; | |
416 | text-align: left; |
|
416 | text-align: left; | |
417 | overflow: hidden; |
|
417 | overflow: hidden; | |
418 | } |
|
418 | } | |
419 |
|
419 | |||
420 | .pr-submit-button { |
|
420 | .pr-submit-button { | |
421 | float: right; |
|
421 | float: right; | |
422 | margin: 0 0 0 5px; |
|
422 | margin: 0 0 0 5px; | |
423 | } |
|
423 | } | |
424 |
|
424 | |||
425 | .pr-spacing-container { |
|
425 | .pr-spacing-container { | |
426 | padding: 20px; |
|
426 | padding: 20px; | |
427 | clear: both |
|
427 | clear: both | |
428 | } |
|
428 | } | |
429 |
|
429 | |||
430 | #pr-description-input { |
|
430 | #pr-description-input { | |
431 | margin-bottom: 0; |
|
431 | margin-bottom: 0; | |
432 | } |
|
432 | } | |
433 |
|
433 | |||
434 | .pr-description-label { |
|
434 | .pr-description-label { | |
435 | vertical-align: top; |
|
435 | vertical-align: top; | |
436 | } |
|
436 | } | |
437 |
|
437 | |||
438 | .perms_section_head { |
|
438 | .perms_section_head { | |
439 | min-width: 625px; |
|
439 | min-width: 625px; | |
440 |
|
440 | |||
441 | h2 { |
|
441 | h2 { | |
442 | margin-bottom: 0; |
|
442 | margin-bottom: 0; | |
443 | } |
|
443 | } | |
444 |
|
444 | |||
445 | .label-checkbox { |
|
445 | .label-checkbox { | |
446 | float: left; |
|
446 | float: left; | |
447 | } |
|
447 | } | |
448 |
|
448 | |||
449 | &.field { |
|
449 | &.field { | |
450 | margin: @space 0 @padding; |
|
450 | margin: @space 0 @padding; | |
451 | } |
|
451 | } | |
452 |
|
452 | |||
453 | &:first-child.field { |
|
453 | &:first-child.field { | |
454 | margin-top: 0; |
|
454 | margin-top: 0; | |
455 |
|
455 | |||
456 | .label { |
|
456 | .label { | |
457 | margin-top: 0; |
|
457 | margin-top: 0; | |
458 | padding-top: 0; |
|
458 | padding-top: 0; | |
459 | } |
|
459 | } | |
460 |
|
460 | |||
461 | .radios { |
|
461 | .radios { | |
462 | padding-top: 0; |
|
462 | padding-top: 0; | |
463 | } |
|
463 | } | |
464 | } |
|
464 | } | |
465 |
|
465 | |||
466 | .radios { |
|
466 | .radios { | |
467 | position: relative; |
|
467 | position: relative; | |
468 | width: 505px; |
|
468 | width: 505px; | |
469 | } |
|
469 | } | |
470 | } |
|
470 | } | |
471 |
|
471 | |||
472 | //--- MODULES ------------------// |
|
472 | //--- MODULES ------------------// | |
473 |
|
473 | |||
474 |
|
474 | |||
475 | // Server Announcement |
|
475 | // Server Announcement | |
476 | #server-announcement { |
|
476 | #server-announcement { | |
477 | width: 95%; |
|
477 | width: 95%; | |
478 | margin: @padding auto; |
|
478 | margin: @padding auto; | |
479 | padding: @padding; |
|
479 | padding: @padding; | |
480 | border-width: 2px; |
|
480 | border-width: 2px; | |
481 | border-style: solid; |
|
481 | border-style: solid; | |
482 | .border-radius(2px); |
|
482 | .border-radius(2px); | |
483 | font-weight: @text-bold-weight; |
|
483 | font-weight: @text-bold-weight; | |
484 | font-family: @text-bold; |
|
484 | font-family: @text-bold; | |
485 |
|
485 | |||
486 | &.info { border-color: @alert4; background-color: @alert4-inner; } |
|
486 | &.info { border-color: @alert4; background-color: @alert4-inner; } | |
487 | &.warning { border-color: @alert3; background-color: @alert3-inner; } |
|
487 | &.warning { border-color: @alert3; background-color: @alert3-inner; } | |
488 | &.error { border-color: @alert2; background-color: @alert2-inner; } |
|
488 | &.error { border-color: @alert2; background-color: @alert2-inner; } | |
489 | &.success { border-color: @alert1; background-color: @alert1-inner; } |
|
489 | &.success { border-color: @alert1; background-color: @alert1-inner; } | |
490 | &.neutral { border-color: @grey3; background-color: @grey6; } |
|
490 | &.neutral { border-color: @grey3; background-color: @grey6; } | |
491 | } |
|
491 | } | |
492 |
|
492 | |||
493 | // Fixed Sidebar Column |
|
493 | // Fixed Sidebar Column | |
494 | .sidebar-col-wrapper { |
|
494 | .sidebar-col-wrapper { | |
495 | padding-left: @sidebar-all-width; |
|
495 | padding-left: @sidebar-all-width; | |
496 |
|
496 | |||
497 | .sidebar { |
|
497 | .sidebar { | |
498 | width: @sidebar-width; |
|
498 | width: @sidebar-width; | |
499 | margin-left: -@sidebar-all-width; |
|
499 | margin-left: -@sidebar-all-width; | |
500 | } |
|
500 | } | |
501 | } |
|
501 | } | |
502 |
|
502 | |||
503 | .sidebar-col-wrapper.scw-small { |
|
503 | .sidebar-col-wrapper.scw-small { | |
504 | padding-left: @sidebar-small-all-width; |
|
504 | padding-left: @sidebar-small-all-width; | |
505 |
|
505 | |||
506 | .sidebar { |
|
506 | .sidebar { | |
507 | width: @sidebar-small-width; |
|
507 | width: @sidebar-small-width; | |
508 | margin-left: -@sidebar-small-all-width; |
|
508 | margin-left: -@sidebar-small-all-width; | |
509 | } |
|
509 | } | |
510 | } |
|
510 | } | |
511 |
|
511 | |||
512 |
|
512 | |||
513 | // FOOTER |
|
513 | // FOOTER | |
514 | #footer { |
|
514 | #footer { | |
515 | padding: 0; |
|
515 | padding: 0; | |
516 | text-align: center; |
|
516 | text-align: center; | |
517 | vertical-align: middle; |
|
517 | vertical-align: middle; | |
518 | color: @grey2; |
|
518 | color: @grey2; | |
519 | font-size: 11px; |
|
519 | font-size: 11px; | |
520 |
|
520 | |||
521 | p { |
|
521 | p { | |
522 | margin: 0; |
|
522 | margin: 0; | |
523 | padding: 1em; |
|
523 | padding: 1em; | |
524 | line-height: 1em; |
|
524 | line-height: 1em; | |
525 | } |
|
525 | } | |
526 |
|
526 | |||
527 | .server-instance { //server instance |
|
527 | .server-instance { //server instance | |
528 | display: none; |
|
528 | display: none; | |
529 | } |
|
529 | } | |
530 |
|
530 | |||
531 | .title { |
|
531 | .title { | |
532 | float: none; |
|
532 | float: none; | |
533 | margin: 0 auto; |
|
533 | margin: 0 auto; | |
534 | } |
|
534 | } | |
535 | } |
|
535 | } | |
536 |
|
536 | |||
537 | button.close { |
|
537 | button.close { | |
538 | padding: 0; |
|
538 | padding: 0; | |
539 | cursor: pointer; |
|
539 | cursor: pointer; | |
540 | background: transparent; |
|
540 | background: transparent; | |
541 | border: 0; |
|
541 | border: 0; | |
542 | .box-shadow(none); |
|
542 | .box-shadow(none); | |
543 | -webkit-appearance: none; |
|
543 | -webkit-appearance: none; | |
544 | } |
|
544 | } | |
545 |
|
545 | |||
546 | .close { |
|
546 | .close { | |
547 | float: right; |
|
547 | float: right; | |
548 | font-size: 21px; |
|
548 | font-size: 21px; | |
549 | font-family: @text-bootstrap; |
|
549 | font-family: @text-bootstrap; | |
550 | line-height: 1em; |
|
550 | line-height: 1em; | |
551 | font-weight: bold; |
|
551 | font-weight: bold; | |
552 | color: @grey2; |
|
552 | color: @grey2; | |
553 |
|
553 | |||
554 | &:hover, |
|
554 | &:hover, | |
555 | &:focus { |
|
555 | &:focus { | |
556 | color: @grey1; |
|
556 | color: @grey1; | |
557 | text-decoration: none; |
|
557 | text-decoration: none; | |
558 | cursor: pointer; |
|
558 | cursor: pointer; | |
559 | } |
|
559 | } | |
560 | } |
|
560 | } | |
561 |
|
561 | |||
562 | // GRID |
|
562 | // GRID | |
563 | .sorting, |
|
563 | .sorting, | |
564 | .sorting_desc, |
|
564 | .sorting_desc, | |
565 | .sorting_asc { |
|
565 | .sorting_asc { | |
566 | cursor: pointer; |
|
566 | cursor: pointer; | |
567 | } |
|
567 | } | |
568 | .sorting_desc:after { |
|
568 | .sorting_desc:after { | |
569 | content: "\00A0\25B2"; |
|
569 | content: "\00A0\25B2"; | |
570 | font-size: .75em; |
|
570 | font-size: .75em; | |
571 | } |
|
571 | } | |
572 | .sorting_asc:after { |
|
572 | .sorting_asc:after { | |
573 | content: "\00A0\25BC"; |
|
573 | content: "\00A0\25BC"; | |
574 | font-size: .68em; |
|
574 | font-size: .68em; | |
575 | } |
|
575 | } | |
576 |
|
576 | |||
577 |
|
577 | |||
578 | .user_auth_tokens { |
|
578 | .user_auth_tokens { | |
579 |
|
579 | |||
580 | &.truncate { |
|
580 | &.truncate { | |
581 | white-space: nowrap; |
|
581 | white-space: nowrap; | |
582 | overflow: hidden; |
|
582 | overflow: hidden; | |
583 | text-overflow: ellipsis; |
|
583 | text-overflow: ellipsis; | |
584 | } |
|
584 | } | |
585 |
|
585 | |||
586 | .fields .field .input { |
|
586 | .fields .field .input { | |
587 | margin: 0; |
|
587 | margin: 0; | |
588 | } |
|
588 | } | |
589 |
|
589 | |||
590 | input#description { |
|
590 | input#description { | |
591 | width: 100px; |
|
591 | width: 100px; | |
592 | margin: 0; |
|
592 | margin: 0; | |
593 | } |
|
593 | } | |
594 |
|
594 | |||
595 | .drop-menu { |
|
595 | .drop-menu { | |
596 | // TODO: johbo: Remove this, should work out of the box when |
|
596 | // TODO: johbo: Remove this, should work out of the box when | |
597 | // having multiple inputs inline |
|
597 | // having multiple inputs inline | |
598 | margin: 0 0 0 5px; |
|
598 | margin: 0 0 0 5px; | |
599 | } |
|
599 | } | |
600 | } |
|
600 | } | |
601 | #user_list_table { |
|
601 | #user_list_table { | |
602 | .closed { |
|
602 | .closed { | |
603 | background-color: @grey6; |
|
603 | background-color: @grey6; | |
604 | } |
|
604 | } | |
605 | } |
|
605 | } | |
606 |
|
606 | |||
607 |
|
607 | |||
608 | input, textarea { |
|
608 | input, textarea { | |
609 | &.disabled { |
|
609 | &.disabled { | |
610 | opacity: .5; |
|
610 | opacity: .5; | |
611 | } |
|
611 | } | |
612 |
|
612 | |||
613 | &:hover { |
|
613 | &:hover { | |
614 | border-color: @grey3; |
|
614 | border-color: @grey3; | |
615 | box-shadow: @button-shadow; |
|
615 | box-shadow: @button-shadow; | |
616 | } |
|
616 | } | |
617 |
|
617 | |||
618 | &:focus { |
|
618 | &:focus { | |
619 | border-color: @rcblue; |
|
619 | border-color: @rcblue; | |
620 | box-shadow: @button-shadow; |
|
620 | box-shadow: @button-shadow; | |
621 | } |
|
621 | } | |
622 | } |
|
622 | } | |
623 |
|
623 | |||
624 | // remove extra padding in firefox |
|
624 | // remove extra padding in firefox | |
625 | input::-moz-focus-inner { border:0; padding:0 } |
|
625 | input::-moz-focus-inner { border:0; padding:0 } | |
626 |
|
626 | |||
627 | .adjacent input { |
|
627 | .adjacent input { | |
628 | margin-bottom: @padding; |
|
628 | margin-bottom: @padding; | |
629 | } |
|
629 | } | |
630 |
|
630 | |||
631 | .permissions_boxes { |
|
631 | .permissions_boxes { | |
632 | display: block; |
|
632 | display: block; | |
633 | } |
|
633 | } | |
634 |
|
634 | |||
635 | //FORMS |
|
635 | //FORMS | |
636 |
|
636 | |||
637 | .medium-inline, |
|
637 | .medium-inline, | |
638 | input#description.medium-inline { |
|
638 | input#description.medium-inline { | |
639 | display: inline; |
|
639 | display: inline; | |
640 | width: @medium-inline-input-width; |
|
640 | width: @medium-inline-input-width; | |
641 | min-width: 100px; |
|
641 | min-width: 100px; | |
642 | } |
|
642 | } | |
643 |
|
643 | |||
644 | select { |
|
644 | select { | |
645 | //reset |
|
645 | //reset | |
646 | -webkit-appearance: none; |
|
646 | -webkit-appearance: none; | |
647 | -moz-appearance: none; |
|
647 | -moz-appearance: none; | |
648 |
|
648 | |||
649 | display: inline-block; |
|
649 | display: inline-block; | |
650 | height: 28px; |
|
650 | height: 28px; | |
651 | width: auto; |
|
651 | width: auto; | |
652 | margin: 0 @padding @padding 0; |
|
652 | margin: 0 @padding @padding 0; | |
653 | padding: 0 18px 0 8px; |
|
653 | padding: 0 18px 0 8px; | |
654 | line-height:1em; |
|
654 | line-height:1em; | |
655 | font-size: @basefontsize; |
|
655 | font-size: @basefontsize; | |
656 | border: @border-thickness solid @grey5; |
|
656 | border: @border-thickness solid @grey5; | |
657 | border-radius: @border-radius; |
|
657 | border-radius: @border-radius; | |
658 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; |
|
658 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; | |
659 | color: @grey4; |
|
659 | color: @grey4; | |
660 | box-shadow: @button-shadow; |
|
660 | box-shadow: @button-shadow; | |
661 |
|
661 | |||
662 | &:after { |
|
662 | &:after { | |
663 | content: "\00A0\25BE"; |
|
663 | content: "\00A0\25BE"; | |
664 | } |
|
664 | } | |
665 |
|
665 | |||
666 | &:focus, &:hover { |
|
666 | &:focus, &:hover { | |
667 | outline: none; |
|
667 | outline: none; | |
668 | border-color: @grey4; |
|
668 | border-color: @grey4; | |
669 | color: @rcdarkblue; |
|
669 | color: @rcdarkblue; | |
670 | } |
|
670 | } | |
671 | } |
|
671 | } | |
672 |
|
672 | |||
673 | option { |
|
673 | option { | |
674 | &:focus { |
|
674 | &:focus { | |
675 | outline: none; |
|
675 | outline: none; | |
676 | } |
|
676 | } | |
677 | } |
|
677 | } | |
678 |
|
678 | |||
679 | input, |
|
679 | input, | |
680 | textarea { |
|
680 | textarea { | |
681 | padding: @input-padding; |
|
681 | padding: @input-padding; | |
682 | border: @input-border-thickness solid @border-highlight-color; |
|
682 | border: @input-border-thickness solid @border-highlight-color; | |
683 | .border-radius (@border-radius); |
|
683 | .border-radius (@border-radius); | |
684 | font-family: @text-light; |
|
684 | font-family: @text-light; | |
685 | font-size: @basefontsize; |
|
685 | font-size: @basefontsize; | |
686 |
|
686 | |||
687 | &.input-sm { |
|
687 | &.input-sm { | |
688 | padding: 5px; |
|
688 | padding: 5px; | |
689 | } |
|
689 | } | |
690 |
|
690 | |||
691 | &#description { |
|
691 | &#description { | |
692 | min-width: @input-description-minwidth; |
|
692 | min-width: @input-description-minwidth; | |
693 | min-height: 1em; |
|
693 | min-height: 1em; | |
694 | padding: 10px; |
|
694 | padding: 10px; | |
695 | } |
|
695 | } | |
696 | } |
|
696 | } | |
697 |
|
697 | |||
698 | .field-sm { |
|
698 | .field-sm { | |
699 | input, |
|
699 | input, | |
700 | textarea { |
|
700 | textarea { | |
701 | padding: 5px; |
|
701 | padding: 5px; | |
702 | } |
|
702 | } | |
703 | } |
|
703 | } | |
704 |
|
704 | |||
705 | textarea { |
|
705 | textarea { | |
706 | display: block; |
|
706 | display: block; | |
707 | clear: both; |
|
707 | clear: both; | |
708 | width: 100%; |
|
708 | width: 100%; | |
709 | min-height: 100px; |
|
709 | min-height: 100px; | |
710 | margin-bottom: @padding; |
|
710 | margin-bottom: @padding; | |
711 | .box-sizing(border-box); |
|
711 | .box-sizing(border-box); | |
712 | overflow: auto; |
|
712 | overflow: auto; | |
713 | } |
|
713 | } | |
714 |
|
714 | |||
715 | label { |
|
715 | label { | |
716 | font-family: @text-light; |
|
716 | font-family: @text-light; | |
717 | } |
|
717 | } | |
718 |
|
718 | |||
719 | // GRAVATARS |
|
719 | // GRAVATARS | |
720 | // centers gravatar on username to the right |
|
720 | // centers gravatar on username to the right | |
721 |
|
721 | |||
722 | .gravatar { |
|
722 | .gravatar { | |
723 | display: inline; |
|
723 | display: inline; | |
724 | min-width: 16px; |
|
724 | min-width: 16px; | |
725 | min-height: 16px; |
|
725 | min-height: 16px; | |
726 | margin: -5px 0; |
|
726 | margin: -5px 0; | |
727 | padding: 0; |
|
727 | padding: 0; | |
728 | line-height: 1em; |
|
728 | line-height: 1em; | |
729 | box-sizing: content-box; |
|
729 | box-sizing: content-box; | |
730 | border-radius: 50%; |
|
730 | border-radius: 50%; | |
731 |
|
731 | |||
732 | &.gravatar-large { |
|
732 | &.gravatar-large { | |
733 | margin: -0.5em .25em -0.5em 0; |
|
733 | margin: -0.5em .25em -0.5em 0; | |
734 | } |
|
734 | } | |
735 |
|
735 | |||
736 | & + .user { |
|
736 | & + .user { | |
737 | display: inline; |
|
737 | display: inline; | |
738 | margin: 0; |
|
738 | margin: 0; | |
739 | padding: 0 0 0 .17em; |
|
739 | padding: 0 0 0 .17em; | |
740 | line-height: 1em; |
|
740 | line-height: 1em; | |
741 | } |
|
741 | } | |
742 | } |
|
742 | } | |
743 |
|
743 | |||
744 | .user-inline-data { |
|
744 | .user-inline-data { | |
745 | display: inline-block; |
|
745 | display: inline-block; | |
746 | float: left; |
|
746 | float: left; | |
747 | padding-left: .5em; |
|
747 | padding-left: .5em; | |
748 | line-height: 1.3em; |
|
748 | line-height: 1.3em; | |
749 | } |
|
749 | } | |
750 |
|
750 | |||
751 | .rc-user { // gravatar + user wrapper |
|
751 | .rc-user { // gravatar + user wrapper | |
752 | float: left; |
|
752 | float: left; | |
753 | position: relative; |
|
753 | position: relative; | |
754 | min-width: 100px; |
|
754 | min-width: 100px; | |
755 | max-width: 200px; |
|
755 | max-width: 200px; | |
756 | min-height: (@gravatar-size + @border-thickness * 2); // account for border |
|
756 | min-height: (@gravatar-size + @border-thickness * 2); // account for border | |
757 | display: block; |
|
757 | display: block; | |
758 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); |
|
758 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); | |
759 |
|
759 | |||
760 |
|
760 | |||
761 | .gravatar { |
|
761 | .gravatar { | |
762 | display: block; |
|
762 | display: block; | |
763 | position: absolute; |
|
763 | position: absolute; | |
764 | top: 0; |
|
764 | top: 0; | |
765 | left: 0; |
|
765 | left: 0; | |
766 | min-width: @gravatar-size; |
|
766 | min-width: @gravatar-size; | |
767 | min-height: @gravatar-size; |
|
767 | min-height: @gravatar-size; | |
768 | margin: 0; |
|
768 | margin: 0; | |
769 | } |
|
769 | } | |
770 |
|
770 | |||
771 | .user { |
|
771 | .user { | |
772 | display: block; |
|
772 | display: block; | |
773 | max-width: 175px; |
|
773 | max-width: 175px; | |
774 | padding-top: 2px; |
|
774 | padding-top: 2px; | |
775 | overflow: hidden; |
|
775 | overflow: hidden; | |
776 | text-overflow: ellipsis; |
|
776 | text-overflow: ellipsis; | |
777 | } |
|
777 | } | |
778 | } |
|
778 | } | |
779 |
|
779 | |||
780 | .gist-gravatar, |
|
780 | .gist-gravatar, | |
781 | .journal_container { |
|
781 | .journal_container { | |
782 | .gravatar-large { |
|
782 | .gravatar-large { | |
783 | margin: 0 .5em -10px 0; |
|
783 | margin: 0 .5em -10px 0; | |
784 | } |
|
784 | } | |
785 | } |
|
785 | } | |
786 |
|
786 | |||
787 |
|
787 | |||
788 | // ADMIN SETTINGS |
|
788 | // ADMIN SETTINGS | |
789 |
|
789 | |||
790 | // Tag Patterns |
|
790 | // Tag Patterns | |
791 | .tag_patterns { |
|
791 | .tag_patterns { | |
792 | .tag_input { |
|
792 | .tag_input { | |
793 | margin-bottom: @padding; |
|
793 | margin-bottom: @padding; | |
794 | } |
|
794 | } | |
795 | } |
|
795 | } | |
796 |
|
796 | |||
797 | .locked_input { |
|
797 | .locked_input { | |
798 | position: relative; |
|
798 | position: relative; | |
799 |
|
799 | |||
800 | input { |
|
800 | input { | |
801 | display: inline; |
|
801 | display: inline; | |
802 | margin: 3px 5px 0px 0px; |
|
802 | margin: 3px 5px 0px 0px; | |
803 | } |
|
803 | } | |
804 |
|
804 | |||
805 | br { |
|
805 | br { | |
806 | display: none; |
|
806 | display: none; | |
807 | } |
|
807 | } | |
808 |
|
808 | |||
809 | .error-message { |
|
809 | .error-message { | |
810 | float: left; |
|
810 | float: left; | |
811 | width: 100%; |
|
811 | width: 100%; | |
812 | } |
|
812 | } | |
813 |
|
813 | |||
814 | .lock_input_button { |
|
814 | .lock_input_button { | |
815 | display: inline; |
|
815 | display: inline; | |
816 | } |
|
816 | } | |
817 |
|
817 | |||
818 | .help-block { |
|
818 | .help-block { | |
819 | clear: both; |
|
819 | clear: both; | |
820 | } |
|
820 | } | |
821 | } |
|
821 | } | |
822 |
|
822 | |||
823 | // Notifications |
|
823 | // Notifications | |
824 |
|
824 | |||
825 | .notifications_buttons { |
|
825 | .notifications_buttons { | |
826 | margin: 0 0 @space 0; |
|
826 | margin: 0 0 @space 0; | |
827 | padding: 0; |
|
827 | padding: 0; | |
828 |
|
828 | |||
829 | .btn { |
|
829 | .btn { | |
830 | display: inline-block; |
|
830 | display: inline-block; | |
831 | } |
|
831 | } | |
832 | } |
|
832 | } | |
833 |
|
833 | |||
834 | .notification-list { |
|
834 | .notification-list { | |
835 |
|
835 | |||
836 | div { |
|
836 | div { | |
837 | display: inline-block; |
|
837 | display: inline-block; | |
838 | vertical-align: middle; |
|
838 | vertical-align: middle; | |
839 | } |
|
839 | } | |
840 |
|
840 | |||
841 | .container { |
|
841 | .container { | |
842 | display: block; |
|
842 | display: block; | |
843 | margin: 0 0 @padding 0; |
|
843 | margin: 0 0 @padding 0; | |
844 | } |
|
844 | } | |
845 |
|
845 | |||
846 | .delete-notifications { |
|
846 | .delete-notifications { | |
847 | margin-left: @padding; |
|
847 | margin-left: @padding; | |
848 | text-align: right; |
|
848 | text-align: right; | |
849 | cursor: pointer; |
|
849 | cursor: pointer; | |
850 | } |
|
850 | } | |
851 |
|
851 | |||
852 | .read-notifications { |
|
852 | .read-notifications { | |
853 | margin-left: @padding/2; |
|
853 | margin-left: @padding/2; | |
854 | text-align: right; |
|
854 | text-align: right; | |
855 | width: 35px; |
|
855 | width: 35px; | |
856 | cursor: pointer; |
|
856 | cursor: pointer; | |
857 | } |
|
857 | } | |
858 |
|
858 | |||
859 | .icon-minus-sign { |
|
859 | .icon-minus-sign { | |
860 | color: @alert2; |
|
860 | color: @alert2; | |
861 | } |
|
861 | } | |
862 |
|
862 | |||
863 | .icon-ok-sign { |
|
863 | .icon-ok-sign { | |
864 | color: @alert1; |
|
864 | color: @alert1; | |
865 | } |
|
865 | } | |
866 | } |
|
866 | } | |
867 |
|
867 | |||
868 | .user_settings { |
|
868 | .user_settings { | |
869 | float: left; |
|
869 | float: left; | |
870 | clear: both; |
|
870 | clear: both; | |
871 | display: block; |
|
871 | display: block; | |
872 | width: 100%; |
|
872 | width: 100%; | |
873 |
|
873 | |||
874 | .gravatar_box { |
|
874 | .gravatar_box { | |
875 | margin-bottom: @padding; |
|
875 | margin-bottom: @padding; | |
876 |
|
876 | |||
877 | &:after { |
|
877 | &:after { | |
878 | content: " "; |
|
878 | content: " "; | |
879 | clear: both; |
|
879 | clear: both; | |
880 | width: 100%; |
|
880 | width: 100%; | |
881 | } |
|
881 | } | |
882 | } |
|
882 | } | |
883 |
|
883 | |||
884 | .fields .field { |
|
884 | .fields .field { | |
885 | clear: both; |
|
885 | clear: both; | |
886 | } |
|
886 | } | |
887 | } |
|
887 | } | |
888 |
|
888 | |||
889 | .advanced_settings { |
|
889 | .advanced_settings { | |
890 | margin-bottom: @space; |
|
890 | margin-bottom: @space; | |
891 |
|
891 | |||
892 | .help-block { |
|
892 | .help-block { | |
893 | margin-left: 0; |
|
893 | margin-left: 0; | |
894 | } |
|
894 | } | |
895 |
|
895 | |||
896 | button + .help-block { |
|
896 | button + .help-block { | |
897 | margin-top: @padding; |
|
897 | margin-top: @padding; | |
898 | } |
|
898 | } | |
899 | } |
|
899 | } | |
900 |
|
900 | |||
901 | // admin settings radio buttons and labels |
|
901 | // admin settings radio buttons and labels | |
902 | .label-2 { |
|
902 | .label-2 { | |
903 | float: left; |
|
903 | float: left; | |
904 | width: @label2-width; |
|
904 | width: @label2-width; | |
905 |
|
905 | |||
906 | label { |
|
906 | label { | |
907 | color: @grey1; |
|
907 | color: @grey1; | |
908 | } |
|
908 | } | |
909 | } |
|
909 | } | |
910 | .checkboxes { |
|
910 | .checkboxes { | |
911 | float: left; |
|
911 | float: left; | |
912 | width: @checkboxes-width; |
|
912 | width: @checkboxes-width; | |
913 | margin-bottom: @padding; |
|
913 | margin-bottom: @padding; | |
914 |
|
914 | |||
915 | .checkbox { |
|
915 | .checkbox { | |
916 | width: 100%; |
|
916 | width: 100%; | |
917 |
|
917 | |||
918 | label { |
|
918 | label { | |
919 | margin: 0; |
|
919 | margin: 0; | |
920 | padding: 0; |
|
920 | padding: 0; | |
921 | } |
|
921 | } | |
922 | } |
|
922 | } | |
923 |
|
923 | |||
924 | .checkbox + .checkbox { |
|
924 | .checkbox + .checkbox { | |
925 | display: inline-block; |
|
925 | display: inline-block; | |
926 | } |
|
926 | } | |
927 |
|
927 | |||
928 | label { |
|
928 | label { | |
929 | margin-right: 1em; |
|
929 | margin-right: 1em; | |
930 | } |
|
930 | } | |
931 | } |
|
931 | } | |
932 |
|
932 | |||
933 | // CHANGELOG |
|
933 | // CHANGELOG | |
934 | .container_header { |
|
934 | .container_header { | |
935 | float: left; |
|
935 | float: left; | |
936 | display: block; |
|
936 | display: block; | |
937 | width: 100%; |
|
937 | width: 100%; | |
938 | margin: @padding 0 @padding; |
|
938 | margin: @padding 0 @padding; | |
939 |
|
939 | |||
940 | #filter_changelog { |
|
940 | #filter_changelog { | |
941 | float: left; |
|
941 | float: left; | |
942 | margin-right: @padding; |
|
942 | margin-right: @padding; | |
943 | } |
|
943 | } | |
944 |
|
944 | |||
945 | .breadcrumbs_light { |
|
945 | .breadcrumbs_light { | |
946 | display: inline-block; |
|
946 | display: inline-block; | |
947 | } |
|
947 | } | |
948 | } |
|
948 | } | |
949 |
|
949 | |||
950 | .info_box { |
|
950 | .info_box { | |
951 | float: right; |
|
951 | float: right; | |
952 | } |
|
952 | } | |
953 |
|
953 | |||
954 |
|
954 | |||
955 | #graph_nodes { |
|
955 | #graph_nodes { | |
956 | padding-top: 43px; |
|
956 | padding-top: 43px; | |
957 | } |
|
957 | } | |
958 |
|
958 | |||
959 | #graph_content{ |
|
959 | #graph_content{ | |
960 |
|
960 | |||
961 | // adjust for table headers so that graph renders properly |
|
961 | // adjust for table headers so that graph renders properly | |
962 | // #graph_nodes padding - table cell padding |
|
962 | // #graph_nodes padding - table cell padding | |
963 | padding-top: (@space - (@basefontsize * 2.4)); |
|
963 | padding-top: (@space - (@basefontsize * 2.4)); | |
964 |
|
964 | |||
965 | &.graph_full_width { |
|
965 | &.graph_full_width { | |
966 | width: 100%; |
|
966 | width: 100%; | |
967 | max-width: 100%; |
|
967 | max-width: 100%; | |
968 | } |
|
968 | } | |
969 | } |
|
969 | } | |
970 |
|
970 | |||
971 | #graph { |
|
971 | #graph { | |
972 | .flag_status { |
|
972 | .flag_status { | |
973 | margin: 0; |
|
973 | margin: 0; | |
974 | } |
|
974 | } | |
975 |
|
975 | |||
976 | .pagination-left { |
|
976 | .pagination-left { | |
977 | float: left; |
|
977 | float: left; | |
978 | clear: both; |
|
978 | clear: both; | |
979 | } |
|
979 | } | |
980 |
|
980 | |||
981 | .log-container { |
|
981 | .log-container { | |
982 | max-width: 345px; |
|
982 | max-width: 345px; | |
983 |
|
983 | |||
984 | .message{ |
|
984 | .message{ | |
985 | max-width: 340px; |
|
985 | max-width: 340px; | |
986 | } |
|
986 | } | |
987 | } |
|
987 | } | |
988 |
|
988 | |||
989 | .graph-col-wrapper { |
|
989 | .graph-col-wrapper { | |
990 | padding-left: 110px; |
|
990 | padding-left: 110px; | |
991 |
|
991 | |||
992 | #graph_nodes { |
|
992 | #graph_nodes { | |
993 | width: 100px; |
|
993 | width: 100px; | |
994 | margin-left: -110px; |
|
994 | margin-left: -110px; | |
995 | float: left; |
|
995 | float: left; | |
996 | clear: left; |
|
996 | clear: left; | |
997 | } |
|
997 | } | |
998 | } |
|
998 | } | |
999 |
|
999 | |||
1000 | .load-more-commits { |
|
1000 | .load-more-commits { | |
1001 | text-align: center; |
|
1001 | text-align: center; | |
1002 | } |
|
1002 | } | |
1003 | .load-more-commits:hover { |
|
1003 | .load-more-commits:hover { | |
1004 | background-color: @grey7; |
|
1004 | background-color: @grey7; | |
1005 | } |
|
1005 | } | |
1006 | .load-more-commits { |
|
1006 | .load-more-commits { | |
1007 | a { |
|
1007 | a { | |
1008 | display: block; |
|
1008 | display: block; | |
1009 | } |
|
1009 | } | |
1010 | } |
|
1010 | } | |
1011 | } |
|
1011 | } | |
1012 |
|
1012 | |||
1013 | #filter_changelog { |
|
1013 | #filter_changelog { | |
1014 | float: left; |
|
1014 | float: left; | |
1015 | } |
|
1015 | } | |
1016 |
|
1016 | |||
1017 |
|
1017 | |||
1018 | //--- THEME ------------------// |
|
1018 | //--- THEME ------------------// | |
1019 |
|
1019 | |||
1020 | #logo { |
|
1020 | #logo { | |
1021 | float: left; |
|
1021 | float: left; | |
1022 | margin: 9px 0 0 0; |
|
1022 | margin: 9px 0 0 0; | |
1023 |
|
1023 | |||
1024 | .header { |
|
1024 | .header { | |
1025 | background-color: transparent; |
|
1025 | background-color: transparent; | |
1026 | } |
|
1026 | } | |
1027 |
|
1027 | |||
1028 | a { |
|
1028 | a { | |
1029 | display: inline-block; |
|
1029 | display: inline-block; | |
1030 | } |
|
1030 | } | |
1031 |
|
1031 | |||
1032 | img { |
|
1032 | img { | |
1033 | height:30px; |
|
1033 | height:30px; | |
1034 | } |
|
1034 | } | |
1035 | } |
|
1035 | } | |
1036 |
|
1036 | |||
1037 | .logo-wrapper { |
|
1037 | .logo-wrapper { | |
1038 | float:left; |
|
1038 | float:left; | |
1039 | } |
|
1039 | } | |
1040 |
|
1040 | |||
1041 | .branding { |
|
1041 | .branding { | |
1042 | float: left; |
|
1042 | float: left; | |
1043 | padding: 9px 2px; |
|
1043 | padding: 9px 2px; | |
1044 | line-height: 1em; |
|
1044 | line-height: 1em; | |
1045 | font-size: @navigation-fontsize; |
|
1045 | font-size: @navigation-fontsize; | |
1046 |
|
1046 | |||
1047 | a { |
|
1047 | a { | |
1048 | color: @grey5 |
|
1048 | color: @grey5 | |
1049 | } |
|
1049 | } | |
1050 | } |
|
1050 | } | |
1051 |
|
1051 | |||
1052 | img { |
|
1052 | img { | |
1053 | border: none; |
|
1053 | border: none; | |
1054 | outline: none; |
|
1054 | outline: none; | |
1055 | } |
|
1055 | } | |
1056 | user-profile-header |
|
1056 | user-profile-header | |
1057 | label { |
|
1057 | label { | |
1058 |
|
1058 | |||
1059 | input[type="checkbox"] { |
|
1059 | input[type="checkbox"] { | |
1060 | margin-right: 1em; |
|
1060 | margin-right: 1em; | |
1061 | } |
|
1061 | } | |
1062 | input[type="radio"] { |
|
1062 | input[type="radio"] { | |
1063 | margin-right: 1em; |
|
1063 | margin-right: 1em; | |
1064 | } |
|
1064 | } | |
1065 | } |
|
1065 | } | |
1066 |
|
1066 | |||
1067 | .flag_status { |
|
1067 | .flag_status { | |
1068 | margin: 2px; |
|
1068 | margin: 2px; | |
1069 | &.under_review { |
|
1069 | &.under_review { | |
1070 | .circle(5px, @alert3); |
|
1070 | .circle(5px, @alert3); | |
1071 | } |
|
1071 | } | |
1072 | &.approved { |
|
1072 | &.approved { | |
1073 | .circle(5px, @alert1); |
|
1073 | .circle(5px, @alert1); | |
1074 | } |
|
1074 | } | |
1075 | &.rejected, |
|
1075 | &.rejected, | |
1076 | &.forced_closed{ |
|
1076 | &.forced_closed{ | |
1077 | .circle(5px, @alert2); |
|
1077 | .circle(5px, @alert2); | |
1078 | } |
|
1078 | } | |
1079 | &.not_reviewed { |
|
1079 | &.not_reviewed { | |
1080 | .circle(5px, @grey5); |
|
1080 | .circle(5px, @grey5); | |
1081 | } |
|
1081 | } | |
1082 | } |
|
1082 | } | |
1083 |
|
1083 | |||
1084 | .flag_status_comment_box { |
|
1084 | .flag_status_comment_box { | |
1085 | margin: 5px 6px 0px 2px; |
|
1085 | margin: 5px 6px 0px 2px; | |
1086 | } |
|
1086 | } | |
1087 | .test_pattern_preview { |
|
1087 | .test_pattern_preview { | |
1088 | margin: @space 0; |
|
1088 | margin: @space 0; | |
1089 |
|
1089 | |||
1090 | p { |
|
1090 | p { | |
1091 | margin-bottom: 0; |
|
1091 | margin-bottom: 0; | |
1092 | border-bottom: @border-thickness solid @border-default-color; |
|
1092 | border-bottom: @border-thickness solid @border-default-color; | |
1093 | color: @grey3; |
|
1093 | color: @grey3; | |
1094 | } |
|
1094 | } | |
1095 |
|
1095 | |||
1096 | .btn { |
|
1096 | .btn { | |
1097 | margin-bottom: @padding; |
|
1097 | margin-bottom: @padding; | |
1098 | } |
|
1098 | } | |
1099 | } |
|
1099 | } | |
1100 | #test_pattern_result { |
|
1100 | #test_pattern_result { | |
1101 | display: none; |
|
1101 | display: none; | |
1102 | &:extend(pre); |
|
1102 | &:extend(pre); | |
1103 | padding: .9em; |
|
1103 | padding: .9em; | |
1104 | color: @grey3; |
|
1104 | color: @grey3; | |
1105 | background-color: @grey7; |
|
1105 | background-color: @grey7; | |
1106 | border-right: @border-thickness solid @border-default-color; |
|
1106 | border-right: @border-thickness solid @border-default-color; | |
1107 | border-bottom: @border-thickness solid @border-default-color; |
|
1107 | border-bottom: @border-thickness solid @border-default-color; | |
1108 | border-left: @border-thickness solid @border-default-color; |
|
1108 | border-left: @border-thickness solid @border-default-color; | |
1109 | } |
|
1109 | } | |
1110 |
|
1110 | |||
1111 | #repo_vcs_settings { |
|
1111 | #repo_vcs_settings { | |
1112 | #inherit_overlay_vcs_default { |
|
1112 | #inherit_overlay_vcs_default { | |
1113 | display: none; |
|
1113 | display: none; | |
1114 | } |
|
1114 | } | |
1115 | #inherit_overlay_vcs_custom { |
|
1115 | #inherit_overlay_vcs_custom { | |
1116 | display: custom; |
|
1116 | display: custom; | |
1117 | } |
|
1117 | } | |
1118 | &.inherited { |
|
1118 | &.inherited { | |
1119 | #inherit_overlay_vcs_default { |
|
1119 | #inherit_overlay_vcs_default { | |
1120 | display: block; |
|
1120 | display: block; | |
1121 | } |
|
1121 | } | |
1122 | #inherit_overlay_vcs_custom { |
|
1122 | #inherit_overlay_vcs_custom { | |
1123 | display: none; |
|
1123 | display: none; | |
1124 | } |
|
1124 | } | |
1125 | } |
|
1125 | } | |
1126 | } |
|
1126 | } | |
1127 |
|
1127 | |||
1128 | .issue-tracker-link { |
|
1128 | .issue-tracker-link { | |
1129 | color: @rcblue; |
|
1129 | color: @rcblue; | |
1130 | } |
|
1130 | } | |
1131 |
|
1131 | |||
1132 | // Issue Tracker Table Show/Hide |
|
1132 | // Issue Tracker Table Show/Hide | |
1133 | #repo_issue_tracker { |
|
1133 | #repo_issue_tracker { | |
1134 | #inherit_overlay { |
|
1134 | #inherit_overlay { | |
1135 | display: none; |
|
1135 | display: none; | |
1136 | } |
|
1136 | } | |
1137 | #custom_overlay { |
|
1137 | #custom_overlay { | |
1138 | display: custom; |
|
1138 | display: custom; | |
1139 | } |
|
1139 | } | |
1140 | &.inherited { |
|
1140 | &.inherited { | |
1141 | #inherit_overlay { |
|
1141 | #inherit_overlay { | |
1142 | display: block; |
|
1142 | display: block; | |
1143 | } |
|
1143 | } | |
1144 | #custom_overlay { |
|
1144 | #custom_overlay { | |
1145 | display: none; |
|
1145 | display: none; | |
1146 | } |
|
1146 | } | |
1147 | } |
|
1147 | } | |
1148 | } |
|
1148 | } | |
1149 | table.issuetracker { |
|
1149 | table.issuetracker { | |
1150 | &.readonly { |
|
1150 | &.readonly { | |
1151 | tr, td { |
|
1151 | tr, td { | |
1152 | color: @grey3; |
|
1152 | color: @grey3; | |
1153 | } |
|
1153 | } | |
1154 | } |
|
1154 | } | |
1155 | .edit { |
|
1155 | .edit { | |
1156 | display: none; |
|
1156 | display: none; | |
1157 | } |
|
1157 | } | |
1158 | .editopen { |
|
1158 | .editopen { | |
1159 | .edit { |
|
1159 | .edit { | |
1160 | display: inline; |
|
1160 | display: inline; | |
1161 | } |
|
1161 | } | |
1162 | .entry { |
|
1162 | .entry { | |
1163 | display: none; |
|
1163 | display: none; | |
1164 | } |
|
1164 | } | |
1165 | } |
|
1165 | } | |
1166 | tr td.td-action { |
|
1166 | tr td.td-action { | |
1167 | min-width: 117px; |
|
1167 | min-width: 117px; | |
1168 | } |
|
1168 | } | |
1169 | td input { |
|
1169 | td input { | |
1170 | max-width: none; |
|
1170 | max-width: none; | |
1171 | min-width: 30px; |
|
1171 | min-width: 30px; | |
1172 | width: 80%; |
|
1172 | width: 80%; | |
1173 | } |
|
1173 | } | |
1174 | .issuetracker_pref input { |
|
1174 | .issuetracker_pref input { | |
1175 | width: 40%; |
|
1175 | width: 40%; | |
1176 | } |
|
1176 | } | |
1177 | input.edit_issuetracker_update { |
|
1177 | input.edit_issuetracker_update { | |
1178 | margin-right: 0; |
|
1178 | margin-right: 0; | |
1179 | width: auto; |
|
1179 | width: auto; | |
1180 | } |
|
1180 | } | |
1181 | } |
|
1181 | } | |
1182 |
|
1182 | |||
1183 | table.integrations { |
|
1183 | table.integrations { | |
1184 | .td-icon { |
|
1184 | .td-icon { | |
1185 | width: 20px; |
|
1185 | width: 20px; | |
1186 | .integration-icon { |
|
1186 | .integration-icon { | |
1187 | height: 20px; |
|
1187 | height: 20px; | |
1188 | width: 20px; |
|
1188 | width: 20px; | |
1189 | } |
|
1189 | } | |
1190 | } |
|
1190 | } | |
1191 | } |
|
1191 | } | |
1192 |
|
1192 | |||
1193 | .integrations { |
|
1193 | .integrations { | |
1194 | a.integration-box { |
|
1194 | a.integration-box { | |
1195 | color: @text-color; |
|
1195 | color: @text-color; | |
1196 | &:hover { |
|
1196 | &:hover { | |
1197 | .panel { |
|
1197 | .panel { | |
1198 | background: #fbfbfb; |
|
1198 | background: #fbfbfb; | |
1199 | } |
|
1199 | } | |
1200 | } |
|
1200 | } | |
1201 | .integration-icon { |
|
1201 | .integration-icon { | |
1202 | width: 30px; |
|
1202 | width: 30px; | |
1203 | height: 30px; |
|
1203 | height: 30px; | |
1204 | margin-right: 20px; |
|
1204 | margin-right: 20px; | |
1205 | float: left; |
|
1205 | float: left; | |
1206 | } |
|
1206 | } | |
1207 |
|
1207 | |||
1208 | .panel-body { |
|
1208 | .panel-body { | |
1209 | padding: 10px; |
|
1209 | padding: 10px; | |
1210 | } |
|
1210 | } | |
1211 | .panel { |
|
1211 | .panel { | |
1212 | margin-bottom: 10px; |
|
1212 | margin-bottom: 10px; | |
1213 | } |
|
1213 | } | |
1214 | h2 { |
|
1214 | h2 { | |
1215 | display: inline-block; |
|
1215 | display: inline-block; | |
1216 | margin: 0; |
|
1216 | margin: 0; | |
1217 | min-width: 140px; |
|
1217 | min-width: 140px; | |
1218 | } |
|
1218 | } | |
1219 | } |
|
1219 | } | |
1220 | a.integration-box.dummy-integration { |
|
1220 | a.integration-box.dummy-integration { | |
1221 | color: @grey4 |
|
1221 | color: @grey4 | |
1222 | } |
|
1222 | } | |
1223 | } |
|
1223 | } | |
1224 |
|
1224 | |||
1225 | //Permissions Settings |
|
1225 | //Permissions Settings | |
1226 | #add_perm { |
|
1226 | #add_perm { | |
1227 | margin: 0 0 @padding; |
|
1227 | margin: 0 0 @padding; | |
1228 | cursor: pointer; |
|
1228 | cursor: pointer; | |
1229 | } |
|
1229 | } | |
1230 |
|
1230 | |||
1231 | .perm_ac { |
|
1231 | .perm_ac { | |
1232 | input { |
|
1232 | input { | |
1233 | width: 95%; |
|
1233 | width: 95%; | |
1234 | } |
|
1234 | } | |
1235 | } |
|
1235 | } | |
1236 |
|
1236 | |||
1237 | .autocomplete-suggestions { |
|
1237 | .autocomplete-suggestions { | |
1238 | width: auto !important; // overrides autocomplete.js |
|
1238 | width: auto !important; // overrides autocomplete.js | |
1239 | min-width: 278px; |
|
1239 | min-width: 278px; | |
1240 | margin: 0; |
|
1240 | margin: 0; | |
1241 | border: @border-thickness solid @grey5; |
|
1241 | border: @border-thickness solid @grey5; | |
1242 | border-radius: @border-radius; |
|
1242 | border-radius: @border-radius; | |
1243 | color: @grey2; |
|
1243 | color: @grey2; | |
1244 | background-color: white; |
|
1244 | background-color: white; | |
1245 | } |
|
1245 | } | |
1246 |
|
1246 | |||
1247 | .autocomplete-selected { |
|
1247 | .autocomplete-selected { | |
1248 | background: #F0F0F0; |
|
1248 | background: #F0F0F0; | |
1249 | } |
|
1249 | } | |
1250 |
|
1250 | |||
1251 | .ac-container-wrap { |
|
1251 | .ac-container-wrap { | |
1252 | margin: 0; |
|
1252 | margin: 0; | |
1253 | padding: 8px; |
|
1253 | padding: 8px; | |
1254 | border-bottom: @border-thickness solid @grey5; |
|
1254 | border-bottom: @border-thickness solid @grey5; | |
1255 | list-style-type: none; |
|
1255 | list-style-type: none; | |
1256 | cursor: pointer; |
|
1256 | cursor: pointer; | |
1257 |
|
1257 | |||
1258 | &:hover { |
|
1258 | &:hover { | |
1259 | background-color: @grey7; |
|
1259 | background-color: @grey7; | |
1260 | } |
|
1260 | } | |
1261 |
|
1261 | |||
1262 | img { |
|
1262 | img { | |
1263 | height: @gravatar-size; |
|
1263 | height: @gravatar-size; | |
1264 | width: @gravatar-size; |
|
1264 | width: @gravatar-size; | |
1265 | margin-right: 1em; |
|
1265 | margin-right: 1em; | |
1266 | } |
|
1266 | } | |
1267 |
|
1267 | |||
1268 | strong { |
|
1268 | strong { | |
1269 | font-weight: normal; |
|
1269 | font-weight: normal; | |
1270 | } |
|
1270 | } | |
1271 | } |
|
1271 | } | |
1272 |
|
1272 | |||
1273 | // Settings Dropdown |
|
1273 | // Settings Dropdown | |
1274 | .user-menu .container { |
|
1274 | .user-menu .container { | |
1275 | padding: 0 4px; |
|
1275 | padding: 0 4px; | |
1276 | margin: 0; |
|
1276 | margin: 0; | |
1277 | } |
|
1277 | } | |
1278 |
|
1278 | |||
1279 | .user-menu .gravatar { |
|
1279 | .user-menu .gravatar { | |
1280 | cursor: pointer; |
|
1280 | cursor: pointer; | |
1281 | } |
|
1281 | } | |
1282 |
|
1282 | |||
1283 | .codeblock { |
|
1283 | .codeblock { | |
1284 | margin-bottom: @padding; |
|
1284 | margin-bottom: @padding; | |
1285 | clear: both; |
|
1285 | clear: both; | |
1286 |
|
1286 | |||
1287 | .stats { |
|
1287 | .stats { | |
1288 | overflow: hidden; |
|
1288 | overflow: hidden; | |
1289 | } |
|
1289 | } | |
1290 |
|
1290 | |||
1291 | .message{ |
|
1291 | .message{ | |
1292 | textarea{ |
|
1292 | textarea{ | |
1293 | margin: 0; |
|
1293 | margin: 0; | |
1294 | } |
|
1294 | } | |
1295 | } |
|
1295 | } | |
1296 |
|
1296 | |||
1297 | .code-header { |
|
1297 | .code-header { | |
1298 | .stats { |
|
1298 | .stats { | |
1299 | line-height: 2em; |
|
1299 | line-height: 2em; | |
1300 |
|
1300 | |||
1301 | .revision_id { |
|
1301 | .revision_id { | |
1302 | margin-left: 0; |
|
1302 | margin-left: 0; | |
1303 | } |
|
1303 | } | |
1304 | .buttons { |
|
1304 | .buttons { | |
1305 | padding-right: 0; |
|
1305 | padding-right: 0; | |
1306 | } |
|
1306 | } | |
1307 | } |
|
1307 | } | |
1308 |
|
1308 | |||
1309 | .item{ |
|
1309 | .item{ | |
1310 | margin-right: 0.5em; |
|
1310 | margin-right: 0.5em; | |
1311 | } |
|
1311 | } | |
1312 | } |
|
1312 | } | |
1313 |
|
1313 | |||
1314 | #editor_container{ |
|
1314 | #editor_container{ | |
1315 | position: relative; |
|
1315 | position: relative; | |
1316 | margin: @padding; |
|
1316 | margin: @padding; | |
1317 | } |
|
1317 | } | |
1318 | } |
|
1318 | } | |
1319 |
|
1319 | |||
1320 | #file_history_container { |
|
1320 | #file_history_container { | |
1321 | display: none; |
|
1321 | display: none; | |
1322 | } |
|
1322 | } | |
1323 |
|
1323 | |||
1324 | .file-history-inner { |
|
1324 | .file-history-inner { | |
1325 | margin-bottom: 10px; |
|
1325 | margin-bottom: 10px; | |
1326 | } |
|
1326 | } | |
1327 |
|
1327 | |||
1328 | // Pull Requests |
|
1328 | // Pull Requests | |
1329 | .summary-details { |
|
1329 | .summary-details { | |
1330 | width: 72%; |
|
1330 | width: 72%; | |
1331 | } |
|
1331 | } | |
1332 | .pr-summary { |
|
1332 | .pr-summary { | |
1333 | border-bottom: @border-thickness solid @grey5; |
|
1333 | border-bottom: @border-thickness solid @grey5; | |
1334 | margin-bottom: @space; |
|
1334 | margin-bottom: @space; | |
1335 | } |
|
1335 | } | |
1336 | .reviewers-title { |
|
1336 | .reviewers-title { | |
1337 | width: 25%; |
|
1337 | width: 25%; | |
1338 | min-width: 200px; |
|
1338 | min-width: 200px; | |
1339 | } |
|
1339 | } | |
1340 | .reviewers { |
|
1340 | .reviewers { | |
1341 | width: 25%; |
|
1341 | width: 25%; | |
1342 | min-width: 200px; |
|
1342 | min-width: 200px; | |
1343 | } |
|
1343 | } | |
1344 | .reviewers ul li { |
|
1344 | .reviewers ul li { | |
1345 | position: relative; |
|
1345 | position: relative; | |
1346 | width: 100%; |
|
1346 | width: 100%; | |
1347 | padding-bottom: 8px; |
|
1347 | padding-bottom: 8px; | |
1348 | list-style-type: none; |
|
1348 | list-style-type: none; | |
1349 | } |
|
1349 | } | |
1350 |
|
1350 | |||
1351 | .reviewer_entry { |
|
1351 | .reviewer_entry { | |
1352 | min-height: 55px; |
|
1352 | min-height: 55px; | |
1353 | } |
|
1353 | } | |
1354 |
|
1354 | |||
1355 | .reviewers_member { |
|
1355 | .reviewers_member { | |
1356 | width: 100%; |
|
1356 | width: 100%; | |
1357 | overflow: auto; |
|
1357 | overflow: auto; | |
1358 | } |
|
1358 | } | |
1359 | .reviewer_reason { |
|
1359 | .reviewer_reason { | |
1360 | padding-left: 20px; |
|
1360 | padding-left: 20px; | |
1361 | line-height: 1.5em; |
|
1361 | line-height: 1.5em; | |
1362 | } |
|
1362 | } | |
1363 | .reviewer_status { |
|
1363 | .reviewer_status { | |
1364 | display: inline-block; |
|
1364 | display: inline-block; | |
1365 | vertical-align: top; |
|
1365 | vertical-align: top; | |
1366 | width: 25px; |
|
1366 | width: 25px; | |
1367 | min-width: 25px; |
|
1367 | min-width: 25px; | |
1368 | height: 1.2em; |
|
1368 | height: 1.2em; | |
1369 | margin-top: 3px; |
|
1369 | margin-top: 3px; | |
1370 | line-height: 1em; |
|
1370 | line-height: 1em; | |
1371 | } |
|
1371 | } | |
1372 |
|
1372 | |||
1373 | .reviewer_name { |
|
1373 | .reviewer_name { | |
1374 | display: inline-block; |
|
1374 | display: inline-block; | |
1375 | max-width: 83%; |
|
1375 | max-width: 83%; | |
1376 | padding-right: 20px; |
|
1376 | padding-right: 20px; | |
1377 | vertical-align: middle; |
|
1377 | vertical-align: middle; | |
1378 | line-height: 1; |
|
1378 | line-height: 1; | |
1379 |
|
1379 | |||
1380 | .rc-user { |
|
1380 | .rc-user { | |
1381 | min-width: 0; |
|
1381 | min-width: 0; | |
1382 | margin: -2px 1em 0 0; |
|
1382 | margin: -2px 1em 0 0; | |
1383 | } |
|
1383 | } | |
1384 |
|
1384 | |||
1385 | .reviewer { |
|
1385 | .reviewer { | |
1386 | float: left; |
|
1386 | float: left; | |
1387 | } |
|
1387 | } | |
1388 | } |
|
1388 | } | |
1389 |
|
1389 | |||
1390 | .reviewer_member_mandatory { |
|
1390 | .reviewer_member_mandatory { | |
1391 | position: absolute; |
|
1391 | position: absolute; | |
1392 | left: 15px; |
|
1392 | left: 15px; | |
1393 | top: 8px; |
|
1393 | top: 8px; | |
1394 | width: 16px; |
|
1394 | width: 16px; | |
1395 | font-size: 11px; |
|
1395 | font-size: 11px; | |
1396 | margin: 0; |
|
1396 | margin: 0; | |
1397 | padding: 0; |
|
1397 | padding: 0; | |
1398 | color: black; |
|
1398 | color: black; | |
1399 | } |
|
1399 | } | |
1400 |
|
1400 | |||
1401 | .reviewer_member_mandatory_remove, |
|
1401 | .reviewer_member_mandatory_remove, | |
1402 | .reviewer_member_remove { |
|
1402 | .reviewer_member_remove { | |
1403 | position: absolute; |
|
1403 | position: absolute; | |
1404 | right: 0; |
|
1404 | right: 0; | |
1405 | top: 0; |
|
1405 | top: 0; | |
1406 | width: 16px; |
|
1406 | width: 16px; | |
1407 | margin-bottom: 10px; |
|
1407 | margin-bottom: 10px; | |
1408 | padding: 0; |
|
1408 | padding: 0; | |
1409 | color: black; |
|
1409 | color: black; | |
1410 | } |
|
1410 | } | |
1411 |
|
1411 | |||
1412 | .reviewer_member_mandatory_remove { |
|
1412 | .reviewer_member_mandatory_remove { | |
1413 | color: @grey4; |
|
1413 | color: @grey4; | |
1414 | } |
|
1414 | } | |
1415 |
|
1415 | |||
1416 | .reviewer_member_status { |
|
1416 | .reviewer_member_status { | |
1417 | margin-top: 5px; |
|
1417 | margin-top: 5px; | |
1418 | } |
|
1418 | } | |
1419 | .pr-summary #summary{ |
|
1419 | .pr-summary #summary{ | |
1420 | width: 100%; |
|
1420 | width: 100%; | |
1421 | } |
|
1421 | } | |
1422 | .pr-summary .action_button:hover { |
|
1422 | .pr-summary .action_button:hover { | |
1423 | border: 0; |
|
1423 | border: 0; | |
1424 | cursor: pointer; |
|
1424 | cursor: pointer; | |
1425 | } |
|
1425 | } | |
1426 | .pr-details-title { |
|
1426 | .pr-details-title { | |
1427 | padding-bottom: 8px; |
|
1427 | padding-bottom: 8px; | |
1428 | border-bottom: @border-thickness solid @grey5; |
|
1428 | border-bottom: @border-thickness solid @grey5; | |
1429 |
|
1429 | |||
1430 | .action_button.disabled { |
|
1430 | .action_button.disabled { | |
1431 | color: @grey4; |
|
1431 | color: @grey4; | |
1432 | cursor: inherit; |
|
1432 | cursor: inherit; | |
1433 | } |
|
1433 | } | |
1434 | .action_button { |
|
1434 | .action_button { | |
1435 | color: @rcblue; |
|
1435 | color: @rcblue; | |
1436 | } |
|
1436 | } | |
1437 | } |
|
1437 | } | |
1438 | .pr-details-content { |
|
1438 | .pr-details-content { | |
1439 | margin-top: @textmargin; |
|
1439 | margin-top: @textmargin; | |
1440 | margin-bottom: @textmargin; |
|
1440 | margin-bottom: @textmargin; | |
1441 | } |
|
1441 | } | |
1442 |
|
1442 | |||
1443 | .pr-reviewer-rules { |
|
1443 | .pr-reviewer-rules { | |
1444 | padding: 10px 0px 20px 0px; |
|
1444 | padding: 10px 0px 20px 0px; | |
1445 | } |
|
1445 | } | |
1446 |
|
1446 | |||
1447 | .group_members { |
|
1447 | .group_members { | |
1448 | margin-top: 0; |
|
1448 | margin-top: 0; | |
1449 | padding: 0; |
|
1449 | padding: 0; | |
1450 | list-style: outside none none; |
|
1450 | list-style: outside none none; | |
1451 |
|
1451 | |||
1452 | img { |
|
1452 | img { | |
1453 | height: @gravatar-size; |
|
1453 | height: @gravatar-size; | |
1454 | width: @gravatar-size; |
|
1454 | width: @gravatar-size; | |
1455 | margin-right: .5em; |
|
1455 | margin-right: .5em; | |
1456 | margin-left: 3px; |
|
1456 | margin-left: 3px; | |
1457 | } |
|
1457 | } | |
1458 |
|
1458 | |||
1459 | .to-delete { |
|
1459 | .to-delete { | |
1460 | .user { |
|
1460 | .user { | |
1461 | text-decoration: line-through; |
|
1461 | text-decoration: line-through; | |
1462 | } |
|
1462 | } | |
1463 | } |
|
1463 | } | |
1464 | } |
|
1464 | } | |
1465 |
|
1465 | |||
1466 | .compare_view_commits_title { |
|
1466 | .compare_view_commits_title { | |
1467 | .disabled { |
|
1467 | .disabled { | |
1468 | cursor: inherit; |
|
1468 | cursor: inherit; | |
1469 | &:hover{ |
|
1469 | &:hover{ | |
1470 | background-color: inherit; |
|
1470 | background-color: inherit; | |
1471 | color: inherit; |
|
1471 | color: inherit; | |
1472 | } |
|
1472 | } | |
1473 | } |
|
1473 | } | |
1474 | } |
|
1474 | } | |
1475 |
|
1475 | |||
1476 | .subtitle-compare { |
|
1476 | .subtitle-compare { | |
1477 | margin: -15px 0px 0px 0px; |
|
1477 | margin: -15px 0px 0px 0px; | |
1478 | } |
|
1478 | } | |
1479 |
|
1479 | |||
1480 | .comments-summary-td { |
|
1480 | .comments-summary-td { | |
1481 | border-top: 1px dashed @grey5; |
|
1481 | border-top: 1px dashed @grey5; | |
1482 | } |
|
1482 | } | |
1483 |
|
1483 | |||
1484 | // new entry in group_members |
|
1484 | // new entry in group_members | |
1485 | .td-author-new-entry { |
|
1485 | .td-author-new-entry { | |
1486 | background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3); |
|
1486 | background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3); | |
1487 | } |
|
1487 | } | |
1488 |
|
1488 | |||
1489 | .usergroup_member_remove { |
|
1489 | .usergroup_member_remove { | |
1490 | width: 16px; |
|
1490 | width: 16px; | |
1491 | margin-bottom: 10px; |
|
1491 | margin-bottom: 10px; | |
1492 | padding: 0; |
|
1492 | padding: 0; | |
1493 | color: black !important; |
|
1493 | color: black !important; | |
1494 | cursor: pointer; |
|
1494 | cursor: pointer; | |
1495 | } |
|
1495 | } | |
1496 |
|
1496 | |||
1497 | .reviewer_ac .ac-input { |
|
1497 | .reviewer_ac .ac-input { | |
1498 | width: 92%; |
|
1498 | width: 92%; | |
1499 | margin-bottom: 1em; |
|
1499 | margin-bottom: 1em; | |
1500 | } |
|
1500 | } | |
1501 |
|
1501 | |||
1502 | .compare_view_commits tr{ |
|
1502 | .compare_view_commits tr{ | |
1503 | height: 20px; |
|
1503 | height: 20px; | |
1504 | } |
|
1504 | } | |
1505 | .compare_view_commits td { |
|
1505 | .compare_view_commits td { | |
1506 | vertical-align: top; |
|
1506 | vertical-align: top; | |
1507 | padding-top: 10px; |
|
1507 | padding-top: 10px; | |
1508 | } |
|
1508 | } | |
1509 | .compare_view_commits .author { |
|
1509 | .compare_view_commits .author { | |
1510 | margin-left: 5px; |
|
1510 | margin-left: 5px; | |
1511 | } |
|
1511 | } | |
1512 |
|
1512 | |||
1513 | .compare_view_commits { |
|
1513 | .compare_view_commits { | |
1514 | .color-a { |
|
1514 | .color-a { | |
1515 | color: @alert1; |
|
1515 | color: @alert1; | |
1516 | } |
|
1516 | } | |
1517 |
|
1517 | |||
1518 | .color-c { |
|
1518 | .color-c { | |
1519 | color: @color3; |
|
1519 | color: @color3; | |
1520 | } |
|
1520 | } | |
1521 |
|
1521 | |||
1522 | .color-r { |
|
1522 | .color-r { | |
1523 | color: @color5; |
|
1523 | color: @color5; | |
1524 | } |
|
1524 | } | |
1525 |
|
1525 | |||
1526 | .color-a-bg { |
|
1526 | .color-a-bg { | |
1527 | background-color: @alert1; |
|
1527 | background-color: @alert1; | |
1528 | } |
|
1528 | } | |
1529 |
|
1529 | |||
1530 | .color-c-bg { |
|
1530 | .color-c-bg { | |
1531 | background-color: @alert3; |
|
1531 | background-color: @alert3; | |
1532 | } |
|
1532 | } | |
1533 |
|
1533 | |||
1534 | .color-r-bg { |
|
1534 | .color-r-bg { | |
1535 | background-color: @alert2; |
|
1535 | background-color: @alert2; | |
1536 | } |
|
1536 | } | |
1537 |
|
1537 | |||
1538 | .color-a-border { |
|
1538 | .color-a-border { | |
1539 | border: 1px solid @alert1; |
|
1539 | border: 1px solid @alert1; | |
1540 | } |
|
1540 | } | |
1541 |
|
1541 | |||
1542 | .color-c-border { |
|
1542 | .color-c-border { | |
1543 | border: 1px solid @alert3; |
|
1543 | border: 1px solid @alert3; | |
1544 | } |
|
1544 | } | |
1545 |
|
1545 | |||
1546 | .color-r-border { |
|
1546 | .color-r-border { | |
1547 | border: 1px solid @alert2; |
|
1547 | border: 1px solid @alert2; | |
1548 | } |
|
1548 | } | |
1549 |
|
1549 | |||
1550 | .commit-change-indicator { |
|
1550 | .commit-change-indicator { | |
1551 | width: 15px; |
|
1551 | width: 15px; | |
1552 | height: 15px; |
|
1552 | height: 15px; | |
1553 | position: relative; |
|
1553 | position: relative; | |
1554 | left: 15px; |
|
1554 | left: 15px; | |
1555 | } |
|
1555 | } | |
1556 |
|
1556 | |||
1557 | .commit-change-content { |
|
1557 | .commit-change-content { | |
1558 | text-align: center; |
|
1558 | text-align: center; | |
1559 | vertical-align: middle; |
|
1559 | vertical-align: middle; | |
1560 | line-height: 15px; |
|
1560 | line-height: 15px; | |
1561 | } |
|
1561 | } | |
1562 | } |
|
1562 | } | |
1563 |
|
1563 | |||
1564 | .compare_view_filepath { |
|
1564 | .compare_view_filepath { | |
1565 | color: @grey1; |
|
1565 | color: @grey1; | |
1566 | } |
|
1566 | } | |
1567 |
|
1567 | |||
1568 | .show_more { |
|
1568 | .show_more { | |
1569 | display: inline-block; |
|
1569 | display: inline-block; | |
1570 | width: 0; |
|
1570 | width: 0; | |
1571 | height: 0; |
|
1571 | height: 0; | |
1572 | vertical-align: middle; |
|
1572 | vertical-align: middle; | |
1573 | content: ""; |
|
1573 | content: ""; | |
1574 | border: 4px solid; |
|
1574 | border: 4px solid; | |
1575 | border-right-color: transparent; |
|
1575 | border-right-color: transparent; | |
1576 | border-bottom-color: transparent; |
|
1576 | border-bottom-color: transparent; | |
1577 | border-left-color: transparent; |
|
1577 | border-left-color: transparent; | |
1578 | font-size: 0; |
|
1578 | font-size: 0; | |
1579 | } |
|
1579 | } | |
1580 |
|
1580 | |||
1581 | .journal_more .show_more { |
|
1581 | .journal_more .show_more { | |
1582 | display: inline; |
|
1582 | display: inline; | |
1583 |
|
1583 | |||
1584 | &:after { |
|
1584 | &:after { | |
1585 | content: none; |
|
1585 | content: none; | |
1586 | } |
|
1586 | } | |
1587 | } |
|
1587 | } | |
1588 |
|
1588 | |||
1589 | .compare_view_commits .collapse_commit:after { |
|
1589 | .compare_view_commits .collapse_commit:after { | |
1590 | cursor: pointer; |
|
1590 | cursor: pointer; | |
1591 | content: "\00A0\25B4"; |
|
1591 | content: "\00A0\25B4"; | |
1592 | margin-left: -3px; |
|
1592 | margin-left: -3px; | |
1593 | font-size: 17px; |
|
1593 | font-size: 17px; | |
1594 | color: @grey4; |
|
1594 | color: @grey4; | |
1595 | } |
|
1595 | } | |
1596 |
|
1596 | |||
1597 | .diff_links { |
|
1597 | .diff_links { | |
1598 | margin-left: 8px; |
|
1598 | margin-left: 8px; | |
1599 | } |
|
1599 | } | |
1600 |
|
1600 | |||
1601 | div.ancestor { |
|
1601 | div.ancestor { | |
1602 | margin: -30px 0px; |
|
1602 | margin: -30px 0px; | |
1603 | } |
|
1603 | } | |
1604 |
|
1604 | |||
1605 | .cs_icon_td input[type="checkbox"] { |
|
1605 | .cs_icon_td input[type="checkbox"] { | |
1606 | display: none; |
|
1606 | display: none; | |
1607 | } |
|
1607 | } | |
1608 |
|
1608 | |||
1609 | .cs_icon_td .expand_file_icon:after { |
|
1609 | .cs_icon_td .expand_file_icon:after { | |
1610 | cursor: pointer; |
|
1610 | cursor: pointer; | |
1611 | content: "\00A0\25B6"; |
|
1611 | content: "\00A0\25B6"; | |
1612 | font-size: 12px; |
|
1612 | font-size: 12px; | |
1613 | color: @grey4; |
|
1613 | color: @grey4; | |
1614 | } |
|
1614 | } | |
1615 |
|
1615 | |||
1616 | .cs_icon_td .collapse_file_icon:after { |
|
1616 | .cs_icon_td .collapse_file_icon:after { | |
1617 | cursor: pointer; |
|
1617 | cursor: pointer; | |
1618 | content: "\00A0\25BC"; |
|
1618 | content: "\00A0\25BC"; | |
1619 | font-size: 12px; |
|
1619 | font-size: 12px; | |
1620 | color: @grey4; |
|
1620 | color: @grey4; | |
1621 | } |
|
1621 | } | |
1622 |
|
1622 | |||
1623 | /*new binary |
|
1623 | /*new binary | |
1624 | NEW_FILENODE = 1 |
|
1624 | NEW_FILENODE = 1 | |
1625 | DEL_FILENODE = 2 |
|
1625 | DEL_FILENODE = 2 | |
1626 | MOD_FILENODE = 3 |
|
1626 | MOD_FILENODE = 3 | |
1627 | RENAMED_FILENODE = 4 |
|
1627 | RENAMED_FILENODE = 4 | |
1628 | COPIED_FILENODE = 5 |
|
1628 | COPIED_FILENODE = 5 | |
1629 | CHMOD_FILENODE = 6 |
|
1629 | CHMOD_FILENODE = 6 | |
1630 | BIN_FILENODE = 7 |
|
1630 | BIN_FILENODE = 7 | |
1631 | */ |
|
1631 | */ | |
1632 | .cs_files_expand { |
|
1632 | .cs_files_expand { | |
1633 | font-size: @basefontsize + 5px; |
|
1633 | font-size: @basefontsize + 5px; | |
1634 | line-height: 1.8em; |
|
1634 | line-height: 1.8em; | |
1635 | float: right; |
|
1635 | float: right; | |
1636 | } |
|
1636 | } | |
1637 |
|
1637 | |||
1638 | .cs_files_expand span{ |
|
1638 | .cs_files_expand span{ | |
1639 | color: @rcblue; |
|
1639 | color: @rcblue; | |
1640 | cursor: pointer; |
|
1640 | cursor: pointer; | |
1641 | } |
|
1641 | } | |
1642 | .cs_files { |
|
1642 | .cs_files { | |
1643 | clear: both; |
|
1643 | clear: both; | |
1644 | padding-bottom: @padding; |
|
1644 | padding-bottom: @padding; | |
1645 |
|
1645 | |||
1646 | .cur_cs { |
|
1646 | .cur_cs { | |
1647 | margin: 10px 2px; |
|
1647 | margin: 10px 2px; | |
1648 | font-weight: bold; |
|
1648 | font-weight: bold; | |
1649 | } |
|
1649 | } | |
1650 |
|
1650 | |||
1651 | .node { |
|
1651 | .node { | |
1652 | float: left; |
|
1652 | float: left; | |
1653 | } |
|
1653 | } | |
1654 |
|
1654 | |||
1655 | .changes { |
|
1655 | .changes { | |
1656 | float: right; |
|
1656 | float: right; | |
1657 | color: white; |
|
1657 | color: white; | |
1658 | font-size: @basefontsize - 4px; |
|
1658 | font-size: @basefontsize - 4px; | |
1659 | margin-top: 4px; |
|
1659 | margin-top: 4px; | |
1660 | opacity: 0.6; |
|
1660 | opacity: 0.6; | |
1661 | filter: Alpha(opacity=60); /* IE8 and earlier */ |
|
1661 | filter: Alpha(opacity=60); /* IE8 and earlier */ | |
1662 |
|
1662 | |||
1663 | .added { |
|
1663 | .added { | |
1664 | background-color: @alert1; |
|
1664 | background-color: @alert1; | |
1665 | float: left; |
|
1665 | float: left; | |
1666 | text-align: center; |
|
1666 | text-align: center; | |
1667 | } |
|
1667 | } | |
1668 |
|
1668 | |||
1669 | .deleted { |
|
1669 | .deleted { | |
1670 | background-color: @alert2; |
|
1670 | background-color: @alert2; | |
1671 | float: left; |
|
1671 | float: left; | |
1672 | text-align: center; |
|
1672 | text-align: center; | |
1673 | } |
|
1673 | } | |
1674 |
|
1674 | |||
1675 | .bin { |
|
1675 | .bin { | |
1676 | background-color: @alert1; |
|
1676 | background-color: @alert1; | |
1677 | text-align: center; |
|
1677 | text-align: center; | |
1678 | } |
|
1678 | } | |
1679 |
|
1679 | |||
1680 | /*new binary*/ |
|
1680 | /*new binary*/ | |
1681 | .bin.bin1 { |
|
1681 | .bin.bin1 { | |
1682 | background-color: @alert1; |
|
1682 | background-color: @alert1; | |
1683 | text-align: center; |
|
1683 | text-align: center; | |
1684 | } |
|
1684 | } | |
1685 |
|
1685 | |||
1686 | /*deleted binary*/ |
|
1686 | /*deleted binary*/ | |
1687 | .bin.bin2 { |
|
1687 | .bin.bin2 { | |
1688 | background-color: @alert2; |
|
1688 | background-color: @alert2; | |
1689 | text-align: center; |
|
1689 | text-align: center; | |
1690 | } |
|
1690 | } | |
1691 |
|
1691 | |||
1692 | /*mod binary*/ |
|
1692 | /*mod binary*/ | |
1693 | .bin.bin3 { |
|
1693 | .bin.bin3 { | |
1694 | background-color: @grey2; |
|
1694 | background-color: @grey2; | |
1695 | text-align: center; |
|
1695 | text-align: center; | |
1696 | } |
|
1696 | } | |
1697 |
|
1697 | |||
1698 | /*rename file*/ |
|
1698 | /*rename file*/ | |
1699 | .bin.bin4 { |
|
1699 | .bin.bin4 { | |
1700 | background-color: @alert4; |
|
1700 | background-color: @alert4; | |
1701 | text-align: center; |
|
1701 | text-align: center; | |
1702 | } |
|
1702 | } | |
1703 |
|
1703 | |||
1704 | /*copied file*/ |
|
1704 | /*copied file*/ | |
1705 | .bin.bin5 { |
|
1705 | .bin.bin5 { | |
1706 | background-color: @alert4; |
|
1706 | background-color: @alert4; | |
1707 | text-align: center; |
|
1707 | text-align: center; | |
1708 | } |
|
1708 | } | |
1709 |
|
1709 | |||
1710 | /*chmod file*/ |
|
1710 | /*chmod file*/ | |
1711 | .bin.bin6 { |
|
1711 | .bin.bin6 { | |
1712 | background-color: @grey2; |
|
1712 | background-color: @grey2; | |
1713 | text-align: center; |
|
1713 | text-align: center; | |
1714 | } |
|
1714 | } | |
1715 | } |
|
1715 | } | |
1716 | } |
|
1716 | } | |
1717 |
|
1717 | |||
1718 | .cs_files .cs_added, .cs_files .cs_A, |
|
1718 | .cs_files .cs_added, .cs_files .cs_A, | |
1719 | .cs_files .cs_added, .cs_files .cs_M, |
|
1719 | .cs_files .cs_added, .cs_files .cs_M, | |
1720 | .cs_files .cs_added, .cs_files .cs_D { |
|
1720 | .cs_files .cs_added, .cs_files .cs_D { | |
1721 | height: 16px; |
|
1721 | height: 16px; | |
1722 | padding-right: 10px; |
|
1722 | padding-right: 10px; | |
1723 | margin-top: 7px; |
|
1723 | margin-top: 7px; | |
1724 | text-align: left; |
|
1724 | text-align: left; | |
1725 | } |
|
1725 | } | |
1726 |
|
1726 | |||
1727 | .cs_icon_td { |
|
1727 | .cs_icon_td { | |
1728 | min-width: 16px; |
|
1728 | min-width: 16px; | |
1729 | width: 16px; |
|
1729 | width: 16px; | |
1730 | } |
|
1730 | } | |
1731 |
|
1731 | |||
1732 | .pull-request-merge { |
|
1732 | .pull-request-merge { | |
1733 | border: 1px solid @grey5; |
|
1733 | border: 1px solid @grey5; | |
1734 | padding: 10px 0px 20px; |
|
1734 | padding: 10px 0px 20px; | |
1735 | margin-top: 10px; |
|
1735 | margin-top: 10px; | |
1736 | margin-bottom: 20px; |
|
1736 | margin-bottom: 20px; | |
1737 | } |
|
1737 | } | |
1738 |
|
1738 | |||
1739 | .pull-request-merge ul { |
|
1739 | .pull-request-merge ul { | |
1740 | padding: 0px 0px; |
|
1740 | padding: 0px 0px; | |
1741 | } |
|
1741 | } | |
1742 |
|
1742 | |||
1743 | .pull-request-merge li { |
|
1743 | .pull-request-merge li { | |
1744 | list-style-type: none; |
|
1744 | list-style-type: none; | |
1745 | } |
|
1745 | } | |
1746 |
|
1746 | |||
1747 | .pull-request-merge .pull-request-wrap { |
|
1747 | .pull-request-merge .pull-request-wrap { | |
1748 | height: auto; |
|
1748 | height: auto; | |
1749 | padding: 0px 0px; |
|
1749 | padding: 0px 0px; | |
1750 | text-align: right; |
|
1750 | text-align: right; | |
1751 | } |
|
1751 | } | |
1752 |
|
1752 | |||
1753 | .pull-request-merge span { |
|
1753 | .pull-request-merge span { | |
1754 | margin-right: 5px; |
|
1754 | margin-right: 5px; | |
1755 | } |
|
1755 | } | |
1756 |
|
1756 | |||
1757 | .pull-request-merge-actions { |
|
1757 | .pull-request-merge-actions { | |
1758 | min-height: 30px; |
|
1758 | min-height: 30px; | |
1759 | padding: 0px 0px; |
|
1759 | padding: 0px 0px; | |
1760 | } |
|
1760 | } | |
1761 |
|
1761 | |||
1762 | .pull-request-merge-info { |
|
1762 | .pull-request-merge-info { | |
1763 | padding: 0px 5px 5px 0px; |
|
1763 | padding: 0px 5px 5px 0px; | |
1764 | } |
|
1764 | } | |
1765 |
|
1765 | |||
1766 | .merge-status { |
|
1766 | .merge-status { | |
1767 | margin-right: 5px; |
|
1767 | margin-right: 5px; | |
1768 | } |
|
1768 | } | |
1769 |
|
1769 | |||
1770 | .merge-message { |
|
1770 | .merge-message { | |
1771 | font-size: 1.2em |
|
1771 | font-size: 1.2em | |
1772 | } |
|
1772 | } | |
1773 |
|
1773 | |||
1774 | .merge-message.success i, |
|
1774 | .merge-message.success i, | |
1775 | .merge-icon.success i { |
|
1775 | .merge-icon.success i { | |
1776 | color:@alert1; |
|
1776 | color:@alert1; | |
1777 | } |
|
1777 | } | |
1778 |
|
1778 | |||
1779 | .merge-message.warning i, |
|
1779 | .merge-message.warning i, | |
1780 | .merge-icon.warning i { |
|
1780 | .merge-icon.warning i { | |
1781 | color: @alert3; |
|
1781 | color: @alert3; | |
1782 | } |
|
1782 | } | |
1783 |
|
1783 | |||
1784 | .merge-message.error i, |
|
1784 | .merge-message.error i, | |
1785 | .merge-icon.error i { |
|
1785 | .merge-icon.error i { | |
1786 | color:@alert2; |
|
1786 | color:@alert2; | |
1787 | } |
|
1787 | } | |
1788 |
|
1788 | |||
1789 | .pr-versions { |
|
1789 | .pr-versions { | |
1790 | font-size: 1.1em; |
|
1790 | font-size: 1.1em; | |
1791 |
|
1791 | |||
1792 | table { |
|
1792 | table { | |
1793 | padding: 0px 5px; |
|
1793 | padding: 0px 5px; | |
1794 | } |
|
1794 | } | |
1795 |
|
1795 | |||
1796 | td { |
|
1796 | td { | |
1797 | line-height: 15px; |
|
1797 | line-height: 15px; | |
1798 | } |
|
1798 | } | |
1799 |
|
1799 | |||
1800 | .flag_status { |
|
1800 | .flag_status { | |
1801 | margin: 0; |
|
1801 | margin: 0; | |
1802 | } |
|
1802 | } | |
1803 |
|
1803 | |||
1804 | .compare-radio-button { |
|
1804 | .compare-radio-button { | |
1805 | position: relative; |
|
1805 | position: relative; | |
1806 | top: -3px; |
|
1806 | top: -3px; | |
1807 | } |
|
1807 | } | |
1808 | } |
|
1808 | } | |
1809 |
|
1809 | |||
1810 |
|
1810 | |||
1811 | #close_pull_request { |
|
1811 | #close_pull_request { | |
1812 | margin-right: 0px; |
|
1812 | margin-right: 0px; | |
1813 | } |
|
1813 | } | |
1814 |
|
1814 | |||
1815 | .empty_data { |
|
1815 | .empty_data { | |
1816 | color: @grey4; |
|
1816 | color: @grey4; | |
1817 | } |
|
1817 | } | |
1818 |
|
1818 | |||
1819 | #changeset_compare_view_content { |
|
1819 | #changeset_compare_view_content { | |
1820 | margin-bottom: @space; |
|
|||
1821 | clear: both; |
|
1820 | clear: both; | |
1822 | width: 100%; |
|
1821 | width: 100%; | |
1823 | box-sizing: border-box; |
|
1822 | box-sizing: border-box; | |
1824 | .border-radius(@border-radius); |
|
1823 | .border-radius(@border-radius); | |
1825 |
|
1824 | |||
1826 | .help-block { |
|
1825 | .help-block { | |
1827 | margin: @padding 0; |
|
1826 | margin: @padding 0; | |
1828 | color: @text-color; |
|
1827 | color: @text-color; | |
1829 | &.pre-formatting { |
|
1828 | &.pre-formatting { | |
1830 | white-space: pre; |
|
1829 | white-space: pre; | |
1831 | } |
|
1830 | } | |
1832 | } |
|
1831 | } | |
1833 |
|
1832 | |||
1834 | .empty_data { |
|
1833 | .empty_data { | |
1835 | margin: @padding 0; |
|
1834 | margin: @padding 0; | |
1836 | } |
|
1835 | } | |
1837 |
|
1836 | |||
1838 | .alert { |
|
1837 | .alert { | |
1839 | margin-bottom: @space; |
|
1838 | margin-bottom: @space; | |
1840 | } |
|
1839 | } | |
1841 | } |
|
1840 | } | |
1842 |
|
1841 | |||
1843 | .table_disp { |
|
1842 | .table_disp { | |
1844 | .status { |
|
1843 | .status { | |
1845 | width: auto; |
|
1844 | width: auto; | |
1846 |
|
1845 | |||
1847 | .flag_status { |
|
1846 | .flag_status { | |
1848 | float: left; |
|
1847 | float: left; | |
1849 | } |
|
1848 | } | |
1850 | } |
|
1849 | } | |
1851 | } |
|
1850 | } | |
1852 |
|
1851 | |||
1853 |
|
1852 | |||
1854 | .creation_in_progress { |
|
1853 | .creation_in_progress { | |
1855 | color: @grey4 |
|
1854 | color: @grey4 | |
1856 | } |
|
1855 | } | |
1857 |
|
1856 | |||
1858 | .status_box_menu { |
|
1857 | .status_box_menu { | |
1859 | margin: 0; |
|
1858 | margin: 0; | |
1860 | } |
|
1859 | } | |
1861 |
|
1860 | |||
1862 | .notification-table{ |
|
1861 | .notification-table{ | |
1863 | margin-bottom: @space; |
|
1862 | margin-bottom: @space; | |
1864 | display: table; |
|
1863 | display: table; | |
1865 | width: 100%; |
|
1864 | width: 100%; | |
1866 |
|
1865 | |||
1867 | .container{ |
|
1866 | .container{ | |
1868 | display: table-row; |
|
1867 | display: table-row; | |
1869 |
|
1868 | |||
1870 | .notification-header{ |
|
1869 | .notification-header{ | |
1871 | border-bottom: @border-thickness solid @border-default-color; |
|
1870 | border-bottom: @border-thickness solid @border-default-color; | |
1872 | } |
|
1871 | } | |
1873 |
|
1872 | |||
1874 | .notification-subject{ |
|
1873 | .notification-subject{ | |
1875 | display: table-cell; |
|
1874 | display: table-cell; | |
1876 | } |
|
1875 | } | |
1877 | } |
|
1876 | } | |
1878 | } |
|
1877 | } | |
1879 |
|
1878 | |||
1880 | // Notifications |
|
1879 | // Notifications | |
1881 | .notification-header{ |
|
1880 | .notification-header{ | |
1882 | display: table; |
|
1881 | display: table; | |
1883 | width: 100%; |
|
1882 | width: 100%; | |
1884 | padding: floor(@basefontsize/2) 0; |
|
1883 | padding: floor(@basefontsize/2) 0; | |
1885 | line-height: 1em; |
|
1884 | line-height: 1em; | |
1886 |
|
1885 | |||
1887 | .desc, .delete-notifications, .read-notifications{ |
|
1886 | .desc, .delete-notifications, .read-notifications{ | |
1888 | display: table-cell; |
|
1887 | display: table-cell; | |
1889 | text-align: left; |
|
1888 | text-align: left; | |
1890 | } |
|
1889 | } | |
1891 |
|
1890 | |||
1892 | .desc{ |
|
1891 | .desc{ | |
1893 | width: 1163px; |
|
1892 | width: 1163px; | |
1894 | } |
|
1893 | } | |
1895 |
|
1894 | |||
1896 | .delete-notifications, .read-notifications{ |
|
1895 | .delete-notifications, .read-notifications{ | |
1897 | width: 35px; |
|
1896 | width: 35px; | |
1898 | min-width: 35px; //fixes when only one button is displayed |
|
1897 | min-width: 35px; //fixes when only one button is displayed | |
1899 | } |
|
1898 | } | |
1900 | } |
|
1899 | } | |
1901 |
|
1900 | |||
1902 | .notification-body { |
|
1901 | .notification-body { | |
1903 | .markdown-block, |
|
1902 | .markdown-block, | |
1904 | .rst-block { |
|
1903 | .rst-block { | |
1905 | padding: @padding 0; |
|
1904 | padding: @padding 0; | |
1906 | } |
|
1905 | } | |
1907 |
|
1906 | |||
1908 | .notification-subject { |
|
1907 | .notification-subject { | |
1909 | padding: @textmargin 0; |
|
1908 | padding: @textmargin 0; | |
1910 | border-bottom: @border-thickness solid @border-default-color; |
|
1909 | border-bottom: @border-thickness solid @border-default-color; | |
1911 | } |
|
1910 | } | |
1912 | } |
|
1911 | } | |
1913 |
|
1912 | |||
1914 |
|
1913 | |||
1915 | .notifications_buttons{ |
|
1914 | .notifications_buttons{ | |
1916 | float: right; |
|
1915 | float: right; | |
1917 | } |
|
1916 | } | |
1918 |
|
1917 | |||
1919 | #notification-status{ |
|
1918 | #notification-status{ | |
1920 | display: inline; |
|
1919 | display: inline; | |
1921 | } |
|
1920 | } | |
1922 |
|
1921 | |||
1923 | // Repositories |
|
1922 | // Repositories | |
1924 |
|
1923 | |||
1925 | #summary.fields{ |
|
1924 | #summary.fields{ | |
1926 | display: table; |
|
1925 | display: table; | |
1927 |
|
1926 | |||
1928 | .field{ |
|
1927 | .field{ | |
1929 | display: table-row; |
|
1928 | display: table-row; | |
1930 |
|
1929 | |||
1931 | .label-summary{ |
|
1930 | .label-summary{ | |
1932 | display: table-cell; |
|
1931 | display: table-cell; | |
1933 | min-width: @label-summary-minwidth; |
|
1932 | min-width: @label-summary-minwidth; | |
1934 | padding-top: @padding/2; |
|
1933 | padding-top: @padding/2; | |
1935 | padding-bottom: @padding/2; |
|
1934 | padding-bottom: @padding/2; | |
1936 | padding-right: @padding/2; |
|
1935 | padding-right: @padding/2; | |
1937 | } |
|
1936 | } | |
1938 |
|
1937 | |||
1939 | .input{ |
|
1938 | .input{ | |
1940 | display: table-cell; |
|
1939 | display: table-cell; | |
1941 | padding: @padding/2; |
|
1940 | padding: @padding/2; | |
1942 |
|
1941 | |||
1943 | input{ |
|
1942 | input{ | |
1944 | min-width: 29em; |
|
1943 | min-width: 29em; | |
1945 | padding: @padding/4; |
|
1944 | padding: @padding/4; | |
1946 | } |
|
1945 | } | |
1947 | } |
|
1946 | } | |
1948 | .statistics, .downloads{ |
|
1947 | .statistics, .downloads{ | |
1949 | .disabled{ |
|
1948 | .disabled{ | |
1950 | color: @grey4; |
|
1949 | color: @grey4; | |
1951 | } |
|
1950 | } | |
1952 | } |
|
1951 | } | |
1953 | } |
|
1952 | } | |
1954 | } |
|
1953 | } | |
1955 |
|
1954 | |||
1956 | #summary{ |
|
1955 | #summary{ | |
1957 | width: 70%; |
|
1956 | width: 70%; | |
1958 | } |
|
1957 | } | |
1959 |
|
1958 | |||
1960 |
|
1959 | |||
1961 | // Journal |
|
1960 | // Journal | |
1962 | .journal.title { |
|
1961 | .journal.title { | |
1963 | h5 { |
|
1962 | h5 { | |
1964 | float: left; |
|
1963 | float: left; | |
1965 | margin: 0; |
|
1964 | margin: 0; | |
1966 | width: 70%; |
|
1965 | width: 70%; | |
1967 | } |
|
1966 | } | |
1968 |
|
1967 | |||
1969 | ul { |
|
1968 | ul { | |
1970 | float: right; |
|
1969 | float: right; | |
1971 | display: inline-block; |
|
1970 | display: inline-block; | |
1972 | margin: 0; |
|
1971 | margin: 0; | |
1973 | width: 30%; |
|
1972 | width: 30%; | |
1974 | text-align: right; |
|
1973 | text-align: right; | |
1975 |
|
1974 | |||
1976 | li { |
|
1975 | li { | |
1977 | display: inline; |
|
1976 | display: inline; | |
1978 | font-size: @journal-fontsize; |
|
1977 | font-size: @journal-fontsize; | |
1979 | line-height: 1em; |
|
1978 | line-height: 1em; | |
1980 |
|
1979 | |||
1981 | list-style-type: none; |
|
1980 | list-style-type: none; | |
1982 | } |
|
1981 | } | |
1983 | } |
|
1982 | } | |
1984 | } |
|
1983 | } | |
1985 |
|
1984 | |||
1986 | .filterexample { |
|
1985 | .filterexample { | |
1987 | position: absolute; |
|
1986 | position: absolute; | |
1988 | top: 95px; |
|
1987 | top: 95px; | |
1989 | left: @contentpadding; |
|
1988 | left: @contentpadding; | |
1990 | color: @rcblue; |
|
1989 | color: @rcblue; | |
1991 | font-size: 11px; |
|
1990 | font-size: 11px; | |
1992 | font-family: @text-regular; |
|
1991 | font-family: @text-regular; | |
1993 | cursor: help; |
|
1992 | cursor: help; | |
1994 |
|
1993 | |||
1995 | &:hover { |
|
1994 | &:hover { | |
1996 | color: @rcdarkblue; |
|
1995 | color: @rcdarkblue; | |
1997 | } |
|
1996 | } | |
1998 |
|
1997 | |||
1999 | @media (max-width:768px) { |
|
1998 | @media (max-width:768px) { | |
2000 | position: relative; |
|
1999 | position: relative; | |
2001 | top: auto; |
|
2000 | top: auto; | |
2002 | left: auto; |
|
2001 | left: auto; | |
2003 | display: block; |
|
2002 | display: block; | |
2004 | } |
|
2003 | } | |
2005 | } |
|
2004 | } | |
2006 |
|
2005 | |||
2007 |
|
2006 | |||
2008 | #journal{ |
|
2007 | #journal{ | |
2009 | margin-bottom: @space; |
|
2008 | margin-bottom: @space; | |
2010 |
|
2009 | |||
2011 | .journal_day{ |
|
2010 | .journal_day{ | |
2012 | margin-bottom: @textmargin/2; |
|
2011 | margin-bottom: @textmargin/2; | |
2013 | padding-bottom: @textmargin/2; |
|
2012 | padding-bottom: @textmargin/2; | |
2014 | font-size: @journal-fontsize; |
|
2013 | font-size: @journal-fontsize; | |
2015 | border-bottom: @border-thickness solid @border-default-color; |
|
2014 | border-bottom: @border-thickness solid @border-default-color; | |
2016 | } |
|
2015 | } | |
2017 |
|
2016 | |||
2018 | .journal_container{ |
|
2017 | .journal_container{ | |
2019 | margin-bottom: @space; |
|
2018 | margin-bottom: @space; | |
2020 |
|
2019 | |||
2021 | .journal_user{ |
|
2020 | .journal_user{ | |
2022 | display: inline-block; |
|
2021 | display: inline-block; | |
2023 | } |
|
2022 | } | |
2024 | .journal_action_container{ |
|
2023 | .journal_action_container{ | |
2025 | display: block; |
|
2024 | display: block; | |
2026 | margin-top: @textmargin; |
|
2025 | margin-top: @textmargin; | |
2027 |
|
2026 | |||
2028 | div{ |
|
2027 | div{ | |
2029 | display: inline; |
|
2028 | display: inline; | |
2030 | } |
|
2029 | } | |
2031 |
|
2030 | |||
2032 | div.journal_action_params{ |
|
2031 | div.journal_action_params{ | |
2033 | display: block; |
|
2032 | display: block; | |
2034 | } |
|
2033 | } | |
2035 |
|
2034 | |||
2036 | div.journal_repo:after{ |
|
2035 | div.journal_repo:after{ | |
2037 | content: "\A"; |
|
2036 | content: "\A"; | |
2038 | white-space: pre; |
|
2037 | white-space: pre; | |
2039 | } |
|
2038 | } | |
2040 |
|
2039 | |||
2041 | div.date{ |
|
2040 | div.date{ | |
2042 | display: block; |
|
2041 | display: block; | |
2043 | margin-bottom: @textmargin; |
|
2042 | margin-bottom: @textmargin; | |
2044 | } |
|
2043 | } | |
2045 | } |
|
2044 | } | |
2046 | } |
|
2045 | } | |
2047 | } |
|
2046 | } | |
2048 |
|
2047 | |||
2049 | // Files |
|
2048 | // Files | |
2050 | .edit-file-title { |
|
2049 | .edit-file-title { | |
2051 | border-bottom: @border-thickness solid @border-default-color; |
|
2050 | border-bottom: @border-thickness solid @border-default-color; | |
2052 |
|
2051 | |||
2053 | .breadcrumbs { |
|
2052 | .breadcrumbs { | |
2054 | margin-bottom: 0; |
|
2053 | margin-bottom: 0; | |
2055 | } |
|
2054 | } | |
2056 | } |
|
2055 | } | |
2057 |
|
2056 | |||
2058 | .edit-file-fieldset { |
|
2057 | .edit-file-fieldset { | |
2059 | margin-top: @sidebarpadding; |
|
2058 | margin-top: @sidebarpadding; | |
2060 |
|
2059 | |||
2061 | .fieldset { |
|
2060 | .fieldset { | |
2062 | .left-label { |
|
2061 | .left-label { | |
2063 | width: 13%; |
|
2062 | width: 13%; | |
2064 | } |
|
2063 | } | |
2065 | .right-content { |
|
2064 | .right-content { | |
2066 | width: 87%; |
|
2065 | width: 87%; | |
2067 | max-width: 100%; |
|
2066 | max-width: 100%; | |
2068 | } |
|
2067 | } | |
2069 | .filename-label { |
|
2068 | .filename-label { | |
2070 | margin-top: 13px; |
|
2069 | margin-top: 13px; | |
2071 | } |
|
2070 | } | |
2072 | .commit-message-label { |
|
2071 | .commit-message-label { | |
2073 | margin-top: 4px; |
|
2072 | margin-top: 4px; | |
2074 | } |
|
2073 | } | |
2075 | .file-upload-input { |
|
2074 | .file-upload-input { | |
2076 | input { |
|
2075 | input { | |
2077 | display: none; |
|
2076 | display: none; | |
2078 | } |
|
2077 | } | |
2079 | margin-top: 10px; |
|
2078 | margin-top: 10px; | |
2080 | } |
|
2079 | } | |
2081 | .file-upload-label { |
|
2080 | .file-upload-label { | |
2082 | margin-top: 10px; |
|
2081 | margin-top: 10px; | |
2083 | } |
|
2082 | } | |
2084 | p { |
|
2083 | p { | |
2085 | margin-top: 5px; |
|
2084 | margin-top: 5px; | |
2086 | } |
|
2085 | } | |
2087 |
|
2086 | |||
2088 | } |
|
2087 | } | |
2089 | .custom-path-link { |
|
2088 | .custom-path-link { | |
2090 | margin-left: 5px; |
|
2089 | margin-left: 5px; | |
2091 | } |
|
2090 | } | |
2092 | #commit { |
|
2091 | #commit { | |
2093 | resize: vertical; |
|
2092 | resize: vertical; | |
2094 | } |
|
2093 | } | |
2095 | } |
|
2094 | } | |
2096 |
|
2095 | |||
2097 | .delete-file-preview { |
|
2096 | .delete-file-preview { | |
2098 | max-height: 250px; |
|
2097 | max-height: 250px; | |
2099 | } |
|
2098 | } | |
2100 |
|
2099 | |||
2101 | .new-file, |
|
2100 | .new-file, | |
2102 | #filter_activate, |
|
2101 | #filter_activate, | |
2103 | #filter_deactivate { |
|
2102 | #filter_deactivate { | |
2104 | float: left; |
|
2103 | float: left; | |
2105 | margin: 0 0 0 15px; |
|
2104 | margin: 0 0 0 15px; | |
2106 | } |
|
2105 | } | |
2107 |
|
2106 | |||
2108 | h3.files_location{ |
|
2107 | h3.files_location{ | |
2109 | line-height: 2.4em; |
|
2108 | line-height: 2.4em; | |
2110 | } |
|
2109 | } | |
2111 |
|
2110 | |||
2112 | .browser-nav { |
|
2111 | .browser-nav { | |
2113 | display: table; |
|
2112 | display: table; | |
2114 | margin-bottom: @space; |
|
2113 | margin-bottom: @space; | |
2115 |
|
2114 | |||
2116 |
|
2115 | |||
2117 | .info_box { |
|
2116 | .info_box { | |
2118 | display: inline-table; |
|
2117 | display: inline-table; | |
2119 | height: 2.5em; |
|
2118 | height: 2.5em; | |
2120 |
|
2119 | |||
2121 | .browser-cur-rev, .info_box_elem { |
|
2120 | .browser-cur-rev, .info_box_elem { | |
2122 | display: table-cell; |
|
2121 | display: table-cell; | |
2123 | vertical-align: middle; |
|
2122 | vertical-align: middle; | |
2124 | } |
|
2123 | } | |
2125 |
|
2124 | |||
2126 | .info_box_elem { |
|
2125 | .info_box_elem { | |
2127 | border-top: @border-thickness solid @grey5; |
|
2126 | border-top: @border-thickness solid @grey5; | |
2128 | border-bottom: @border-thickness solid @grey5; |
|
2127 | border-bottom: @border-thickness solid @grey5; | |
2129 | box-shadow: @button-shadow; |
|
2128 | box-shadow: @button-shadow; | |
2130 |
|
2129 | |||
2131 | #at_rev, a { |
|
2130 | #at_rev, a { | |
2132 | padding: 0.6em 0.4em; |
|
2131 | padding: 0.6em 0.4em; | |
2133 | margin: 0; |
|
2132 | margin: 0; | |
2134 | .box-shadow(none); |
|
2133 | .box-shadow(none); | |
2135 | border: 0; |
|
2134 | border: 0; | |
2136 | height: 12px; |
|
2135 | height: 12px; | |
2137 | color: @grey2; |
|
2136 | color: @grey2; | |
2138 | } |
|
2137 | } | |
2139 |
|
2138 | |||
2140 | input#at_rev { |
|
2139 | input#at_rev { | |
2141 | max-width: 50px; |
|
2140 | max-width: 50px; | |
2142 | text-align: center; |
|
2141 | text-align: center; | |
2143 | } |
|
2142 | } | |
2144 |
|
2143 | |||
2145 | &.previous { |
|
2144 | &.previous { | |
2146 | border: @border-thickness solid @grey5; |
|
2145 | border: @border-thickness solid @grey5; | |
2147 | border-top-left-radius: @border-radius; |
|
2146 | border-top-left-radius: @border-radius; | |
2148 | border-bottom-left-radius: @border-radius; |
|
2147 | border-bottom-left-radius: @border-radius; | |
2149 |
|
2148 | |||
2150 | &:hover { |
|
2149 | &:hover { | |
2151 | border-color: @grey4; |
|
2150 | border-color: @grey4; | |
2152 | } |
|
2151 | } | |
2153 |
|
2152 | |||
2154 | .disabled { |
|
2153 | .disabled { | |
2155 | color: @grey5; |
|
2154 | color: @grey5; | |
2156 | cursor: not-allowed; |
|
2155 | cursor: not-allowed; | |
2157 | opacity: 0.5; |
|
2156 | opacity: 0.5; | |
2158 | } |
|
2157 | } | |
2159 | } |
|
2158 | } | |
2160 |
|
2159 | |||
2161 | &.next { |
|
2160 | &.next { | |
2162 | border: @border-thickness solid @grey5; |
|
2161 | border: @border-thickness solid @grey5; | |
2163 | border-top-right-radius: @border-radius; |
|
2162 | border-top-right-radius: @border-radius; | |
2164 | border-bottom-right-radius: @border-radius; |
|
2163 | border-bottom-right-radius: @border-radius; | |
2165 |
|
2164 | |||
2166 | &:hover { |
|
2165 | &:hover { | |
2167 | border-color: @grey4; |
|
2166 | border-color: @grey4; | |
2168 | } |
|
2167 | } | |
2169 |
|
2168 | |||
2170 | .disabled { |
|
2169 | .disabled { | |
2171 | color: @grey5; |
|
2170 | color: @grey5; | |
2172 | cursor: not-allowed; |
|
2171 | cursor: not-allowed; | |
2173 | opacity: 0.5; |
|
2172 | opacity: 0.5; | |
2174 | } |
|
2173 | } | |
2175 | } |
|
2174 | } | |
2176 | } |
|
2175 | } | |
2177 |
|
2176 | |||
2178 | .browser-cur-rev { |
|
2177 | .browser-cur-rev { | |
2179 |
|
2178 | |||
2180 | span{ |
|
2179 | span{ | |
2181 | margin: 0; |
|
2180 | margin: 0; | |
2182 | color: @rcblue; |
|
2181 | color: @rcblue; | |
2183 | height: 12px; |
|
2182 | height: 12px; | |
2184 | display: inline-block; |
|
2183 | display: inline-block; | |
2185 | padding: 0.7em 1em ; |
|
2184 | padding: 0.7em 1em ; | |
2186 | border: @border-thickness solid @rcblue; |
|
2185 | border: @border-thickness solid @rcblue; | |
2187 | margin-right: @padding; |
|
2186 | margin-right: @padding; | |
2188 | } |
|
2187 | } | |
2189 | } |
|
2188 | } | |
2190 |
|
2189 | |||
2191 | .select-index-number { |
|
2190 | .select-index-number { | |
2192 | margin: 0 0 0 20px; |
|
2191 | margin: 0 0 0 20px; | |
2193 | color: @grey3; |
|
2192 | color: @grey3; | |
2194 | } |
|
2193 | } | |
2195 | } |
|
2194 | } | |
2196 |
|
2195 | |||
2197 | .search_activate { |
|
2196 | .search_activate { | |
2198 | display: table-cell; |
|
2197 | display: table-cell; | |
2199 | vertical-align: middle; |
|
2198 | vertical-align: middle; | |
2200 |
|
2199 | |||
2201 | input, label{ |
|
2200 | input, label{ | |
2202 | margin: 0; |
|
2201 | margin: 0; | |
2203 | padding: 0; |
|
2202 | padding: 0; | |
2204 | } |
|
2203 | } | |
2205 |
|
2204 | |||
2206 | input{ |
|
2205 | input{ | |
2207 | margin-left: @textmargin; |
|
2206 | margin-left: @textmargin; | |
2208 | } |
|
2207 | } | |
2209 |
|
2208 | |||
2210 | } |
|
2209 | } | |
2211 | } |
|
2210 | } | |
2212 |
|
2211 | |||
2213 | .browser-cur-rev{ |
|
2212 | .browser-cur-rev{ | |
2214 | margin-bottom: @textmargin; |
|
2213 | margin-bottom: @textmargin; | |
2215 | } |
|
2214 | } | |
2216 |
|
2215 | |||
2217 | #node_filter_box_loading{ |
|
2216 | #node_filter_box_loading{ | |
2218 | .info_text; |
|
2217 | .info_text; | |
2219 | } |
|
2218 | } | |
2220 |
|
2219 | |||
2221 | .browser-search { |
|
2220 | .browser-search { | |
2222 | margin: -25px 0px 5px 0px; |
|
2221 | margin: -25px 0px 5px 0px; | |
2223 | } |
|
2222 | } | |
2224 |
|
2223 | |||
2225 | .node-filter { |
|
2224 | .node-filter { | |
2226 | font-size: @repo-title-fontsize; |
|
2225 | font-size: @repo-title-fontsize; | |
2227 | padding: 4px 0px 0px 0px; |
|
2226 | padding: 4px 0px 0px 0px; | |
2228 |
|
2227 | |||
2229 | .node-filter-path { |
|
2228 | .node-filter-path { | |
2230 | float: left; |
|
2229 | float: left; | |
2231 | color: @grey4; |
|
2230 | color: @grey4; | |
2232 | } |
|
2231 | } | |
2233 | .node-filter-input { |
|
2232 | .node-filter-input { | |
2234 | float: left; |
|
2233 | float: left; | |
2235 | margin: -2px 0px 0px 2px; |
|
2234 | margin: -2px 0px 0px 2px; | |
2236 | input { |
|
2235 | input { | |
2237 | padding: 2px; |
|
2236 | padding: 2px; | |
2238 | border: none; |
|
2237 | border: none; | |
2239 | font-size: @repo-title-fontsize; |
|
2238 | font-size: @repo-title-fontsize; | |
2240 | } |
|
2239 | } | |
2241 | } |
|
2240 | } | |
2242 | } |
|
2241 | } | |
2243 |
|
2242 | |||
2244 |
|
2243 | |||
2245 | .browser-result{ |
|
2244 | .browser-result{ | |
2246 | td a{ |
|
2245 | td a{ | |
2247 | margin-left: 0.5em; |
|
2246 | margin-left: 0.5em; | |
2248 | display: inline-block; |
|
2247 | display: inline-block; | |
2249 |
|
2248 | |||
2250 | em { |
|
2249 | em { | |
2251 | font-weight: @text-bold-weight; |
|
2250 | font-weight: @text-bold-weight; | |
2252 | font-family: @text-bold; |
|
2251 | font-family: @text-bold; | |
2253 | } |
|
2252 | } | |
2254 | } |
|
2253 | } | |
2255 | } |
|
2254 | } | |
2256 |
|
2255 | |||
2257 | .browser-highlight{ |
|
2256 | .browser-highlight{ | |
2258 | background-color: @grey5-alpha; |
|
2257 | background-color: @grey5-alpha; | |
2259 | } |
|
2258 | } | |
2260 |
|
2259 | |||
2261 |
|
2260 | |||
2262 | // Search |
|
2261 | // Search | |
2263 |
|
2262 | |||
2264 | .search-form{ |
|
2263 | .search-form{ | |
2265 | #q { |
|
2264 | #q { | |
2266 | width: @search-form-width; |
|
2265 | width: @search-form-width; | |
2267 | } |
|
2266 | } | |
2268 | .fields{ |
|
2267 | .fields{ | |
2269 | margin: 0 0 @space; |
|
2268 | margin: 0 0 @space; | |
2270 | } |
|
2269 | } | |
2271 |
|
2270 | |||
2272 | label{ |
|
2271 | label{ | |
2273 | display: inline-block; |
|
2272 | display: inline-block; | |
2274 | margin-right: @textmargin; |
|
2273 | margin-right: @textmargin; | |
2275 | padding-top: 0.25em; |
|
2274 | padding-top: 0.25em; | |
2276 | } |
|
2275 | } | |
2277 |
|
2276 | |||
2278 |
|
2277 | |||
2279 | .results{ |
|
2278 | .results{ | |
2280 | clear: both; |
|
2279 | clear: both; | |
2281 | margin: 0 0 @padding; |
|
2280 | margin: 0 0 @padding; | |
2282 | } |
|
2281 | } | |
2283 |
|
2282 | |||
2284 | .search-tags { |
|
2283 | .search-tags { | |
2285 | padding: 5px 0; |
|
2284 | padding: 5px 0; | |
2286 | } |
|
2285 | } | |
2287 | } |
|
2286 | } | |
2288 |
|
2287 | |||
2289 | div.search-feedback-items { |
|
2288 | div.search-feedback-items { | |
2290 | display: inline-block; |
|
2289 | display: inline-block; | |
2291 | } |
|
2290 | } | |
2292 |
|
2291 | |||
2293 | div.search-code-body { |
|
2292 | div.search-code-body { | |
2294 | background-color: #ffffff; padding: 5px 0 5px 10px; |
|
2293 | background-color: #ffffff; padding: 5px 0 5px 10px; | |
2295 | pre { |
|
2294 | pre { | |
2296 | .match { background-color: #faffa6;} |
|
2295 | .match { background-color: #faffa6;} | |
2297 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } |
|
2296 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } | |
2298 | } |
|
2297 | } | |
2299 | } |
|
2298 | } | |
2300 |
|
2299 | |||
2301 | .expand_commit.search { |
|
2300 | .expand_commit.search { | |
2302 | .show_more.open { |
|
2301 | .show_more.open { | |
2303 | height: auto; |
|
2302 | height: auto; | |
2304 | max-height: none; |
|
2303 | max-height: none; | |
2305 | } |
|
2304 | } | |
2306 | } |
|
2305 | } | |
2307 |
|
2306 | |||
2308 | .search-results { |
|
2307 | .search-results { | |
2309 |
|
2308 | |||
2310 | h2 { |
|
2309 | h2 { | |
2311 | margin-bottom: 0; |
|
2310 | margin-bottom: 0; | |
2312 | } |
|
2311 | } | |
2313 | .codeblock { |
|
2312 | .codeblock { | |
2314 | border: none; |
|
2313 | border: none; | |
2315 | background: transparent; |
|
2314 | background: transparent; | |
2316 | } |
|
2315 | } | |
2317 |
|
2316 | |||
2318 | .codeblock-header { |
|
2317 | .codeblock-header { | |
2319 | border: none; |
|
2318 | border: none; | |
2320 | background: transparent; |
|
2319 | background: transparent; | |
2321 | } |
|
2320 | } | |
2322 |
|
2321 | |||
2323 | .code-body { |
|
2322 | .code-body { | |
2324 | border: @border-thickness solid @border-default-color; |
|
2323 | border: @border-thickness solid @border-default-color; | |
2325 | .border-radius(@border-radius); |
|
2324 | .border-radius(@border-radius); | |
2326 | } |
|
2325 | } | |
2327 |
|
2326 | |||
2328 | .td-commit { |
|
2327 | .td-commit { | |
2329 | &:extend(pre); |
|
2328 | &:extend(pre); | |
2330 | border-bottom: @border-thickness solid @border-default-color; |
|
2329 | border-bottom: @border-thickness solid @border-default-color; | |
2331 | } |
|
2330 | } | |
2332 |
|
2331 | |||
2333 | .message { |
|
2332 | .message { | |
2334 | height: auto; |
|
2333 | height: auto; | |
2335 | max-width: 350px; |
|
2334 | max-width: 350px; | |
2336 | white-space: normal; |
|
2335 | white-space: normal; | |
2337 | text-overflow: initial; |
|
2336 | text-overflow: initial; | |
2338 | overflow: visible; |
|
2337 | overflow: visible; | |
2339 |
|
2338 | |||
2340 | .match { background-color: #faffa6;} |
|
2339 | .match { background-color: #faffa6;} | |
2341 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } |
|
2340 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } | |
2342 | } |
|
2341 | } | |
2343 |
|
2342 | |||
2344 | } |
|
2343 | } | |
2345 |
|
2344 | |||
2346 | table.rctable td.td-search-results div { |
|
2345 | table.rctable td.td-search-results div { | |
2347 | max-width: 100%; |
|
2346 | max-width: 100%; | |
2348 | } |
|
2347 | } | |
2349 |
|
2348 | |||
2350 | #tip-box, .tip-box{ |
|
2349 | #tip-box, .tip-box{ | |
2351 | padding: @menupadding/2; |
|
2350 | padding: @menupadding/2; | |
2352 | display: block; |
|
2351 | display: block; | |
2353 | border: @border-thickness solid @border-highlight-color; |
|
2352 | border: @border-thickness solid @border-highlight-color; | |
2354 | .border-radius(@border-radius); |
|
2353 | .border-radius(@border-radius); | |
2355 | background-color: white; |
|
2354 | background-color: white; | |
2356 | z-index: 99; |
|
2355 | z-index: 99; | |
2357 | white-space: pre-wrap; |
|
2356 | white-space: pre-wrap; | |
2358 | } |
|
2357 | } | |
2359 |
|
2358 | |||
2360 | #linktt { |
|
2359 | #linktt { | |
2361 | width: 79px; |
|
2360 | width: 79px; | |
2362 | } |
|
2361 | } | |
2363 |
|
2362 | |||
2364 | #help_kb .modal-content{ |
|
2363 | #help_kb .modal-content{ | |
2365 | max-width: 750px; |
|
2364 | max-width: 750px; | |
2366 | margin: 10% auto; |
|
2365 | margin: 10% auto; | |
2367 |
|
2366 | |||
2368 | table{ |
|
2367 | table{ | |
2369 | td,th{ |
|
2368 | td,th{ | |
2370 | border-bottom: none; |
|
2369 | border-bottom: none; | |
2371 | line-height: 2.5em; |
|
2370 | line-height: 2.5em; | |
2372 | } |
|
2371 | } | |
2373 | th{ |
|
2372 | th{ | |
2374 | padding-bottom: @textmargin/2; |
|
2373 | padding-bottom: @textmargin/2; | |
2375 | } |
|
2374 | } | |
2376 | td.keys{ |
|
2375 | td.keys{ | |
2377 | text-align: center; |
|
2376 | text-align: center; | |
2378 | } |
|
2377 | } | |
2379 | } |
|
2378 | } | |
2380 |
|
2379 | |||
2381 | .block-left{ |
|
2380 | .block-left{ | |
2382 | width: 45%; |
|
2381 | width: 45%; | |
2383 | margin-right: 5%; |
|
2382 | margin-right: 5%; | |
2384 | } |
|
2383 | } | |
2385 | .modal-footer{ |
|
2384 | .modal-footer{ | |
2386 | clear: both; |
|
2385 | clear: both; | |
2387 | } |
|
2386 | } | |
2388 | .key.tag{ |
|
2387 | .key.tag{ | |
2389 | padding: 0.5em; |
|
2388 | padding: 0.5em; | |
2390 | background-color: @rcblue; |
|
2389 | background-color: @rcblue; | |
2391 | color: white; |
|
2390 | color: white; | |
2392 | border-color: @rcblue; |
|
2391 | border-color: @rcblue; | |
2393 | .box-shadow(none); |
|
2392 | .box-shadow(none); | |
2394 | } |
|
2393 | } | |
2395 | } |
|
2394 | } | |
2396 |
|
2395 | |||
2397 |
|
2396 | |||
2398 |
|
2397 | |||
2399 | //--- IMPORTS FOR REFACTORED STYLES ------------------// |
|
2398 | //--- IMPORTS FOR REFACTORED STYLES ------------------// | |
2400 |
|
2399 | |||
2401 | @import 'statistics-graph'; |
|
2400 | @import 'statistics-graph'; | |
2402 | @import 'tables'; |
|
2401 | @import 'tables'; | |
2403 | @import 'forms'; |
|
2402 | @import 'forms'; | |
2404 | @import 'diff'; |
|
2403 | @import 'diff'; | |
2405 | @import 'summary'; |
|
2404 | @import 'summary'; | |
2406 | @import 'navigation'; |
|
2405 | @import 'navigation'; | |
2407 |
|
2406 | |||
2408 | //--- SHOW/HIDE SECTIONS --// |
|
2407 | //--- SHOW/HIDE SECTIONS --// | |
2409 |
|
2408 | |||
2410 | .btn-collapse { |
|
2409 | .btn-collapse { | |
2411 | float: right; |
|
2410 | float: right; | |
2412 | text-align: right; |
|
2411 | text-align: right; | |
2413 | font-family: @text-light; |
|
2412 | font-family: @text-light; | |
2414 | font-size: @basefontsize; |
|
2413 | font-size: @basefontsize; | |
2415 | cursor: pointer; |
|
2414 | cursor: pointer; | |
2416 | border: none; |
|
2415 | border: none; | |
2417 | color: @rcblue; |
|
2416 | color: @rcblue; | |
2418 | } |
|
2417 | } | |
2419 |
|
2418 | |||
2420 | table.rctable, |
|
2419 | table.rctable, | |
2421 | table.dataTable { |
|
2420 | table.dataTable { | |
2422 | .btn-collapse { |
|
2421 | .btn-collapse { | |
2423 | float: right; |
|
2422 | float: right; | |
2424 | text-align: right; |
|
2423 | text-align: right; | |
2425 | } |
|
2424 | } | |
2426 | } |
|
2425 | } | |
2427 |
|
2426 | |||
2428 | table.rctable { |
|
2427 | table.rctable { | |
2429 | &.permissions { |
|
2428 | &.permissions { | |
2430 |
|
2429 | |||
2431 | th.td-owner { |
|
2430 | th.td-owner { | |
2432 | padding: 0; |
|
2431 | padding: 0; | |
2433 | } |
|
2432 | } | |
2434 |
|
2433 | |||
2435 | th { |
|
2434 | th { | |
2436 | font-weight: normal; |
|
2435 | font-weight: normal; | |
2437 | padding: 0 5px; |
|
2436 | padding: 0 5px; | |
2438 | } |
|
2437 | } | |
2439 |
|
2438 | |||
2440 | } |
|
2439 | } | |
2441 | } |
|
2440 | } | |
2442 |
|
2441 | |||
2443 |
|
2442 | |||
2444 | // TODO: johbo: Fix for IE10, this avoids that we see a border |
|
2443 | // TODO: johbo: Fix for IE10, this avoids that we see a border | |
2445 | // and padding around checkboxes and radio boxes. Move to the right place, |
|
2444 | // and padding around checkboxes and radio boxes. Move to the right place, | |
2446 | // or better: Remove this once we did the form refactoring. |
|
2445 | // or better: Remove this once we did the form refactoring. | |
2447 | input[type=checkbox], |
|
2446 | input[type=checkbox], | |
2448 | input[type=radio] { |
|
2447 | input[type=radio] { | |
2449 | padding: 0; |
|
2448 | padding: 0; | |
2450 | border: none; |
|
2449 | border: none; | |
2451 | } |
|
2450 | } | |
2452 |
|
2451 | |||
2453 | .toggle-ajax-spinner{ |
|
2452 | .toggle-ajax-spinner{ | |
2454 | height: 16px; |
|
2453 | height: 16px; | |
2455 | width: 16px; |
|
2454 | width: 16px; | |
2456 | } |
|
2455 | } | |
2457 |
|
2456 | |||
2458 |
|
2457 | |||
2459 | .markup-form .clearfix { |
|
2458 | .markup-form .clearfix { | |
2460 | .border-radius(@border-radius); |
|
2459 | .border-radius(@border-radius); | |
2461 | margin: 0px; |
|
2460 | margin: 0px; | |
2462 | } |
|
2461 | } | |
2463 |
|
2462 | |||
2464 | .markup-form-area { |
|
2463 | .markup-form-area { | |
2465 | padding: 8px 12px; |
|
2464 | padding: 8px 12px; | |
2466 | border: 1px solid @grey4; |
|
2465 | border: 1px solid @grey4; | |
2467 | .border-radius(@border-radius); |
|
2466 | .border-radius(@border-radius); | |
2468 | } |
|
2467 | } | |
2469 |
|
2468 | |||
2470 | .markup-form-area-header .nav-links { |
|
2469 | .markup-form-area-header .nav-links { | |
2471 | display: flex; |
|
2470 | display: flex; | |
2472 | flex-flow: row wrap; |
|
2471 | flex-flow: row wrap; | |
2473 | -webkit-flex-flow: row wrap; |
|
2472 | -webkit-flex-flow: row wrap; | |
2474 | width: 100%; |
|
2473 | width: 100%; | |
2475 | } |
|
2474 | } | |
2476 |
|
2475 | |||
2477 | .markup-form-area-footer { |
|
2476 | .markup-form-area-footer { | |
2478 | display: flex; |
|
2477 | display: flex; | |
2479 | } |
|
2478 | } | |
2480 |
|
2479 | |||
2481 | .markup-form-area-footer .toolbar { |
|
2480 | .markup-form-area-footer .toolbar { | |
2482 |
|
2481 | |||
2483 | } |
|
2482 | } | |
2484 |
|
2483 | |||
2485 | // markup Form |
|
2484 | // markup Form | |
2486 | div.markup-form { |
|
2485 | div.markup-form { | |
2487 | margin-top: 20px; |
|
2486 | margin-top: 20px; | |
2488 | } |
|
2487 | } | |
2489 |
|
2488 | |||
2490 | .markup-form strong { |
|
2489 | .markup-form strong { | |
2491 | display: block; |
|
2490 | display: block; | |
2492 | margin-bottom: 15px; |
|
2491 | margin-bottom: 15px; | |
2493 | } |
|
2492 | } | |
2494 |
|
2493 | |||
2495 | .markup-form textarea { |
|
2494 | .markup-form textarea { | |
2496 | width: 100%; |
|
2495 | width: 100%; | |
2497 | height: 100px; |
|
2496 | height: 100px; | |
2498 | font-family: @text-monospace; |
|
2497 | font-family: @text-monospace; | |
2499 | } |
|
2498 | } | |
2500 |
|
2499 | |||
2501 | form.markup-form { |
|
2500 | form.markup-form { | |
2502 | margin-top: 10px; |
|
2501 | margin-top: 10px; | |
2503 | margin-left: 10px; |
|
2502 | margin-left: 10px; | |
2504 | } |
|
2503 | } | |
2505 |
|
2504 | |||
2506 | .markup-form .comment-block-ta, |
|
2505 | .markup-form .comment-block-ta, | |
2507 | .markup-form .preview-box { |
|
2506 | .markup-form .preview-box { | |
2508 | .border-radius(@border-radius); |
|
2507 | .border-radius(@border-radius); | |
2509 | .box-sizing(border-box); |
|
2508 | .box-sizing(border-box); | |
2510 | background-color: white; |
|
2509 | background-color: white; | |
2511 | } |
|
2510 | } | |
2512 |
|
2511 | |||
2513 | .markup-form .preview-box.unloaded { |
|
2512 | .markup-form .preview-box.unloaded { | |
2514 | height: 50px; |
|
2513 | height: 50px; | |
2515 | text-align: center; |
|
2514 | text-align: center; | |
2516 | padding: 20px; |
|
2515 | padding: 20px; | |
2517 | background-color: white; |
|
2516 | background-color: white; | |
2518 | } |
|
2517 | } | |
2519 |
|
2518 | |||
2520 | .dropzone { |
|
2519 | .dropzone { | |
2521 | border: 2px dashed @rcdarkblue; |
|
2520 | border: 2px dashed @rcdarkblue; | |
2522 | border-radius: 5px; |
|
2521 | border-radius: 5px; | |
2523 | background: white; |
|
2522 | background: white; | |
2524 | min-height: 200px; |
|
2523 | min-height: 200px; | |
2525 | padding: 54px; |
|
2524 | padding: 54px; | |
2526 | } |
|
2525 | } | |
2527 | .dropzone .dz-message { |
|
2526 | .dropzone .dz-message { | |
2528 | font-weight: 700; |
|
2527 | font-weight: 700; | |
2529 | } |
|
2528 | } | |
2530 |
|
2529 | |||
2531 | .dropzone .dz-message { |
|
2530 | .dropzone .dz-message { | |
2532 | text-align: center; |
|
2531 | text-align: center; | |
2533 | margin: 2em 0; |
|
2532 | margin: 2em 0; | |
2534 | } |
|
2533 | } | |
2535 |
|
2534 | |||
2536 | .dz-preview { |
|
2535 | .dz-preview { | |
2537 | margin: 10px -40px !important; |
|
2536 | margin: 10px -40px !important; | |
2538 | position: relative; |
|
2537 | position: relative; | |
2539 | vertical-align: top; |
|
2538 | vertical-align: top; | |
2540 | border: 1px solid @grey4; |
|
2539 | border: 1px solid @grey4; | |
2541 | border-radius: 5px; |
|
2540 | border-radius: 5px; | |
2542 | padding: 10px; |
|
2541 | padding: 10px; | |
2543 | } |
|
2542 | } | |
2544 |
|
2543 | |||
2545 | .dz-filename { |
|
2544 | .dz-filename { | |
2546 | font-weight: 700; |
|
2545 | font-weight: 700; | |
2547 | } |
|
2546 | } | |
2548 |
|
2547 | |||
2549 | .dz-error-message { |
|
2548 | .dz-error-message { | |
2550 | color: @alert2; |
|
2549 | color: @alert2; | |
2551 | } No newline at end of file |
|
2550 | } |
@@ -1,89 +1,85 b'' | |||||
1 | // See panels-bootstrap.less |
|
1 | // See panels-bootstrap.less | |
2 | // These provide overrides for custom styling of Bootstrap panels |
|
2 | // These provide overrides for custom styling of Bootstrap panels | |
3 |
|
3 | |||
4 | .panel { |
|
4 | .panel { | |
5 | &:extend(.clearfix); |
|
5 | &:extend(.clearfix); | |
6 |
|
6 | |||
7 | width: 100%; |
|
7 | width: 100%; | |
8 | margin: 0 0 25px 0; |
|
8 | margin: 0 0 25px 0; | |
9 | .border-radius(@border-radius); |
|
9 | .border-radius(@border-radius); | |
10 | .box-shadow(none); |
|
10 | .box-shadow(none); | |
11 |
|
11 | |||
12 | .permalink { |
|
12 | .permalink { | |
13 | visibility: hidden; |
|
13 | visibility: hidden; | |
14 | } |
|
14 | } | |
15 |
|
15 | |||
16 | &:hover .permalink { |
|
16 | &:hover .permalink { | |
17 | visibility: visible; |
|
17 | visibility: visible; | |
18 | color: @rcblue; |
|
18 | color: @rcblue; | |
19 | } |
|
19 | } | |
20 |
|
20 | |||
21 | .panel-heading { |
|
21 | .panel-heading { | |
22 | position: relative; |
|
22 | position: relative; | |
23 | min-height: 1em; |
|
23 | min-height: 1em; | |
24 | padding: @padding @panel-padding; |
|
24 | padding: @padding @panel-padding; | |
25 | border-bottom: none; |
|
25 | border-bottom: none; | |
26 |
|
26 | |||
27 | .panel-title, |
|
27 | .panel-title, | |
28 | h3.panel-title { |
|
28 | h3.panel-title { | |
29 | float: left; |
|
29 | float: left; | |
30 | padding: 0 @padding 0 0; |
|
30 | padding: 0 @padding 0 0; | |
31 | line-height: 1; |
|
31 | line-height: 1; | |
32 | font-size: @panel-title; |
|
32 | font-size: @panel-title; | |
33 | color: @grey1; |
|
33 | color: @grey1; | |
34 | } |
|
34 | } | |
35 |
|
35 | |||
36 | .panel-edit { |
|
36 | .panel-edit { | |
37 | float: right; |
|
37 | float: right; | |
38 | line-height: 1; |
|
38 | line-height: 1; | |
39 | font-size: @panel-title; |
|
39 | font-size: @panel-title; | |
40 | } |
|
40 | } | |
41 | } |
|
41 | } | |
42 |
|
42 | |||
43 | .panel-body { |
|
43 | .panel-body { | |
44 | padding: @panel-padding; |
|
44 | padding: @panel-padding; | |
45 |
|
45 | |||
46 | &.panel-body-min-height { |
|
46 | &.panel-body-min-height { | |
47 | min-height: 150px |
|
47 | min-height: 150px | |
48 | } |
|
48 | } | |
49 | } |
|
49 | } | |
50 |
|
50 | |||
51 | .panel-footer { |
|
51 | .panel-footer { | |
52 | background-color: white; |
|
52 | background-color: white; | |
53 | padding: .65em @panel-padding .5em; |
|
53 | padding: .65em @panel-padding .5em; | |
54 | font-size: @panel-footer; |
|
54 | font-size: @panel-footer; | |
55 | color: @text-muted; |
|
55 | color: @text-muted; | |
56 | } |
|
56 | } | |
57 |
|
57 | |||
58 | .q_filter_box { |
|
58 | .q_filter_box { | |
59 | min-width: 40%; |
|
59 | min-width: 40%; | |
60 | } |
|
60 | } | |
61 |
|
61 | |||
62 | // special cases |
|
62 | // special cases | |
63 | &.user-profile { |
|
63 | &.user-profile { | |
64 | float: left; |
|
64 | float: left; | |
65 |
|
65 | |||
66 | .panel-heading { |
|
|||
67 | margin-bottom: @padding; |
|
|||
68 | } |
|
|||
69 |
|
||||
70 | .panel-body { |
|
66 | .panel-body { | |
71 | &:extend(.clearfix); |
|
67 | &:extend(.clearfix); | |
72 | } |
|
68 | } | |
73 | } |
|
69 | } | |
74 | } |
|
70 | } | |
75 |
|
71 | |||
76 | .main-content h3.panel-title { |
|
72 | .main-content h3.panel-title { | |
77 | font-size: @panel-title; |
|
73 | font-size: @panel-title; | |
78 | color: @grey1; |
|
74 | color: @grey1; | |
79 | } |
|
75 | } | |
80 |
|
76 | |||
81 | .panel-body-title-text { |
|
77 | .panel-body-title-text { | |
82 | margin: 0 0 20px 0; |
|
78 | margin: 0 0 20px 0; | |
83 | } |
|
79 | } | |
84 |
|
80 | |||
85 | // play nice with the current form and field css |
|
81 | // play nice with the current form and field css | |
86 | .field.panel-default, |
|
82 | .field.panel-default, | |
87 | .form.panel-default { |
|
83 | .form.panel-default { | |
88 | width: auto; |
|
84 | width: auto; | |
89 | } No newline at end of file |
|
85 | } |
@@ -1,469 +1,470 b'' | |||||
1 | // summary.less |
|
1 | // summary.less | |
2 | // For use in RhodeCode applications; |
|
2 | // For use in RhodeCode applications; | |
3 | // Used for headers and file detail summary screens. |
|
3 | // Used for headers and file detail summary screens. | |
4 |
|
4 | |||
5 | .summary { |
|
5 | .summary { | |
6 | clear: both; |
|
6 | clear: both; | |
7 | float: none; |
|
7 | float: none; | |
8 | position: relative; |
|
8 | position: relative; | |
9 | width: 100%; |
|
9 | width: 100%; | |
10 | margin: 0; |
|
10 | margin: 0; | |
11 | padding: 0; |
|
11 | padding: 0; | |
12 | background: #FCFCFC; |
|
12 | background: #FCFCFC; | |
13 | border: 1px solid #EAEAEA; |
|
13 | border: 1px solid #EAEAEA; | |
14 | border-radius: @border-radius; |
|
14 | border-radius: @border-radius; | |
15 | margin-bottom: 20px; |
|
15 | margin-bottom: 20px; | |
16 |
|
16 | |||
17 | .summary-detail-header { |
|
17 | .summary-detail-header { | |
18 | display: block; |
|
18 | display: block; | |
19 | width: 100%; |
|
19 | width: 100%; | |
20 | margin-bottom: @textmargin; |
|
20 | margin-bottom: @textmargin; | |
21 | padding: 0 0 .5em 0; |
|
21 | padding: 0 0 .5em 0; | |
22 | border-bottom: @border-thickness solid @border-default-color; |
|
22 | border-bottom: @border-thickness solid @border-default-color; | |
23 |
|
23 | |||
24 | .breadcrumbs { |
|
24 | .breadcrumbs { | |
25 | display: inline; |
|
25 | display: inline; | |
26 | margin: 0; |
|
26 | margin: 0; | |
27 | padding: 0; |
|
27 | padding: 0; | |
28 | } |
|
28 | } | |
29 |
|
29 | |||
30 | h4 { |
|
30 | h4 { | |
31 | margin: 0 1em 0 0; |
|
31 | margin: 0 1em 0 0; | |
32 | padding: 0; |
|
32 | padding: 0; | |
33 | line-height: 1.2em; |
|
33 | line-height: 1.2em; | |
34 | font-size: @basefontsize; |
|
34 | font-size: @basefontsize; | |
35 | } |
|
35 | } | |
36 |
|
36 | |||
37 | .action_link { |
|
37 | .action_link { | |
38 | float: right; |
|
38 | float: right; | |
39 | } |
|
39 | } | |
40 |
|
40 | |||
41 | .new-file { |
|
41 | .new-file { | |
42 | float: right; |
|
42 | float: right; | |
43 | margin-top: -1.5em; |
|
43 | margin-top: -1.5em; | |
44 | } |
|
44 | } | |
45 | } |
|
45 | } | |
46 |
|
46 | |||
47 | .summary-detail { |
|
47 | .summary-detail { | |
48 | float: none; |
|
48 | float: none; | |
49 | position: relative; |
|
49 | position: relative; | |
50 | width: 100%; |
|
50 | width: 100%; | |
51 | margin: 0; |
|
51 | margin: 0; | |
52 | padding: 0; |
|
52 | padding: 0; | |
53 |
|
53 | |||
54 | .file_diff_buttons { |
|
54 | .file_diff_buttons { | |
55 | margin-top: @space; |
|
55 | margin-top: @space; | |
56 | } |
|
56 | } | |
57 |
|
57 | |||
58 | // commit message |
|
58 | // commit message | |
59 | .commit { |
|
59 | .commit { | |
60 | white-space: pre-wrap; |
|
60 | white-space: pre-wrap; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | .left-clone { |
|
63 | .left-clone { | |
64 | float: left; |
|
64 | float: left; | |
65 | height: 30px; |
|
65 | height: 30px; | |
66 | margin: 0; |
|
66 | margin: 0; | |
67 | padding: 0; |
|
67 | padding: 0; | |
68 | width: 130px; |
|
68 | width: 130px; | |
69 | font-weight: @text-semibold-weight; |
|
69 | font-weight: @text-semibold-weight; | |
70 | font-family: @text-semibold; |
|
70 | font-family: @text-semibold; | |
71 | } |
|
71 | } | |
72 | .left-clone select { |
|
72 | .left-clone select { | |
73 | width: 130px; |
|
73 | width: 130px; | |
74 | margin-right: 0; |
|
74 | margin-right: 0; | |
75 | background-color: @grey7; |
|
75 | background-color: @grey7; | |
76 | border-color: @grey4; |
|
76 | border-color: @grey4; | |
77 | color: #5C5C5C; |
|
77 | color: #5C5C5C; | |
78 | border-top-right-radius: 0; |
|
78 | border-top-right-radius: 0; | |
79 | border-bottom-right-radius: 0; |
|
79 | border-bottom-right-radius: 0; | |
80 | } |
|
80 | } | |
81 |
|
81 | |||
82 | .right-clone { |
|
82 | .right-clone { | |
83 | float: left; |
|
83 | float: left; | |
84 | width: ~"calc(100% - 170px)"; |
|
84 | width: ~"calc(100% - 170px)"; | |
85 |
|
85 | |||
86 | .clipboard-action { |
|
86 | .clipboard-action { | |
87 | margin-left: -30px; |
|
87 | margin-left: -30px; | |
88 | } |
|
88 | } | |
89 | } |
|
89 | } | |
90 |
|
90 | |||
91 | .clone_url_input { |
|
91 | .clone_url_input { | |
92 | width: ~"calc(100% - 90px)"; |
|
92 | width: ~"calc(100% - 90px)"; | |
93 | padding: 6px 30px 6px 10px; |
|
93 | padding: 6px 30px 6px 10px; | |
94 | height: 14px; |
|
94 | height: 14px; | |
95 | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07); |
|
95 | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07); | |
96 | border-top-left-radius: 0; |
|
96 | border-top-left-radius: 0; | |
97 | border-bottom-left-radius: 0; |
|
97 | border-bottom-left-radius: 0; | |
98 | margin-left: -1px; |
|
98 | margin-left: -1px; | |
99 | } |
|
99 | } | |
100 |
|
100 | |||
101 | &.directory { |
|
101 | &.directory { | |
102 | margin-bottom: 0; |
|
102 | margin-bottom: 0; | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | .desc { |
|
105 | .desc { | |
106 | white-space: pre-wrap; |
|
106 | white-space: pre-wrap; | |
107 | } |
|
107 | } | |
108 | .disabled { |
|
108 | .disabled { | |
109 | opacity: .5; |
|
109 | opacity: .5; | |
110 | cursor: inherit; |
|
110 | cursor: inherit; | |
111 | } |
|
111 | } | |
112 | .help-block { |
|
112 | .help-block { | |
113 | color: inherit; |
|
113 | color: inherit; | |
114 | margin: 0; |
|
114 | margin: 0; | |
115 | } |
|
115 | } | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | .sidebar-right { |
|
118 | .sidebar-right { | |
119 | float: left; |
|
119 | float: left; | |
120 | width: 24%; |
|
120 | width: 24%; | |
121 | margin: 0; |
|
121 | margin: 0; | |
122 | padding: 0; |
|
122 | padding: 0; | |
123 |
|
123 | |||
124 | ul { |
|
124 | ul { | |
125 | margin-left: 0; |
|
125 | margin-left: 0; | |
126 | padding-left: 0; |
|
126 | padding-left: 0; | |
127 |
|
127 | |||
128 | li { |
|
128 | li { | |
129 | list-style-type: none; |
|
129 | list-style-type: none; | |
130 | } |
|
130 | } | |
131 | } |
|
131 | } | |
132 | } |
|
132 | } | |
133 |
|
133 | |||
134 | #clone_by_name, #clone_by_id{ |
|
134 | #clone_by_name, #clone_by_id{ | |
135 | display: inline-block; |
|
135 | display: inline-block; | |
136 | margin-left: 0px; |
|
136 | margin-left: 0px; | |
137 | } |
|
137 | } | |
138 |
|
138 | |||
139 | .codeblock { |
|
139 | .codeblock { | |
140 | border: none; |
|
140 | border: none; | |
141 | background-color: transparent; |
|
141 | background-color: transparent; | |
142 | } |
|
142 | } | |
143 |
|
143 | |||
144 | .code-body { |
|
144 | .code-body { | |
145 | border: @border-thickness solid @border-default-color; |
|
145 | border: @border-thickness solid @border-default-color; | |
146 | .border-radius(@border-radius); |
|
146 | .border-radius(@border-radius); | |
147 | } |
|
147 | } | |
148 |
|
148 | |||
149 | .btn-collapse { |
|
149 | .btn-collapse { | |
150 | clear: both; |
|
150 | clear: both; | |
151 | float: none; |
|
151 | float: none; | |
152 | background: #F7F7F7; |
|
152 | background: #F7F7F7; | |
153 | text-align: center; |
|
153 | text-align: center; | |
154 | color: #949494; |
|
154 | color: #949494; | |
155 | font-size: 11px; |
|
155 | font-size: 11px; | |
156 |
|
156 | |||
157 | &:hover { |
|
157 | &:hover { | |
158 | background: #f1f1f1; |
|
158 | background: #f1f1f1; | |
159 | color: #2B2B2D; |
|
159 | color: #2B2B2D; | |
160 | } |
|
160 | } | |
161 | } |
|
161 | } | |
162 | } |
|
162 | } | |
163 |
|
163 | |||
164 | // this is used outside of just the summary |
|
164 | // this is used outside of just the summary | |
165 | .fieldset, // similar to form fieldset |
|
165 | .fieldset, // similar to form fieldset | |
166 | .summary .sidebar-right-content { // these have to match |
|
166 | .summary .sidebar-right-content { // these have to match | |
167 | clear: both; |
|
167 | clear: both; | |
168 | float: none; |
|
168 | float: none; | |
169 | position: relative; |
|
169 | position: relative; | |
170 | display:block; |
|
170 | display:block; | |
171 | width: 100%; |
|
171 | width: 100%; | |
172 | min-height: 1em; |
|
172 | min-height: 1em; | |
173 | margin-bottom: 10px; |
|
173 | margin-bottom: 10px; | |
174 | padding: 0; |
|
174 | padding: 0; | |
175 | line-height: 1.2em; |
|
175 | line-height: 1.2em; | |
176 |
|
176 | |||
177 | &:after { // clearfix |
|
177 | &:after { // clearfix | |
178 | content: ""; |
|
178 | content: ""; | |
179 | clear: both; |
|
179 | clear: both; | |
180 | width: 100%; |
|
180 | width: 100%; | |
181 | height: 1em; |
|
181 | height: 1em; | |
182 | } |
|
182 | } | |
183 | } |
|
183 | } | |
184 |
|
184 | |||
185 | .summary .sidebar-right-content { |
|
185 | .summary .sidebar-right-content { | |
186 | margin-bottom: 0; |
|
186 | margin-bottom: 0; | |
187 |
|
187 | |||
188 | .rc-user { |
|
188 | .rc-user { | |
189 | min-width: 0; |
|
189 | min-width: 0; | |
190 | } |
|
190 | } | |
191 |
|
191 | |||
192 | li { |
|
192 | li { | |
193 | list-style: none; |
|
193 | list-style: none; | |
194 | line-height: normal; |
|
194 | line-height: normal; | |
195 | } |
|
195 | } | |
196 | } |
|
196 | } | |
197 |
|
197 | |||
198 | .summary { |
|
198 | .summary { | |
199 | .fieldset { |
|
199 | .fieldset { | |
200 | margin-bottom: 0; |
|
200 | margin-bottom: 0; | |
201 | } |
|
201 | } | |
202 | } |
|
202 | } | |
203 |
|
203 | |||
204 | .fieldset { |
|
204 | .fieldset { | |
205 |
|
205 | |||
206 | .left-label { // similar to form legend |
|
206 | .left-label { // similar to form legend | |
207 | display: block; |
|
207 | display: block; | |
208 | margin: 0; |
|
208 | margin: 0; | |
209 | padding: 0; |
|
209 | padding: 0; | |
210 | font-weight: @text-semibold-weight; |
|
210 | font-weight: @text-semibold-weight; | |
211 | font-family: @text-semibold; |
|
211 | font-family: @text-semibold; | |
212 | } |
|
212 | } | |
213 |
|
213 | |||
214 | .left-label-summary { |
|
214 | .left-label-summary { | |
215 | padding-left: 20px; |
|
215 | padding-left: 20px; | |
216 | margin-bottom: 5px; |
|
216 | margin-bottom: 5px; | |
217 |
|
217 | |||
218 | p { |
|
218 | p { | |
219 | margin-bottom: 5px; |
|
219 | margin-bottom: 5px; | |
220 | color: @grey1; |
|
220 | color: @grey1; | |
221 | float: left; |
|
221 | float: left; | |
222 | width: 130px; |
|
222 | width: 130px; | |
223 | } |
|
223 | } | |
224 |
|
224 | |||
225 | .right-label-summary { |
|
225 | .right-label-summary { | |
226 | float: left; |
|
226 | float: left; | |
227 | margin-top: 7px; |
|
227 | margin-top: 7px; | |
|
228 | width: ~"calc(100% - 160px)"; | |||
228 | } |
|
229 | } | |
229 | } |
|
230 | } | |
230 |
|
231 | |||
231 | .left-label-summary-files { |
|
232 | .left-label-summary-files { | |
232 | padding-left: 45px; |
|
233 | padding-left: 45px; | |
233 | margin-top: 5px; |
|
234 | margin-top: 5px; | |
234 |
|
235 | |||
235 | p { |
|
236 | p { | |
236 | margin-bottom: 5px; |
|
237 | margin-bottom: 5px; | |
237 | color: @grey1; |
|
238 | color: @grey1; | |
238 | float: left; |
|
239 | float: left; | |
239 | width: 130px; |
|
240 | width: 130px; | |
240 | } |
|
241 | } | |
241 |
|
242 | |||
242 | .right-label-summary { |
|
243 | .right-label-summary { | |
243 | float: left; |
|
244 | float: left; | |
244 | margin-top: 7px; |
|
245 | margin-top: 7px; | |
245 | } |
|
246 | } | |
246 | } |
|
247 | } | |
247 |
|
248 | |||
248 | .left-content { |
|
249 | .left-content { | |
249 | width: ~"calc(60% - 20px)"; |
|
250 | width: ~"calc(60% - 20px)"; | |
250 | float: left; |
|
251 | float: left; | |
251 | margin: 15px 0 15px 20px; |
|
252 | margin: 15px 0 15px 20px; | |
252 |
|
253 | |||
253 | .rc-user { |
|
254 | .rc-user { | |
254 | min-width: auto; |
|
255 | min-width: auto; | |
255 | max-width: none; |
|
256 | max-width: none; | |
256 | min-height: auto; |
|
257 | min-height: auto; | |
257 | padding-right: 5px; |
|
258 | padding-right: 5px; | |
258 | } |
|
259 | } | |
259 |
|
260 | |||
260 | .left-content-avatar { |
|
261 | .left-content-avatar { | |
261 | width: 45px; |
|
262 | width: 45px; | |
262 | float: left; |
|
263 | float: left; | |
263 | margin-top: 8px; |
|
264 | margin-top: 8px; | |
264 | } |
|
265 | } | |
265 |
|
266 | |||
266 | .left-content-message { |
|
267 | .left-content-message { | |
267 | float: left; |
|
268 | float: left; | |
268 | width: ~"calc(100% - 45px)"; |
|
269 | width: ~"calc(100% - 45px)"; | |
269 | } |
|
270 | } | |
270 | } |
|
271 | } | |
271 |
|
272 | |||
272 | .right-content { // similar to form fields |
|
273 | .right-content { // similar to form fields | |
273 | float: left; |
|
274 | float: left; | |
274 | display: block; |
|
275 | display: block; | |
275 | width: ~"calc(40% - 20px)"; |
|
276 | width: ~"calc(40% - 20px)"; | |
276 | text-align: right; |
|
277 | text-align: right; | |
277 | margin: 15px 20px 15px 0; |
|
278 | margin: 15px 20px 15px 0; | |
278 |
|
279 | |||
279 | .truncate-wrap, |
|
280 | .truncate-wrap, | |
280 | .truncate { |
|
281 | .truncate { | |
281 | max-width: 100%; |
|
282 | max-width: 100%; | |
282 | width: 100%; |
|
283 | width: 100%; | |
283 | } |
|
284 | } | |
284 |
|
285 | |||
285 | .commit-long { |
|
286 | .commit-long { | |
286 | overflow-x: auto; |
|
287 | overflow-x: auto; | |
287 | } |
|
288 | } | |
288 |
|
289 | |||
289 | .commit-info { |
|
290 | .commit-info { | |
290 | margin-top: 7px; |
|
291 | margin-top: 7px; | |
291 | } |
|
292 | } | |
292 |
|
293 | |||
293 | .tag, .tagtag, .branchtag, .booktag, .metatag, .perm_tag { |
|
294 | .tag, .tagtag, .branchtag, .booktag, .metatag, .perm_tag { | |
294 | background:transparent; |
|
295 | background:transparent; | |
295 | border: none; |
|
296 | border: none; | |
296 | box-shadow: none; |
|
297 | box-shadow: none; | |
297 | margin-left: 10px; |
|
298 | margin-left: 10px; | |
298 | font-size: 13px; |
|
299 | font-size: 13px; | |
299 | } |
|
300 | } | |
300 |
|
301 | |||
301 | .tag span, .tag i { |
|
302 | .tag span, .tag i { | |
302 | color: @grey1; |
|
303 | color: @grey1; | |
303 | } |
|
304 | } | |
304 | } |
|
305 | } | |
305 | .commit { |
|
306 | .commit { | |
306 | color: @grey1; |
|
307 | color: @grey1; | |
307 | margin-bottom: 5px; |
|
308 | margin-bottom: 5px; | |
308 | white-space: pre; |
|
309 | white-space: pre; | |
309 | } |
|
310 | } | |
310 | .commit.truncate-wrap { |
|
311 | .commit.truncate-wrap { | |
311 | overflow:hidden; |
|
312 | overflow:hidden; | |
312 | text-overflow: ellipsis; |
|
313 | text-overflow: ellipsis; | |
313 | } |
|
314 | } | |
314 | .commit-author { |
|
315 | .commit-author { | |
315 | color: @grey1; |
|
316 | color: @grey1; | |
316 | } |
|
317 | } | |
317 | .commit-date { |
|
318 | .commit-date { | |
318 | color: @grey4; |
|
319 | color: @grey4; | |
319 | } |
|
320 | } | |
320 | } |
|
321 | } | |
321 |
|
322 | |||
322 | // expand commit message |
|
323 | // expand commit message | |
323 | #message_expand { |
|
324 | #message_expand { | |
324 | clear: both; |
|
325 | clear: both; | |
325 | display: block; |
|
326 | display: block; | |
326 | color: @rcblue; |
|
327 | color: @rcblue; | |
327 | cursor: pointer; |
|
328 | cursor: pointer; | |
328 | } |
|
329 | } | |
329 |
|
330 | |||
330 | #trimmed_message_box { |
|
331 | #trimmed_message_box { | |
331 | max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height |
|
332 | max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height | |
332 | overflow: hidden; |
|
333 | overflow: hidden; | |
333 | } |
|
334 | } | |
334 |
|
335 | |||
335 | // show/hide comments button |
|
336 | // show/hide comments button | |
336 | .show-inline-comments { |
|
337 | .show-inline-comments { | |
337 | display: inline; |
|
338 | display: inline; | |
338 | cursor: pointer; |
|
339 | cursor: pointer; | |
339 |
|
340 | |||
340 | .comments-show { display: inline; } |
|
341 | .comments-show { display: inline; } | |
341 | .comments-hide { display: none; } |
|
342 | .comments-hide { display: none; } | |
342 |
|
343 | |||
343 | &.comments-visible { |
|
344 | &.comments-visible { | |
344 | .comments-show { display: none; } |
|
345 | .comments-show { display: none; } | |
345 | .comments-hide { display: inline; } |
|
346 | .comments-hide { display: inline; } | |
346 | } |
|
347 | } | |
347 | } |
|
348 | } | |
348 |
|
349 | |||
349 | // Quick Start section |
|
350 | // Quick Start section | |
350 |
|
351 | |||
351 | .empty-repo { |
|
352 | .empty-repo { | |
352 | border: 1px solid #EAEAEA; |
|
353 | border: 1px solid #EAEAEA; | |
353 | border-bottom: 0; |
|
354 | border-bottom: 0; | |
354 | border-radius: @border-radius; |
|
355 | border-radius: @border-radius; | |
355 | padding: 0 20px; |
|
356 | padding: 0 20px; | |
356 | } |
|
357 | } | |
357 |
|
358 | |||
358 | .empty-repo h3, .quick_start p { |
|
359 | .empty-repo h3, .quick_start p { | |
359 | margin-bottom: 10px; |
|
360 | margin-bottom: 10px; | |
360 | } |
|
361 | } | |
361 |
|
362 | |||
362 | .quick_start pre { |
|
363 | .quick_start pre { | |
363 | background: #FCFEFF; |
|
364 | background: #FCFEFF; | |
364 | border: 1px solid #CBDBEB; |
|
365 | border: 1px solid #CBDBEB; | |
365 | box-shadow: @button-shadow; |
|
366 | box-shadow: @button-shadow; | |
366 | padding: 10px 15px; |
|
367 | padding: 10px 15px; | |
367 | border-radius: 4px; |
|
368 | border-radius: 4px; | |
368 | color: @grey2; |
|
369 | color: @grey2; | |
369 | } |
|
370 | } | |
370 |
|
371 | |||
371 | .clear-fix { |
|
372 | .clear-fix { | |
372 | clear: both; |
|
373 | clear: both; | |
373 | } |
|
374 | } | |
374 |
|
375 | |||
375 | .quick_start { |
|
376 | .quick_start { | |
376 | display: block; |
|
377 | display: block; | |
377 | position: relative; |
|
378 | position: relative; | |
378 | border: 1px solid #EAEAEA; |
|
379 | border: 1px solid #EAEAEA; | |
379 | border-top: 0; |
|
380 | border-top: 0; | |
380 | border-radius: @border-radius; |
|
381 | border-radius: @border-radius; | |
381 | padding: 0 20px; |
|
382 | padding: 0 20px; | |
382 |
|
383 | |||
383 | // adds some space to make copy and paste easier |
|
384 | // adds some space to make copy and paste easier | |
384 | .left-label, |
|
385 | .left-label, | |
385 | .right-content { |
|
386 | .right-content { | |
386 | line-height: 1.6em; |
|
387 | line-height: 1.6em; | |
387 | } |
|
388 | } | |
388 | } |
|
389 | } | |
389 |
|
390 | |||
390 |
|
391 | |||
391 | .submodule { |
|
392 | .submodule { | |
392 | .summary-detail { |
|
393 | .summary-detail { | |
393 | width: 100%; |
|
394 | width: 100%; | |
394 |
|
395 | |||
395 | .btn-collapse { |
|
396 | .btn-collapse { | |
396 | display: none; |
|
397 | display: none; | |
397 | } |
|
398 | } | |
398 | } |
|
399 | } | |
399 | } |
|
400 | } | |
400 |
|
401 | |||
401 | .codeblock-header { |
|
402 | .codeblock-header { | |
402 | float: left; |
|
403 | float: left; | |
403 | display: block; |
|
404 | display: block; | |
404 | width: 100%; |
|
405 | width: 100%; | |
405 | margin: 0; |
|
406 | margin: 0; | |
406 |
|
407 | |||
407 | .stats { |
|
408 | .stats { | |
408 | float: left; |
|
409 | float: left; | |
409 | padding: 10px; |
|
410 | padding: 10px; | |
410 | } |
|
411 | } | |
411 | .stats-filename { |
|
412 | .stats-filename { | |
412 | font-size: 120%; |
|
413 | font-size: 120%; | |
413 | } |
|
414 | } | |
414 | .stats-first-item { |
|
415 | .stats-first-item { | |
415 | padding: 0px 0px 0px 3px; |
|
416 | padding: 0px 0px 0px 3px; | |
416 | } |
|
417 | } | |
417 |
|
418 | |||
418 | .stats-info { |
|
419 | .stats-info { | |
419 | margin-top: 5px; |
|
420 | margin-top: 5px; | |
420 | color: @grey4; |
|
421 | color: @grey4; | |
421 | } |
|
422 | } | |
422 |
|
423 | |||
423 | .buttons { |
|
424 | .buttons { | |
424 | float: right; |
|
425 | float: right; | |
425 | text-align: right; |
|
426 | text-align: right; | |
426 | color: @grey4; |
|
427 | color: @grey4; | |
427 | padding: 10px; |
|
428 | padding: 10px; | |
428 | margin-top: 15px; |
|
429 | margin-top: 15px; | |
429 | } |
|
430 | } | |
430 |
|
431 | |||
431 | .file-container { |
|
432 | .file-container { | |
432 | display: inline-block; |
|
433 | display: inline-block; | |
433 | width: 100%; |
|
434 | width: 100%; | |
434 | } |
|
435 | } | |
435 |
|
436 | |||
436 | } |
|
437 | } | |
437 |
|
438 | |||
438 | #summary-menu-stats { |
|
439 | #summary-menu-stats { | |
439 |
|
440 | |||
440 | .stats-bullet { |
|
441 | .stats-bullet { | |
441 | color: @grey3; |
|
442 | color: @grey3; | |
442 | min-width: 3em; |
|
443 | min-width: 3em; | |
443 | } |
|
444 | } | |
444 |
|
445 | |||
445 | .repo-size { |
|
446 | .repo-size { | |
446 | margin-bottom: .5em; |
|
447 | margin-bottom: .5em; | |
447 | } |
|
448 | } | |
448 |
|
449 | |||
449 | } |
|
450 | } | |
450 |
|
451 | |||
451 | .rctable.repo_summary { |
|
452 | .rctable.repo_summary { | |
452 | border: 1px solid #eaeaea; |
|
453 | border: 1px solid #eaeaea; | |
453 | border-radius: 2px; |
|
454 | border-radius: 2px; | |
454 | border-collapse: inherit; |
|
455 | border-collapse: inherit; | |
455 | border-bottom: 0; |
|
456 | border-bottom: 0; | |
456 |
|
457 | |||
457 | th { |
|
458 | th { | |
458 | background: @grey7; |
|
459 | background: @grey7; | |
459 | border-bottom: 0; |
|
460 | border-bottom: 0; | |
460 | } |
|
461 | } | |
461 |
|
462 | |||
462 | td { |
|
463 | td { | |
463 | border-color: #eaeaea; |
|
464 | border-color: #eaeaea; | |
464 | } |
|
465 | } | |
465 |
|
466 | |||
466 | td.td-status { |
|
467 | td.td-status { | |
467 | padding: 0 0 0 10px; |
|
468 | padding: 0 0 0 10px; | |
468 | } |
|
469 | } | |
469 | } |
|
470 | } |
@@ -1,55 +1,65 b'' | |||||
1 | <%namespace name="base" file="/base/base.mako"/> |
|
1 | <%namespace name="base" file="/base/base.mako"/> | |
2 | <div class="panel panel-default user-profile"> |
|
2 | <div class="panel panel-default user-profile"> | |
3 | <div class="panel-heading"> |
|
3 | <div class="panel-heading"> | |
4 | <h3 class="panel-title">${_('My Profile')}</h3> |
|
4 | <h3 class="panel-title">${_('My Profile')}</h3> | |
5 | <a href="${h.route_path('my_account_edit')}" class="panel-edit">${_('Edit')}</a> |
|
5 | <a href="${h.route_path('my_account_edit')}" class="panel-edit">${_('Edit')}</a> | |
6 | </div> |
|
6 | </div> | |
7 |
|
7 | |||
8 | <div class="panel-body"> |
|
8 | <div class="panel-body fields"> | |
9 |
<div class="field |
|
9 | <div class="field"> | |
10 |
<div class="l |
|
10 | <div class="label"> | |
11 | ${_('Photo')}: |
|
11 | ${_('Photo')}: | |
12 | </div> |
|
12 | </div> | |
13 |
<div class=" |
|
13 | <div class="input"> | |
|
14 | <div class="text-as-placeholder"> | |||
14 | %if c.visual.use_gravatar: |
|
15 | %if c.visual.use_gravatar: | |
15 | ${base.gravatar(c.user.email, 100)} |
|
16 | ${base.gravatar(c.user.email, 100)} | |
16 | %else: |
|
17 | %else: | |
17 | ${base.gravatar(c.user.email, 20)} |
|
18 | ${base.gravatar(c.user.email, 20)} | |
18 | ${_('Avatars are disabled')} |
|
19 | ${_('Avatars are disabled')} | |
19 | %endif |
|
20 | %endif | |
20 | </div> |
|
21 | </div> | |
21 | </div> |
|
22 | </div> | |
22 | <div class="fieldset"> |
|
23 | </div> | |
23 |
|
|
24 | <div class="field"> | |
|
25 | <div class="label"> | |||
24 | ${_('Username')}: |
|
26 | ${_('Username')}: | |
25 | </div> |
|
27 | </div> | |
26 |
<div class=" |
|
28 | <div class="input"> | |
|
29 | <div class="text-as-placeholder"> | |||
27 | ${c.user.username} |
|
30 | ${c.user.username} | |
28 | </div> |
|
31 | </div> | |
29 | </div> |
|
32 | </div> | |
30 | <div class="fieldset"> |
|
33 | </div> | |
31 |
|
|
34 | <div class="field"> | |
|
35 | <div class="label"> | |||
32 | ${_('First Name')}: |
|
36 | ${_('First Name')}: | |
33 | </div> |
|
37 | </div> | |
34 |
<div class=" |
|
38 | <div class="input"> | |
|
39 | <div class="text-as-placeholder"> | |||
35 | ${c.user.first_name} |
|
40 | ${c.user.first_name} | |
36 | </div> |
|
41 | </div> | |
37 | </div> |
|
42 | </div> | |
38 | <div class="fieldset"> |
|
43 | </div> | |
39 |
|
|
44 | <div class="field"> | |
|
45 | <div class="label"> | |||
40 | ${_('Last Name')}: |
|
46 | ${_('Last Name')}: | |
41 | </div> |
|
47 | </div> | |
42 |
<div class=" |
|
48 | <div class="input"> | |
|
49 | <div class="text-as-placeholder"> | |||
43 | ${c.user.last_name} |
|
50 | ${c.user.last_name} | |
44 | </div> |
|
51 | </div> | |
45 | </div> |
|
52 | </div> | |
46 | <div class="fieldset"> |
|
53 | </div> | |
47 |
|
|
54 | <div class="field"> | |
|
55 | <div class="label"> | |||
48 | ${_('Email')}: |
|
56 | ${_('Email')}: | |
49 | </div> |
|
57 | </div> | |
50 |
<div class=" |
|
58 | <div class="input"> | |
|
59 | <div class="text-as-placeholder"> | |||
51 | ${c.user.email or _('Missing email, please update your user email address.')} |
|
60 | ${c.user.email or _('Missing email, please update your user email address.')} | |
52 | </div> |
|
61 | </div> | |
53 | </div> |
|
62 | </div> | |
54 | </div> |
|
63 | </div> | |
|
64 | </div> | |||
55 | </div> No newline at end of file |
|
65 | </div> |
@@ -1,347 +1,350 b'' | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 |
|
2 | |||
3 | <%inherit file="/base/base.mako"/> |
|
3 | <%inherit file="/base/base.mako"/> | |
4 | <%namespace name="diff_block" file="/changeset/diff_block.mako"/> |
|
4 | <%namespace name="diff_block" file="/changeset/diff_block.mako"/> | |
5 |
|
5 | |||
6 | <%def name="title()"> |
|
6 | <%def name="title()"> | |
7 | ${_('%s Commit') % c.repo_name} - ${h.show_id(c.commit)} |
|
7 | ${_('%s Commit') % c.repo_name} - ${h.show_id(c.commit)} | |
8 | %if c.rhodecode_name: |
|
8 | %if c.rhodecode_name: | |
9 | · ${h.branding(c.rhodecode_name)} |
|
9 | · ${h.branding(c.rhodecode_name)} | |
10 | %endif |
|
10 | %endif | |
11 | </%def> |
|
11 | </%def> | |
12 |
|
12 | |||
13 | <%def name="menu_bar_nav()"> |
|
13 | <%def name="menu_bar_nav()"> | |
14 | ${self.menu_items(active='repositories')} |
|
14 | ${self.menu_items(active='repositories')} | |
15 | </%def> |
|
15 | </%def> | |
16 |
|
16 | |||
17 | <%def name="menu_bar_subnav()"> |
|
17 | <%def name="menu_bar_subnav()"> | |
18 | ${self.repo_menu(active='changelog')} |
|
18 | ${self.repo_menu(active='changelog')} | |
19 | </%def> |
|
19 | </%def> | |
20 |
|
20 | |||
21 | <%def name="main()"> |
|
21 | <%def name="main()"> | |
22 | <script> |
|
22 | <script> | |
23 | // TODO: marcink switch this to pyroutes |
|
23 | // TODO: marcink switch this to pyroutes | |
24 | AJAX_COMMENT_DELETE_URL = "${h.route_path('repo_commit_comment_delete',repo_name=c.repo_name,commit_id=c.commit.raw_id,comment_id='__COMMENT_ID__')}"; |
|
24 | AJAX_COMMENT_DELETE_URL = "${h.route_path('repo_commit_comment_delete',repo_name=c.repo_name,commit_id=c.commit.raw_id,comment_id='__COMMENT_ID__')}"; | |
25 | templateContext.commit_data.commit_id = "${c.commit.raw_id}"; |
|
25 | templateContext.commit_data.commit_id = "${c.commit.raw_id}"; | |
26 | </script> |
|
26 | </script> | |
27 | <div class="box"> |
|
27 | <div class="box"> | |
28 |
|
28 | |||
29 | <div id="changeset_compare_view_content" class="summary changeset"> |
|
29 | <div id="changeset_compare_view_content" class="summary changeset"> | |
30 | <div class="summary-detail"> |
|
30 | <div class="summary-detail"> | |
31 |
<div class=" |
|
31 | <div class="fieldset"> | |
32 |
<div class=" |
|
32 | <div class="left-label-summary"> | |
33 | <h4> |
|
33 | <p>${_('Commit')}</p> | |
34 | ${_('Commit')} |
|
34 | <div class="right-label-summary"> | |
35 |
|
||||
36 | <code> |
|
35 | <code> | |
37 | ${h.show_id(c.commit)} |
|
36 | ${h.show_id(c.commit)} | |
38 | </code> |
|
37 | </code> | |
39 | <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${c.commit.raw_id}" title="${_('Copy the full commit id')}"></i> |
|
38 | <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${c.commit.raw_id}" title="${_('Copy the full commit id')}"></i> | |
40 | % if hasattr(c.commit, 'phase'): |
|
39 | % if hasattr(c.commit, 'phase'): | |
41 | <span class="tag phase-${c.commit.phase} tooltip" title="${_('Commit phase')}">${c.commit.phase}</span> |
|
40 | <span class="tag phase-${c.commit.phase} tooltip" title="${_('Commit phase')}">${c.commit.phase}</span> | |
42 | % endif |
|
41 | % endif | |
43 |
|
42 | |||
44 | ## obsolete commits |
|
43 | ## obsolete commits | |
45 | % if hasattr(c.commit, 'obsolete'): |
|
44 | % if hasattr(c.commit, 'obsolete'): | |
46 | % if c.commit.obsolete: |
|
45 | % if c.commit.obsolete: | |
47 | <span class="tag obsolete-${c.commit.obsolete} tooltip" title="${_('Evolve State')}">${_('obsolete')}</span> |
|
46 | <span class="tag obsolete-${c.commit.obsolete} tooltip" title="${_('Evolve State')}">${_('obsolete')}</span> | |
48 | % endif |
|
47 | % endif | |
49 | % endif |
|
48 | % endif | |
50 |
|
49 | |||
51 | ## hidden commits |
|
50 | ## hidden commits | |
52 | % if hasattr(c.commit, 'hidden'): |
|
51 | % if hasattr(c.commit, 'hidden'): | |
53 | % if c.commit.hidden: |
|
52 | % if c.commit.hidden: | |
54 | <span class="tag hidden-${c.commit.hidden} tooltip" title="${_('Evolve State')}">${_('hidden')}</span> |
|
53 | <span class="tag hidden-${c.commit.hidden} tooltip" title="${_('Evolve State')}">${_('hidden')}</span> | |
55 | % endif |
|
54 | % endif | |
56 | % endif |
|
55 | % endif | |
57 | </h4> |
|
|||
58 |
|
56 | |||
59 | </div> |
|
57 | ||
60 | <div class="pull-right"> |
|
58 | <div class="pull-right"> | |
61 | <span id="parent_link"> |
|
59 | <span id="parent_link"> | |
62 | <a href="#parentCommit" title="${_('Parent Commit')}"><i class="icon-left icon-no-margin"></i>${_('parent')}</a> |
|
60 | <a href="#parentCommit" title="${_('Parent Commit')}"><i class="icon-left icon-no-margin"></i>${_('parent')}</a> | |
63 | </span> |
|
61 | </span> | |
64 | | |
|
62 | | | |
65 | <span id="child_link"> |
|
63 | <span id="child_link"> | |
66 | <a href="#childCommit" title="${_('Child Commit')}">${_('child')}<i class="icon-right icon-no-margin"></i></a> |
|
64 | <a href="#childCommit" title="${_('Child Commit')}">${_('child')}<i class="icon-right icon-no-margin"></i></a> | |
67 | </span> |
|
65 | </span> | |
68 | </div> |
|
66 | </div> | |
|
67 | ||||
69 | </div> |
|
68 | </div> | |
|
69 | </div> | |||
|
70 | </div> | |||
|
71 | ||||
|
72 | ||||
70 |
|
73 | |||
71 | <div class="fieldset"> |
|
74 | <div class="fieldset"> | |
72 | <div class="left-label"> |
|
75 | <div class="left-label-summary"> | |
73 | ${_('Description')}: |
|
76 | <p>${_('Description')}:</p> | |
74 | </div> |
|
77 | <div class="right-label-summary"> | |
75 | <div class="right-content"> |
|
|||
76 | <div id="trimmed_message_box" class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> |
|
78 | <div id="trimmed_message_box" class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> | |
77 | <div id="message_expand" style="display:none;"> |
|
79 | <div id="message_expand" style="display:none;"> | |
78 | ${_('Expand')} |
|
80 | ${_('Expand')} | |
79 | </div> |
|
81 | </div> | |
80 | </div> |
|
82 | </div> | |
81 | </div> |
|
83 | </div> | |
|
84 | </div> | |||
82 |
|
85 | |||
83 | %if c.statuses: |
|
86 | %if c.statuses: | |
84 | <div class="fieldset"> |
|
87 | <div class="fieldset"> | |
85 | <div class="left-label"> |
|
88 | <div class="left-label-summary"> | |
86 | ${_('Commit status')}: |
|
89 | <p>${_('Commit status')}:</p> | |
87 | </div> |
|
90 | <div class="right-label-summary"> | |
88 | <div class="right-content"> |
|
|||
89 | <div class="changeset-status-ico"> |
|
91 | <div class="changeset-status-ico"> | |
90 | <div class="${'flag_status %s' % c.statuses[0]} pull-left"></div> |
|
92 | <div class="${'flag_status %s' % c.statuses[0]} pull-left"></div> | |
91 | </div> |
|
93 | </div> | |
92 | <div title="${_('Commit status')}" class="changeset-status-lbl">[${h.commit_status_lbl(c.statuses[0])}]</div> |
|
94 | <div title="${_('Commit status')}" class="changeset-status-lbl">[${h.commit_status_lbl(c.statuses[0])}]</div> | |
93 | </div> |
|
95 | </div> | |
94 | </div> |
|
96 | </div> | |
|
97 | </div> | |||
95 | %endif |
|
98 | %endif | |
96 |
|
99 | |||
97 | <div class="fieldset"> |
|
100 | <div class="fieldset"> | |
98 | <div class="left-label"> |
|
101 | <div class="left-label-summary"> | |
99 | ${_('References')}: |
|
102 | <p>${_('References')}:</p> | |
100 | </div> |
|
103 | <div class="right-label-summary"> | |
101 | <div class="right-content"> |
|
|||
102 | <div class="tags"> |
|
104 | <div class="tags"> | |
103 |
|
||||
104 | %if c.commit.merge: |
|
105 | %if c.commit.merge: | |
105 | <span class="mergetag tag"> |
|
106 | <span class="mergetag tag"> | |
106 | <i class="icon-merge"></i>${_('merge')} |
|
107 | <i class="icon-merge"></i>${_('merge')} | |
107 | </span> |
|
108 | </span> | |
108 | %endif |
|
109 | %endif | |
109 |
|
110 | |||
110 | %if h.is_hg(c.rhodecode_repo): |
|
111 | %if h.is_hg(c.rhodecode_repo): | |
111 | %for book in c.commit.bookmarks: |
|
112 | %for book in c.commit.bookmarks: | |
112 | <span class="booktag tag" title="${h.tooltip(_('Bookmark %s') % book)}"> |
|
113 | <span class="booktag tag" title="${h.tooltip(_('Bookmark %s') % book)}"> | |
113 | <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=c.commit.raw_id,_query=dict(at=book))}"><i class="icon-bookmark"></i>${h.shorter(book)}</a> |
|
114 | <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=c.commit.raw_id,_query=dict(at=book))}"><i class="icon-bookmark"></i>${h.shorter(book)}</a> | |
114 | </span> |
|
115 | </span> | |
115 | %endfor |
|
116 | %endfor | |
116 | %endif |
|
117 | %endif | |
117 |
|
118 | |||
118 | %for tag in c.commit.tags: |
|
119 | %for tag in c.commit.tags: | |
119 | <span class="tagtag tag" title="${h.tooltip(_('Tag %s') % tag)}"> |
|
120 | <span class="tagtag tag" title="${h.tooltip(_('Tag %s') % tag)}"> | |
120 | <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=c.commit.raw_id,_query=dict(at=tag))}"><i class="icon-tag"></i>${tag}</a> |
|
121 | <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=c.commit.raw_id,_query=dict(at=tag))}"><i class="icon-tag"></i>${tag}</a> | |
121 | </span> |
|
122 | </span> | |
122 | %endfor |
|
123 | %endfor | |
123 |
|
124 | |||
124 | %if c.commit.branch: |
|
125 | %if c.commit.branch: | |
125 | <span class="branchtag tag" title="${h.tooltip(_('Branch %s') % c.commit.branch)}"> |
|
126 | <span class="branchtag tag" title="${h.tooltip(_('Branch %s') % c.commit.branch)}"> | |
126 | <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=c.commit.raw_id,_query=dict(at=c.commit.branch))}"><i class="icon-code-fork"></i>${h.shorter(c.commit.branch)}</a> |
|
127 | <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=c.commit.raw_id,_query=dict(at=c.commit.branch))}"><i class="icon-code-fork"></i>${h.shorter(c.commit.branch)}</a> | |
127 | </span> |
|
128 | </span> | |
128 | %endif |
|
129 | %endif | |
129 | </div> |
|
130 | </div> | |
130 | </div> |
|
131 | </div> | |
131 | </div> |
|
132 | </div> | |
|
133 | </div> | |||
132 |
|
134 | |||
133 | <div class="fieldset"> |
|
135 | <div class="fieldset"> | |
134 | <div class="left-label"> |
|
136 | <div class="left-label-summary"> | |
135 | ${_('Diff options')}: |
|
137 | <p>${_('Diff options')}:</p> | |
136 | </div> |
|
138 | <div class="right-label-summary"> | |
137 | <div class="right-content"> |
|
|||
138 | <div class="diff-actions"> |
|
139 | <div class="diff-actions"> | |
139 | <a href="${h.route_path('repo_commit_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id)}" class="tooltip" title="${h.tooltip(_('Raw diff'))}"> |
|
140 | <a href="${h.route_path('repo_commit_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id)}" class="tooltip" title="${h.tooltip(_('Raw diff'))}"> | |
140 | ${_('Raw Diff')} |
|
141 | ${_('Raw Diff')} | |
141 | </a> |
|
142 | </a> | |
142 | | |
|
143 | | | |
143 | <a href="${h.route_path('repo_commit_patch',repo_name=c.repo_name,commit_id=c.commit.raw_id)}" class="tooltip" title="${h.tooltip(_('Patch diff'))}"> |
|
144 | <a href="${h.route_path('repo_commit_patch',repo_name=c.repo_name,commit_id=c.commit.raw_id)}" class="tooltip" title="${h.tooltip(_('Patch diff'))}"> | |
144 | ${_('Patch Diff')} |
|
145 | ${_('Patch Diff')} | |
145 | </a> |
|
146 | </a> | |
146 | | |
|
147 | | | |
147 | <a href="${h.route_path('repo_commit_download',repo_name=c.repo_name,commit_id=c.commit.raw_id,_query=dict(diff='download'))}" class="tooltip" title="${h.tooltip(_('Download diff'))}"> |
|
148 | <a href="${h.route_path('repo_commit_download',repo_name=c.repo_name,commit_id=c.commit.raw_id,_query=dict(diff='download'))}" class="tooltip" title="${h.tooltip(_('Download diff'))}"> | |
148 | ${_('Download Diff')} |
|
149 | ${_('Download Diff')} | |
149 | </a> |
|
150 | </a> | |
150 | </div> |
|
151 | </div> | |
151 | </div> |
|
152 | </div> | |
152 | </div> |
|
153 | </div> | |
|
154 | </div> | |||
153 |
|
155 | |||
154 | <div class="fieldset"> |
|
156 | <div class="fieldset"> | |
155 | <div class="left-label"> |
|
157 | <div class="left-label-summary"> | |
156 | ${_('Comments')}: |
|
158 | <p>${_('Comments')}:</p> | |
157 | </div> |
|
159 | <div class="right-label-summary"> | |
158 | <div class="right-content"> |
|
|||
159 | <div class="comments-number"> |
|
160 | <div class="comments-number"> | |
160 | %if c.comments: |
|
161 | %if c.comments: | |
161 | <a href="#comments">${_ungettext("%d Commit comment", "%d Commit comments", len(c.comments)) % len(c.comments)}</a>, |
|
162 | <a href="#comments">${_ungettext("%d Commit comment", "%d Commit comments", len(c.comments)) % len(c.comments)}</a>, | |
162 | %else: |
|
163 | %else: | |
163 | ${_ungettext("%d Commit comment", "%d Commit comments", len(c.comments)) % len(c.comments)} |
|
164 | ${_ungettext("%d Commit comment", "%d Commit comments", len(c.comments)) % len(c.comments)} | |
164 | %endif |
|
165 | %endif | |
165 | %if c.inline_cnt: |
|
166 | %if c.inline_cnt: | |
166 | <a href="#" onclick="return Rhodecode.comments.nextComment();" id="inline-comments-counter">${_ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt}</a> |
|
167 | <a href="#" onclick="return Rhodecode.comments.nextComment();" id="inline-comments-counter">${_ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt}</a> | |
167 | %else: |
|
168 | %else: | |
168 | ${_ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt} |
|
169 | ${_ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt} | |
169 | %endif |
|
170 | %endif | |
170 | </div> |
|
171 | </div> | |
171 | </div> |
|
172 | </div> | |
172 | </div> |
|
173 | </div> | |
|
174 | </div> | |||
173 |
|
175 | |||
174 | <div class="fieldset"> |
|
176 | <div class="fieldset"> | |
175 | <div class="left-label"> |
|
177 | <div class="left-label-summary"> | |
176 | ${_('Unresolved TODOs')}: |
|
178 | <p>${_('Unresolved TODOs')}:</p> | |
177 | </div> |
|
179 | <div class="right-label-summary"> | |
178 | <div class="right-content"> |
|
|||
179 | <div class="comments-number"> |
|
180 | <div class="comments-number"> | |
180 | % if c.unresolved_comments: |
|
181 | % if c.unresolved_comments: | |
181 | % for co in c.unresolved_comments: |
|
182 | % for co in c.unresolved_comments: | |
182 | <a class="permalink" href="#comment-${co.comment_id}" onclick="Rhodecode.comments.scrollToComment($('#comment-${co.comment_id}'))"> #${co.comment_id}</a>${'' if loop.last else ','} |
|
183 | <a class="permalink" href="#comment-${co.comment_id}" onclick="Rhodecode.comments.scrollToComment($('#comment-${co.comment_id}'))"> #${co.comment_id}</a>${'' if loop.last else ','} | |
183 | % endfor |
|
184 | % endfor | |
184 | % else: |
|
185 | % else: | |
185 | ${_('There are no unresolved TODOs')} |
|
186 | ${_('There are no unresolved TODOs')} | |
186 | % endif |
|
187 | % endif | |
187 | </div> |
|
188 | </div> | |
188 | </div> |
|
189 | </div> | |
189 | </div> |
|
190 | </div> | |
190 |
|
191 | </div> | ||
191 | </div> <!-- end summary-detail --> |
|
|||
192 |
|
192 | |||
193 | <div id="commit-stats" class="sidebar-right"> |
|
193 | <div class="fieldset"> | |
194 |
<div class="summary |
|
194 | <div class="left-label-summary"> | |
195 | <h4 class="item"> |
|
195 | <p>${_('Author')}</p> | |
196 | ${_('Author')} |
|
196 | ||
197 | </h4> |
|
197 | <div class="right-label-summary"> | |
198 | </div> |
|
|||
199 | <div class="sidebar-right-content"> |
|
|||
200 | ${self.gravatar_with_user(c.commit.author)} |
|
198 | ${self.gravatar_with_user(c.commit.author)} | |
201 | <div class="user-inline-data">- ${h.age_component(c.commit.date)}</div> |
|
199 | <div class="user-inline-data">- ${h.age_component(c.commit.date)}</div> | |
202 | </div> |
|
200 | </div> | |
203 | </div><!-- end sidebar --> |
|
201 | </div> | |
|
202 | ||||
|
203 | <div class="clear-fix"></div> | |||
|
204 | ||||
|
205 | </div> <!-- end summary-detail --> | |||
204 | </div> <!-- end summary --> |
|
206 | </div> <!-- end summary --> | |
|
207 | </div> | |||
205 | <div class="cs_files"> |
|
208 | <div class="cs_files"> | |
206 | <%namespace name="cbdiffs" file="/codeblocks/diffs.mako"/> |
|
209 | <%namespace name="cbdiffs" file="/codeblocks/diffs.mako"/> | |
207 | ${cbdiffs.render_diffset_menu(c.changes[c.commit.raw_id])} |
|
210 | ${cbdiffs.render_diffset_menu(c.changes[c.commit.raw_id])} | |
208 | ${cbdiffs.render_diffset( |
|
211 | ${cbdiffs.render_diffset( | |
209 | c.changes[c.commit.raw_id], commit=c.commit, use_comments=True,inline_comments=c.inline_comments )} |
|
212 | c.changes[c.commit.raw_id], commit=c.commit, use_comments=True,inline_comments=c.inline_comments )} | |
210 | </div> |
|
213 | </div> | |
211 |
|
214 | |||
212 | ## template for inline comment form |
|
215 | ## template for inline comment form | |
213 | <%namespace name="comment" file="/changeset/changeset_file_comment.mako"/> |
|
216 | <%namespace name="comment" file="/changeset/changeset_file_comment.mako"/> | |
214 |
|
217 | |||
215 | ## render comments |
|
218 | ## render comments | |
216 | ${comment.generate_comments(c.comments)} |
|
219 | ${comment.generate_comments(c.comments)} | |
217 |
|
220 | |||
218 | ## main comment form and it status |
|
221 | ## main comment form and it status | |
219 | ${comment.comments(h.route_path('repo_commit_comment_create', repo_name=c.repo_name, commit_id=c.commit.raw_id), |
|
222 | ${comment.comments(h.route_path('repo_commit_comment_create', repo_name=c.repo_name, commit_id=c.commit.raw_id), | |
220 | h.commit_status(c.rhodecode_db_repo, c.commit.raw_id))} |
|
223 | h.commit_status(c.rhodecode_db_repo, c.commit.raw_id))} | |
221 | </div> |
|
224 | </div> | |
222 |
|
225 | |||
223 | ## FORM FOR MAKING JS ACTION AS CHANGESET COMMENTS |
|
226 | ## FORM FOR MAKING JS ACTION AS CHANGESET COMMENTS | |
224 | <script type="text/javascript"> |
|
227 | <script type="text/javascript"> | |
225 |
|
228 | |||
226 | $(document).ready(function() { |
|
229 | $(document).ready(function() { | |
227 |
|
230 | |||
228 | var boxmax = parseInt($('#trimmed_message_box').css('max-height'), 10); |
|
231 | var boxmax = parseInt($('#trimmed_message_box').css('max-height'), 10); | |
229 | if($('#trimmed_message_box').height() === boxmax){ |
|
232 | if($('#trimmed_message_box').height() === boxmax){ | |
230 | $('#message_expand').show(); |
|
233 | $('#message_expand').show(); | |
231 | } |
|
234 | } | |
232 |
|
235 | |||
233 | $('#message_expand').on('click', function(e){ |
|
236 | $('#message_expand').on('click', function(e){ | |
234 | $('#trimmed_message_box').css('max-height', 'none'); |
|
237 | $('#trimmed_message_box').css('max-height', 'none'); | |
235 | $(this).hide(); |
|
238 | $(this).hide(); | |
236 | }); |
|
239 | }); | |
237 |
|
240 | |||
238 | $('.show-inline-comments').on('click', function(e){ |
|
241 | $('.show-inline-comments').on('click', function(e){ | |
239 | var boxid = $(this).attr('data-comment-id'); |
|
242 | var boxid = $(this).attr('data-comment-id'); | |
240 | var button = $(this); |
|
243 | var button = $(this); | |
241 |
|
244 | |||
242 | if(button.hasClass("comments-visible")) { |
|
245 | if(button.hasClass("comments-visible")) { | |
243 | $('#{0} .inline-comments'.format(boxid)).each(function(index){ |
|
246 | $('#{0} .inline-comments'.format(boxid)).each(function(index){ | |
244 | $(this).hide(); |
|
247 | $(this).hide(); | |
245 | }); |
|
248 | }); | |
246 | button.removeClass("comments-visible"); |
|
249 | button.removeClass("comments-visible"); | |
247 | } else { |
|
250 | } else { | |
248 | $('#{0} .inline-comments'.format(boxid)).each(function(index){ |
|
251 | $('#{0} .inline-comments'.format(boxid)).each(function(index){ | |
249 | $(this).show(); |
|
252 | $(this).show(); | |
250 | }); |
|
253 | }); | |
251 | button.addClass("comments-visible"); |
|
254 | button.addClass("comments-visible"); | |
252 | } |
|
255 | } | |
253 | }); |
|
256 | }); | |
254 |
|
257 | |||
255 |
|
258 | |||
256 | // next links |
|
259 | // next links | |
257 | $('#child_link').on('click', function(e){ |
|
260 | $('#child_link').on('click', function(e){ | |
258 | // fetch via ajax what is going to be the next link, if we have |
|
261 | // fetch via ajax what is going to be the next link, if we have | |
259 | // >1 links show them to user to choose |
|
262 | // >1 links show them to user to choose | |
260 | if(!$('#child_link').hasClass('disabled')){ |
|
263 | if(!$('#child_link').hasClass('disabled')){ | |
261 | $.ajax({ |
|
264 | $.ajax({ | |
262 | url: '${h.route_path('repo_commit_children',repo_name=c.repo_name, commit_id=c.commit.raw_id)}', |
|
265 | url: '${h.route_path('repo_commit_children',repo_name=c.repo_name, commit_id=c.commit.raw_id)}', | |
263 | success: function(data) { |
|
266 | success: function(data) { | |
264 | if(data.results.length === 0){ |
|
267 | if(data.results.length === 0){ | |
265 | $('#child_link').html("${_('No Child Commits')}").addClass('disabled'); |
|
268 | $('#child_link').html("${_('No Child Commits')}").addClass('disabled'); | |
266 | } |
|
269 | } | |
267 | if(data.results.length === 1){ |
|
270 | if(data.results.length === 1){ | |
268 | var commit = data.results[0]; |
|
271 | var commit = data.results[0]; | |
269 | window.location = pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': commit.raw_id}); |
|
272 | window.location = pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': commit.raw_id}); | |
270 | } |
|
273 | } | |
271 | else if(data.results.length === 2){ |
|
274 | else if(data.results.length === 2){ | |
272 | $('#child_link').addClass('disabled'); |
|
275 | $('#child_link').addClass('disabled'); | |
273 | $('#child_link').addClass('double'); |
|
276 | $('#child_link').addClass('double'); | |
274 | var _html = ''; |
|
277 | var _html = ''; | |
275 | _html +='<a title="__title__" href="__url__">__rev__</a> ' |
|
278 | _html +='<a title="__title__" href="__url__">__rev__</a> ' | |
276 | .replace('__rev__','r{0}:{1}'.format(data.results[0].revision, data.results[0].raw_id.substr(0,6))) |
|
279 | .replace('__rev__','r{0}:{1}'.format(data.results[0].revision, data.results[0].raw_id.substr(0,6))) | |
277 | .replace('__title__', data.results[0].message) |
|
280 | .replace('__title__', data.results[0].message) | |
278 | .replace('__url__', pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': data.results[0].raw_id})); |
|
281 | .replace('__url__', pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': data.results[0].raw_id})); | |
279 | _html +=' | '; |
|
282 | _html +=' | '; | |
280 | _html +='<a title="__title__" href="__url__">__rev__</a> ' |
|
283 | _html +='<a title="__title__" href="__url__">__rev__</a> ' | |
281 | .replace('__rev__','r{0}:{1}'.format(data.results[1].revision, data.results[1].raw_id.substr(0,6))) |
|
284 | .replace('__rev__','r{0}:{1}'.format(data.results[1].revision, data.results[1].raw_id.substr(0,6))) | |
282 | .replace('__title__', data.results[1].message) |
|
285 | .replace('__title__', data.results[1].message) | |
283 | .replace('__url__', pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': data.results[1].raw_id})); |
|
286 | .replace('__url__', pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': data.results[1].raw_id})); | |
284 | $('#child_link').html(_html); |
|
287 | $('#child_link').html(_html); | |
285 | } |
|
288 | } | |
286 | } |
|
289 | } | |
287 | }); |
|
290 | }); | |
288 | e.preventDefault(); |
|
291 | e.preventDefault(); | |
289 | } |
|
292 | } | |
290 | }); |
|
293 | }); | |
291 |
|
294 | |||
292 | // prev links |
|
295 | // prev links | |
293 | $('#parent_link').on('click', function(e){ |
|
296 | $('#parent_link').on('click', function(e){ | |
294 | // fetch via ajax what is going to be the next link, if we have |
|
297 | // fetch via ajax what is going to be the next link, if we have | |
295 | // >1 links show them to user to choose |
|
298 | // >1 links show them to user to choose | |
296 | if(!$('#parent_link').hasClass('disabled')){ |
|
299 | if(!$('#parent_link').hasClass('disabled')){ | |
297 | $.ajax({ |
|
300 | $.ajax({ | |
298 | url: '${h.route_path("repo_commit_parents",repo_name=c.repo_name, commit_id=c.commit.raw_id)}', |
|
301 | url: '${h.route_path("repo_commit_parents",repo_name=c.repo_name, commit_id=c.commit.raw_id)}', | |
299 | success: function(data) { |
|
302 | success: function(data) { | |
300 | if(data.results.length === 0){ |
|
303 | if(data.results.length === 0){ | |
301 | $('#parent_link').html('${_('No Parent Commits')}').addClass('disabled'); |
|
304 | $('#parent_link').html('${_('No Parent Commits')}').addClass('disabled'); | |
302 | } |
|
305 | } | |
303 | if(data.results.length === 1){ |
|
306 | if(data.results.length === 1){ | |
304 | var commit = data.results[0]; |
|
307 | var commit = data.results[0]; | |
305 | window.location = pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': commit.raw_id}); |
|
308 | window.location = pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': commit.raw_id}); | |
306 | } |
|
309 | } | |
307 | else if(data.results.length === 2){ |
|
310 | else if(data.results.length === 2){ | |
308 | $('#parent_link').addClass('disabled'); |
|
311 | $('#parent_link').addClass('disabled'); | |
309 | $('#parent_link').addClass('double'); |
|
312 | $('#parent_link').addClass('double'); | |
310 | var _html = ''; |
|
313 | var _html = ''; | |
311 | _html +='<a title="__title__" href="__url__">Parent __rev__</a>' |
|
314 | _html +='<a title="__title__" href="__url__">Parent __rev__</a>' | |
312 | .replace('__rev__','r{0}:{1}'.format(data.results[0].revision, data.results[0].raw_id.substr(0,6))) |
|
315 | .replace('__rev__','r{0}:{1}'.format(data.results[0].revision, data.results[0].raw_id.substr(0,6))) | |
313 | .replace('__title__', data.results[0].message) |
|
316 | .replace('__title__', data.results[0].message) | |
314 | .replace('__url__', pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': data.results[0].raw_id})); |
|
317 | .replace('__url__', pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': data.results[0].raw_id})); | |
315 | _html +=' | '; |
|
318 | _html +=' | '; | |
316 | _html +='<a title="__title__" href="__url__">Parent __rev__</a>' |
|
319 | _html +='<a title="__title__" href="__url__">Parent __rev__</a>' | |
317 | .replace('__rev__','r{0}:{1}'.format(data.results[1].revision, data.results[1].raw_id.substr(0,6))) |
|
320 | .replace('__rev__','r{0}:{1}'.format(data.results[1].revision, data.results[1].raw_id.substr(0,6))) | |
318 | .replace('__title__', data.results[1].message) |
|
321 | .replace('__title__', data.results[1].message) | |
319 | .replace('__url__', pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': data.results[1].raw_id})); |
|
322 | .replace('__url__', pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}','commit_id': data.results[1].raw_id})); | |
320 | $('#parent_link').html(_html); |
|
323 | $('#parent_link').html(_html); | |
321 | } |
|
324 | } | |
322 | } |
|
325 | } | |
323 | }); |
|
326 | }); | |
324 | e.preventDefault(); |
|
327 | e.preventDefault(); | |
325 | } |
|
328 | } | |
326 | }); |
|
329 | }); | |
327 |
|
330 | |||
328 | if (location.hash) { |
|
331 | if (location.hash) { | |
329 | var result = splitDelimitedHash(location.hash); |
|
332 | var result = splitDelimitedHash(location.hash); | |
330 | var line = $('html').find(result.loc); |
|
333 | var line = $('html').find(result.loc); | |
331 | if (line.length > 0){ |
|
334 | if (line.length > 0){ | |
332 | offsetScroll(line, 70); |
|
335 | offsetScroll(line, 70); | |
333 | } |
|
336 | } | |
334 | } |
|
337 | } | |
335 |
|
338 | |||
336 | // browse tree @ revision |
|
339 | // browse tree @ revision | |
337 | $('#files_link').on('click', function(e){ |
|
340 | $('#files_link').on('click', function(e){ | |
338 | window.location = '${h.route_path('repo_files:default_path',repo_name=c.repo_name, commit_id=c.commit.raw_id)}'; |
|
341 | window.location = '${h.route_path('repo_files:default_path',repo_name=c.repo_name, commit_id=c.commit.raw_id)}'; | |
339 | e.preventDefault(); |
|
342 | e.preventDefault(); | |
340 | }); |
|
343 | }); | |
341 |
|
344 | |||
342 | // inject comments into their proper positions |
|
345 | // inject comments into their proper positions | |
343 | var file_comments = $('.inline-comment-placeholder'); |
|
346 | var file_comments = $('.inline-comment-placeholder'); | |
344 | }) |
|
347 | }) | |
345 | </script> |
|
348 | </script> | |
346 |
|
349 | |||
347 | </%def> |
|
350 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now