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