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