##// END OF EJS Templates
Bug 5509 - remove \!important from css rules.
ewong -
r3048:ec80e5e9 tip default
parent child Browse files
Show More
@@ -1,1142 +1,1142 b''
1 1 // Default styles
2 2
3 3 .diff-collapse {
4 4 margin: @padding 0;
5 5 text-align: right;
6 6 }
7 7
8 8 .diff-container {
9 9 margin-bottom: @space;
10 10
11 11 .diffblock {
12 12 margin-bottom: @space;
13 13 }
14 14
15 15 &.hidden {
16 16 display: none;
17 17 overflow: hidden;
18 18 }
19 19 }
20 20
21 21
22 22 div.diffblock .sidebyside {
23 23 background: #ffffff;
24 24 }
25 25
26 26 div.diffblock {
27 27 overflow-x: auto;
28 28 overflow-y: hidden;
29 29 clear: both;
30 30 padding: 0px;
31 31 background: @grey6;
32 32 border: @border-thickness solid @grey5;
33 33 -webkit-border-radius: @border-radius @border-radius 0px 0px;
34 34 border-radius: @border-radius @border-radius 0px 0px;
35 35
36 36
37 37 .comments-number {
38 38 float: right;
39 39 }
40 40
41 41 // BEGIN CODE-HEADER STYLES
42 42
43 43 .code-header {
44 44 background: @grey6;
45 45 padding: 10px 0 10px 0;
46 46 height: auto;
47 47 width: 100%;
48 48
49 49 .hash {
50 50 float: left;
51 51 padding: 2px 0 0 2px;
52 52 }
53 53
54 54 .date {
55 55 float: left;
56 56 text-transform: uppercase;
57 57 padding: 4px 0px 0px 2px;
58 58 }
59 59
60 60 div {
61 61 margin-left: 4px;
62 62 }
63 63
64 64 div.compare_header {
65 65 min-height: 40px;
66 66 margin: 0;
67 67 padding: 0 @padding;
68 68
69 69 .drop-menu {
70 70 float:left;
71 71 display: block;
72 72 margin:0 0 @padding 0;
73 73 }
74 74
75 75 .compare-label {
76 76 float: left;
77 77 clear: both;
78 78 display: inline-block;
79 79 min-width: 5em;
80 80 margin: 0;
81 81 padding: @button-padding @button-padding @button-padding 0;
82 82 font-family: @text-semibold;
83 83 }
84 84
85 85 .compare-buttons {
86 86 float: left;
87 87 margin: 0;
88 88 padding: 0 0 @padding;
89 89
90 90 .btn {
91 91 margin: 0 @padding 0 0;
92 92 }
93 93 }
94 94 }
95 95
96 96 }
97 97
98 98 .parents {
99 99 float: left;
100 100 width: 100px;
101 101 font-weight: 400;
102 102 vertical-align: middle;
103 103 padding: 0px 2px 0px 2px;
104 104 background-color: @grey6;
105 105
106 106 #parent_link {
107 107 margin: 00px 2px;
108 108
109 109 &.double {
110 110 margin: 0px 2px;
111 111 }
112 112
113 113 &.disabled{
114 114 margin-right: @padding;
115 115 }
116 116 }
117 117 }
118 118
119 119 .children {
120 120 float: right;
121 121 width: 100px;
122 122 font-weight: 400;
123 123 vertical-align: middle;
124 124 text-align: right;
125 125 padding: 0px 2px 0px 2px;
126 126 background-color: @grey6;
127 127
128 128 #child_link {
129 129 margin: 0px 2px;
130 130
131 131 &.double {
132 132 margin: 0px 2px;
133 133 }
134 134
135 135 &.disabled{
136 136 margin-right: @padding;
137 137 }
138 138 }
139 139 }
140 140
141 141 .changeset_header {
142 142 height: 16px;
143 143
144 144 & > div{
145 145 margin-right: @padding;
146 146 }
147 147 }
148 148
149 149 .changeset_file {
150 150 text-align: left;
151 151 float: left;
152 152 padding: 0;
153 153
154 154 a{
155 155 display: inline-block;
156 156 margin-right: 0.5em;
157 157 }
158 158
159 159 #selected_mode{
160 160 margin-left: 0;
161 161 }
162 162 }
163 163
164 164 .diff-menu-wrapper {
165 165 float: left;
166 166 }
167 167
168 168 .diff-menu {
169 169 position: absolute;
170 170 background: none repeat scroll 0 0 #FFFFFF;
171 171 border-color: #003367 @grey3 @grey3;
172 172 border-right: 1px solid @grey3;
173 173 border-style: solid solid solid;
174 174 border-width: @border-thickness;
175 175 box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2);
176 176 margin-top: 5px;
177 177 margin-left: 1px;
178 178 }
179 179
180 180 .diff-actions, .editor-actions {
181 181 float: left;
182 182
183 183 input{
184 184 margin: 0 0.5em 0 0;
185 185 }
186 186 }
187 187
188 188 // END CODE-HEADER STYLES
189 189
190 190 // BEGIN CODE-BODY STYLES
191 191
192 192 .code-body {
193 193 padding: 0;
194 194 background-color: #ffffff;
195 195 position: relative;
196 196 max-width: none;
197 197 box-sizing: border-box;
198 198 // TODO: johbo: Parent has overflow: auto, this forces the child here
199 199 // to have the intended size and to scroll. Should be simplified.
200 200 width: 100%;
201 201 overflow-x: auto;
202 202 }
203 203
204 204 pre.raw {
205 205 background: white;
206 206 color: @grey1;
207 207 }
208 208 // END CODE-BODY STYLES
209 209
210 210 }
211 211
212 212
213 213 table.code-difftable {
214 214 border-collapse: collapse;
215 215 width: 99%;
216 border-radius: 0px !important;
216 border-radius: 0px;
217 217
218 218 td {
219 padding: 0 !important;
220 background: none !important;
221 border: 0 !important;
219 padding: 0;
220 background: none;
221 border: 0;
222 222 }
223 223
224 224 .context {
225 225 background: none repeat scroll 0 0 #DDE7EF;
226 226 }
227 227
228 228 .add {
229 229 background: none repeat scroll 0 0 #DDFFDD;
230 230
231 231 ins {
232 232 background: none repeat scroll 0 0 #AAFFAA;
233 233 text-decoration: none;
234 234 }
235 235 }
236 236
237 237 .del {
238 238 background: none repeat scroll 0 0 #FFDDDD;
239 239
240 240 del {
241 241 background: none repeat scroll 0 0 #FFAAAA;
242 242 text-decoration: none;
243 243 }
244 244 }
245 245
246 246 /** LINE NUMBERS **/
247 247 .lineno {
248 padding-left: 2px !important;
248 padding-left: 2px;
249 249 padding-right: 2px;
250 250 text-align: right;
251 251 width: 32px;
252 252 -moz-user-select: none;
253 253 -webkit-user-select: none;
254 border-right: @border-thickness solid @grey5 !important;
255 border-left: 0px solid #CCC !important;
256 border-top: 0px solid #CCC !important;
257 border-bottom: none !important;
254 border-right: @border-thickness solid @grey5;
255 border-left: 0px solid #CCC;
256 border-top: 0px solid #CCC;
257 border-bottom: none;
258 258
259 259 a {
260 260 &:extend(pre);
261 261 text-align: right;
262 262 padding-right: 2px;
263 263 cursor: pointer;
264 264 display: block;
265 265 width: 32px;
266 266 }
267 267 }
268 268
269 269 .context {
270 270 cursor: auto;
271 271 &:extend(pre);
272 272 }
273 273
274 274 .lineno-inline {
275 background: none repeat scroll 0 0 #FFF !important;
275 background: none repeat scroll 0 0 #FFF;
276 276 padding-left: 2px;
277 277 padding-right: 2px;
278 278 text-align: right;
279 279 width: 30px;
280 280 -moz-user-select: none;
281 281 -webkit-user-select: none;
282 282 }
283 283
284 284 /** CODE **/
285 285 .code {
286 286 display: block;
287 287 width: 100%;
288 288
289 289 td {
290 290 margin: 0;
291 291 padding: 0;
292 292 }
293 293
294 294 pre {
295 295 margin: 0;
296 296 padding: 0;
297 297 margin-left: .5em;
298 298 }
299 299 }
300 300 }
301 301
302 302
303 303 // Comments
304 304
305 305 div.comment:target {
306 border-left: 6px solid @comment-highlight-color !important;
306 border-left: 6px solid @comment-highlight-color;
307 307 padding-left: 3px;
308 308 margin-left: -9px;
309 309 }
310 310
311 311 //TODO: anderson: can't get an absolute number out of anything, so had to put the
312 312 //current values that might change. But to make it clear I put as a calculation
313 313 @comment-max-width: 1065px;
314 314 @pr-extra-margin: 34px;
315 315 @pr-border-spacing: 4px;
316 316 @pr-comment-width: @comment-max-width - @pr-extra-margin - @pr-border-spacing;
317 317
318 318 // Pull Request
319 319 .cs_files .code-difftable {
320 320 border: @border-thickness solid @grey5; //borders only on PRs
321 321
322 322 .comment-inline-form,
323 323 div.comment {
324 324 width: @pr-comment-width;
325 325 }
326 326 }
327 327
328 328 // Changeset
329 329 .code-difftable {
330 330 .comment-inline-form,
331 331 div.comment {
332 332 width: @comment-max-width;
333 333 }
334 334 }
335 335
336 336 //Style page
337 337 @style-extra-margin: @sidebar-width + (@sidebarpadding * 3) + @padding;
338 338 #style-page .code-difftable{
339 339 .comment-inline-form,
340 340 div.comment {
341 341 width: @comment-max-width - @style-extra-margin;
342 342 }
343 343 }
344 344
345 345 #context-bar > h2 {
346 346 font-size: 20px;
347 347 }
348 348
349 349 #context-bar > h2> a {
350 350 font-size: 20px;
351 351 }
352 352 // end of defaults
353 353
354 354 .file_diff_buttons {
355 355 padding: 0 0 @padding;
356 356
357 357 .drop-menu {
358 358 float: left;
359 359 margin: 0 @padding 0 0;
360 360 }
361 361 .btn {
362 362 margin: 0 @padding 0 0;
363 363 }
364 364 }
365 365
366 366 .code-body.textarea.editor {
367 367 max-width: none;
368 368 padding: 15px;
369 369 }
370 370
371 371 td.injected_diff{
372 372 max-width: 1178px;
373 373 overflow-x: auto;
374 374 overflow-y: hidden;
375 375
376 376 div.diff-container,
377 377 div.diffblock{
378 378 max-width: 100%;
379 379 }
380 380
381 381 div.code-body {
382 382 max-width: 1124px;
383 383 overflow-x: auto;
384 384 overflow-y: hidden;
385 385 padding: 0;
386 386 }
387 387 div.diffblock {
388 388 border: none;
389 389 }
390 390
391 391 &.inline-form {
392 392 width: 99%
393 393 }
394 394 }
395 395
396 396
397 397 table.code-difftable {
398 398 width: 100%;
399 399 }
400 400
401 401 /** PYGMENTS COLORING **/
402 402 div.codeblock {
403 403
404 404 // TODO: johbo: Added interim to get rid of the margin around
405 405 // Select2 widgets. This needs further cleanup.
406 406 margin-top: @padding;
407 407
408 408 overflow: auto;
409 409 padding: 0px;
410 410 border: @border-thickness solid @grey5;
411 411 background: @grey6;
412 412 .border-radius(@border-radius);
413 413
414 414 #remove_gist {
415 415 float: right;
416 416 }
417 417
418 418 .gist_url {
419 419 padding: 0px 0px 10px 0px;
420 420 }
421 421
422 422 .author {
423 423 clear: both;
424 424 vertical-align: middle;
425 425 font-family: @text-bold;
426 426 }
427 427
428 428 .btn-mini {
429 429 float: left;
430 430 margin: 0 5px 0 0;
431 431 }
432 432
433 433 .code-header {
434 434 padding: @padding;
435 435 border-bottom: @border-thickness solid @grey5;
436 436
437 437 .rc-user {
438 438 min-width: 0;
439 439 margin-right: .5em;
440 440 }
441 441
442 442 .stats {
443 443 clear: both;
444 444 margin: 0 0 @padding 0;
445 445 padding: 0;
446 446 .left {
447 447 float: left;
448 448 clear: left;
449 449 max-width: 75%;
450 450 margin: 0 0 @padding 0;
451 451
452 452 &.item {
453 453 margin-right: @padding;
454 454 &.last { border-right: none; }
455 455 }
456 456 }
457 457 .buttons { float: right; }
458 458 .author {
459 459 height: 25px; margin-left: 15px; font-weight: bold;
460 460 }
461 461 }
462 462
463 463 .commit {
464 464 margin: 5px 0 0 26px;
465 465 font-weight: normal;
466 466 white-space: pre-wrap;
467 467 }
468 468 }
469 469
470 470 .message {
471 471 position: relative;
472 472 margin: @padding;
473 473
474 474 .codeblock-label {
475 475 margin: 0 0 1em 0;
476 476 }
477 477 }
478 478
479 479 .code-body {
480 480 padding: @padding;
481 481 background-color: #ffffff;
482 482 min-width: 100%;
483 483 box-sizing: border-box;
484 484 // TODO: johbo: Parent has overflow: auto, this forces the child here
485 485 // to have the intended size and to scroll. Should be simplified.
486 486 width: 100%;
487 487 overflow-x: auto;
488 488
489 489 img.rendered-binary {
490 490 height: auto;
491 491 width: 100%;
492 492 }
493 493 }
494 494 }
495 495
496 496 .code-highlighttable,
497 497 div.codeblock {
498 498
499 499 &.readme {
500 500 background-color: white;
501 501 }
502 502
503 503 .markdown-block table {
504 504 border-collapse: collapse;
505 505
506 506 th,
507 507 td {
508 508 padding: .5em;
509 509 border: @border-thickness solid @border-default-color;
510 510 }
511 511 }
512 512
513 513 table {
514 514 border: 0px;
515 515 margin: 0;
516 516 letter-spacing: normal;
517 517
518 518
519 519 td {
520 520 border: 0px;
521 521 vertical-align: top;
522 522 }
523 523 }
524 524 }
525 525
526 526 div.codeblock .code-header .search-path { padding: 0 0 0 10px; }
527 527 div.search-code-body {
528 528 background-color: #ffffff; padding: 5px 0 5px 10px;
529 529 pre {
530 530 .match { background-color: #faffa6;}
531 531 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
532 532 }
533 533 .code-highlighttable {
534 534 border-collapse: collapse;
535 535
536 536 tr:hover {
537 537 background: #fafafa;
538 538 }
539 539 td.code {
540 540 padding-left: 10px;
541 541 }
542 542 td.line {
543 border-right: 1px solid #ccc !important;
543 border-right: 1px solid #ccc;
544 544 padding-right: 10px;
545 545 text-align: right;
546 546 font-family: "Lucida Console",Monaco,monospace;
547 547 span {
548 548 white-space: pre-wrap;
549 549 color: #666666;
550 550 }
551 551 }
552 552 }
553 553 }
554 554
555 555 div.annotatediv { margin-left: 2px; margin-right: 4px; }
556 556 .code-highlight {
557 557 margin: 0; padding: 0; border-left: @border-thickness solid @grey5;
558 558 pre, .linenodiv pre { padding: 0 5px; margin: 0; }
559 pre div:target {background-color: @comment-highlight-color !important;}
559 pre div:target {background-color: @comment-highlight-color;}
560 560 }
561 561
562 562 .linenos a { text-decoration: none; }
563 563
564 564 .CodeMirror-selected { background: @rchighlightblue; }
565 565 .CodeMirror-focused .CodeMirror-selected { background: @rchighlightblue; }
566 566 .CodeMirror ::selection { background: @rchighlightblue; }
567 567 .CodeMirror ::-moz-selection { background: @rchighlightblue; }
568 568
569 .code { display: block; border:0px !important; }
569 .code { display: block; border:0px; }
570 570 .code-highlight, /* TODO: dan: merge codehilite into code-highlight */
571 571 .codehilite {
572 572 .hll { background-color: #ffffcc }
573 573 .c { color: #408080; font-style: italic } /* Comment */
574 574 .err, .codehilite .err { border: @border-thickness solid #FF0000 } /* Error */
575 575 .k { color: #008000; font-weight: bold } /* Keyword */
576 576 .o { color: #666666 } /* Operator */
577 577 .cm { color: #408080; font-style: italic } /* Comment.Multiline */
578 578 .cp { color: #BC7A00 } /* Comment.Preproc */
579 579 .c1 { color: #408080; font-style: italic } /* Comment.Single */
580 580 .cs { color: #408080; font-style: italic } /* Comment.Special */
581 581 .gd { color: #A00000 } /* Generic.Deleted */
582 582 .ge { font-style: italic } /* Generic.Emph */
583 583 .gr { color: #FF0000 } /* Generic.Error */
584 584 .gh { color: #000080; font-weight: bold } /* Generic.Heading */
585 585 .gi { color: #00A000 } /* Generic.Inserted */
586 586 .go { color: #808080 } /* Generic.Output */
587 587 .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
588 588 .gs { font-weight: bold } /* Generic.Strong */
589 589 .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
590 590 .gt { color: #0040D0 } /* Generic.Traceback */
591 591 .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
592 592 .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
593 593 .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
594 594 .kp { color: #008000 } /* Keyword.Pseudo */
595 595 .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
596 596 .kt { color: #B00040 } /* Keyword.Type */
597 597 .m { color: #666666 } /* Literal.Number */
598 598 .s { color: #BA2121 } /* Literal.String */
599 599 .na { color: #7D9029 } /* Name.Attribute */
600 600 .nb { color: #008000 } /* Name.Builtin */
601 601 .nc { color: #0000FF; font-weight: bold } /* Name.Class */
602 602 .no { color: #880000 } /* Name.Constant */
603 603 .nd { color: #AA22FF } /* Name.Decorator */
604 604 .ni { color: #999999; font-weight: bold } /* Name.Entity */
605 605 .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
606 606 .nf { color: #0000FF } /* Name.Function */
607 607 .nl { color: #A0A000 } /* Name.Label */
608 608 .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
609 609 .nt { color: #008000; font-weight: bold } /* Name.Tag */
610 610 .nv { color: #19177C } /* Name.Variable */
611 611 .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
612 612 .w { color: #bbbbbb } /* Text.Whitespace */
613 613 .mf { color: #666666 } /* Literal.Number.Float */
614 614 .mh { color: #666666 } /* Literal.Number.Hex */
615 615 .mi { color: #666666 } /* Literal.Number.Integer */
616 616 .mo { color: #666666 } /* Literal.Number.Oct */
617 617 .sb { color: #BA2121 } /* Literal.String.Backtick */
618 618 .sc { color: #BA2121 } /* Literal.String.Char */
619 619 .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
620 620 .s2 { color: #BA2121 } /* Literal.String.Double */
621 621 .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
622 622 .sh { color: #BA2121 } /* Literal.String.Heredoc */
623 623 .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
624 624 .sx { color: #008000 } /* Literal.String.Other */
625 625 .sr { color: #BB6688 } /* Literal.String.Regex */
626 626 .s1 { color: #BA2121 } /* Literal.String.Single */
627 627 .ss { color: #19177C } /* Literal.String.Symbol */
628 628 .bp { color: #008000 } /* Name.Builtin.Pseudo */
629 629 .vc { color: #19177C } /* Name.Variable.Class */
630 630 .vg { color: #19177C } /* Name.Variable.Global */
631 631 .vi { color: #19177C } /* Name.Variable.Instance */
632 632 .il { color: #666666 } /* Literal.Number.Integer.Long */
633 633 }
634 634
635 635 /* customized pre blocks for markdown/rst */
636 636 pre.literal-block, .codehilite pre{
637 637 padding: @padding;
638 638 border: 1px solid @grey6;
639 639 .border-radius(@border-radius);
640 640 background-color: @grey7;
641 641 }
642 642
643 643
644 644 /* START NEW CODE BLOCK CSS */
645 645
646 646 @cb-line-height: 18px;
647 647 @cb-line-code-padding: 10px;
648 648 @cb-text-padding: 5px;
649 649
650 650 @pill-padding: 2px 7px;
651 651
652 652 input.filediff-collapse-state {
653 653 display: none;
654 654
655 655 &:checked + .filediff { /* file diff is collapsed */
656 656 .cb {
657 657 display: none
658 658 }
659 659 .filediff-collapse-indicator {
660 660 width: 0;
661 661 height: 0;
662 662 border-style: solid;
663 663 border-width: 4.5px 0 4.5px 9.3px;
664 664 border-color: transparent transparent transparent #aaa;
665 665 margin: 6px 0px;
666 666 }
667 667 .filediff-menu {
668 668 display: none;
669 669 }
670 670 margin: 10px 0 0 0;
671 671 }
672 672
673 673 &+ .filediff { /* file diff is expanded */
674 674 .filediff-collapse-indicator {
675 675 width: 0;
676 676 height: 0;
677 677 border-style: solid;
678 678 border-width: 9.3px 4.5px 0 4.5px;
679 679 border-color: #aaa transparent transparent transparent;
680 680 margin: 6px 0px;
681 681
682 682 }
683 683 .filediff-menu {
684 684 display: block;
685 685 }
686 686 margin: 10px 0;
687 687 &:nth-child(2) {
688 688 margin: 0;
689 689 }
690 690 }
691 691 }
692 692 .cs_files {
693 693 clear: both;
694 694 }
695 695
696 696 .diffset-menu {
697 697 margin-bottom: 20px;
698 698 }
699 699 .diffset {
700 700 margin: 20px auto;
701 701 .diffset-heading {
702 702 border: 1px solid @grey5;
703 703 margin-bottom: -1px;
704 704 // margin-top: 20px;
705 705 h2 {
706 706 margin: 0;
707 707 line-height: 38px;
708 708 padding-left: 10px;
709 709 }
710 710 .btn {
711 711 margin: 0;
712 712 }
713 713 background: @grey6;
714 714 display: block;
715 715 padding: 5px;
716 716 }
717 717 .diffset-heading-warning {
718 718 background: @alert3-inner;
719 719 border: 1px solid @alert3;
720 720 }
721 721 &.diffset-comments-disabled {
722 722 .cb-comment-box-opener, .comment-inline-form, .cb-comment-add-button {
723 display: none !important;
723 display: none;
724 724 }
725 725 }
726 726 }
727 727
728 728 .pill {
729 729 display: block;
730 730 float: left;
731 731 padding: @pill-padding;
732 732 }
733 733 .pill-group {
734 734 .pill {
735 735 opacity: .8;
736 736 &:first-child {
737 737 border-radius: @border-radius 0 0 @border-radius;
738 738 }
739 739 &:last-child {
740 740 border-radius: 0 @border-radius @border-radius 0;
741 741 }
742 742 &:only-child {
743 743 border-radius: @border-radius;
744 744 }
745 745 }
746 746 }
747 747
748 748 /* Main comments*/
749 749 #comments {
750 750 .comment-selected {
751 751 border-left: 6px solid @comment-highlight-color;
752 752 padding-left: 3px;
753 753 margin-left: -9px;
754 754 }
755 755 }
756 756
757 757 .filediff {
758 758 border: 1px solid @grey5;
759 759
760 760 /* START OVERRIDES */
761 761 .code-highlight {
762 762 border: none; // TODO: remove this border from the global
763 763 // .code-highlight, it doesn't belong there
764 764 }
765 765 label {
766 766 margin: 0; // TODO: remove this margin definition from global label
767 767 // it doesn't belong there - if margin on labels
768 768 // are needed for a form they should be defined
769 769 // in the form's class
770 770 }
771 771 /* END OVERRIDES */
772 772
773 773 * {
774 774 box-sizing: border-box;
775 775 }
776 776 .filediff-anchor {
777 777 visibility: hidden;
778 778 }
779 779 &:hover {
780 780 .filediff-anchor {
781 781 visibility: visible;
782 782 }
783 783 }
784 784
785 785 .filediff-collapse-indicator {
786 786 border-style: solid;
787 787 float: left;
788 788 margin: 4px 0px 0 0;
789 789 cursor: pointer;
790 790 }
791 791
792 792 .filediff-heading {
793 793 background: @grey7;
794 794 cursor: pointer;
795 795 display: block;
796 796 padding: 5px 10px;
797 797 }
798 798 .filediff-heading:after {
799 799 content: "";
800 800 display: table;
801 801 clear: both;
802 802 }
803 803 .filediff-heading:hover {
804 background: #e1e9f4 !important;
804 background: #e1e9f4;
805 805 }
806 806
807 807 .filediff-menu {
808 808 float: right;
809 809 text-align: right;
810 810 padding: 5px 5px 5px 0px;
811 811
812 812 &> a,
813 813 &> span {
814 814 padding: 1px;
815 815 }
816 816 }
817 817
818 818 .pill {
819 819 &[op="name"] {
820 820 background: none;
821 821 opacity: 1;
822 822 color: white;
823 823 }
824 824 &[op="limited"] {
825 825 background: @grey2;
826 826 color: white;
827 827 }
828 828 &[op="binary"] {
829 829 background: @color7;
830 830 color: white;
831 831 }
832 832 &[op="modified"] {
833 833 background: @alert1;
834 834 color: white;
835 835 }
836 836 &[op="renamed"] {
837 837 background: @color4;
838 838 color: white;
839 839 }
840 840 &[op="copied"] {
841 841 background: @color4;
842 842 color: white;
843 843 }
844 844 &[op="mode"] {
845 845 background: @grey3;
846 846 color: white;
847 847 }
848 848 &[op="symlink"] {
849 849 background: @color8;
850 850 color: white;
851 851 }
852 852
853 853 &[op="added"] { /* added lines */
854 854 background: @alert1;
855 855 color: white;
856 856 }
857 857 &[op="deleted"] { /* deleted lines */
858 858 background: @alert2;
859 859 color: white;
860 860 }
861 861
862 862 &[op="created"] { /* created file */
863 863 background: @alert1;
864 864 color: white;
865 865 }
866 866 &[op="removed"] { /* deleted file */
867 867 background: @color5;
868 868 color: white;
869 869 }
870 870 }
871 871
872 872 .filediff-collapse-button, .filediff-expand-button {
873 873 cursor: pointer;
874 874 }
875 875 .filediff-collapse-button {
876 876 display: inline;
877 877 }
878 878 .filediff-expand-button {
879 879 display: none;
880 880 }
881 881 .filediff-collapsed .filediff-collapse-button {
882 882 display: none;
883 883 }
884 884 .filediff-collapsed .filediff-expand-button {
885 885 display: inline;
886 886 }
887 887
888 888 /**** COMMENTS ****/
889 889
890 890 .filediff-menu {
891 891 .show-comment-button {
892 892 display: none;
893 893 }
894 894 }
895 895 &.hide-comments {
896 896 .inline-comments {
897 897 display: none;
898 898 }
899 899 .filediff-menu {
900 900 .show-comment-button {
901 901 display: inline;
902 902 }
903 903 .hide-comment-button {
904 904 display: none;
905 905 }
906 906 }
907 907 }
908 908
909 909 .hide-line-comments {
910 910 .inline-comments {
911 911 display: none;
912 912 }
913 913 }
914 914
915 915 /**** END COMMENTS ****/
916 916
917 917 }
918 918
919 919 .filediff-outdated {
920 920 padding: 8px 0;
921 921
922 922 .filediff-heading {
923 923 opacity: .5;
924 924 }
925 925 }
926 926
927 927 table.cb {
928 928 width: 100%;
929 929 border-collapse: collapse;
930 930
931 931 .cb-text {
932 932 padding: @cb-text-padding;
933 933 }
934 934 .cb-hunk {
935 935 padding: @cb-text-padding;
936 936 }
937 937 .cb-expand {
938 938 display: none;
939 939 }
940 940 .cb-collapse {
941 941 display: inline;
942 942 }
943 943 &.cb-collapsed {
944 944 .cb-line {
945 945 display: none;
946 946 }
947 947 .cb-expand {
948 948 display: inline;
949 949 }
950 950 .cb-collapse {
951 951 display: none;
952 952 }
953 953 }
954 954
955 955 /* intentionally general selector since .cb-line-selected must override it
956 and they both use !important since the td itself may have a random color
956 and they both use since the td itself may have a random color
957 957 generated by annotation blocks. TLDR: if you change it, make sure
958 958 annotated block selection and line selection in file view still work */
959 959 .cb-line-fresh .cb-content {
960 background: white !important;
960 background: white;
961 961 }
962 962 .cb-warning {
963 963 background: #fff4dd;
964 964 }
965 965
966 966 &.cb-diff-sideside {
967 967 td {
968 968 &.cb-content {
969 969 width: 50%;
970 970 }
971 971 }
972 972 }
973 973
974 974 tr {
975 975 &.cb-annotate {
976 976 border-top: 1px solid #eee;
977 977 }
978 978
979 979 &.cb-hunk {
980 980 font-family: @font-family-monospace;
981 981 color: rgba(0, 0, 0, 0.3);
982 982
983 983 td {
984 984 &:first-child {
985 985 background: #edf2f9;
986 986 }
987 987 &:last-child {
988 988 background: #f4f7fb;
989 989 }
990 990 }
991 991 }
992 992 }
993 993
994 994
995 995 td {
996 996 vertical-align: top;
997 997 padding: 0;
998 998
999 999 &.cb-content {
1000 1000 font-size: 12.35px;
1001 1001
1002 1002 &.cb-line-selected .cb-code {
1003 background: @comment-highlight-color !important;
1003 background: @comment-highlight-color;
1004 1004 }
1005 1005
1006 1006 span.cb-code {
1007 1007 line-height: @cb-line-height;
1008 1008 padding-left: @cb-line-code-padding;
1009 1009 padding-right: @cb-line-code-padding;
1010 1010 display: block;
1011 1011 white-space: pre-wrap;
1012 1012 font-family: @font-family-monospace;
1013 1013 word-break: break-all;
1014 1014 .nonl {
1015 1015 color: @color5;
1016 1016 }
1017 1017 }
1018 1018
1019 1019 &> button.cb-comment-box-opener {
1020 1020
1021 1021 padding: 2px 2px 1px 3px;
1022 1022 margin-left: -6px;
1023 1023 margin-top: -1px;
1024 1024
1025 1025 border-radius: @border-radius;
1026 1026 position: absolute;
1027 1027 display: none;
1028 1028 }
1029 1029 .cb-comment {
1030 1030 margin-top: 10px;
1031 1031 white-space: normal;
1032 1032 }
1033 1033 }
1034 1034 &:hover {
1035 1035 button.cb-comment-box-opener {
1036 1036 display: block;
1037 1037 }
1038 1038 &+ td button.cb-comment-box-opener {
1039 1039 display: block
1040 1040 }
1041 1041 }
1042 1042
1043 1043 &.cb-data {
1044 1044 text-align: right;
1045 1045 width: 30px;
1046 1046 font-family: @font-family-monospace;
1047 1047
1048 1048 .icon-comment {
1049 1049 cursor: pointer;
1050 1050 }
1051 1051 &.cb-line-selected > div {
1052 1052 display: block;
1053 background: @comment-highlight-color !important;
1053 background: @comment-highlight-color;
1054 1054 line-height: @cb-line-height;
1055 1055 color: rgba(0, 0, 0, 0.3);
1056 1056 }
1057 1057 }
1058 1058
1059 1059 &.cb-lineno {
1060 1060 padding: 0;
1061 1061 width: 50px;
1062 1062 color: rgba(0, 0, 0, 0.3);
1063 1063 text-align: right;
1064 1064 border-right: 1px solid #eee;
1065 1065 font-family: @font-family-monospace;
1066 1066 user-select: none;
1067 1067
1068 1068 a::before {
1069 1069 content: attr(data-line-no);
1070 1070 }
1071 1071 &.cb-line-selected a {
1072 background: @comment-highlight-color !important;
1072 background: @comment-highlight-color;
1073 1073 }
1074 1074
1075 1075 a {
1076 1076 display: block;
1077 1077 padding-right: @cb-line-code-padding;
1078 1078 padding-left: @cb-line-code-padding;
1079 1079 line-height: @cb-line-height;
1080 1080 color: rgba(0, 0, 0, 0.3);
1081 1081 }
1082 1082 }
1083 1083
1084 1084 &.cb-empty {
1085 1085 background: @grey7;
1086 1086 }
1087 1087
1088 1088 ins {
1089 1089 color: black;
1090 1090 background: #a6f3a6;
1091 1091 text-decoration: none;
1092 1092 }
1093 1093 del {
1094 1094 color: black;
1095 1095 background: #f8cbcb;
1096 1096 text-decoration: none;
1097 1097 }
1098 1098 &.cb-addition {
1099 1099 background: #ecffec;
1100 1100
1101 1101 &.blob-lineno {
1102 1102 background: #ddffdd;
1103 1103 }
1104 1104 }
1105 1105 &.cb-deletion {
1106 1106 background: #ffecec;
1107 1107
1108 1108 &.blob-lineno {
1109 1109 background: #ffdddd;
1110 1110 }
1111 1111 }
1112 1112 &.cb-annotate-message-spacer {
1113 1113 width:8px;
1114 1114 padding: 1px 0px 0px 3px;
1115 1115 }
1116 1116 &.cb-annotate-info {
1117 1117 width: 320px;
1118 1118 min-width: 320px;
1119 1119 max-width: 320px;
1120 1120 padding: 5px 2px;
1121 1121 font-size: 13px;
1122 1122
1123 1123 .cb-annotate-message {
1124 1124 padding: 2px 0px 0px 0px;
1125 1125 white-space: pre-line;
1126 1126 overflow: hidden;
1127 1127 }
1128 1128 .rc-user {
1129 1129 float: none;
1130 1130 padding: 0 6px 0 17px;
1131 1131 min-width: unset;
1132 1132 min-height: unset;
1133 1133 }
1134 1134 }
1135 1135
1136 1136 &.cb-annotate-revision {
1137 1137 cursor: pointer;
1138 1138 text-align: right;
1139 1139 padding: 1px 3px 0px 3px;
1140 1140 }
1141 1141 }
1142 1142 }
@@ -1,418 +1,418 b''
1 1 /* BASICS */
2 2
3 3 .CodeMirror {
4 4 /* Set height, width, borders, and global font properties here */
5 5 font-family: monospace;
6 6 height: 300px;
7 7 color: black;
8 8 border-radius: @border-radius;
9 9 border: @border-thickness solid @grey6;
10 10 margin: 0 0 @padding;
11 11 }
12 12
13 13 /* PADDING */
14 14
15 15 .CodeMirror-lines {
16 16 padding: 4px 0; /* Vertical padding around content */
17 17 }
18 18 .CodeMirror pre {
19 19 padding: 0 4px; /* Horizontal padding of content */
20 20 }
21 21
22 22 .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
23 23 background-color: white; /* The little square between H and V scrollbars */
24 24 }
25 25
26 26 /* GUTTER */
27 27
28 28 .CodeMirror-gutters {
29 29 border-right: 1px solid #ddd;
30 30 background-color: @grey6;
31 31 white-space: nowrap;
32 32 }
33 33 .CodeMirror-linenumbers {}
34 34 .CodeMirror-linenumber {
35 35 padding: 0 3px 0 5px;
36 36 min-width: 20px;
37 37 text-align: right;
38 38 color: @grey4;
39 39 white-space: nowrap;
40 40 }
41 41
42 42 .CodeMirror-guttermarker { color: black; }
43 43 .CodeMirror-guttermarker-subtle { color: #999; }
44 44
45 45 /* CURSOR */
46 46
47 47 .CodeMirror div.CodeMirror-cursor {
48 48 border-left: 1px solid black;
49 49 }
50 50 /* Shown when moving in bi-directional text */
51 51 .CodeMirror div.CodeMirror-secondarycursor {
52 52 border-left: 1px solid silver;
53 53 }
54 54 .CodeMirror.cm-fat-cursor div.CodeMirror-cursor {
55 55 width: auto;
56 56 border: 0;
57 57 background: @grey6;
58 58 }
59 59 .CodeMirror.cm-fat-cursor div.CodeMirror-cursors {
60 60 z-index: 1;
61 61 }
62 62
63 63 .cm-animate-fat-cursor {
64 64 width: auto;
65 65 border: 0;
66 66 -webkit-animation: blink 1.06s steps(1) infinite;
67 67 -moz-animation: blink 1.06s steps(1) infinite;
68 68 animation: blink 1.06s steps(1) infinite;
69 69 }
70 70 @-moz-keyframes blink {
71 71 0% { background: #7e7; }
72 72 50% { background: none; }
73 73 100% { background: #7e7; }
74 74 }
75 75 @-webkit-keyframes blink {
76 76 0% { background: #7e7; }
77 77 50% { background: none; }
78 78 100% { background: #7e7; }
79 79 }
80 80 @keyframes blink {
81 81 0% { background: #7e7; }
82 82 50% { background: none; }
83 83 100% { background: #7e7; }
84 84 }
85 85
86 86 /* Can style cursor different in overwrite (non-insert) mode */
87 87 div.CodeMirror-overwrite div.CodeMirror-cursor {}
88 88
89 89 .cm-tab { display: inline-block; text-decoration: inherit; }
90 90
91 91 .CodeMirror-ruler {
92 92 border-left: 1px solid #ccc;
93 93 position: absolute;
94 94 }
95 95
96 96 /* DEFAULT THEME */
97 97
98 98 .cm-s-default .cm-header {color: blue;}
99 99 .cm-s-default .cm-quote {color: #090;}
100 100 .cm-negative {color: #d44;}
101 101 .cm-positive {color: #292;}
102 102 .cm-header, .cm-strong {font-weight: bold;}
103 103 .cm-em {font-style: italic;}
104 104 .cm-link {text-decoration: underline;}
105 105 .cm-strikethrough {text-decoration: line-through;}
106 106
107 107 .cm-s-default .cm-keyword {color: #708;}
108 108 .cm-s-default .cm-atom {color: #219;}
109 109 .cm-s-default .cm-number {color: #164;}
110 110 .cm-s-default .cm-def {color: #00f;}
111 111 .cm-s-default .cm-variable,
112 112 .cm-s-default .cm-punctuation,
113 113 .cm-s-default .cm-property,
114 114 .cm-s-default .cm-operator {}
115 115 .cm-s-default .cm-variable-2 {color: #05a;}
116 116 .cm-s-default .cm-variable-3 {color: #085;}
117 117 .cm-s-default .cm-comment {color: #a50;}
118 118 .cm-s-default .cm-string {color: #a11;}
119 119 .cm-s-default .cm-string-2 {color: #f50;}
120 120 .cm-s-default .cm-meta {color: #555;}
121 121 .cm-s-default .cm-qualifier {color: #555;}
122 122 .cm-s-default .cm-builtin {color: #30a;}
123 123 .cm-s-default .cm-bracket {color: #997;}
124 124 .cm-s-default .cm-tag {color: #170;}
125 125 .cm-s-default .cm-attribute {color: #00c;}
126 126 .cm-s-default .cm-hr {color: #999;}
127 127 .cm-s-default .cm-link {color: #00c;}
128 128
129 129 .cm-s-default .cm-error {color: #f00;}
130 130 .cm-invalidchar {color: #f00;}
131 131
132 132 .CodeMirror-composing { border-bottom: 2px solid; }
133 133
134 134 /* Default styles for common addons */
135 135
136 136 div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
137 137 div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
138 138 .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
139 139 .CodeMirror-activeline-background {background: #e8f2ff;}
140 140
141 141 /* STOP */
142 142
143 143 /* The rest of this file contains styles related to the mechanics of
144 144 the editor. You probably shouldn't touch them. */
145 145
146 146 .CodeMirror {
147 147 position: relative;
148 148 overflow: hidden;
149 149 background: white;
150 150 }
151 151
152 152 .CodeMirror-scroll {
153 overflow: scroll !important; /* Things will break if this is overridden */
153 overflow: scroll; /* Things will break if this is overridden */
154 154 /* 30px is the magic margin used to hide the element's real scrollbars */
155 155 /* See overflow: hidden in .CodeMirror */
156 156 margin-bottom: -30px; margin-right: -30px;
157 157 padding-bottom: 30px;
158 158 height: 100%;
159 159 outline: none; /* Prevent dragging from highlighting the element */
160 160 position: relative;
161 161 }
162 162 .CodeMirror-sizer {
163 163 position: relative;
164 164 border-right: 30px solid transparent;
165 165 }
166 166
167 167 /* The fake, visible scrollbars. Used to force redraw during scrolling
168 168 before actual scrolling happens, thus preventing shaking and
169 169 flickering artifacts. */
170 170 .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
171 171 position: absolute;
172 172 z-index: 6;
173 173 display: none;
174 174 }
175 175 .CodeMirror-vscrollbar {
176 176 right: 0; top: 0;
177 177 overflow-x: hidden;
178 178 overflow-y: scroll;
179 179 }
180 180 .CodeMirror-hscrollbar {
181 181 bottom: 0; left: 0;
182 182 overflow-y: hidden;
183 183 overflow-x: scroll;
184 184 }
185 185 .CodeMirror-scrollbar-filler {
186 186 right: 0; bottom: 0;
187 187 }
188 188 .CodeMirror-gutter-filler {
189 189 left: 0; bottom: 0;
190 190 }
191 191
192 192 .CodeMirror-gutters {
193 193 position: absolute; left: 0; top: 0;
194 194 z-index: 3;
195 195 }
196 196 .CodeMirror-gutter {
197 197 white-space: normal;
198 198 height: 100%;
199 199 display: inline-block;
200 200 margin-bottom: -30px;
201 201 /* Hack to make IE7 behave */
202 202 *zoom:1;
203 203 *display:inline;
204 204 }
205 205 .CodeMirror-gutter-wrapper {
206 206 position: absolute;
207 207 z-index: 4;
208 208 height: 100%;
209 209 }
210 210 .CodeMirror-gutter-background {
211 211 position: absolute;
212 212 top: 0; bottom: 0;
213 213 z-index: 4;
214 214 }
215 215 .CodeMirror-gutter-elt {
216 216 position: absolute;
217 217 cursor: default;
218 218 z-index: 4;
219 219 }
220 220 .CodeMirror-gutter-wrapper {
221 221 -webkit-user-select: none;
222 222 -moz-user-select: none;
223 223 user-select: none;
224 224 }
225 225
226 226 .CodeMirror-lines {
227 227 cursor: text;
228 228 min-height: 1px; /* prevents collapsing before first draw */
229 229 }
230 230 .CodeMirror pre {
231 231 /* Reset some styles that the rest of the page might have set */
232 232 -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
233 233 border-width: 0;
234 234 background: transparent;
235 235 font-family: inherit;
236 236 font-size: inherit;
237 237 margin: 0;
238 238 white-space: pre;
239 239 word-wrap: normal;
240 240 line-height: inherit;
241 241 color: inherit;
242 242 z-index: 2;
243 243 position: relative;
244 244 overflow: visible;
245 245 -webkit-tap-highlight-color: transparent;
246 246 }
247 247 .CodeMirror-wrap pre {
248 248 word-wrap: break-word;
249 249 white-space: pre-wrap;
250 250 word-break: normal;
251 251 }
252 252
253 253 .CodeMirror-linebackground {
254 254 position: absolute;
255 255 left: 0; right: 0; top: 0; bottom: 0;
256 256 z-index: 0;
257 257 }
258 258
259 259 .CodeMirror-linewidget {
260 260 position: relative;
261 261 z-index: 2;
262 262 overflow: auto;
263 263 }
264 264
265 265 .CodeMirror-widget {}
266 266
267 267 .CodeMirror-code {
268 268 outline: none;
269 269 }
270 270
271 271 /* Force content-box sizing for the elements where we expect it */
272 272 .CodeMirror-scroll,
273 273 .CodeMirror-sizer,
274 274 .CodeMirror-gutter,
275 275 .CodeMirror-gutters,
276 276 .CodeMirror-linenumber {
277 277 -moz-box-sizing: content-box;
278 278 box-sizing: content-box;
279 279 }
280 280
281 281 .CodeMirror-measure {
282 282 position: absolute;
283 283 width: 100%;
284 284 height: 0;
285 285 overflow: hidden;
286 286 visibility: hidden;
287 287 }
288 288
289 289
290 290 .CodeMirror div.CodeMirror-cursor {
291 291 position: absolute;
292 292 border-right: none;
293 293 width: 0;
294 294 }
295 295
296 296 .CodeMirror-measure pre { position: static; }
297 297
298 298 div.CodeMirror-cursors {
299 299 visibility: hidden;
300 300 position: relative;
301 301 z-index: 3;
302 302 }
303 303 div.CodeMirror-dragcursors {
304 304 visibility: visible;
305 305 }
306 306
307 307 .CodeMirror-focused div.CodeMirror-cursors {
308 308 visibility: visible;
309 309 }
310 310
311 311 .CodeMirror-selected { background: #d9d9d9; }
312 312 .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
313 313 .CodeMirror-crosshair { cursor: crosshair; }
314 314 .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
315 315 .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
316 316
317 317 .cm-searching {
318 318 background: #ffa;
319 319 background: rgba(255, 255, 0, .4);
320 320 }
321 321
322 322 /* IE7 hack to prevent it from returning funny offsetTops on the spans */
323 323 .CodeMirror span { *vertical-align: text-bottom; }
324 324
325 325 /* Used to force a border model for a node */
326 326 .cm-force-border { padding-right: .1px; }
327 327
328 328 @media print {
329 329 /* Hide the cursor when printing */
330 330 .CodeMirror div.CodeMirror-cursors {
331 331 visibility: hidden;
332 332 }
333 333 }
334 334
335 335 /* See issue #2901 */
336 336 .cm-tab-wrap-hack:after { content: ''; }
337 337
338 338 /* Help users use markselection to safely style text background */
339 339 span.CodeMirror-selectedtext { background: none; }
340 340
341 341 /* codemirror autocomplete widget */
342 342 .CodeMirror-hints {
343 343 position: absolute;
344 344 z-index: 10;
345 345 overflow: hidden;
346 346 list-style: none;
347 347
348 348 margin: 0;
349 349 padding: 0;
350 350
351 351 border-radius: @border-radius;
352 352 border: @border-thickness solid @rcblue;
353 353
354 354 color: @rcblue;
355 355 background-color: white;
356 356 font-size: 95%;
357 357
358 358 max-height: 20em;
359 359 overflow-y: auto;
360 360 }
361 361
362 362 .CodeMirror-hint {
363 363 margin: 0;
364 364 padding: 4px 8px;
365 365 max-width: 40em;
366 366 white-space: pre;
367 367 color: @rcblue;
368 368 cursor: pointer;
369 369 }
370 370
371 371 .CodeMirror-hint-active {
372 372 background: @rclightblue;
373 373 color: @rcblue;
374 374 }
375 375
376 376 .CodeMirror-hint-entry {
377 377 width: 38em;
378 378 color: @rcblue;
379 379 }
380 380
381 381 .CodeMirror-hint-entry .gravatar {
382 382 height: @gravatar-size;
383 383 width: @gravatar-size;
384 384 margin-right: 4px;
385 385 }
386 386
387 387 .CodeMirror-empty {
388 388 border: @border-thickness solid @grey5;
389 389 }
390 390
391 391 .CodeMirror-focused {
392 392 border: @border-thickness solid @grey5;
393 393 }
394 394
395 395 .CodeMirror-empty.CodeMirror-focused {
396 396 border: @border-thickness solid @grey5;
397 397 }
398 398
399 399 .CodeMirror pre.CodeMirror-placeholder {
400 400 color: @grey4;
401 401 }
402 402
403 403 /** RhodeCode Customizations **/
404 404
405 405 .CodeMirror.cm-s-rc-input {
406 406 border: @border-thickness solid @grey4;
407 407 }
408 408
409 409 .CodeMirror-code pre {
410 410 border-right: 30px solid transparent;
411 411 width: -webkit-fit-content;
412 412 width: -moz-fit-content;
413 413 width: fit-content;
414 414 }
415 415 .CodeMirror-wrap .CodeMirror-code pre {
416 416 border-right: none;
417 417 width: auto;
418 418 }
@@ -1,575 +1,575 b''
1 1 // comments.less
2 2 // For use in RhodeCode applications;
3 3 // see style guide documentation for guidelines.
4 4
5 5
6 6 // Comments
7 7 @comment-outdated-opacity: 0.6;
8 8
9 9 .comments {
10 10 width: 100%;
11 11 }
12 12
13 13 tr.inline-comments div {
14 14 max-width: 100%;
15 15
16 16 p {
17 17 white-space: normal;
18 18 }
19 19
20 20 code, pre, .code, dd {
21 21 overflow-x: auto;
22 22 width: 1062px;
23 23 }
24 24
25 25 dd {
26 26 width: auto;
27 27 }
28 28 }
29 29
30 30 #injected_page_comments {
31 31 .comment-previous-link,
32 32 .comment-next-link,
33 33 .comment-links-divider {
34 34 display: none;
35 35 }
36 36 }
37 37
38 38 .add-comment {
39 39 margin-bottom: 10px;
40 40 }
41 41 .hide-comment-button .add-comment {
42 42 display: none;
43 43 }
44 44
45 45 .comment-bubble {
46 46 color: @grey4;
47 47 margin-top: 4px;
48 48 margin-right: 30px;
49 49 visibility: hidden;
50 50 }
51 51
52 52 .comment-label {
53 53 float: left;
54 54
55 55 padding: 0.4em 0.4em;
56 56 margin: 3px 5px 0px -10px;
57 57 display: inline-block;
58 58 min-height: 0;
59 59
60 60 text-align: center;
61 61 font-size: 10px;
62 62 line-height: .8em;
63 63
64 64 font-family: @text-italic;
65 65 background: #fff none;
66 66 color: @grey4;
67 67 border: 1px solid @grey4;
68 68 white-space: nowrap;
69 69
70 70 text-transform: uppercase;
71 71 min-width: 40px;
72 72
73 73 &.todo {
74 74 color: @color5;
75 75 font-family: @text-bold-italic;
76 76 }
77 77
78 78 .resolve {
79 79 cursor: pointer;
80 80 text-decoration: underline;
81 81 }
82 82
83 83 .resolved {
84 84 text-decoration: line-through;
85 85 color: @color1;
86 86 }
87 87 .resolved a {
88 88 text-decoration: line-through;
89 89 color: @color1;
90 90 }
91 91 .resolve-text {
92 92 color: @color1;
93 93 margin: 2px 8px;
94 94 font-family: @text-italic;
95 95 }
96 96 }
97 97
98 98 .has-spacer-after {
99 99 &:after {
100 100 content: ' | ';
101 101 color: @grey5;
102 102 }
103 103 }
104 104
105 105 .has-spacer-before {
106 106 &:before {
107 107 content: ' | ';
108 108 color: @grey5;
109 109 }
110 110 }
111 111
112 112 .comment {
113 113
114 114 &.comment-general {
115 115 border: 1px solid @grey5;
116 116 padding: 5px 5px 5px 5px;
117 117 }
118 118
119 119 margin: @padding 0;
120 120 padding: 4px 0 0 0;
121 121 line-height: 1em;
122 122
123 123 .rc-user {
124 124 min-width: 0;
125 125 margin: 0px .5em 0 0;
126 126
127 127 .user {
128 128 display: inline;
129 129 }
130 130 }
131 131
132 132 .meta {
133 133 position: relative;
134 134 width: 100%;
135 135 border-bottom: 1px solid @grey5;
136 136 margin: -5px 0px;
137 137 line-height: 24px;
138 138
139 139 &:hover .permalink {
140 140 visibility: visible;
141 141 color: @rcblue;
142 142 }
143 143 }
144 144
145 145 .author,
146 146 .date {
147 147 display: inline;
148 148
149 149 &:after {
150 150 content: ' | ';
151 151 color: @grey5;
152 152 }
153 153 }
154 154
155 155 .author-general img {
156 156 top: 3px;
157 157 }
158 158 .author-inline img {
159 159 top: 3px;
160 160 }
161 161
162 162 .status-change,
163 163 .permalink,
164 164 .changeset-status-lbl {
165 165 display: inline;
166 166 }
167 167
168 168 .permalink {
169 169 visibility: hidden;
170 170 }
171 171
172 172 .comment-links-divider {
173 173 display: inline;
174 174 }
175 175
176 176 .comment-links-block {
177 177 float:right;
178 178 text-align: right;
179 179 min-width: 85px;
180 180
181 181 [class^="icon-"]:before,
182 182 [class*=" icon-"]:before {
183 183 margin-left: 0;
184 184 margin-right: 0;
185 185 }
186 186 }
187 187
188 188 .comment-previous-link {
189 189 display: inline-block;
190 190
191 191 .arrow_comment_link{
192 192 cursor: pointer;
193 193 i {
194 194 font-size:10px;
195 195 }
196 196 }
197 197 .arrow_comment_link.disabled {
198 198 cursor: default;
199 199 color: @grey5;
200 200 }
201 201 }
202 202
203 203 .comment-next-link {
204 204 display: inline-block;
205 205
206 206 .arrow_comment_link{
207 207 cursor: pointer;
208 208 i {
209 209 font-size:10px;
210 210 }
211 211 }
212 212 .arrow_comment_link.disabled {
213 213 cursor: default;
214 214 color: @grey5;
215 215 }
216 216 }
217 217
218 218 .flag_status {
219 219 display: inline-block;
220 220 margin: -2px .5em 0 .25em
221 221 }
222 222
223 223 .delete-comment {
224 224 display: inline-block;
225 225 color: @rcblue;
226 226
227 227 &:hover {
228 228 cursor: pointer;
229 229 }
230 230 }
231 231
232 232 .text {
233 233 clear: both;
234 234 .border-radius(@border-radius);
235 235 .box-sizing(border-box);
236 236
237 237 .markdown-block p,
238 238 .rst-block p {
239 margin: .5em 0 !important;
239 margin: .5em 0;
240 240 // TODO: lisa: This is needed because of other rst !important rules :[
241 241 }
242 242 }
243 243
244 244 .pr-version {
245 245 float: left;
246 246 margin: 0px 4px;
247 247 }
248 248 .pr-version-inline {
249 249 float: left;
250 250 margin: 0px 4px;
251 251 }
252 252 .pr-version-num {
253 253 font-size: 10px;
254 254 }
255 255 }
256 256
257 257 @comment-padding: 5px;
258 258
259 259 .general-comments {
260 260 .comment-outdated {
261 261 opacity: @comment-outdated-opacity;
262 262 }
263 263 }
264 264
265 265 .inline-comments {
266 266 border-radius: @border-radius;
267 267 .comment {
268 268 margin: 0;
269 269 border-radius: @border-radius;
270 270 }
271 271 .comment-outdated {
272 272 opacity: @comment-outdated-opacity;
273 273 }
274 274
275 275 .comment-inline {
276 276 background: white;
277 277 padding: @comment-padding @comment-padding;
278 278 border: @comment-padding solid @grey6;
279 279
280 280 .text {
281 281 border: none;
282 282 }
283 283 .meta {
284 284 border-bottom: 1px solid @grey6;
285 285 margin: -5px 0px;
286 286 line-height: 24px;
287 287 }
288 288 }
289 289 .comment-selected {
290 290 border-left: 6px solid @comment-highlight-color;
291 291 }
292 292 .comment-inline-form {
293 293 padding: @comment-padding;
294 294 display: none;
295 295 }
296 296 .cb-comment-add-button {
297 297 margin: @comment-padding;
298 298 }
299 299 /* hide add comment button when form is open */
300 300 .comment-inline-form-open ~ .cb-comment-add-button {
301 301 display: none;
302 302 }
303 303 .comment-inline-form-open {
304 304 display: block;
305 305 }
306 306 /* hide add comment button when form but no comments */
307 307 .comment-inline-form:first-child + .cb-comment-add-button {
308 308 display: none;
309 309 }
310 310 /* hide add comment button when no comments or form */
311 311 .cb-comment-add-button:first-child {
312 312 display: none;
313 313 }
314 314 /* hide add comment button when only comment is being deleted */
315 315 .comment-deleting:first-child + .cb-comment-add-button {
316 316 display: none;
317 317 }
318 318 }
319 319
320 320
321 321 .show-outdated-comments {
322 322 display: inline;
323 323 color: @rcblue;
324 324 }
325 325
326 326 // Comment Form
327 327 div.comment-form {
328 328 margin-top: 20px;
329 329 }
330 330
331 331 .comment-form strong {
332 332 display: block;
333 333 margin-bottom: 15px;
334 334 }
335 335
336 336 .comment-form textarea {
337 337 width: 100%;
338 338 height: 100px;
339 339 font-family: 'Monaco', 'Courier', 'Courier New', monospace;
340 340 }
341 341
342 342 form.comment-form {
343 343 margin-top: 10px;
344 344 margin-left: 10px;
345 345 }
346 346
347 347 .comment-inline-form .comment-block-ta,
348 348 .comment-form .comment-block-ta,
349 349 .comment-form .preview-box {
350 350 .border-radius(@border-radius);
351 351 .box-sizing(border-box);
352 352 background-color: white;
353 353 }
354 354
355 355 .comment-form-submit {
356 356 margin-top: 5px;
357 357 margin-left: 525px;
358 358 }
359 359
360 360 .file-comments {
361 361 display: none;
362 362 }
363 363
364 364 .comment-form .preview-box.unloaded,
365 365 .comment-inline-form .preview-box.unloaded {
366 366 height: 50px;
367 367 text-align: center;
368 368 padding: 20px;
369 369 background-color: white;
370 370 }
371 371
372 372 .comment-footer {
373 373 position: relative;
374 374 width: 100%;
375 375 min-height: 42px;
376 376
377 377 .status_box,
378 378 .cancel-button {
379 379 float: left;
380 380 display: inline-block;
381 381 }
382 382
383 383 .action-buttons {
384 384 float: right;
385 385 display: inline-block;
386 386 }
387 387
388 388 .action-buttons-extra {
389 389 display: inline-block;
390 390 }
391 391 }
392 392
393 393 .comment-form {
394 394
395 395 .comment {
396 396 margin-left: 10px;
397 397 }
398 398
399 399 .comment-help {
400 400 color: @grey4;
401 401 padding: 5px 0 5px 0;
402 402 }
403 403
404 404 .comment-title {
405 405 padding: 5px 0 5px 0;
406 406 }
407 407
408 408 .comment-button {
409 409 display: inline-block;
410 410 }
411 411
412 412 .comment-button-input {
413 413 margin-right: 0;
414 414 }
415 415
416 416 .comment-footer {
417 417 margin-bottom: 110px;
418 418 margin-top: 10px;
419 419 }
420 420 }
421 421
422 422
423 423 .comment-form-login {
424 424 .comment-help {
425 425 padding: 0.9em; //same as the button
426 426 }
427 427
428 428 div.clearfix {
429 429 clear: both;
430 430 width: 100%;
431 431 display: block;
432 432 }
433 433 }
434 434
435 435 .comment-type {
436 436 margin: 0px;
437 437 border-radius: inherit;
438 438 border-color: @grey6;
439 439 }
440 440
441 441 .preview-box {
442 442 min-height: 105px;
443 443 margin-bottom: 15px;
444 444 background-color: white;
445 445 .border-radius(@border-radius);
446 446 .box-sizing(border-box);
447 447 }
448 448
449 449 .add-another-button {
450 450 margin-left: 10px;
451 451 margin-top: 10px;
452 452 margin-bottom: 10px;
453 453 }
454 454
455 455 .comment .buttons {
456 456 float: right;
457 457 margin: -1px 0px 0px 0px;
458 458 }
459 459
460 460 // Inline Comment Form
461 461 .injected_diff .comment-inline-form,
462 462 .comment-inline-form {
463 463 background-color: white;
464 464 margin-top: 10px;
465 465 margin-bottom: 20px;
466 466 }
467 467
468 468 .inline-form {
469 469 padding: 10px 7px;
470 470 }
471 471
472 472 .inline-form div {
473 473 max-width: 100%;
474 474 }
475 475
476 476 .overlay {
477 477 display: none;
478 478 position: absolute;
479 479 width: 100%;
480 480 text-align: center;
481 481 vertical-align: middle;
482 482 font-size: 16px;
483 483 background: none repeat scroll 0 0 white;
484 484
485 485 &.submitting {
486 486 display: block;
487 487 opacity: 0.5;
488 488 z-index: 100;
489 489 }
490 490 }
491 491 .comment-inline-form .overlay.submitting .overlay-text {
492 492 margin-top: 5%;
493 493 }
494 494
495 495 .comment-inline-form .clearfix,
496 496 .comment-form .clearfix {
497 497 .border-radius(@border-radius);
498 498 margin: 0px;
499 499 }
500 500
501 501 .comment-inline-form .comment-footer {
502 502 margin: 10px 0px 0px 0px;
503 503 }
504 504
505 505 .hide-inline-form-button {
506 506 margin-left: 5px;
507 507 }
508 508 .comment-button .hide-inline-form {
509 509 background: white;
510 510 }
511 511
512 512 .comment-area {
513 513 padding: 8px 12px;
514 514 border: 1px solid @grey5;
515 515 .border-radius(@border-radius);
516 516
517 517 .resolve-action {
518 518 padding: 1px 0px 0px 6px;
519 519 }
520 520
521 521 }
522 522
523 523 .comment-area-header .nav-links {
524 524 display: flex;
525 525 flex-flow: row wrap;
526 526 -webkit-flex-flow: row wrap;
527 527 width: 100%;
528 528 }
529 529
530 530 .comment-area-footer {
531 531 display: flex;
532 532 }
533 533
534 534 .comment-footer .toolbar {
535 535
536 536 }
537 537
538 538 .nav-links {
539 539 padding: 0;
540 540 margin: 0;
541 541 list-style: none;
542 542 height: auto;
543 543 border-bottom: 1px solid @grey5;
544 544 }
545 545 .nav-links li {
546 546 display: inline-block;
547 547 }
548 548 .nav-links li:before {
549 549 content: "";
550 550 }
551 551 .nav-links li a.disabled {
552 552 cursor: not-allowed;
553 553 }
554 554
555 555 .nav-links li.active a {
556 556 border-bottom: 2px solid @rcblue;
557 557 color: #000;
558 558 font-weight: 600;
559 559 }
560 560 .nav-links li a {
561 561 display: inline-block;
562 562 padding: 0px 10px 5px 10px;
563 563 margin-bottom: -1px;
564 564 font-size: 14px;
565 565 line-height: 28px;
566 566 color: #8f8f8f;
567 567 border-bottom: 2px solid transparent;
568 568 }
569 569
570 570 .toolbar-text {
571 571 float: left;
572 572 margin: -5px 0px 0px 0px;
573 573 font-size: 12px;
574 574 }
575 575
@@ -1,139 +1,139 b''
1 1 .deform {
2 2
3 3 * {
4 4 box-sizing: border-box;
5 5 }
6 6
7 7 .required:after {
8 8 color: #e32;
9 9 content: '*';
10 10 display:inline;
11 11 }
12 12
13 13 .control-label {
14 14 width: 200px;
15 15 padding: 10px 0px;
16 16 float: left;
17 17 }
18 18 .control-inputs {
19 19 width: 400px;
20 20 float: left;
21 21 }
22 22 .form-group .radio, .form-group .checkbox {
23 23 position: relative;
24 24 display: block;
25 25 /* margin-bottom: 10px; */
26 26 }
27 27
28 28 .form-group {
29 29 clear: left;
30 30 margin-bottom: 20px;
31 31
32 32 &:after { /* clear fix */
33 33 content: " ";
34 34 display: block;
35 35 clear: left;
36 36 }
37 37 }
38 38
39 39 .form-control {
40 40 width: 100%;
41 41 padding: 0.9em;
42 42 border: 1px solid #979797;
43 43 border-radius: 2px;
44 44 }
45 45 .form-control.select2-container {
46 46 padding: 0; /* padding already applied in .drop-menu a */
47 47 }
48 48
49 49 .form-control.readonly {
50 50 background: #eeeeee;
51 51 cursor: not-allowed;
52 52 }
53 53
54 54 .error-block {
55 55 color: red;
56 56 margin: 0;
57 57 }
58 58
59 59 .help-block {
60 60 margin: 0;
61 61 }
62 62
63 63 .deform-seq-container .control-inputs {
64 64 width: 100%;
65 65 }
66 66
67 67 .deform-seq-container .deform-seq-item-handle {
68 68 width: 8.3%;
69 69 float: left;
70 70 }
71 71
72 72 .deform-seq-container .deform-seq-item-group {
73 73 width: 91.6%;
74 74 float: left;
75 75 }
76 76
77 77 .form-control {
78 78 input {
79 79 height: 40px;
80 80 }
81 81 input[type=checkbox], input[type=radio] {
82 82 height: auto;
83 83 }
84 84 select {
85 85 height: 40px;
86 86 }
87 87 }
88 88
89 89 .form-control.select2-container {
90 90 height: 40px;
91 91 }
92 92
93 93 .deform-full-field-sequence.control-inputs {
94 94 width: 100%;
95 95 }
96 96
97 97 .deform-table-sequence {
98 98 .deform-seq-container {
99 99 .deform-seq-item {
100 100 margin: 0;
101 101 label {
102 102 display: none;
103 103 }
104 104 .panel-heading {
105 105 display: none;
106 106 }
107 107 .deform-seq-item-group > .panel {
108 108 padding: 0;
109 109 margin: 5px 0;
110 110 border: none;
111 111 &> .panel-body {
112 112 padding: 0;
113 113 }
114 114 }
115 115 &:first-child label {
116 116 display: block;
117 117 }
118 118 }
119 119 }
120 120 }
121 121 .deform-table-2-sequence {
122 122 .deform-seq-container {
123 123 .deform-seq-item {
124 124 .form-group {
125 width: 45% !important; padding: 0 2px; float: left; clear: none;
125 width: 45% padding: 0 2px; float: left; clear: none;
126 126 }
127 127 }
128 128 }
129 129 }
130 130 .deform-table-3-sequence {
131 131 .deform-seq-container {
132 132 .deform-seq-item {
133 133 .form-group {
134 width: 30% !important; padding: 0 2px; float: left; clear: none;
134 width: 30% padding: 0 2px; float: left; clear: none;
135 135 }
136 136 }
137 137 }
138 138 }
139 139 }
@@ -1,100 +1,100 b''
1 1 div.diffblock .code-header .changeset_header > div {
2 2 margin: 0 @padding;
3 3 }
4 4
5 5
6 6 // Line select and comment
7 7 div.diffblock.margined.comm tr {
8 8 td {
9 9 // IMPORTANT - never position:relative this as it causes insanely
10 10 // slow rendering
11 11 }
12 12
13 13 .add-comment-line {
14 14 // Force td width for Firefox
15 15 width: 20px;
16 16
17 17 // TODO: anderson: fixing mouse-over bug.
18 18 // why was it vertical-align baseline in first place??
19 vertical-align: top !important;
19 vertical-align: top;
20 20 // Force width and display for IE 9
21 21 .add-comment-content {
22 22 display: inline-block;
23 23 width: 20px;
24 24
25 25 a {
26 26 display: none;
27 27 margin-top: 2px;
28 28 margin-left: 2px;
29 29 color: @grey3;
30 30 }
31 31 }
32 32 }
33 33
34 34 .comment-toggle {
35 35 position: relative;
36 36 min-width: 20px;
37 37 width: 20px;
38 38 color: @rcblue;
39 39
40 40 .icon-comment {
41 41 position: absolute;
42 42 top: 2px;
43 43 left: 0;
44 44 z-index: 100;
45 45 visibility: hidden;
46 46 }
47 47
48 48 &.active {
49 49 .icon-comment{
50 50 visibility: visible;
51 51 }
52 52 cursor: pointer;
53 53 }
54 54 }
55 55
56 56 &.line {
57 57 &:hover, &.hover{
58 58 .add-comment-line a{
59 59 display: inline;
60 60 }
61 61 }
62 62
63 63 &.hover, &.selected {
64 64 &, del, ins {
65 background-color: lighten(@alert3, 10%) !important;
65 background-color: lighten(@alert3, 10%);
66 66 }
67 67 }
68 68
69 69 &.commenting {
70 70 &, del, ins {
71 background-image: none !important;
72 background-color: lighten(@alert4, 10%) !important;
71 background-image: none;
72 background-color: lighten(@alert4, 10%);
73 73 }
74 74 }
75 75 }
76 76 }
77 77
78 78 .compare-header {
79 79 overflow-x: auto;
80 80 overflow-y: hidden;
81 81 clear: both;
82 82 padding: @padding;
83 83 background: @grey6;
84 84 border: @border-thickness solid @border-default-color;
85 85 .border-radius(@border-radius);
86 86
87 87 .compare-value,
88 88 .compare-label {
89 89 float: left;
90 90 display: inline-block;
91 91 min-width: 5em;
92 92 margin: 0;
93 93 padding: 0.9em 0.9em 0.9em 0;
94 94 }
95 95
96 96 .compare-label {
97 97 clear: both;
98 98 font-family: @text-semibold;
99 99 }
100 100 }
@@ -1,88 +1,88 b''
1 1 //--- RESETS ---//
2 2 :focus { outline: none; }
3 3 a { cursor: pointer; }
4 4
5 5 //--- clearfix --//
6 6 .clearfix {
7 7 &:before,
8 8 &:after {
9 9 content:"";
10 10 width: 100%;
11 11 clear: both;
12 12 float: left;
13 13 }
14 14 }
15 15
16 16 .clearinner:after { /* clears all floating divs inside a block */
17 17 content: "";
18 18 display: table;
19 19 clear: both;
20 20 }
21 21
22 22 .js-template { /* mark a template for javascript use */
23 23 display: none;
24 24 }
25 25
26 26 .linebreak {
27 27 display: block;
28 28 }
29 29
30 30 .pull-right {
31 float: right !important;
31 float: right;
32 32 }
33 33
34 34 .pull-left {
35 float: left !important;
35 float: left;
36 36 }
37 37
38 38 .block-left {
39 39 float: left;
40 40 }
41 41
42 42 .block-right {
43 43 float: right;
44 44 clear: right;
45 45
46 46 li:before { content:none; }
47 47 }
48 48
49 49 //--- DEVICE-SPECIFIC CLASSES ---------------//
50 50 //regular tablet and up
51 51 @media (min-width:768px) {
52 52 .no-mobile {
53 53 display: block;
54 54 }
55 55 .mobile-only {
56 56 display: none;
57 57 }
58 58 }
59 59 //small tablet and phone
60 60 @media (max-width:767px) {
61 61 .mobile-only {
62 62 display: block;
63 63 }
64 64 .no-mobile {
65 65 display: none;
66 66 }
67 67 }
68 68
69 69 //--- STICKY FOOTER ---//
70 70 html, body {
71 71 height: 100%;
72 72 margin: 0;
73 73 }
74 74 .outerwrapper {
75 75 height: 100%;
76 76 min-height: 100%;
77 77 margin: 0;
78 78 padding-bottom: 3em; /* must be equal to footer height */
79 79 }
80 80 .outerwrapper:after{
81 81 content:" ";
82 82 }
83 83 #footer {
84 84 clear: both;
85 85 position: relative;
86 86 height: 3em; /* footer height */
87 87 margin: -3em 0 0; /* must be equal to footer height */
88 88 }
@@ -1,374 +1,374 b''
1 1
2 2 /** MODAL **/
3 3 .modal-open {
4 4 overflow:hidden;
5 5 }
6 6 body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
7 7 margin-right:15px;
8 8 }
9 9 .modal {
10 10 position:fixed;
11 11 top:0;
12 12 right:0;
13 13 bottom:0;
14 14 left:0;
15 15 z-index:1040;
16 16 display:none;
17 17 overflow-y:scroll;
18 18 &.fade .modal-dialog {
19 19 -webkit-transform:translate(0,-25%);
20 20 -ms-transform:translate(0,-25%);
21 21 transform:translate(0,-25%);
22 22 -webkit-transition:-webkit-transform 0.3s ease-out;
23 23 -moz-transition:-moz-transform 0.3s ease-out;
24 24 -o-transition:-o-transform 0.3s ease-out;
25 25 transition:transform 0.3s ease-out;
26 26 }
27 27 &.in .modal-dialog {
28 28 -webkit-transform:translate(0,0);
29 29 -ms-transform:translate(0,0);
30 30 transform:translate(0,0);
31 31 }
32 32 }
33 33 .modal-dialog {
34 34 z-index:1050;
35 35 width:auto;
36 36 padding:10px;
37 37 margin-right:auto;
38 38 margin-left:auto;
39 39 }
40 40 .modal-content {
41 41 position:relative;
42 42 background-color:#ffffff;
43 43 border: @border-thickness solid rgba(0,0,0,0.2);
44 44 .border-radius(@border-radius);
45 45 outline:none;
46 46 -webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);
47 47 box-shadow:0 3px 9px rgba(0,0,0,0.5);
48 48 background-clip:padding-box;
49 49 }
50 50 .modal-backdrop {
51 51 position:fixed;
52 52 top:0;
53 53 right:0;
54 54 bottom:0;
55 55 left:0;
56 56 z-index:1030;
57 57 background-color:#000000;
58 58
59 59 &.modal-backdrop.fade {
60 60 opacity:0;
61 61 filter:alpha(opacity=0);
62 62 }
63 63 &.in {
64 64 opacity:0.5;
65 65 filter:alpha(opacity=50);
66 66 }
67 67 }
68 68 .modal-header {
69 69 min-height:16.428571429px;
70 70 padding:15px;
71 71 border-bottom: @border-thickness solid @grey6;
72 72 .close {
73 73 margin-top:-2px;
74 74 }
75 75 }
76 76 .modal-title {
77 77 margin:0;
78 78 line-height:1.428571429;
79 79 }
80 80 .modal-body {
81 81 position:relative;
82 82 padding:20px;
83 83 }
84 84 .modal-footer {
85 85 padding:19px 20px 20px;
86 86 margin-top:15px;
87 87 text-align:right;
88 88 border-top:1px solid #e5e5e5;
89 89 .btn + .btn {
90 90 margin-bottom:0;
91 91 margin-left:5px;
92 92 }
93 93 .btn-group .btn + .btn {
94 94 margin-left:-1px;
95 95 }
96 96 .btn-block + .btn-block {
97 97 margin-left:0;
98 98 }
99 99 &:before {
100 100 display:table;
101 101 content:" ";
102 102 }
103 103 &:after {
104 104 display:table;
105 105 content:" ";
106 106 clear:both;
107 107 }
108 108 }
109 109
110 110 /** MARKDOWN styling **/
111 111 div.markdown-block {
112 112 clear: both;
113 113 overflow: hidden;
114 114 margin: 0;
115 115 padding: 3px 15px 3px;
116 116 }
117 117
118 118 div.markdown-block h1,
119 119 div.markdown-block h2,
120 120 div.markdown-block h3,
121 121 div.markdown-block h4,
122 122 div.markdown-block h5,
123 123 div.markdown-block h6 {
124 border-bottom: none !important;
125 padding: 0 !important;
126 overflow: visible !important;
124 border-bottom: none;
125 padding: 0;
126 overflow: visible;
127 127 }
128 128
129 129 div.markdown-block h1 {
130 130 font-size: 32px;
131 margin: 15px 0 15px 0 !important;
132 padding-bottom: 5px !important;
131 margin: 15px 0 15px 0;
132 padding-bottom: 5px;
133 133 }
134 134
135 135 div.markdown-block h2 {
136 font-size: 24px !important;
137 margin: 34px 0 10px 0 !important;
138 border-top: 3px #e6e5e5 solid !important;
139 padding-top: 15px !important;
140 padding-bottom: 8px !important;
136 font-size: 24px;
137 margin: 34px 0 10px 0;
138 border-top: 3px #e6e5e5 solid;
139 padding-top: 15px;
140 padding-bottom: 8px;
141 141 }
142 142
143 143 div.markdown-block h3 {
144 font-size: 18px !important;
145 margin: 30px 0 8px 0 !important;
146 padding-bottom: 2px !important;
144 font-size: 18px;
145 margin: 30px 0 8px 0;
146 padding-bottom: 2px;
147 147 }
148 148
149 149 div.markdown-block h4 {
150 font-size: 13px !important;
151 margin: 18px 0 3px 0 !important;
150 font-size: 13px;
151 margin: 18px 0 3px 0;
152 152 }
153 153
154 154 div.markdown-block h5 {
155 font-size: 12px !important;
156 margin: 15px 0 3px 0 !important;
155 font-size: 12px;
156 margin: 15px 0 3px 0;
157 157 }
158 158
159 159 div.markdown-block h6 {
160 160 font-size: 12px;
161 161 color: #777777;
162 margin: 15px 0 3px 0 !important;
162 margin: 15px 0 3px 0;
163 163 }
164 164
165 165 div.markdown-block hr {
166 166 border: 0;
167 167 color: #e6e5e5;
168 168 background-color: #e6e5e5;
169 169 height: 3px;
170 170 margin-bottom: 13px;
171 171 }
172 172
173 173 div.markdown-block ol,
174 174 div.markdown-block ul,
175 175 div.markdown-block p,
176 176 div.markdown-block blockquote,
177 177 div.markdown-block dl,
178 178 div.markdown-block li,
179 179 div.markdown-block table {
180 margin: 3px 0px 13px 0px !important;
181 color: #424242 !important;
182 font-size: 13px !important;
183 font-family: "Helvetica" !important;
184 font-weight: normal !important;
185 overflow: visible !important;
186 line-height: 140% !important;
180 margin: 3px 0px 13px 0px;
181 color: #424242;
182 font-size: 13px;
183 font-family: "Helvetica";
184 font-weight: normal ;
185 overflow: visible;
186 line-height: 140%;
187 187 }
188 188
189 189 div.markdown-block pre {
190 margin: 3px 0px 13px 0px !important;
190 margin: 3px 0px 13px 0px;
191 191 padding: .5em;
192 color: #424242 !important;
193 font-size: 13px !important;
194 overflow: visible !important;
195 line-height: 140% !important;
192 color: #424242;
193 font-size: 13px;
194 overflow: visible;
195 line-height: 140%;
196 196 background-color: @grey7;
197 197 }
198 198
199 199 div.markdown-block img {
200 200 border-style: none;
201 201 background-color: #fff;
202 202 }
203 203
204 204
205 205 div.markdown-block strong {
206 206 font-weight: 600;
207 207 margin: 0;
208 208 }
209 209
210 210 div.markdown-block ul,
211 211 div.markdown-block ol {
212 padding-left: 30px !important;
213 margin-top: 0px !important;
214 margin-bottom: 18px !important;
212 padding-left: 30px;
213 margin-top: 0px;
214 margin-bottom: 18px;
215 215 }
216 216
217 217 div.markdown-block ul li,
218 218 div.markdown-block ol li {
219 list-style: disc !important;
220 margin: 6px !important;
221 padding: 0 !important;
219 list-style: disc;
220 margin: 6px;
221 padding: 0;
222 222 }
223 223
224 224 div.markdown-block ol li {
225 list-style: decimal !important;
225 list-style: decimal;
226 226 }
227 227
228 228 /*
229 229 div.markdown-block a,
230 230 div.markdown-block a:visited {
231 color: #4183C4 !important;
231 color: #4183C4;
232 232 background-color: inherit;
233 233 text-decoration: none;
234 234 }
235 235 */
236 236
237 237 div.markdown-block #message {
238 238 .border-radius(@border-radius);
239 239 border: @border-thickness solid @grey5;
240 240 display: block;
241 241 width: 100%;
242 242 height: 60px;
243 243 margin: 6px 0px;
244 244 }
245 245
246 246 div.markdown-block button,
247 247 div.markdown-block #ws {
248 248 font-size: @basefontsize;
249 249 padding: 4px 6px;
250 250 .border-radius(@border-radius);
251 251 border: @border-thickness solid @grey5;
252 252 background-color: @grey6;
253 253 }
254 254
255 255 div.markdown-block code,
256 256 div.markdown-block pre,
257 257 div.markdown-block #ws,
258 258 div.markdown-block #message {
259 259 font-family: Monaco;
260 260 font-size: 11px;
261 261 .border-radius(@border-radius);
262 262 background-color: white;
263 263 color: @grey3;
264 264 }
265 265
266 266
267 267 div.markdown-block code {
268 268 border: @border-thickness solid @grey6;
269 269 margin: 0 2px;
270 270 padding: 0 5px;
271 271 }
272 272
273 273 div.markdown-block pre {
274 274 border: @border-thickness solid @grey5;
275 275 overflow: auto;
276 276 padding: .5em;
277 277 background-color: @grey7;
278 278 }
279 279
280 280 div.markdown-block pre > code {
281 281 border: 0;
282 282 margin: 0;
283 283 padding: 0;
284 284 }
285 285
286 286 /** RST STYLE **/
287 287 div.rst-block {
288 288 clear: both;
289 289 overflow: hidden;
290 290 margin: 0;
291 291 padding: 3px 15px 3px;
292 292 }
293 293
294 294 div.rst-block h2 {
295 295 font-weight: normal;
296 296 }
297 297
298 298 div.rst-block h1,
299 299 div.rst-block h2,
300 300 div.rst-block h3,
301 301 div.rst-block h4,
302 302 div.rst-block h5,
303 303 div.rst-block h6 {
304 border-bottom: 0 !important;
305 margin: 0 !important;
306 padding: 0 !important;
307 line-height: 1.5em !important;
304 border-bottom: 0;
305 margin: 0;
306 padding: 0;
307 line-height: 1.5em;
308 308 }
309 309
310 310
311 311 div.rst-block h1:first-child {
312 padding-top: .25em !important;
312 padding-top: .25em;
313 313 }
314 314
315 315 div.rst-block h2,
316 316 div.rst-block h3 {
317 margin: 1em 0 !important;
317 margin: 1em 0;
318 318 }
319 319
320 320 div.rst-block h2 {
321 margin-top: 1.5em !important;
322 border-top: 4px solid #e0e0e0 !important;
323 padding-top: .5em !important;
321 margin-top: 1.5em;
322 border-top: 4px solid #e0e0e0;
323 padding-top: .5em;
324 324 }
325 325
326 326 div.rst-block p {
327 color: black !important;
328 margin: 1em 0 !important;
329 line-height: 1.5em !important;
327 color: black;
328 margin: 1em 0;
329 line-height: 1.5em;
330 330 }
331 331
332 332 div.rst-block ul {
333 list-style: disc !important;
334 margin: 1em 0 1em 2em !important;
333 list-style: disc;
334 margin: 1em 0 1em 2em;
335 335 clear: both;
336 336 }
337 337
338 338 div.rst-block ol {
339 339 list-style: decimal;
340 margin: 1em 0 1em 2em !important;
340 margin: 1em 0 1em 2em;
341 341 }
342 342
343 343 div.rst-block pre,
344 344 div.rst-block code {
345 345 font: 12px "Bitstream Vera Sans Mono","Courier",monospace;
346 346 }
347 347
348 348 div.rst-block code {
349 font-size: 12px !important;
350 background-color: ghostWhite !important;
351 color: #444 !important;
352 padding: 0 .2em !important;
353 border: 1px solid #dedede !important;
349 font-size: 12px;
350 background-color: ghostWhite;
351 color: #444;
352 padding: 0 .2em;
353 border: 1px solid #dedede;
354 354 }
355 355
356 356 div.rst-block pre code {
357 padding: 0 !important;
358 font-size: 12px !important;
359 background-color: #eee !important;
360 border: none !important;
357 padding: 0;
358 font-size: 12px;
359 background-color: #eee;
360 border: none;
361 361 }
362 362
363 363 div.rst-block pre {
364 364 margin: 1em 0;
365 365 padding: @padding;
366 366 border: 1px solid @grey6;
367 367 .border-radius(@border-radius);
368 368 overflow: auto;
369 369 font-size: 12px;
370 370 color: #444;
371 371 background-color: @grey7;
372 372 }
373 373
374 374
@@ -1,2466 +1,2466 b''
1 1 //Primary CSS
2 2
3 3 //--- IMPORTS ------------------//
4 4
5 5 @import 'helpers';
6 6 @import 'mixins';
7 7 @import 'rcicons';
8 8 @import 'fonts';
9 9 @import 'variables';
10 10 @import 'bootstrap-variables';
11 11 @import 'form-bootstrap';
12 12 @import 'codemirror';
13 13 @import 'legacy_code_styles';
14 14 @import 'readme-box';
15 15 @import 'progress-bar';
16 16
17 17 @import 'type';
18 18 @import 'alerts';
19 19 @import 'buttons';
20 20 @import 'tags';
21 21 @import 'code-block';
22 22 @import 'examples';
23 23 @import 'login';
24 24 @import 'main-content';
25 25 @import 'select2';
26 26 @import 'comments';
27 27 @import 'panels-bootstrap';
28 28 @import 'panels';
29 29 @import 'deform';
30 30
31 31 //--- BASE ------------------//
32 32 .noscript-error {
33 33 top: 0;
34 34 left: 0;
35 35 width: 100%;
36 36 z-index: 101;
37 37 text-align: center;
38 38 font-family: @text-semibold;
39 39 font-size: 120%;
40 40 color: white;
41 41 background-color: @alert2;
42 42 padding: 5px 0 5px 0;
43 43 }
44 44
45 45 html {
46 46 display: table;
47 47 height: 100%;
48 48 width: 100%;
49 49 }
50 50
51 51 body {
52 52 display: table-cell;
53 53 width: 100%;
54 54 }
55 55
56 56 //--- LAYOUT ------------------//
57 57
58 58 .hidden{
59 display: none !important;
59 display: none;
60 60 }
61 61
62 62 .box{
63 63 float: left;
64 64 width: 100%;
65 65 }
66 66
67 67 .browser-header {
68 68 clear: both;
69 69 }
70 70 .main {
71 71 clear: both;
72 72 padding:0 0 @pagepadding;
73 73 height: auto;
74 74
75 75 &:after { //clearfix
76 76 content:"";
77 77 clear:both;
78 78 width:100%;
79 79 display:block;
80 80 }
81 81 }
82 82
83 83 .action-link{
84 84 margin-left: @padding;
85 85 padding-left: @padding;
86 86 border-left: @border-thickness solid @border-default-color;
87 87 }
88 88
89 89 input + .action-link, .action-link.first{
90 90 border-left: none;
91 91 }
92 92
93 93 .action-link.last{
94 94 margin-right: @padding;
95 95 padding-right: @padding;
96 96 }
97 97
98 98 .action-link.active,
99 99 .action-link.active a{
100 100 color: @grey4;
101 101 }
102 102
103 103 .action-link.disabled {
104 104 color: @grey4;
105 105 cursor: inherit;
106 106 }
107 107
108 108 .clipboard-action {
109 109 cursor: pointer;
110 110 }
111 111
112 112 ul.simple-list{
113 113 list-style: none;
114 114 margin: 0;
115 115 padding: 0;
116 116 }
117 117
118 118 .main-content {
119 119 padding-bottom: @pagepadding;
120 120 }
121 121
122 122 .wide-mode-wrapper {
123 max-width:4000px !important;
123 max-width:4000px;
124 124 }
125 125
126 126 .wrapper {
127 127 position: relative;
128 128 max-width: @wrapper-maxwidth;
129 129 margin: 0 auto;
130 130 }
131 131
132 132 #content {
133 133 clear: both;
134 134 padding: 0 @contentpadding;
135 135 }
136 136
137 137 .advanced-settings-fields{
138 138 input{
139 139 margin-left: @textmargin;
140 140 margin-right: @padding/2;
141 141 }
142 142 }
143 143
144 144 .cs_files_title {
145 145 margin: @pagepadding 0 0;
146 146 }
147 147
148 148 input.inline[type="file"] {
149 149 display: inline;
150 150 }
151 151
152 152 .error_page {
153 153 margin: 10% auto;
154 154
155 155 h1 {
156 156 color: @grey2;
157 157 }
158 158
159 159 .alert {
160 160 margin: @padding 0;
161 161 }
162 162
163 163 .error-branding {
164 164 font-family: @text-semibold;
165 165 color: @grey4;
166 166 }
167 167
168 168 .error_message {
169 169 font-family: @text-regular;
170 170 }
171 171
172 172 .sidebar {
173 173 min-height: 275px;
174 174 margin: 0;
175 175 padding: 0 0 @sidebarpadding @sidebarpadding;
176 176 border: none;
177 177 }
178 178
179 179 .main-content {
180 180 position: relative;
181 181 margin: 0 @sidebarpadding @sidebarpadding;
182 182 padding: 0 0 0 @sidebarpadding;
183 183 border-left: @border-thickness solid @grey5;
184 184
185 185 @media (max-width:767px) {
186 186 clear: both;
187 187 width: 100%;
188 188 margin: 0;
189 189 border: none;
190 190 }
191 191 }
192 192
193 193 .inner-column {
194 194 float: left;
195 195 width: 29.75%;
196 196 min-height: 150px;
197 197 margin: @sidebarpadding 2% 0 0;
198 198 padding: 0 2% 0 0;
199 199 border-right: @border-thickness solid @grey5;
200 200
201 201 @media (max-width:767px) {
202 202 clear: both;
203 203 width: 100%;
204 204 border: none;
205 205 }
206 206
207 207 ul {
208 208 padding-left: 1.25em;
209 209 }
210 210
211 211 &:last-child {
212 212 margin: @sidebarpadding 0 0;
213 213 border: none;
214 214 }
215 215
216 216 h4 {
217 217 margin: 0 0 @padding;
218 218 font-family: @text-semibold;
219 219 }
220 220 }
221 221 }
222 222 .error-page-logo {
223 223 width: 130px;
224 224 height: 160px;
225 225 }
226 226
227 227 // HEADER
228 228 .header {
229 229
230 230 // TODO: johbo: Fix login pages, so that they work without a min-height
231 231 // for the header and then remove the min-height. I chose a smaller value
232 232 // intentionally here to avoid rendering issues in the main navigation.
233 233 min-height: 49px;
234 234
235 235 position: relative;
236 236 vertical-align: bottom;
237 237 padding: 0 @header-padding;
238 238 background-color: @grey2;
239 239 color: @grey5;
240 240
241 241 .title {
242 242 overflow: visible;
243 243 }
244 244
245 245 &:before,
246 246 &:after {
247 247 content: "";
248 248 clear: both;
249 249 width: 100%;
250 250 }
251 251
252 252 // TODO: johbo: Avoids breaking "Repositories" chooser
253 253 .select2-container .select2-choice .select2-arrow {
254 254 display: none;
255 255 }
256 256 }
257 257
258 258 #header-inner {
259 259 &.title {
260 260 margin: 0;
261 261 }
262 262 &:before,
263 263 &:after {
264 264 content: "";
265 265 clear: both;
266 266 }
267 267 }
268 268
269 269 // Gists
270 270 #files_data {
271 271 clear: both; //for firefox
272 272 }
273 273 #gistid {
274 274 margin-right: @padding;
275 275 }
276 276
277 277 // Global Settings Editor
278 278 .textarea.editor {
279 279 float: left;
280 280 position: relative;
281 281 max-width: @texteditor-width;
282 282
283 283 select {
284 284 position: absolute;
285 285 top:10px;
286 286 right:0;
287 287 }
288 288
289 289 .CodeMirror {
290 290 margin: 0;
291 291 }
292 292
293 293 .help-block {
294 294 margin: 0 0 @padding;
295 295 padding:.5em;
296 296 background-color: @grey6;
297 297 &.pre-formatting {
298 298 white-space: pre;
299 299 }
300 300 }
301 301 }
302 302
303 303 ul.auth_plugins {
304 304 margin: @padding 0 @padding @legend-width;
305 305 padding: 0;
306 306
307 307 li {
308 308 margin-bottom: @padding;
309 309 line-height: 1em;
310 310 list-style-type: none;
311 311
312 312 .auth_buttons .btn {
313 313 margin-right: @padding;
314 314 }
315 315
316 316 &:before { content: none; }
317 317 }
318 318 }
319 319
320 320
321 321 // My Account PR list
322 322
323 323 #show_closed {
324 324 margin: 0 1em 0 0;
325 325 }
326 326
327 327 .pullrequestlist {
328 328 .closed {
329 329 background-color: @grey6;
330 330 }
331 331 .td-status {
332 332 padding-left: .5em;
333 333 }
334 334 .log-container .truncate {
335 335 height: 2.75em;
336 336 white-space: pre-line;
337 337 }
338 338 table.rctable .user {
339 339 padding-left: 0;
340 340 }
341 341 table.rctable {
342 342 td.td-description,
343 343 .rc-user {
344 344 min-width: auto;
345 345 }
346 346 }
347 347 }
348 348
349 349 // Pull Requests
350 350
351 351 .pullrequests_section_head {
352 352 display: block;
353 353 clear: both;
354 354 margin: @padding 0;
355 355 font-family: @text-bold;
356 356 }
357 357
358 358 .pr-origininfo, .pr-targetinfo {
359 359 position: relative;
360 360
361 361 .tag {
362 362 display: inline-block;
363 363 margin: 0 1em .5em 0;
364 364 }
365 365
366 366 .clone-url {
367 367 display: inline-block;
368 368 margin: 0 0 .5em 0;
369 369 padding: 0;
370 370 line-height: 1.2em;
371 371 }
372 372 }
373 373
374 374 .pr-mergeinfo {
375 min-width: 95% !important;
376 padding: 0 !important;
375 min-width: 95%;
376 padding: 0;
377 377 border: 0;
378 378 }
379 379 .pr-mergeinfo-copy {
380 380 padding: 0 0;
381 381 }
382 382
383 383 .pr-pullinfo {
384 min-width: 95% !important;
385 padding: 0 !important;
384 min-width: 95%;
385 padding: 0;
386 386 border: 0;
387 387 }
388 388 .pr-pullinfo-copy {
389 389 padding: 0 0;
390 390 }
391 391
392 392
393 393 #pr-title-input {
394 394 width: 72%;
395 395 font-size: 1em;
396 396 font-family: @text-bold;
397 397 margin: 0;
398 398 padding: 0 0 0 @padding/4;
399 399 line-height: 1.7em;
400 400 color: @text-color;
401 401 letter-spacing: .02em;
402 402 }
403 403
404 404 #pullrequest_title {
405 405 width: 100%;
406 406 box-sizing: border-box;
407 407 }
408 408
409 409 #pr_open_message {
410 410 border: @border-thickness solid #fff;
411 411 border-radius: @border-radius;
412 412 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
413 413 text-align: left;
414 414 overflow: hidden;
415 415 }
416 416
417 417 .pr-submit-button {
418 418 float: right;
419 419 margin: 0 0 0 5px;
420 420 }
421 421
422 422 .pr-spacing-container {
423 423 padding: 20px;
424 424 clear: both
425 425 }
426 426
427 427 #pr-description-input {
428 428 margin-bottom: 0;
429 429 }
430 430
431 431 .pr-description-label {
432 432 vertical-align: top;
433 433 }
434 434
435 435 .perms_section_head {
436 436 min-width: 625px;
437 437
438 438 h2 {
439 439 margin-bottom: 0;
440 440 }
441 441
442 442 .label-checkbox {
443 443 float: left;
444 444 }
445 445
446 446 &.field {
447 447 margin: @space 0 @padding;
448 448 }
449 449
450 450 &:first-child.field {
451 451 margin-top: 0;
452 452
453 453 .label {
454 454 margin-top: 0;
455 455 padding-top: 0;
456 456 }
457 457
458 458 .radios {
459 459 padding-top: 0;
460 460 }
461 461 }
462 462
463 463 .radios {
464 464 position: relative;
465 465 width: 505px;
466 466 }
467 467 }
468 468
469 469 //--- MODULES ------------------//
470 470
471 471
472 472 // Server Announcement
473 473 #server-announcement {
474 474 width: 95%;
475 475 margin: @padding auto;
476 476 padding: @padding;
477 477 border-width: 2px;
478 478 border-style: solid;
479 479 .border-radius(2px);
480 480 font-family: @text-bold;
481 481
482 482 &.info { border-color: @alert4; background-color: @alert4-inner; }
483 483 &.warning { border-color: @alert3; background-color: @alert3-inner; }
484 484 &.error { border-color: @alert2; background-color: @alert2-inner; }
485 485 &.success { border-color: @alert1; background-color: @alert1-inner; }
486 486 &.neutral { border-color: @grey3; background-color: @grey6; }
487 487 }
488 488
489 489 // Fixed Sidebar Column
490 490 .sidebar-col-wrapper {
491 491 padding-left: @sidebar-all-width;
492 492
493 493 .sidebar {
494 494 width: @sidebar-width;
495 495 margin-left: -@sidebar-all-width;
496 496 }
497 497 }
498 498
499 499 .sidebar-col-wrapper.scw-small {
500 500 padding-left: @sidebar-small-all-width;
501 501
502 502 .sidebar {
503 503 width: @sidebar-small-width;
504 504 margin-left: -@sidebar-small-all-width;
505 505 }
506 506 }
507 507
508 508
509 509 // FOOTER
510 510 #footer {
511 511 padding: 0;
512 512 text-align: center;
513 513 vertical-align: middle;
514 514 color: @grey2;
515 515 background-color: @grey6;
516 516
517 517 p {
518 518 margin: 0;
519 519 padding: 1em;
520 520 line-height: 1em;
521 521 }
522 522
523 523 .server-instance { //server instance
524 524 display: none;
525 525 }
526 526
527 527 .title {
528 528 float: none;
529 529 margin: 0 auto;
530 530 }
531 531 }
532 532
533 533 button.close {
534 534 padding: 0;
535 535 cursor: pointer;
536 536 background: transparent;
537 537 border: 0;
538 538 .box-shadow(none);
539 539 -webkit-appearance: none;
540 540 }
541 541
542 542 .close {
543 543 float: right;
544 544 font-size: 21px;
545 545 font-family: @text-bootstrap;
546 546 line-height: 1em;
547 547 font-weight: bold;
548 548 color: @grey2;
549 549
550 550 &:hover,
551 551 &:focus {
552 552 color: @grey1;
553 553 text-decoration: none;
554 554 cursor: pointer;
555 555 }
556 556 }
557 557
558 558 // GRID
559 559 .sorting,
560 560 .sorting_desc,
561 561 .sorting_asc {
562 562 cursor: pointer;
563 563 }
564 564 .sorting_desc:after {
565 565 content: "\00A0\25B2";
566 566 font-size: .75em;
567 567 }
568 568 .sorting_asc:after {
569 569 content: "\00A0\25BC";
570 570 font-size: .68em;
571 571 }
572 572
573 573
574 574 .user_auth_tokens {
575 575
576 576 &.truncate {
577 577 white-space: nowrap;
578 578 overflow: hidden;
579 579 text-overflow: ellipsis;
580 580 }
581 581
582 582 .fields .field .input {
583 583 margin: 0;
584 584 }
585 585
586 586 input#description {
587 587 width: 100px;
588 588 margin: 0;
589 589 }
590 590
591 591 .drop-menu {
592 592 // TODO: johbo: Remove this, should work out of the box when
593 593 // having multiple inputs inline
594 594 margin: 0 0 0 5px;
595 595 }
596 596 }
597 597 #user_list_table {
598 598 .closed {
599 599 background-color: @grey6;
600 600 }
601 601 }
602 602
603 603
604 604 input {
605 605 &.disabled {
606 606 opacity: .5;
607 607 }
608 608 }
609 609
610 610 // remove extra padding in firefox
611 611 input::-moz-focus-inner { border:0; padding:0 }
612 612
613 613 .adjacent input {
614 614 margin-bottom: @padding;
615 615 }
616 616
617 617 .permissions_boxes {
618 618 display: block;
619 619 }
620 620
621 621 //TODO: lisa: this should be in tables
622 622 .show_more_col {
623 623 width: 20px;
624 624 }
625 625
626 626 //FORMS
627 627
628 628 .medium-inline,
629 629 input#description.medium-inline {
630 630 display: inline;
631 631 width: @medium-inline-input-width;
632 632 min-width: 100px;
633 633 }
634 634
635 635 select {
636 636 //reset
637 637 -webkit-appearance: none;
638 638 -moz-appearance: none;
639 639
640 640 display: inline-block;
641 641 height: 28px;
642 642 width: auto;
643 643 margin: 0 @padding @padding 0;
644 644 padding: 0 18px 0 8px;
645 645 line-height:1em;
646 646 font-size: @basefontsize;
647 647 border: @border-thickness solid @rcblue;
648 648 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
649 649 color: @rcblue;
650 650
651 651 &:after {
652 652 content: "\00A0\25BE";
653 653 }
654 654
655 655 &:focus {
656 656 outline: none;
657 657 }
658 658 }
659 659
660 660 option {
661 661 &:focus {
662 662 outline: none;
663 663 }
664 664 }
665 665
666 666 input,
667 667 textarea {
668 668 padding: @input-padding;
669 669 border: @input-border-thickness solid @border-highlight-color;
670 670 .border-radius (@border-radius);
671 671 font-family: @text-light;
672 672 font-size: @basefontsize;
673 673
674 674 &.input-sm {
675 675 padding: 5px;
676 676 }
677 677
678 678 &#description {
679 679 min-width: @input-description-minwidth;
680 680 min-height: 1em;
681 681 padding: 10px;
682 682 }
683 683 }
684 684
685 685 .field-sm {
686 686 input,
687 687 textarea {
688 688 padding: 5px;
689 689 }
690 690 }
691 691
692 692 textarea {
693 693 display: block;
694 694 clear: both;
695 695 width: 100%;
696 696 min-height: 100px;
697 697 margin-bottom: @padding;
698 698 .box-sizing(border-box);
699 699 overflow: auto;
700 700 }
701 701
702 702 label {
703 703 font-family: @text-light;
704 704 }
705 705
706 706 // GRAVATARS
707 707 // centers gravatar on username to the right
708 708
709 709 .gravatar {
710 710 display: inline;
711 711 min-width: 16px;
712 712 min-height: 16px;
713 713 margin: -5px 0;
714 714 padding: 0;
715 715 line-height: 1em;
716 716 border: 1px solid @grey4;
717 717 box-sizing: content-box;
718 718
719 719 &.gravatar-large {
720 720 margin: -0.5em .25em -0.5em 0;
721 721 }
722 722
723 723 & + .user {
724 724 display: inline;
725 725 margin: 0;
726 726 padding: 0 0 0 .17em;
727 727 line-height: 1em;
728 728 }
729 729 }
730 730
731 731 .user-inline-data {
732 732 display: inline-block;
733 733 float: left;
734 734 padding-left: .5em;
735 735 line-height: 1.3em;
736 736 }
737 737
738 738 .rc-user { // gravatar + user wrapper
739 739 float: left;
740 740 position: relative;
741 741 min-width: 100px;
742 742 max-width: 200px;
743 743 min-height: (@gravatar-size + @border-thickness * 2); // account for border
744 744 display: block;
745 745 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
746 746
747 747
748 748 .gravatar {
749 749 display: block;
750 750 position: absolute;
751 751 top: 0;
752 752 left: 0;
753 753 min-width: @gravatar-size;
754 754 min-height: @gravatar-size;
755 755 margin: 0;
756 756 }
757 757
758 758 .user {
759 759 display: block;
760 760 max-width: 175px;
761 761 padding-top: 2px;
762 762 overflow: hidden;
763 763 text-overflow: ellipsis;
764 764 }
765 765 }
766 766
767 767 .gist-gravatar,
768 768 .journal_container {
769 769 .gravatar-large {
770 770 margin: 0 .5em -10px 0;
771 771 }
772 772 }
773 773
774 774
775 775 // ADMIN SETTINGS
776 776
777 777 // Tag Patterns
778 778 .tag_patterns {
779 779 .tag_input {
780 780 margin-bottom: @padding;
781 781 }
782 782 }
783 783
784 784 .locked_input {
785 785 position: relative;
786 786
787 787 input {
788 788 display: inline;
789 789 margin: 3px 5px 0px 0px;
790 790 }
791 791
792 792 br {
793 793 display: none;
794 794 }
795 795
796 796 .error-message {
797 797 float: left;
798 798 width: 100%;
799 799 }
800 800
801 801 .lock_input_button {
802 802 display: inline;
803 803 }
804 804
805 805 .help-block {
806 806 clear: both;
807 807 }
808 808 }
809 809
810 810 // Notifications
811 811
812 812 .notifications_buttons {
813 813 margin: 0 0 @space 0;
814 814 padding: 0;
815 815
816 816 .btn {
817 817 display: inline-block;
818 818 }
819 819 }
820 820
821 821 .notification-list {
822 822
823 823 div {
824 824 display: inline-block;
825 825 vertical-align: middle;
826 826 }
827 827
828 828 .container {
829 829 display: block;
830 830 margin: 0 0 @padding 0;
831 831 }
832 832
833 833 .delete-notifications {
834 834 margin-left: @padding;
835 835 text-align: right;
836 836 cursor: pointer;
837 837 }
838 838
839 839 .read-notifications {
840 840 margin-left: @padding/2;
841 841 text-align: right;
842 842 width: 35px;
843 843 cursor: pointer;
844 844 }
845 845
846 846 .icon-minus-sign {
847 847 color: @alert2;
848 848 }
849 849
850 850 .icon-ok-sign {
851 851 color: @alert1;
852 852 }
853 853 }
854 854
855 855 .user_settings {
856 856 float: left;
857 857 clear: both;
858 858 display: block;
859 859 width: 100%;
860 860
861 861 .gravatar_box {
862 862 margin-bottom: @padding;
863 863
864 864 &:after {
865 865 content: " ";
866 866 clear: both;
867 867 width: 100%;
868 868 }
869 869 }
870 870
871 871 .fields .field {
872 872 clear: both;
873 873 }
874 874 }
875 875
876 876 .advanced_settings {
877 877 margin-bottom: @space;
878 878
879 879 .help-block {
880 880 margin-left: 0;
881 881 }
882 882
883 883 button + .help-block {
884 884 margin-top: @padding;
885 885 }
886 886 }
887 887
888 888 // admin settings radio buttons and labels
889 889 .label-2 {
890 890 float: left;
891 891 width: @label2-width;
892 892
893 893 label {
894 894 color: @grey1;
895 895 }
896 896 }
897 897 .checkboxes {
898 898 float: left;
899 899 width: @checkboxes-width;
900 900 margin-bottom: @padding;
901 901
902 902 .checkbox {
903 903 width: 100%;
904 904
905 905 label {
906 906 margin: 0;
907 907 padding: 0;
908 908 }
909 909 }
910 910
911 911 .checkbox + .checkbox {
912 912 display: inline-block;
913 913 }
914 914
915 915 label {
916 916 margin-right: 1em;
917 917 }
918 918 }
919 919
920 920 // CHANGELOG
921 921 .container_header {
922 922 float: left;
923 923 display: block;
924 924 width: 100%;
925 925 margin: @padding 0 @padding;
926 926
927 927 #filter_changelog {
928 928 float: left;
929 929 margin-right: @padding;
930 930 }
931 931
932 932 .breadcrumbs_light {
933 933 display: inline-block;
934 934 }
935 935 }
936 936
937 937 .info_box {
938 938 float: right;
939 939 }
940 940
941 941
942 942 #graph_nodes {
943 943 padding-top: 43px;
944 944 }
945 945
946 946 #graph_content{
947 947
948 948 // adjust for table headers so that graph renders properly
949 949 // #graph_nodes padding - table cell padding
950 950 padding-top: (@space - (@basefontsize * 2.4));
951 951
952 952 &.graph_full_width {
953 953 width: 100%;
954 954 max-width: 100%;
955 955 }
956 956 }
957 957
958 958 #graph {
959 959 .flag_status {
960 960 margin: 0;
961 961 }
962 962
963 963 .pagination-left {
964 964 float: left;
965 965 clear: both;
966 966 }
967 967
968 968 .log-container {
969 969 max-width: 345px;
970 970
971 971 .message{
972 972 max-width: 340px;
973 973 }
974 974 }
975 975
976 976 .graph-col-wrapper {
977 977 padding-left: 110px;
978 978
979 979 #graph_nodes {
980 980 width: 100px;
981 981 margin-left: -110px;
982 982 float: left;
983 983 clear: left;
984 984 }
985 985 }
986 986
987 987 .load-more-commits {
988 988 text-align: center;
989 989 }
990 990 .load-more-commits:hover {
991 991 background-color: @grey7;
992 992 }
993 993 .load-more-commits {
994 994 a {
995 995 display: block;
996 996 }
997 997 }
998 998 }
999 999
1000 1000 #filter_changelog {
1001 1001 float: left;
1002 1002 }
1003 1003
1004 1004
1005 1005 //--- THEME ------------------//
1006 1006
1007 1007 #logo {
1008 1008 float: left;
1009 1009 margin: 9px 0 0 0;
1010 1010
1011 1011 .header {
1012 1012 background-color: transparent;
1013 1013 }
1014 1014
1015 1015 a {
1016 1016 display: inline-block;
1017 1017 }
1018 1018
1019 1019 img {
1020 1020 height:30px;
1021 1021 }
1022 1022 }
1023 1023
1024 1024 .logo-wrapper {
1025 1025 float:left;
1026 1026 }
1027 1027
1028 1028 .branding{
1029 1029 float: left;
1030 1030 padding: 9px 2px;
1031 1031 line-height: 1em;
1032 1032 font-size: @navigation-fontsize;
1033 1033 }
1034 1034
1035 1035 img {
1036 1036 border: none;
1037 1037 outline: none;
1038 1038 }
1039 1039 user-profile-header
1040 1040 label {
1041 1041
1042 1042 input[type="checkbox"] {
1043 1043 margin-right: 1em;
1044 1044 }
1045 1045 input[type="radio"] {
1046 1046 margin-right: 1em;
1047 1047 }
1048 1048 }
1049 1049
1050 1050 .flag_status {
1051 1051 margin: 2px 8px 6px 2px;
1052 1052 &.under_review {
1053 1053 .circle(5px, @alert3);
1054 1054 }
1055 1055 &.approved {
1056 1056 .circle(5px, @alert1);
1057 1057 }
1058 1058 &.rejected,
1059 1059 &.forced_closed{
1060 1060 .circle(5px, @alert2);
1061 1061 }
1062 1062 &.not_reviewed {
1063 1063 .circle(5px, @grey5);
1064 1064 }
1065 1065 }
1066 1066
1067 1067 .flag_status_comment_box {
1068 1068 margin: 5px 6px 0px 2px;
1069 1069 }
1070 1070 .test_pattern_preview {
1071 1071 margin: @space 0;
1072 1072
1073 1073 p {
1074 1074 margin-bottom: 0;
1075 1075 border-bottom: @border-thickness solid @border-default-color;
1076 1076 color: @grey3;
1077 1077 }
1078 1078
1079 1079 .btn {
1080 1080 margin-bottom: @padding;
1081 1081 }
1082 1082 }
1083 1083 #test_pattern_result {
1084 1084 display: none;
1085 1085 &:extend(pre);
1086 1086 padding: .9em;
1087 1087 color: @grey3;
1088 1088 background-color: @grey7;
1089 1089 border-right: @border-thickness solid @border-default-color;
1090 1090 border-bottom: @border-thickness solid @border-default-color;
1091 1091 border-left: @border-thickness solid @border-default-color;
1092 1092 }
1093 1093
1094 1094 #repo_vcs_settings {
1095 1095 #inherit_overlay_vcs_default {
1096 1096 display: none;
1097 1097 }
1098 1098 #inherit_overlay_vcs_custom {
1099 1099 display: custom;
1100 1100 }
1101 1101 &.inherited {
1102 1102 #inherit_overlay_vcs_default {
1103 1103 display: block;
1104 1104 }
1105 1105 #inherit_overlay_vcs_custom {
1106 1106 display: none;
1107 1107 }
1108 1108 }
1109 1109 }
1110 1110
1111 1111 .issue-tracker-link {
1112 1112 color: @rcblue;
1113 1113 }
1114 1114
1115 1115 // Issue Tracker Table Show/Hide
1116 1116 #repo_issue_tracker {
1117 1117 #inherit_overlay {
1118 1118 display: none;
1119 1119 }
1120 1120 #custom_overlay {
1121 1121 display: custom;
1122 1122 }
1123 1123 &.inherited {
1124 1124 #inherit_overlay {
1125 1125 display: block;
1126 1126 }
1127 1127 #custom_overlay {
1128 1128 display: none;
1129 1129 }
1130 1130 }
1131 1131 }
1132 1132 table.issuetracker {
1133 1133 &.readonly {
1134 1134 tr, td {
1135 1135 color: @grey3;
1136 1136 }
1137 1137 }
1138 1138 .edit {
1139 1139 display: none;
1140 1140 }
1141 1141 .editopen {
1142 1142 .edit {
1143 1143 display: inline;
1144 1144 }
1145 1145 .entry {
1146 1146 display: none;
1147 1147 }
1148 1148 }
1149 1149 tr td.td-action {
1150 1150 min-width: 117px;
1151 1151 }
1152 1152 td input {
1153 1153 max-width: none;
1154 1154 min-width: 30px;
1155 1155 width: 80%;
1156 1156 }
1157 1157 .issuetracker_pref input {
1158 1158 width: 40%;
1159 1159 }
1160 1160 input.edit_issuetracker_update {
1161 1161 margin-right: 0;
1162 1162 width: auto;
1163 1163 }
1164 1164 }
1165 1165
1166 1166 table.integrations {
1167 1167 .td-icon {
1168 1168 width: 20px;
1169 1169 .integration-icon {
1170 1170 height: 20px;
1171 1171 width: 20px;
1172 1172 }
1173 1173 }
1174 1174 }
1175 1175
1176 1176 .integrations {
1177 1177 a.integration-box {
1178 1178 color: @text-color;
1179 1179 &:hover {
1180 1180 .panel {
1181 1181 background: #fbfbfb;
1182 1182 }
1183 1183 }
1184 1184 .integration-icon {
1185 1185 width: 30px;
1186 1186 height: 30px;
1187 1187 margin-right: 20px;
1188 1188 float: left;
1189 1189 }
1190 1190
1191 1191 .panel-body {
1192 1192 padding: 10px;
1193 1193 }
1194 1194 .panel {
1195 1195 margin-bottom: 10px;
1196 1196 }
1197 1197 h2 {
1198 1198 display: inline-block;
1199 1199 margin: 0;
1200 1200 min-width: 140px;
1201 1201 }
1202 1202 }
1203 1203 a.integration-box.dummy-integration {
1204 1204 color: @grey4
1205 1205 }
1206 1206 }
1207 1207
1208 1208 //Permissions Settings
1209 1209 #add_perm {
1210 1210 margin: 0 0 @padding;
1211 1211 cursor: pointer;
1212 1212 }
1213 1213
1214 1214 .perm_ac {
1215 1215 input {
1216 1216 width: 95%;
1217 1217 }
1218 1218 }
1219 1219
1220 1220 .autocomplete-suggestions {
1221 width: auto !important; // overrides autocomplete.js
1221 width: auto; // overrides autocomplete.js
1222 1222 margin: 0;
1223 1223 border: @border-thickness solid @rcblue;
1224 1224 border-radius: @border-radius;
1225 1225 color: @rcblue;
1226 1226 background-color: white;
1227 1227 }
1228 1228 .autocomplete-selected {
1229 1229 background: #F0F0F0;
1230 1230 }
1231 1231 .ac-container-wrap {
1232 1232 margin: 0;
1233 1233 padding: 8px;
1234 1234 border-bottom: @border-thickness solid @rclightblue;
1235 1235 list-style-type: none;
1236 1236 cursor: pointer;
1237 1237
1238 1238 &:hover {
1239 1239 background-color: @rclightblue;
1240 1240 }
1241 1241
1242 1242 img {
1243 1243 height: @gravatar-size;
1244 1244 width: @gravatar-size;
1245 1245 margin-right: 1em;
1246 1246 }
1247 1247
1248 1248 strong {
1249 1249 font-weight: normal;
1250 1250 }
1251 1251 }
1252 1252
1253 1253 // Settings Dropdown
1254 1254 .user-menu .container {
1255 1255 padding: 0 4px;
1256 1256 margin: 0;
1257 1257 }
1258 1258
1259 1259 .user-menu .gravatar {
1260 1260 cursor: pointer;
1261 1261 }
1262 1262
1263 1263 .codeblock {
1264 1264 margin-bottom: @padding;
1265 1265 clear: both;
1266 1266
1267 1267 .stats{
1268 1268 overflow: hidden;
1269 1269 }
1270 1270
1271 1271 .message{
1272 1272 textarea{
1273 1273 margin: 0;
1274 1274 }
1275 1275 }
1276 1276
1277 1277 .code-header {
1278 1278 .stats {
1279 1279 line-height: 2em;
1280 1280
1281 1281 .revision_id {
1282 1282 margin-left: 0;
1283 1283 }
1284 1284 .buttons {
1285 1285 padding-right: 0;
1286 1286 }
1287 1287 }
1288 1288
1289 1289 .item{
1290 1290 margin-right: 0.5em;
1291 1291 }
1292 1292 }
1293 1293
1294 1294 #editor_container{
1295 1295 position: relative;
1296 1296 margin: @padding;
1297 1297 }
1298 1298 }
1299 1299
1300 1300 #file_history_container {
1301 1301 display: none;
1302 1302 }
1303 1303
1304 1304 .file-history-inner {
1305 1305 margin-bottom: 10px;
1306 1306 }
1307 1307
1308 1308 // Pull Requests
1309 1309 .summary-details {
1310 1310 width: 72%;
1311 1311 }
1312 1312 .pr-summary {
1313 1313 border-bottom: @border-thickness solid @grey5;
1314 1314 margin-bottom: @space;
1315 1315 }
1316 1316 .reviewers-title {
1317 1317 width: 25%;
1318 1318 min-width: 200px;
1319 1319 }
1320 1320 .reviewers {
1321 1321 width: 25%;
1322 1322 min-width: 200px;
1323 1323 }
1324 1324 .reviewers ul li {
1325 1325 position: relative;
1326 1326 width: 100%;
1327 1327 padding-bottom: 8px;
1328 1328 }
1329 1329
1330 1330 .reviewer_entry {
1331 1331 min-height: 55px;
1332 1332 }
1333 1333
1334 1334 .reviewers_member {
1335 1335 width: 100%;
1336 1336 overflow: auto;
1337 1337 }
1338 1338 .reviewer_reason {
1339 1339 padding-left: 20px;
1340 1340 line-height: 1.5em;
1341 1341 }
1342 1342 .reviewer_status {
1343 1343 display: inline-block;
1344 1344 vertical-align: top;
1345 1345 width: 25px;
1346 1346 min-width: 25px;
1347 1347 height: 1.2em;
1348 1348 margin-top: 3px;
1349 1349 line-height: 1em;
1350 1350 }
1351 1351
1352 1352 .reviewer_name {
1353 1353 display: inline-block;
1354 1354 max-width: 83%;
1355 1355 padding-right: 20px;
1356 1356 vertical-align: middle;
1357 1357 line-height: 1;
1358 1358
1359 1359 .rc-user {
1360 1360 min-width: 0;
1361 1361 margin: -2px 1em 0 0;
1362 1362 }
1363 1363
1364 1364 .reviewer {
1365 1365 float: left;
1366 1366 }
1367 1367 }
1368 1368
1369 1369 .reviewer_member_mandatory {
1370 1370 position: absolute;
1371 1371 left: 15px;
1372 1372 top: 8px;
1373 1373 width: 16px;
1374 1374 font-size: 11px;
1375 1375 margin: 0;
1376 1376 padding: 0;
1377 1377 color: black;
1378 1378 }
1379 1379
1380 1380 .reviewer_member_mandatory_remove,
1381 1381 .reviewer_member_remove {
1382 1382 position: absolute;
1383 1383 right: 0;
1384 1384 top: 0;
1385 1385 width: 16px;
1386 1386 margin-bottom: 10px;
1387 1387 padding: 0;
1388 1388 color: black;
1389 1389 }
1390 1390
1391 1391 .reviewer_member_mandatory_remove {
1392 1392 color: @grey4;
1393 1393 }
1394 1394
1395 1395 .reviewer_member_status {
1396 1396 margin-top: 5px;
1397 1397 }
1398 1398 .pr-summary #summary{
1399 1399 width: 100%;
1400 1400 }
1401 1401 .pr-summary .action_button:hover {
1402 1402 border: 0;
1403 1403 cursor: pointer;
1404 1404 }
1405 1405 .pr-details-title {
1406 1406 padding-bottom: 8px;
1407 1407 border-bottom: @border-thickness solid @grey5;
1408 1408
1409 1409 .action_button.disabled {
1410 1410 color: @grey4;
1411 1411 cursor: inherit;
1412 1412 }
1413 1413 .action_button {
1414 1414 color: @rcblue;
1415 1415 }
1416 1416 }
1417 1417 .pr-details-content {
1418 1418 margin-top: @textmargin;
1419 1419 margin-bottom: @textmargin;
1420 1420 }
1421 1421
1422 1422 .pr-reviewer-rules {
1423 1423 padding: 10px 0px 20px 0px;
1424 1424 }
1425 1425
1426 1426 .group_members {
1427 1427 margin-top: 0;
1428 1428 padding: 0;
1429 1429 list-style: outside none none;
1430 1430
1431 1431 img {
1432 1432 height: @gravatar-size;
1433 1433 width: @gravatar-size;
1434 1434 margin-right: .5em;
1435 1435 margin-left: 3px;
1436 1436 }
1437 1437
1438 1438 .to-delete {
1439 1439 .user {
1440 1440 text-decoration: line-through;
1441 1441 }
1442 1442 }
1443 1443 }
1444 1444
1445 1445 .compare_view_commits_title {
1446 1446 .disabled {
1447 1447 cursor: inherit;
1448 1448 &:hover{
1449 1449 background-color: inherit;
1450 1450 color: inherit;
1451 1451 }
1452 1452 }
1453 1453 }
1454 1454
1455 1455 .subtitle-compare {
1456 1456 margin: -15px 0px 0px 0px;
1457 1457 }
1458 1458
1459 1459 .comments-summary-td {
1460 1460 border-top: 1px dashed @grey5;
1461 1461 }
1462 1462
1463 1463 // new entry in group_members
1464 1464 .td-author-new-entry {
1465 1465 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1466 1466 }
1467 1467
1468 1468 .usergroup_member_remove {
1469 1469 width: 16px;
1470 1470 margin-bottom: 10px;
1471 1471 padding: 0;
1472 color: black !important;
1472 color: black;
1473 1473 cursor: pointer;
1474 1474 }
1475 1475
1476 1476 .reviewer_ac .ac-input {
1477 1477 width: 92%;
1478 1478 margin-bottom: 1em;
1479 1479 }
1480 1480
1481 1481 .compare_view_commits tr{
1482 1482 height: 20px;
1483 1483 }
1484 1484 .compare_view_commits td {
1485 1485 vertical-align: top;
1486 1486 padding-top: 10px;
1487 1487 }
1488 1488 .compare_view_commits .author {
1489 1489 margin-left: 5px;
1490 1490 }
1491 1491
1492 1492 .compare_view_commits {
1493 1493 .color-a {
1494 1494 color: @alert1;
1495 1495 }
1496 1496
1497 1497 .color-c {
1498 1498 color: @color3;
1499 1499 }
1500 1500
1501 1501 .color-r {
1502 1502 color: @color5;
1503 1503 }
1504 1504
1505 1505 .color-a-bg {
1506 1506 background-color: @alert1;
1507 1507 }
1508 1508
1509 1509 .color-c-bg {
1510 1510 background-color: @alert3;
1511 1511 }
1512 1512
1513 1513 .color-r-bg {
1514 1514 background-color: @alert2;
1515 1515 }
1516 1516
1517 1517 .color-a-border {
1518 1518 border: 1px solid @alert1;
1519 1519 }
1520 1520
1521 1521 .color-c-border {
1522 1522 border: 1px solid @alert3;
1523 1523 }
1524 1524
1525 1525 .color-r-border {
1526 1526 border: 1px solid @alert2;
1527 1527 }
1528 1528
1529 1529 .commit-change-indicator {
1530 1530 width: 15px;
1531 1531 height: 15px;
1532 1532 position: relative;
1533 1533 left: 15px;
1534 1534 }
1535 1535
1536 1536 .commit-change-content {
1537 1537 text-align: center;
1538 1538 vertical-align: middle;
1539 1539 line-height: 15px;
1540 1540 }
1541 1541 }
1542 1542
1543 1543 .compare_view_filepath {
1544 1544 color: @grey1;
1545 1545 }
1546 1546
1547 1547 .show_more {
1548 1548 display: inline-block;
1549 1549 position: relative;
1550 1550 vertical-align: middle;
1551 1551 width: 4px;
1552 1552 height: @basefontsize;
1553 1553
1554 1554 &:after {
1555 1555 content: "\00A0\25BE";
1556 1556 display: inline-block;
1557 1557 width:10px;
1558 1558 line-height: 5px;
1559 1559 font-size: 12px;
1560 1560 cursor: pointer;
1561 1561 }
1562 1562 }
1563 1563
1564 1564 .journal_more .show_more {
1565 1565 display: inline;
1566 1566
1567 1567 &:after {
1568 1568 content: none;
1569 1569 }
1570 1570 }
1571 1571
1572 1572 .open .show_more:after,
1573 1573 .select2-dropdown-open .show_more:after {
1574 1574 .rotate(180deg);
1575 1575 margin-left: 4px;
1576 1576 }
1577 1577
1578 1578
1579 1579 .compare_view_commits .collapse_commit:after {
1580 1580 cursor: pointer;
1581 1581 content: "\00A0\25B4";
1582 1582 margin-left: -3px;
1583 1583 font-size: 17px;
1584 1584 color: @grey4;
1585 1585 }
1586 1586
1587 1587 .diff_links {
1588 1588 margin-left: 8px;
1589 1589 }
1590 1590
1591 1591 div.ancestor {
1592 1592 margin: -30px 0px;
1593 1593 }
1594 1594
1595 1595 .cs_icon_td input[type="checkbox"] {
1596 1596 display: none;
1597 1597 }
1598 1598
1599 1599 .cs_icon_td .expand_file_icon:after {
1600 1600 cursor: pointer;
1601 1601 content: "\00A0\25B6";
1602 1602 font-size: 12px;
1603 1603 color: @grey4;
1604 1604 }
1605 1605
1606 1606 .cs_icon_td .collapse_file_icon:after {
1607 1607 cursor: pointer;
1608 1608 content: "\00A0\25BC";
1609 1609 font-size: 12px;
1610 1610 color: @grey4;
1611 1611 }
1612 1612
1613 1613 /*new binary
1614 1614 NEW_FILENODE = 1
1615 1615 DEL_FILENODE = 2
1616 1616 MOD_FILENODE = 3
1617 1617 RENAMED_FILENODE = 4
1618 1618 COPIED_FILENODE = 5
1619 1619 CHMOD_FILENODE = 6
1620 1620 BIN_FILENODE = 7
1621 1621 */
1622 1622 .cs_files_expand {
1623 1623 font-size: @basefontsize + 5px;
1624 1624 line-height: 1.8em;
1625 1625 float: right;
1626 1626 }
1627 1627
1628 1628 .cs_files_expand span{
1629 1629 color: @rcblue;
1630 1630 cursor: pointer;
1631 1631 }
1632 1632 .cs_files {
1633 1633 clear: both;
1634 1634 padding-bottom: @padding;
1635 1635
1636 1636 .cur_cs {
1637 1637 margin: 10px 2px;
1638 1638 font-weight: bold;
1639 1639 }
1640 1640
1641 1641 .node {
1642 1642 float: left;
1643 1643 }
1644 1644
1645 1645 .changes {
1646 1646 float: right;
1647 1647 color: white;
1648 1648 font-size: @basefontsize - 4px;
1649 1649 margin-top: 4px;
1650 1650 opacity: 0.6;
1651 1651 filter: Alpha(opacity=60); /* IE8 and earlier */
1652 1652
1653 1653 .added {
1654 1654 background-color: @alert1;
1655 1655 float: left;
1656 1656 text-align: center;
1657 1657 }
1658 1658
1659 1659 .deleted {
1660 1660 background-color: @alert2;
1661 1661 float: left;
1662 1662 text-align: center;
1663 1663 }
1664 1664
1665 1665 .bin {
1666 1666 background-color: @alert1;
1667 1667 text-align: center;
1668 1668 }
1669 1669
1670 1670 /*new binary*/
1671 1671 .bin.bin1 {
1672 1672 background-color: @alert1;
1673 1673 text-align: center;
1674 1674 }
1675 1675
1676 1676 /*deleted binary*/
1677 1677 .bin.bin2 {
1678 1678 background-color: @alert2;
1679 1679 text-align: center;
1680 1680 }
1681 1681
1682 1682 /*mod binary*/
1683 1683 .bin.bin3 {
1684 1684 background-color: @grey2;
1685 1685 text-align: center;
1686 1686 }
1687 1687
1688 1688 /*rename file*/
1689 1689 .bin.bin4 {
1690 1690 background-color: @alert4;
1691 1691 text-align: center;
1692 1692 }
1693 1693
1694 1694 /*copied file*/
1695 1695 .bin.bin5 {
1696 1696 background-color: @alert4;
1697 1697 text-align: center;
1698 1698 }
1699 1699
1700 1700 /*chmod file*/
1701 1701 .bin.bin6 {
1702 1702 background-color: @grey2;
1703 1703 text-align: center;
1704 1704 }
1705 1705 }
1706 1706 }
1707 1707
1708 1708 .cs_files .cs_added, .cs_files .cs_A,
1709 1709 .cs_files .cs_added, .cs_files .cs_M,
1710 1710 .cs_files .cs_added, .cs_files .cs_D {
1711 1711 height: 16px;
1712 1712 padding-right: 10px;
1713 1713 margin-top: 7px;
1714 1714 text-align: left;
1715 1715 }
1716 1716
1717 1717 .cs_icon_td {
1718 1718 min-width: 16px;
1719 1719 width: 16px;
1720 1720 }
1721 1721
1722 1722 .pull-request-merge {
1723 1723 border: 1px solid @grey5;
1724 1724 padding: 10px 0px 20px;
1725 1725 margin-top: 10px;
1726 1726 margin-bottom: 20px;
1727 1727 }
1728 1728
1729 1729 .pull-request-merge ul {
1730 1730 padding: 0px 0px;
1731 1731 }
1732 1732
1733 1733 .pull-request-merge li:before{
1734 1734 content:none;
1735 1735 }
1736 1736
1737 1737 .pull-request-merge .pull-request-wrap {
1738 1738 height: auto;
1739 1739 padding: 0px 0px;
1740 1740 text-align: right;
1741 1741 }
1742 1742
1743 1743 .pull-request-merge span {
1744 1744 margin-right: 5px;
1745 1745 }
1746 1746
1747 1747 .pull-request-merge-actions {
1748 1748 min-height: 30px;
1749 1749 padding: 0px 0px;
1750 1750 }
1751 1751
1752 1752 .pull-request-merge-info {
1753 1753 padding: 0px 5px 5px 0px;
1754 1754 }
1755 1755
1756 1756 .merge-status {
1757 1757 margin-right: 5px;
1758 1758 }
1759 1759
1760 1760 .merge-message {
1761 1761 font-size: 1.2em
1762 1762 }
1763 1763
1764 1764 .merge-message.success i,
1765 1765 .merge-icon.success i {
1766 1766 color:@alert1;
1767 1767 }
1768 1768
1769 1769 .merge-message.warning i,
1770 1770 .merge-icon.warning i {
1771 1771 color: @alert3;
1772 1772 }
1773 1773
1774 1774 .merge-message.error i,
1775 1775 .merge-icon.error i {
1776 1776 color:@alert2;
1777 1777 }
1778 1778
1779 1779 .pr-versions {
1780 1780 font-size: 1.1em;
1781 1781
1782 1782 table {
1783 1783 padding: 0px 5px;
1784 1784 }
1785 1785
1786 1786 td {
1787 1787 line-height: 15px;
1788 1788 }
1789 1789
1790 1790 .flag_status {
1791 1791 margin: 0;
1792 1792 }
1793 1793
1794 1794 .compare-radio-button {
1795 1795 position: relative;
1796 1796 top: -3px;
1797 1797 }
1798 1798 }
1799 1799
1800 1800
1801 1801 #close_pull_request {
1802 1802 margin-right: 0px;
1803 1803 }
1804 1804
1805 1805 .empty_data {
1806 1806 color: @grey4;
1807 1807 }
1808 1808
1809 1809 #changeset_compare_view_content {
1810 1810 margin-bottom: @space;
1811 1811 clear: both;
1812 1812 width: 100%;
1813 1813 box-sizing: border-box;
1814 1814 .border-radius(@border-radius);
1815 1815
1816 1816 .help-block {
1817 1817 margin: @padding 0;
1818 1818 color: @text-color;
1819 1819 &.pre-formatting {
1820 1820 white-space: pre;
1821 1821 }
1822 1822 }
1823 1823
1824 1824 .empty_data {
1825 1825 margin: @padding 0;
1826 1826 }
1827 1827
1828 1828 .alert {
1829 1829 margin-bottom: @space;
1830 1830 }
1831 1831 }
1832 1832
1833 1833 .table_disp {
1834 1834 .status {
1835 1835 width: auto;
1836 1836
1837 1837 .flag_status {
1838 1838 float: left;
1839 1839 }
1840 1840 }
1841 1841 }
1842 1842
1843 1843
1844 1844 .creation_in_progress {
1845 1845 color: @grey4
1846 1846 }
1847 1847
1848 1848 .status_box_menu {
1849 1849 margin: 0;
1850 1850 }
1851 1851
1852 1852 .notification-table{
1853 1853 margin-bottom: @space;
1854 1854 display: table;
1855 1855 width: 100%;
1856 1856
1857 1857 .container{
1858 1858 display: table-row;
1859 1859
1860 1860 .notification-header{
1861 1861 border-bottom: @border-thickness solid @border-default-color;
1862 1862 }
1863 1863
1864 1864 .notification-subject{
1865 1865 display: table-cell;
1866 1866 }
1867 1867 }
1868 1868 }
1869 1869
1870 1870 // Notifications
1871 1871 .notification-header{
1872 1872 display: table;
1873 1873 width: 100%;
1874 1874 padding: floor(@basefontsize/2) 0;
1875 1875 line-height: 1em;
1876 1876
1877 1877 .desc, .delete-notifications, .read-notifications{
1878 1878 display: table-cell;
1879 1879 text-align: left;
1880 1880 }
1881 1881
1882 1882 .desc{
1883 1883 width: 1163px;
1884 1884 }
1885 1885
1886 1886 .delete-notifications, .read-notifications{
1887 1887 width: 35px;
1888 1888 min-width: 35px; //fixes when only one button is displayed
1889 1889 }
1890 1890 }
1891 1891
1892 1892 .notification-body {
1893 1893 .markdown-block,
1894 1894 .rst-block {
1895 1895 padding: @padding 0;
1896 1896 }
1897 1897
1898 1898 .notification-subject {
1899 1899 padding: @textmargin 0;
1900 1900 border-bottom: @border-thickness solid @border-default-color;
1901 1901 }
1902 1902 }
1903 1903
1904 1904
1905 1905 .notifications_buttons{
1906 1906 float: right;
1907 1907 }
1908 1908
1909 1909 #notification-status{
1910 1910 display: inline;
1911 1911 }
1912 1912
1913 1913 // Repositories
1914 1914
1915 1915 #summary.fields{
1916 1916 display: table;
1917 1917
1918 1918 .field{
1919 1919 display: table-row;
1920 1920
1921 1921 .label-summary{
1922 1922 display: table-cell;
1923 1923 min-width: @label-summary-minwidth;
1924 1924 padding-top: @padding/2;
1925 1925 padding-bottom: @padding/2;
1926 1926 padding-right: @padding/2;
1927 1927 }
1928 1928
1929 1929 .input{
1930 1930 display: table-cell;
1931 1931 padding: @padding/2;
1932 1932
1933 1933 input{
1934 1934 min-width: 29em;
1935 1935 padding: @padding/4;
1936 1936 }
1937 1937 }
1938 1938 .statistics, .downloads{
1939 1939 .disabled{
1940 1940 color: @grey4;
1941 1941 }
1942 1942 }
1943 1943 }
1944 1944 }
1945 1945
1946 1946 #summary{
1947 1947 width: 70%;
1948 1948 }
1949 1949
1950 1950
1951 1951 // Journal
1952 1952 .journal.title {
1953 1953 h5 {
1954 1954 float: left;
1955 1955 margin: 0;
1956 1956 width: 70%;
1957 1957 }
1958 1958
1959 1959 ul {
1960 1960 float: right;
1961 1961 display: inline-block;
1962 1962 margin: 0;
1963 1963 width: 30%;
1964 1964 text-align: right;
1965 1965
1966 1966 li {
1967 1967 display: inline;
1968 1968 font-size: @journal-fontsize;
1969 1969 line-height: 1em;
1970 1970
1971 1971 &:before { content: none; }
1972 1972 }
1973 1973 }
1974 1974 }
1975 1975
1976 1976 .filterexample {
1977 1977 position: absolute;
1978 1978 top: 95px;
1979 1979 left: @contentpadding;
1980 1980 color: @rcblue;
1981 1981 font-size: 11px;
1982 1982 font-family: @text-regular;
1983 1983 cursor: help;
1984 1984
1985 1985 &:hover {
1986 1986 color: @rcdarkblue;
1987 1987 }
1988 1988
1989 1989 @media (max-width:768px) {
1990 1990 position: relative;
1991 1991 top: auto;
1992 1992 left: auto;
1993 1993 display: block;
1994 1994 }
1995 1995 }
1996 1996
1997 1997
1998 1998 #journal{
1999 1999 margin-bottom: @space;
2000 2000
2001 2001 .journal_day{
2002 2002 margin-bottom: @textmargin/2;
2003 2003 padding-bottom: @textmargin/2;
2004 2004 font-size: @journal-fontsize;
2005 2005 border-bottom: @border-thickness solid @border-default-color;
2006 2006 }
2007 2007
2008 2008 .journal_container{
2009 2009 margin-bottom: @space;
2010 2010
2011 2011 .journal_user{
2012 2012 display: inline-block;
2013 2013 }
2014 2014 .journal_action_container{
2015 2015 display: block;
2016 2016 margin-top: @textmargin;
2017 2017
2018 2018 div{
2019 2019 display: inline;
2020 2020 }
2021 2021
2022 2022 div.journal_action_params{
2023 2023 display: block;
2024 2024 }
2025 2025
2026 2026 div.journal_repo:after{
2027 2027 content: "\A";
2028 2028 white-space: pre;
2029 2029 }
2030 2030
2031 2031 div.date{
2032 2032 display: block;
2033 2033 margin-bottom: @textmargin;
2034 2034 }
2035 2035 }
2036 2036 }
2037 2037 }
2038 2038
2039 2039 // Files
2040 2040 .edit-file-title {
2041 2041 border-bottom: @border-thickness solid @border-default-color;
2042 2042
2043 2043 .breadcrumbs {
2044 2044 margin-bottom: 0;
2045 2045 }
2046 2046 }
2047 2047
2048 2048 .edit-file-fieldset {
2049 2049 margin-top: @sidebarpadding;
2050 2050
2051 2051 .fieldset {
2052 2052 .left-label {
2053 2053 width: 13%;
2054 2054 }
2055 2055 .right-content {
2056 2056 width: 87%;
2057 2057 max-width: 100%;
2058 2058 }
2059 2059 .filename-label {
2060 2060 margin-top: 13px;
2061 2061 }
2062 2062 .commit-message-label {
2063 2063 margin-top: 4px;
2064 2064 }
2065 2065 .file-upload-input {
2066 2066 input {
2067 2067 display: none;
2068 2068 }
2069 2069 margin-top: 10px;
2070 2070 }
2071 2071 .file-upload-label {
2072 2072 margin-top: 10px;
2073 2073 }
2074 2074 p {
2075 2075 margin-top: 5px;
2076 2076 }
2077 2077
2078 2078 }
2079 2079 .custom-path-link {
2080 2080 margin-left: 5px;
2081 2081 }
2082 2082 #commit {
2083 2083 resize: vertical;
2084 2084 }
2085 2085 }
2086 2086
2087 2087 .delete-file-preview {
2088 2088 max-height: 250px;
2089 2089 }
2090 2090
2091 2091 .new-file,
2092 2092 #filter_activate,
2093 2093 #filter_deactivate {
2094 2094 float: left;
2095 2095 margin: 0 0 0 15px;
2096 2096 }
2097 2097
2098 2098 h3.files_location{
2099 2099 line-height: 2.4em;
2100 2100 }
2101 2101
2102 2102 .browser-nav {
2103 2103 display: table;
2104 2104 margin-bottom: @space;
2105 2105
2106 2106
2107 2107 .info_box {
2108 2108 display: inline-table;
2109 2109 height: 2.5em;
2110 2110
2111 2111 .browser-cur-rev, .info_box_elem {
2112 2112 display: table-cell;
2113 2113 vertical-align: middle;
2114 2114 }
2115 2115
2116 2116 .info_box_elem {
2117 2117 border-top: @border-thickness solid @rcblue;
2118 2118 border-bottom: @border-thickness solid @rcblue;
2119 2119
2120 2120 #at_rev, a {
2121 2121 padding: 0.6em 0.9em;
2122 2122 margin: 0;
2123 2123 .box-shadow(none);
2124 2124 border: 0;
2125 2125 height: 12px;
2126 2126 }
2127 2127
2128 2128 input#at_rev {
2129 2129 max-width: 50px;
2130 2130 text-align: right;
2131 2131 }
2132 2132
2133 2133 &.previous {
2134 2134 border: @border-thickness solid @rcblue;
2135 2135 .disabled {
2136 2136 color: @grey4;
2137 2137 cursor: not-allowed;
2138 2138 }
2139 2139 }
2140 2140
2141 2141 &.next {
2142 2142 border: @border-thickness solid @rcblue;
2143 2143 .disabled {
2144 2144 color: @grey4;
2145 2145 cursor: not-allowed;
2146 2146 }
2147 2147 }
2148 2148 }
2149 2149
2150 2150 .browser-cur-rev {
2151 2151
2152 2152 span{
2153 2153 margin: 0;
2154 2154 color: @rcblue;
2155 2155 height: 12px;
2156 2156 display: inline-block;
2157 2157 padding: 0.7em 1em ;
2158 2158 border: @border-thickness solid @rcblue;
2159 2159 margin-right: @padding;
2160 2160 }
2161 2161 }
2162 2162 }
2163 2163
2164 2164 .search_activate {
2165 2165 display: table-cell;
2166 2166 vertical-align: middle;
2167 2167
2168 2168 input, label{
2169 2169 margin: 0;
2170 2170 padding: 0;
2171 2171 }
2172 2172
2173 2173 input{
2174 2174 margin-left: @textmargin;
2175 2175 }
2176 2176
2177 2177 }
2178 2178 }
2179 2179
2180 2180 .browser-cur-rev{
2181 2181 margin-bottom: @textmargin;
2182 2182 }
2183 2183
2184 2184 #node_filter_box_loading{
2185 2185 .info_text;
2186 2186 }
2187 2187
2188 2188 .browser-search {
2189 2189 margin: -25px 0px 5px 0px;
2190 2190 }
2191 2191
2192 2192 .node-filter {
2193 2193 font-size: @repo-title-fontsize;
2194 2194 padding: 4px 0px 0px 0px;
2195 2195
2196 2196 .node-filter-path {
2197 2197 float: left;
2198 2198 color: @grey4;
2199 2199 }
2200 2200 .node-filter-input {
2201 2201 float: left;
2202 2202 margin: -2px 0px 0px 2px;
2203 2203 input {
2204 2204 padding: 2px;
2205 2205 border: none;
2206 2206 font-size: @repo-title-fontsize;
2207 2207 }
2208 2208 }
2209 2209 }
2210 2210
2211 2211
2212 2212 .browser-result{
2213 2213 td a{
2214 2214 margin-left: 0.5em;
2215 2215 display: inline-block;
2216 2216
2217 2217 em{
2218 2218 font-family: @text-bold;
2219 2219 }
2220 2220 }
2221 2221 }
2222 2222
2223 2223 .browser-highlight{
2224 2224 background-color: @grey5-alpha;
2225 2225 }
2226 2226
2227 2227
2228 2228 // Search
2229 2229
2230 2230 .search-form{
2231 2231 #q {
2232 2232 width: @search-form-width;
2233 2233 }
2234 2234 .fields{
2235 2235 margin: 0 0 @space;
2236 2236 }
2237 2237
2238 2238 label{
2239 2239 display: inline-block;
2240 2240 margin-right: @textmargin;
2241 2241 padding-top: 0.25em;
2242 2242 }
2243 2243
2244 2244
2245 2245 .results{
2246 2246 clear: both;
2247 2247 margin: 0 0 @padding;
2248 2248 }
2249 2249 }
2250 2250
2251 2251 div.search-feedback-items {
2252 2252 display: inline-block;
2253 2253 padding:0px 0px 0px 96px;
2254 2254 }
2255 2255
2256 2256 div.search-code-body {
2257 2257 background-color: #ffffff; padding: 5px 0 5px 10px;
2258 2258 pre {
2259 2259 .match { background-color: #faffa6;}
2260 2260 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2261 2261 }
2262 2262 }
2263 2263
2264 2264 .expand_commit.search {
2265 2265 .show_more.open {
2266 2266 height: auto;
2267 2267 max-height: none;
2268 2268 }
2269 2269 }
2270 2270
2271 2271 .search-results {
2272 2272
2273 2273 h2 {
2274 2274 margin-bottom: 0;
2275 2275 }
2276 2276 .codeblock {
2277 2277 border: none;
2278 2278 background: transparent;
2279 2279 }
2280 2280
2281 2281 .codeblock-header {
2282 2282 border: none;
2283 2283 background: transparent;
2284 2284 }
2285 2285
2286 2286 .code-body {
2287 2287 border: @border-thickness solid @border-default-color;
2288 2288 .border-radius(@border-radius);
2289 2289 }
2290 2290
2291 2291 .td-commit {
2292 2292 &:extend(pre);
2293 2293 border-bottom: @border-thickness solid @border-default-color;
2294 2294 }
2295 2295
2296 2296 .message {
2297 2297 height: auto;
2298 2298 max-width: 350px;
2299 2299 white-space: normal;
2300 2300 text-overflow: initial;
2301 2301 overflow: visible;
2302 2302
2303 2303 .match { background-color: #faffa6;}
2304 2304 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2305 2305 }
2306 2306
2307 2307 }
2308 2308
2309 2309 table.rctable td.td-search-results div {
2310 2310 max-width: 100%;
2311 2311 }
2312 2312
2313 2313 #tip-box, .tip-box{
2314 2314 padding: @menupadding/2;
2315 2315 display: block;
2316 2316 border: @border-thickness solid @border-highlight-color;
2317 2317 .border-radius(@border-radius);
2318 2318 background-color: white;
2319 2319 z-index: 99;
2320 2320 white-space: pre-wrap;
2321 2321 }
2322 2322
2323 2323 #linktt {
2324 2324 width: 79px;
2325 2325 }
2326 2326
2327 2327 #help_kb .modal-content{
2328 2328 max-width: 750px;
2329 2329 margin: 10% auto;
2330 2330
2331 2331 table{
2332 2332 td,th{
2333 2333 border-bottom: none;
2334 2334 line-height: 2.5em;
2335 2335 }
2336 2336 th{
2337 2337 padding-bottom: @textmargin/2;
2338 2338 }
2339 2339 td.keys{
2340 2340 text-align: center;
2341 2341 }
2342 2342 }
2343 2343
2344 2344 .block-left{
2345 2345 width: 45%;
2346 2346 margin-right: 5%;
2347 2347 }
2348 2348 .modal-footer{
2349 2349 clear: both;
2350 2350 }
2351 2351 .key.tag{
2352 2352 padding: 0.5em;
2353 2353 background-color: @rcblue;
2354 2354 color: white;
2355 2355 border-color: @rcblue;
2356 2356 .box-shadow(none);
2357 2357 }
2358 2358 }
2359 2359
2360 2360
2361 2361
2362 2362 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2363 2363
2364 2364 @import 'statistics-graph';
2365 2365 @import 'tables';
2366 2366 @import 'forms';
2367 2367 @import 'diff';
2368 2368 @import 'summary';
2369 2369 @import 'navigation';
2370 2370
2371 2371 //--- SHOW/HIDE SECTIONS --//
2372 2372
2373 2373 .btn-collapse {
2374 2374 float: right;
2375 2375 text-align: right;
2376 2376 font-family: @text-light;
2377 2377 font-size: @basefontsize;
2378 2378 cursor: pointer;
2379 2379 border: none;
2380 2380 color: @rcblue;
2381 2381 }
2382 2382
2383 2383 table.rctable,
2384 2384 table.dataTable {
2385 2385 .btn-collapse {
2386 2386 float: right;
2387 2387 text-align: right;
2388 2388 }
2389 2389 }
2390 2390
2391 2391
2392 2392 // TODO: johbo: Fix for IE10, this avoids that we see a border
2393 2393 // and padding around checkboxes and radio boxes. Move to the right place,
2394 2394 // or better: Remove this once we did the form refactoring.
2395 2395 input[type=checkbox],
2396 2396 input[type=radio] {
2397 2397 padding: 0;
2398 2398 border: none;
2399 2399 }
2400 2400
2401 2401 .toggle-ajax-spinner{
2402 2402 height: 16px;
2403 2403 width: 16px;
2404 2404 }
2405 2405
2406 2406
2407 2407 .markup-form .clearfix {
2408 2408 .border-radius(@border-radius);
2409 2409 margin: 0px;
2410 2410 }
2411 2411
2412 2412 .markup-form-area {
2413 2413 padding: 8px 12px;
2414 2414 border: 1px solid @grey4;
2415 2415 .border-radius(@border-radius);
2416 2416 }
2417 2417
2418 2418 .markup-form-area-header .nav-links {
2419 2419 display: flex;
2420 2420 flex-flow: row wrap;
2421 2421 -webkit-flex-flow: row wrap;
2422 2422 width: 100%;
2423 2423 }
2424 2424
2425 2425 .markup-form-area-footer {
2426 2426 display: flex;
2427 2427 }
2428 2428
2429 2429 .markup-form-area-footer .toolbar {
2430 2430
2431 2431 }
2432 2432
2433 2433 // markup Form
2434 2434 div.markup-form {
2435 2435 margin-top: 20px;
2436 2436 }
2437 2437
2438 2438 .markup-form strong {
2439 2439 display: block;
2440 2440 margin-bottom: 15px;
2441 2441 }
2442 2442
2443 2443 .markup-form textarea {
2444 2444 width: 100%;
2445 2445 height: 100px;
2446 2446 font-family: 'Monaco', 'Courier', 'Courier New', monospace;
2447 2447 }
2448 2448
2449 2449 form.markup-form {
2450 2450 margin-top: 10px;
2451 2451 margin-left: 10px;
2452 2452 }
2453 2453
2454 2454 .markup-form .comment-block-ta,
2455 2455 .markup-form .preview-box {
2456 2456 .border-radius(@border-radius);
2457 2457 .box-sizing(border-box);
2458 2458 background-color: white;
2459 2459 }
2460 2460
2461 2461 .markup-form .preview-box.unloaded {
2462 2462 height: 50px;
2463 2463 text-align: center;
2464 2464 padding: 20px;
2465 2465 background-color: white;
2466 2466 }
@@ -1,696 +1,696 b''
1 1 // navigation.less
2 2 // For use in RhodeCode applications;
3 3 // see style guide documentation for guidelines.
4 4
5 5 // HEADER NAVIGATION
6 6
7 7 .horizontal-list {
8 8 float: right;
9 9 display: block;
10 10 margin: 0;
11 11 padding: 0;
12 12 -webkit-padding-start: 0;
13 13 text-align: left;
14 14 font-size: @navigation-fontsize;
15 15 color: @grey6;
16 16 z-index:10;
17 17
18 18 li {
19 19 line-height: 1em;
20 20 list-style-type: none;
21 21
22 22 a {
23 23 padding: 0 .5em;
24 24
25 25 &.menu_link_notifications {
26 26 .pill(7px,@rcblue);
27 27 display: inline;
28 28 margin: 0 7px 0 .7em;
29 29 font-size: @basefontsize;
30 30 color: white;
31 31
32 32 &.empty {
33 33 background-color: @grey4;
34 34 }
35 35
36 36 &:hover {
37 37 background-color: @rcdarkblue;
38 38 }
39 39 }
40 40 }
41 41 .pill_container {
42 42 margin: 1.25em 0px 0px 0px;
43 43 float: right;
44 44 }
45 45
46 46 &#quick_login_li {
47 47 &:hover {
48 48 color: @grey5;
49 49 }
50 50
51 51 a.menu_link_notifications {
52 52 color: white;
53 53 }
54 54
55 55 .user {
56 56 padding-bottom: 10px;
57 57 }
58 58
59 59 &.open {
60 60 .user {
61 61 border-bottom: 5px solid @rcblue;
62 62 }
63 63 }
64 64 }
65 65
66 66 &:before { content: none; }
67 67
68 68 &:last-child {
69 69 .menulabel {
70 70 padding-right: 0;
71 71 border-right: none;
72 72
73 73 .show_more {
74 74 padding-right: 0;
75 75 }
76 76 }
77 77
78 78 &> a {
79 79 border-bottom: none;
80 80 }
81 81 }
82 82
83 83 &.active {
84 84 border-bottom: 5px solid @rcblue;
85 85 }
86 86
87 87 &.open {
88 88
89 89 a {
90 90 color: white;
91 91 }
92 92 }
93 93
94 94 &:focus {
95 95 outline: none;
96 96 }
97 97
98 98 ul li {
99 99 display: block;
100 100
101 101 &:last-child> a {
102 102 border-bottom: none;
103 103 }
104 104
105 105 ul li:last-child a {
106 106 /* we don't expect more then 3 levels of submenu and the third
107 107 level can have different html structure */
108 108 border-bottom: none;
109 109 }
110 110 }
111 111 }
112 112
113 113 > li {
114 114 float: left;
115 115 display: block;
116 116 padding: 0;
117 117
118 118 > a,
119 119 &.has_select2 a {
120 120 display: block;
121 121 padding: 10px 0 2px;
122 122
123 123 .show_more {
124 124 margin-top: -4px;
125 125 padding-right: .5em;
126 126 }
127 127 }
128 128
129 129 .menulabel {
130 130 padding: 0 .5em;
131 131 line-height: 1em;
132 132 // for this specifically we do not use a variable
133 133 border-right: 1px solid @grey4;
134 134 }
135 135
136 136 .pr_notifications {
137 137 padding-left: .5em;
138 138 }
139 139
140 140 .pr_notifications + .menulabel {
141 141 display:inline;
142 142 padding-left: 0;
143 143 }
144 144
145 145 &:hover,
146 146 &.open,
147 147 &.active {
148 148 a {
149 149 color: @grey1;
150 150 }
151 151 }
152 152 }
153 153
154 154 pre {
155 155 margin: 0;
156 156 padding: 0;
157 157 }
158 158
159 159 .select2-container,
160 160 .menulink.childs {
161 161 position: relative;
162 162 }
163 163
164 164 #quick_login {
165 165
166 166 li a {
167 167 padding: .5em 0;
168 168 border-bottom: none;
169 169 color: @grey2;
170 170
171 171 &:hover { color: @grey1; }
172 172 }
173 173
174 174 .show_more {
175 175 padding-left: .5em;
176 176 }
177 177 }
178 178
179 179 #quick_login_link {
180 180 display: inline-block;
181 181
182 182 .gravatar {
183 183 border: 1px solid @grey2;
184 184 }
185 185
186 186 .gravatar-login {
187 187 height: 20px;
188 188 width: 20px;
189 189 margin: -8px 0;
190 190 padding: 0;
191 191 }
192 192
193 193 &:hover .user {
194 194 color: @grey6;
195 195 }
196 196 }
197 197 }
198 198 .header .horizontal-list {
199 199
200 200 li {
201 201
202 202 &#quick_login_li {
203 203 padding-left: .5em;
204 204
205 205 &:hover #quick_login_link {
206 206 color: inherit;
207 207 }
208 208 }
209 209
210 210 &:before { content: none; }
211 211 }
212 212
213 213 > li {
214 214
215 215 a {
216 216 padding: 18px 0 12px 0;
217 217 color: @nav-grey;
218 218
219 219 &.menu_link_notifications {
220 220 padding: 1px 8px;
221 221 }
222 222 }
223 223
224 224 &:hover,
225 225 &.open,
226 226 &.active {
227 227 .pill_container a {
228 228 // don't select text for the pill container, it has it' own
229 229 // hover behaviour
230 230 color: @nav-grey;
231 231 }
232 232 }
233 233
234 234 &:hover,
235 235 &.open,
236 236 &.active {
237 237 a {
238 238 color: @grey6;
239 239 }
240 240 }
241 241
242 242 .select2-dropdown-open a {
243 243 color: @grey6;
244 244 }
245 245
246 246 .repo-switcher {
247 247 padding-left: 0;
248 248
249 249 .menulabel {
250 250 padding-left: 0;
251 251 }
252 252 }
253 253 }
254 254
255 255 li ul li {
256 256 background-color:@grey2;
257 257
258 258 a {
259 259 padding: .5em 0;
260 260 border-bottom: @border-thickness solid @border-default-color;
261 261 color: @grey6;
262 262 }
263 263
264 264 &:last-child a, &.last a{
265 265 border-bottom: none;
266 266 }
267 267
268 268 &:hover {
269 269 background-color: @grey3;
270 270 }
271 271 }
272 272
273 273 .submenu {
274 274 margin-top: 5px;
275 275 }
276 276 }
277 277
278 278 // SUBMENUS
279 279 .navigation .submenu {
280 280 display: none;
281 281 }
282 282
283 283 .navigation li.open {
284 284 .submenu {
285 285 display: block;
286 286 }
287 287 }
288 288
289 289 .navigation li:last-child .submenu {
290 290 right: -20px;
291 291 left: auto;
292 292 }
293 293
294 294 .submenu {
295 295 position: absolute;
296 296 top: 100%;
297 297 left: 0;
298 298 min-width: 150px;
299 299 margin: 6px 0 0;
300 300 padding: 0;
301 301 text-align: left;
302 302 font-family: @text-light;
303 303 border-radius: @border-radius;
304 304 z-index: 20;
305 305
306 306 li {
307 307 display: block;
308 308 margin: 0;
309 309 padding: 0 .5em;
310 310 line-height: 1em;
311 311 color: @grey3;
312 312 background-color: @grey6;
313 313
314 314 &:before { content: none; }
315 315
316 316 a {
317 317 display: block;
318 318 width: 100%;
319 319 padding: .5em 0;
320 320 border-right: none;
321 321 border-bottom: @border-thickness solid white;
322 322 color: @grey3;
323 323 }
324 324
325 325 ul {
326 326 display: none;
327 327 position: absolute;
328 328 top: 0;
329 329 right: 100%;
330 330 padding: 0;
331 331 z-index: 30;
332 332 }
333 333 &:hover {
334 334 background-color: @grey5;
335 335 -webkit-transition: background .3s;
336 336 -moz-transition: background .3s;
337 337 -o-transition: background .3s;
338 338 transition: background .3s;
339 339
340 340 ul {
341 341 display: block;
342 342 }
343 343 }
344 344 }
345 345 }
346 346
347 347
348 348
349 349
350 350 // repo dropdown
351 351 .quick_repo_menu {
352 352 width: 15px;
353 353 text-align: center;
354 354 position: relative;
355 355 cursor: pointer;
356 356
357 357 div {
358 overflow: visible !important;
358 overflow: visible;
359 359 }
360 360
361 361 &.sorting {
362 362 cursor: auto;
363 363 }
364 364
365 365 &:hover {
366 366 .menu_items_container {
367 367 position: absolute;
368 368 display: block;
369 369 }
370 370 .menu_items {
371 371 display: block;
372 372 }
373 373 }
374 374
375 375 i {
376 376 margin: 0;
377 377 color: @grey4;
378 378 }
379 379
380 380 .menu_items_container {
381 381 position: absolute;
382 382 top: 0;
383 383 left: 100%;
384 384 margin: 0;
385 385 padding: 0;
386 386 list-style: none;
387 387 background-color: @grey6;
388 388 z-index: 999;
389 389 text-align: left;
390 390
391 391 a {
392 392 color: @grey2;
393 393 }
394 394
395 395 ul.menu_items {
396 396 margin: 0;
397 397 padding: 0;
398 398 }
399 399
400 400 li {
401 401 margin: 0;
402 402 padding: 0;
403 403 line-height: 1em;
404 404 list-style-type: none;
405 405
406 406 &:before { content: none; }
407 407
408 408 a {
409 409 display: block;
410 410 height: 16px;
411 411 padding: 8px; //must add up to td height (28px)
412 412 width: 120px; // set width
413 413
414 414 &:hover {
415 415 background-color: @grey5;
416 416 -webkit-transition: background .3s;
417 417 -moz-transition: background .3s;
418 418 -o-transition: background .3s;
419 419 transition: background .3s;
420 420 }
421 421 }
422 422 }
423 423 }
424 424 }
425 425
426 426 // Header Repository Switcher
427 427 // Select2 Dropdown
428 428 #select2-drop.select2-drop.repo-switcher-dropdown {
429 width: auto !important;
429 width: auto;
430 430 margin-top: 5px;
431 431 padding: 1em 0;
432 432 text-align: left;
433 433 .border-radius-bottom(@border-radius);
434 434 border-color: transparent;
435 435 color: @grey6;
436 436 background-color: @grey2;
437 437
438 438 input {
439 439 min-width: 90%;
440 440 }
441 441
442 442 ul.select2-result-sub {
443 443
444 444 li {
445 445 line-height: 1em;
446 446
447 447 &:hover,
448 448 &.select2-highlighted {
449 449 background-color: @grey3;
450 450 }
451 451 }
452 452
453 453 &:before { content: none; }
454 454 }
455 455
456 456 ul.select2-results {
457 457 min-width: 200px;
458 458 margin: 0;
459 459 padding: 0;
460 460 list-style-type: none;
461 461 overflow-x: visible;
462 462 overflow-y: scroll;
463 463
464 464 li {
465 465 padding: 0 8px;
466 466 line-height: 1em;
467 467 color: @grey6;
468 468
469 469 &:before { content: none; }
470 470
471 471 &>.select2-result-label {
472 472 padding: 8px 0;
473 473 border-bottom: @border-thickness solid @grey3;
474 474 white-space: nowrap;
475 475 color: @grey5;
476 476 cursor: pointer;
477 477 }
478 478
479 479 &.select2-result-with-children {
480 480 margin: 0;
481 481 padding: 0;
482 482 }
483 483
484 484 &.select2-result-unselectable > .select2-result-label {
485 485 margin: 0 8px;
486 486 }
487 487
488 488 }
489 489 }
490 490
491 491 ul.select2-result-sub {
492 492 margin: 0;
493 493 padding: 0;
494 494
495 495 li {
496 496 display: block;
497 497 margin: 0;
498 498 border-right: none;
499 499 line-height: 1em;
500 500 font-family: @text-light;
501 501 color: @grey2;
502 502
503 503 &:before { content: none; }
504 504
505 505 &:hover {
506 506 background-color: @grey3;
507 507 }
508 508 }
509 509 }
510 510 }
511 511
512 512
513 513 #context-bar {
514 514 display: block;
515 515 margin: 0 auto;
516 516 padding: 0 @header-padding;
517 517 background-color: @grey6;
518 518 border-bottom: @border-thickness solid @grey5;
519 519
520 520 .clear {
521 521 clear: both;
522 522 }
523 523 }
524 524
525 525 ul#context-pages {
526 526 li {
527 527 line-height: 1em;
528 528
529 529 &:before { content: none; }
530 530
531 531 a {
532 532 color: @grey3;
533 533 }
534 534
535 535 &.active {
536 536 // special case, non-variable color
537 537 border-bottom: 4px solid @nav-grey;
538 538
539 539 a {
540 540 color: @grey1;
541 541 }
542 542 }
543 543 }
544 544 }
545 545
546 546 // PAGINATION
547 547
548 548 .pagination {
549 549 border: @border-thickness solid @rcblue;
550 550 color: @rcblue;
551 551
552 552 .current {
553 553 color: @grey4;
554 554 }
555 555 }
556 556
557 557 .dataTables_processing {
558 558 text-align: center;
559 559 font-size: 1.1em;
560 560 position: relative;
561 561 top: 95px;
562 562 }
563 563
564 564 .dataTables_paginate, .pagination-wh {
565 565 text-align: left;
566 566 display: inline-block;
567 567 border-left: 1px solid @rcblue;
568 568 float: none;
569 569 overflow: hidden;
570 570
571 571 .paginate_button, .pager_curpage,
572 572 .pager_link, .pg-previous, .pg-next, .pager_dotdot {
573 573 display: inline-block;
574 574 padding: @menupadding/4 @menupadding;
575 575 border: 1px solid @rcblue;
576 576 border-left: 0;
577 577 color: @rcblue;
578 578 cursor: pointer;
579 579 float: left;
580 580 }
581 581
582 582 .pager_curpage, .pager_dotdot,
583 583 .paginate_button.current, .paginate_button.disabled,
584 584 .disabled {
585 585 color: @grey3;
586 586 cursor: default;
587 587 }
588 588
589 589 .ellipsis {
590 590 display: inline-block;
591 591 text-align: left;
592 592 padding: @menupadding/4 @menupadding;
593 593 border: 1px solid @rcblue;
594 594 border-left: 0;
595 595 float: left;
596 596 }
597 597 }
598 598
599 599 // SIDEBAR
600 600
601 601 .sidebar {
602 602 .block-left;
603 603 clear: left;
604 604 max-width: @sidebar-width;
605 605 margin-right: @sidebarpadding;
606 606 padding-right: @sidebarpadding;
607 607 font-family: @text-regular;
608 608 color: @grey1;
609 609
610 610 &#graph_nodes {
611 611 clear:both;
612 612 width: auto;
613 613 margin-left: -100px;
614 614 padding: 0;
615 615 border: none;
616 616 }
617 617
618 618 .nav-pills {
619 619 margin: 0;
620 620 }
621 621
622 622 .nav {
623 623 list-style: none;
624 624 padding: 0;
625 625
626 626 li {
627 627 padding-bottom: @menupadding;
628 628 line-height: 1em;
629 629 color: @grey4;
630 630
631 631 &.active a {
632 632 color: @grey2;
633 633 }
634 634
635 635 a {
636 636 color: @grey4;
637 637 }
638 638
639 639 &:before { content: none; }
640 640 }
641 641
642 642 }
643 643 }
644 644
645 645 .main_filter_help_box {
646 646 padding: 7px 7px;
647 647 border-top: 1px solid @grey4;
648 648 border-right: 1px solid @grey4;
649 649 border-bottom: 1px solid @grey4;
650 650 display: inline-block;
651 651 vertical-align: top;
652 652 margin-left: -5px;
653 653 background: @grey3;
654 654 }
655 655
656 656 .main_filter_input_box {
657 657 display: inline-block;
658 658 }
659 659
660 660 .main_filter_box {
661 661 margin: 9px 0 0 0;
662 662 }
663 663
664 664 #main_filter_help {
665 665 background: @grey3;
666 666 border: 1px solid black;
667 667 position: absolute;
668 668 white-space: pre-wrap;
669 669 z-index: 9999;
670 670 color: @nav-grey;
671 671 margin: 1px 7px;
672 672 padding: 0 2px;
673 673 }
674 674
675 675 .main_filter_input {
676 676 padding: 6px;
677 677 min-width: 220px;
678 678 color: @nav-grey;
679 679 background: @grey3;
680 680 }
681 681
682 682 .main_filter_input::placeholder {
683 683 color: @nav-grey;
684 684 opacity: 1;
685 685 }
686 686
687 687 .notice-box {
688 display:block !important;
689 padding: 9px 0 !important;
688 display:block;
689 padding: 9px 0;
690 690 }
691 691
692 692 .menulabel-notice {
693 693 border: 1px solid @color5;
694 694 padding:7px 10px;
695 695 color: @color5;
696 696 }
@@ -1,167 +1,167 b''
1 1 @font-face {
2 2 font-family: 'rcicons';
3 3 src: url('../fonts/RCIcons/rcicons.eot?74666722');
4 4 src: url('../fonts/RCIcons/rcicons.eot?74666722#iefix') format('embedded-opentype'),
5 5 url('../fonts/RCIcons/rcicons.woff2?74666722') format('woff2'),
6 6 url('../fonts/RCIcons/rcicons.woff?74666722') format('woff'),
7 7 url('../fonts/RCIcons/rcicons.ttf?74666722') format('truetype'),
8 8 url('../fonts/RCIcons/rcicons.svg?74666722#rcicons') format('svg');
9 9 font-weight: normal;
10 10 font-style: normal;
11 11 }
12 12 /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
13 13 /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
14 14 /*
15 15 @media screen and (-webkit-min-device-pixel-ratio:0) {
16 16 @font-face {
17 17 font-family: 'rcicons';
18 18 src: url('../fonts/RCIcons/rcicons.svg?74666722#rcicons') format('svg');
19 19 }
20 20 }
21 21 */
22 22
23 23 [class^="icon-"]:before, [class*=" icon-"]:before {
24 24 font-family: "rcicons";
25 25 font-style: normal;
26 26 font-weight: normal;
27 27 speak: none;
28 28
29 29 display: inline-block;
30 30 text-decoration: inherit;
31 31 width: 1em;
32 32 margin-right: .2em;
33 33 text-align: center;
34 34 /* opacity: .8; */
35 35
36 36 /* For safety - reset parent styles, that can break glyph codes*/
37 37 font-variant: normal;
38 38 text-transform: none;
39 39
40 40 /* fix buttons height, for twitter bootstrap */
41 41 line-height: 1em;
42 42
43 43 /* Animation center compensation - margins should be symmetric */
44 44 /* remove if not needed */
45 45 margin-left: .2em;
46 46
47 47 /* you can be more comfortable with increased icons size */
48 48 /* font-size: 120%; */
49 49
50 50 /* Font smoothing. That was taken from TWBS */
51 51 -webkit-font-smoothing: antialiased;
52 52 -moz-osx-font-smoothing: grayscale;
53 53
54 54 /* Uncomment for 3D effect */
55 55 /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
56 56 }
57 57
58 58 .icon-no-margin::before {
59 59 margin: 0;
60 60
61 61 }
62 62 // -- ICON CLASSES -- //
63 63
64 64 .icon-bookmark:before { content: '\e803'; } /* '' */
65 65 .icon-branch:before { content: '\e804'; } /* '' */
66 66 .icon-lock:before { content: '\e806'; } /* '' */
67 67 .icon-unlock:before { content: '\e807'; } /* '' */
68 68 .icon-delete:before { content: '\e808'; } /* '' */
69 69 .icon-false:before { content: '\e808'; } /* '' */
70 70
71 71 .icon-ok:before { content: '\e809'; } /* '' */
72 72 .icon-true:before { content: '\e809'; } /* '' */
73 73
74 74 .icon-comment:before { content: '\e80a'; } /* '' */
75 75 .icon-comment-add:before { content: '\e816'; } /* '' */
76 76 .icon-comment_toggle:before { content: '\e818'; } /* '' */
77 77
78 78 .icon-feed:before { content: '\e80b'; } /* '' */
79 79
80 80 .icon-right:before { content: '\e80c'; } /* '' */
81 81 .icon-left:before { content: '\e80d'; } /* '' */
82 82
83 83 .icon-arrow_down:before { content: '\e80e'; } /* '' */
84 84 .icon-arrow_up:before { content: '\e80e'; } /* '' */
85 85
86 86 .icon-group:before { content: '\e812'; } /* '' */
87 87
88 88 .icon-fork:before { content: '\e814'; } /* '' */
89 89 .icon-merge:before { content: '\e814'; } /* '' */
90 90
91 91 .icon-more:before { content: '\e815'; } /* '' */
92 92
93 93 .icon-git-inv:before { content: '\e80f'; } /* '' */
94 94 .icon-hg-inv:before { content: '\e810'; } /* '' */
95 95 .icon-svn-inv:before { content: '\e811'; } /* '' */
96 96
97 97 .icon-git:before { content: '\e81a'; } /* '' */
98 98 .icon-hg:before { content: '\e81b'; } /* '' */
99 99 .icon-svn:before { content: '\e820'; } /* '' */
100 100
101 101 .icon-minus:before { content: '\e81c'; } /* '' */
102 102 .icon-plus:before { content: '\e81d'; } /* '' */
103 103 .icon-remove:before { content: '\e81e'; } /* '' */
104 104 .icon-remove-sign:before { content: '\e81e'; } /* '' */
105 105
106 106 .icon-rhodecode:before { content: '\e81f'; } /* '' */
107 107
108 108 .icon-tag:before { content: '\e821'; } /* '' */
109 109 .icon-copy:before { content: '\f0c5'; } /* '' */
110 110 .icon-clipboard:before { content: '\f0c5'; } /* '' */
111 111
112 112
113 113 .icon-folder:before { content: '\e813'; } /* '' */
114 114 .icon-folder-close:before { content: '\e813'; } /* '' */
115 115
116 116 .icon-directory:before { content: '\e800'; } /* '' */
117 117 .icon-directory-empty:before { content: '\f114'; } /* '' */
118 118 .icon-file-text:before { content: '\f0f6'; } /* '' */
119 119 .icon-file-text-inv:before { content: '\f15c'; } /* '' */
120 120 .icon-file-code:before { content: '\f1c9'; } /* '' */
121 121
122 122 // MERGED ICONS
123 123
124 124 .icon-repo-private:before { &:extend(.icon-lock:before); }
125 125 .icon-repo-lock:before { &:extend(.icon-lock:before); }
126 126 .icon-unlock-alt:before { &:extend(.icon-unlock:before); }
127 127 .icon-repo-unlock:before { &:extend(.icon-unlock:before); }
128 128 .icon-repo-public:before { &:extend(.icon-unlock:before); }
129 129 .icon-rss-sign:before { &:extend(.icon-feed:before); }
130 130 .icon-code-fork:before { &:extend(.icon-fork:before); }
131 131
132 132 // TRANSFORM
133 133 .icon-arrow_up:before {transform: rotate(180deg);}
134 134 .icon-merge:before {transform: rotate(180deg);}
135 135
136 136 // -- END ICON CLASSES -- //
137 137
138 138
139 139 //--- ICONS STYLING ------------------//
140 140
141 .icon-git { color: @color4 !important; }
142 .icon-hg { color: @color8 !important; }
143 .icon-svn { color: @color1 !important; }
144 .icon-git-inv { color: @color4 !important; }
145 .icon-hg-inv { color: @color8 !important; }
146 .icon-svn-inv { color: @color1 !important; }
141 .icon-git { color: @color4; }
142 .icon-hg { color: @color8; }
143 .icon-svn { color: @color1; }
144 .icon-git-inv { color: @color4; }
145 .icon-hg-inv { color: @color8; }
146 .icon-svn-inv { color: @color1; }
147 147 .icon-repo-lock { color: #FF0000; }
148 148 .icon-repo-unlock { color: #FF0000; }
149 149
150 150 .repo-switcher-dropdown .select2-result-label {
151 151 .icon-git:before {
152 152 &:extend(.icon-git-transparent:before);
153 153 }
154 154 .icon-hg:before {
155 155 &:extend(.icon-hg-transparent:before);
156 156 color: @alert4;
157 157 }
158 158 .icon-svn:before {
159 159 &:extend(.icon-svn-transparent:before);
160 160 }
161 161 }
162 162
163 163 .icon-user-group:before {
164 164 &:extend(.icon-group:before);
165 165 margin: 0;
166 166 font-size: 16px;
167 167 }
@@ -1,252 +1,252 b''
1 1 /** README styling **/
2 2 div.readme_box {
3 3 clear: both;
4 4 overflow: hidden;
5 5 margin: 0;
6 6 padding: 3px 15px 3px;
7 7 }
8 8
9 9 div.readme_box h1,
10 10 div.readme_box h2,
11 11 div.readme_box h3,
12 12 div.readme_box h4,
13 13 div.readme_box h5,
14 14 div.readme_box h6 {
15 border-bottom: none !important;
16 padding: 0 !important;
17 overflow: visible !important;
15 border-bottom: none;
16 padding: 0;
17 overflow: visible;
18 18 }
19 19
20 20 div.readme_box h1 {
21 21 font-size: 32px;
22 margin: 15px 0 15px 0 !important;
23 padding-bottom: 5px !important;
22 margin: 15px 0 15px 0;
23 padding-bottom: 5px;
24 24 }
25 25
26 26 div.readme_box h2 {
27 font-size: 24px !important;
28 margin: 34px 0 10px 0 !important;
29 border-top: 3px #e6e5e5 solid !important;
30 padding-top: 15px !important;
31 padding-bottom: 8px !important;
27 font-size: 24px;
28 margin: 34px 0 10px 0;
29 border-top: 3px #e6e5e5 solid;
30 padding-top: 15px;
31 padding-bottom: 8px;
32 32 }
33 33
34 34 div.readme_box h3 {
35 font-size: 18px !important;
36 margin: 30px 0 8px 0 !important;
37 padding-bottom: 2px !important;
35 font-size: 18px;
36 margin: 30px 0 8px 0;
37 padding-bottom: 2px;
38 38 }
39 39
40 40 div.readme_box h4 {
41 font-size: 13px !important;
42 margin: 18px 0 3px 0 !important;
41 font-size: 13px;
42 margin: 18px 0 3px 0;
43 43 }
44 44
45 45 div.readme_box h5 {
46 font-size: 12px !important;
47 margin: 15px 0 3px 0 !important;
46 font-size: 12px;
47 margin: 15px 0 3px 0;
48 48 }
49 49
50 50 div.readme_box h6 {
51 51 font-size: 12px;
52 52 color: #777777;
53 margin: 15px 0 3px 0 !important;
53 margin: 15px 0 3px 0;
54 54 }
55 55
56 56 div.readme_box hr {
57 57 border: 0;
58 58 color: #e6e5e5;
59 59 background-color: #e6e5e5;
60 60 height: 3px;
61 61 margin-bottom: 13px;
62 62 }
63 63
64 64 div.readme_box ol,
65 65 div.readme_box ul,
66 66 div.readme_box p,
67 67 div.readme_box blockquote,
68 68 div.readme_box dl,
69 69 div.readme_box li,
70 70 div.readme_box table {
71 margin: 3px 0px 13px 0px !important;
72 color: #424242 !important;
73 font-size: 13px !important;
74 font-family: "Helvetica" !important;
75 font-weight: normal !important;
76 overflow: visible !important;
77 line-height: 140% !important;
71 margin: 3px 0px 13px 0px;
72 color: #424242;
73 font-size: 13px;
74 font-family: "Helvetica";
75 font-weight: normal ;
76 overflow: visible;
77 line-height: 140%;
78 78 }
79 79
80 80 div.readme_box pre {
81 margin: 3px 0px 13px 0px !important;
81 margin: 3px 0px 13px 0px;
82 82 padding: .5em;
83 color: #424242 !important;
84 font-size: 13px !important;
85 overflow: visible !important;
86 line-height: 140% !important;
83 color: #424242;
84 font-size: 13px;
85 overflow: visible;
86 line-height: 140%;
87 87 background-color: @grey7;
88 88 }
89 89
90 90 div.readme_box img {
91 91 border-style: none;
92 92 background-color: #fff;
93 93 }
94 94
95 95
96 96 div.readme_box strong {
97 97 font-weight: 600;
98 98 margin: 0;
99 99 }
100 100
101 101 div.readme_box ul,
102 102 div.readme_box ol {
103 padding-left: 30px !important;
104 margin-top: 0px !important;
105 margin-bottom: 18px !important;
103 padding-left: 30px;
104 margin-top: 0px;
105 margin-bottom: 18px;
106 106 }
107 107
108 108 div.readme_box ul li,
109 109 div.readme_box ol li {
110 list-style: bullet !important;
111 margin: 6px !important;
112 padding: 0 !important;
110 list-style: bullet;
111 margin: 6px;
112 padding: 0;
113 113 }
114 114
115 115 div.readme_box ol li {
116 list-style: decimal !important;
116 list-style: decimal;
117 117 }
118 118
119 119 /*
120 120 div.readme_box a,
121 121 div.readme_box a:visited {
122 color: #4183C4 !important;
122 color: #4183C4;
123 123 background-color: inherit;
124 124 text-decoration: none;
125 125 }
126 126 */
127 127
128 128
129 129 div.readme_box button {
130 130 font-size: @basefontsize;
131 131 padding: 4px 6px;
132 132 .border-radius(@border-radius);
133 133 border: @border-thickness solid @grey5;
134 134 background-color: @grey6;
135 135 }
136 136
137 137 div.readme_box code,
138 138 div.readme_box pre {
139 139 font-family: Monaco;
140 140 font-size: 11px;
141 141 .border-radius(@border-radius);
142 142 background-color: white;
143 143 color: @grey3;
144 144 }
145 145
146 146
147 147 div.readme_box code {
148 148 border: @border-thickness solid @grey6;
149 149 margin: 0 2px;
150 150 padding: 0 5px;
151 151 }
152 152
153 153 div.readme_box pre {
154 154 border: @border-thickness solid @grey5;
155 155 overflow: auto;
156 156 padding: .5em;
157 157 background-color: @grey7;
158 158 }
159 159
160 160 div.readme_box pre > code {
161 161 border: 0;
162 162 margin: 0;
163 163 padding: 0;
164 164 }
165 165
166 166 /** RST STYLE **/
167 167 div.rst-block {
168 168 clear: both;
169 169 overflow: hidden;
170 170 margin: 0;
171 171 padding: 3px 15px 3px;
172 172 }
173 173
174 174 div.rst-block h2 {
175 175 font-weight: normal;
176 176 }
177 177
178 178 div.rst-block h1,
179 179 div.rst-block h2,
180 180 div.rst-block h3,
181 181 div.rst-block h4,
182 182 div.rst-block h5,
183 183 div.rst-block h6 {
184 border-bottom: 0 !important;
185 margin: 0 !important;
186 padding: 0 !important;
187 line-height: 1.5em !important;
184 border-bottom: 0;
185 margin: 0;
186 padding: 0;
187 line-height: 1.5em;
188 188 }
189 189
190 190
191 191 div.rst-block h1:first-child {
192 padding-top: .25em !important;
192 padding-top: .25em;
193 193 }
194 194
195 195 div.rst-block h2,
196 196 div.rst-block h3 {
197 margin: 1em 0 !important;
197 margin: 1em 0;
198 198 }
199 199
200 200 div.rst-block h2 {
201 margin-top: 1.5em !important;
202 border-top: 4px solid #e0e0e0 !important;
203 padding-top: .5em !important;
201 margin-top: 1.5em;
202 border-top: 4px solid #e0e0e0;
203 padding-top: .5em;
204 204 }
205 205
206 206 div.rst-block p {
207 color: black !important;
208 margin: 1em 0 !important;
209 line-height: 1.5em !important;
207 color: black;
208 margin: 1em 0;
209 line-height: 1.5em;
210 210 }
211 211
212 212 div.rst-block ul {
213 list-style: disc !important;
214 margin: 1em 0 1em 2em !important;
213 list-style: disc;
214 margin: 1em 0 1em 2em;
215 215 clear: both;
216 216 }
217 217
218 218 div.rst-block ol {
219 219 list-style: decimal;
220 margin: 1em 0 1em 2em !important;
220 margin: 1em 0 1em 2em;
221 221 }
222 222
223 223 div.rst-block pre,
224 224 div.rst-block code {
225 225 font: 12px "Bitstream Vera Sans Mono","Courier",monospace;
226 226 }
227 227
228 228 div.rst-block code {
229 font-size: 12px !important;
230 background-color: ghostWhite !important;
231 color: #444 !important;
232 padding: 0 .2em !important;
233 border: 1px solid #dedede !important;
229 font-size: 12px;
230 background-color: ghostWhite;
231 color: #444;
232 padding: 0 .2em;
233 border: 1px solid #dedede;
234 234 }
235 235
236 236 div.rst-block pre code {
237 padding: 0 !important;
238 font-size: 12px !important;
239 background-color: #eee !important;
240 border: none !important;
237 padding: 0;
238 font-size: 12px;
239 background-color: #eee;
240 border: none;
241 241 }
242 242
243 243 div.rst-block pre {
244 244 margin: 1em 0;
245 245 padding: @padding;
246 246 border: 1px solid @grey6;
247 247 .border-radius(@border-radius);
248 248 overflow: auto;
249 249 font-size: 12px;
250 250 color: #444;
251 251 background-color: @grey7;
252 } No newline at end of file
252 }
@@ -1,222 +1,222 b''
1 1 // select2.less
2 2 // For use in RhodeCode application drop down select boxes;
3 3 // see style guide documentation for guidelines.
4 4
5 5
6 6 // SELECT2 DROPDOWN MENUS
7 7
8 8 //Select2 Dropdown
9 9 .select2-results{
10 10 .box-sizing(border-box);
11 11 overflow-y: scroll;
12 12 }
13 13
14 14 .select2-container{margin: 0; position: relative; display: inline-block; zoom: 1;}
15 15 .select2-container,
16 16 .select2-drop,
17 17 .select2-search,
18 18 .select2-search input {.box-sizing(border-box);}
19 19 .select2-container .select2-choice{display:block; line-height:1em; -webkit-touch-callout:none;-moz-user-select:none;-ms-user-select:none;user-select:none; }
20 20 .main .select2-container .select2-choice { background-color: white; }
21 21 .select2-container .select2-choice abbr { display: none; width: 12px; height: 12px; position: absolute; right: 24px; top: 8px; font-size: 1px; text-decoration: none; border: 0; background: url('../images/select2.png') right top no-repeat; cursor: pointer; outline: 0; }
22 22 .select2-container.select2-allowclear .select2-choice abbr {display: inline-block;}
23 23 .select2-container .select2-choice abbr:hover { background-position: right -11px; cursor: pointer; }
24 24 .select2-drop-mask { border: 0; margin: 0; padding: 0; position: fixed; left: 0; top: 0; min-height: 100%; min-width: 100%; height: auto; width: auto; opacity: 0; z-index: 998; background-color: #fff; filter: alpha(opacity=0); }
25 25 .select2-drop { width: 100%; margin-top: -1px; position: absolute; z-index: 999; top: 100%; background: #fff; color: #000; border: @border-thickness solid @rcblue; border-top: 0; border-radius: 0 0 @border-radius @border-radius; }
26 26 .select2-drop.select2-drop-above { margin-top: 1px; border-top: @border-thickness solid @rclightblue; border-bottom: 0; border-radius: @border-radius @border-radius 0 0; }
27 27 .select2-drop-active { border: @border-thickness solid #5897fb; border-top: none; }
28 28 .select2-drop.select2-drop-above.select2-drop-active {border-top: @border-thickness solid #5897fb;}
29 29 .select2-drop-auto-width { border-top: @border-thickness solid #aaa; width: auto; }
30 30 .select2-drop-auto-width .select2-search {padding-top: 4px;}
31 31 html[dir="rtl"] .select2-container .select2-choice .select2-arrow { left: 0; right: auto; border-left: none; border-right: @border-thickness solid @grey5; border-radius: @border-radius 0 0 @border-radius; }
32 32 html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {background-position: 2px 1px;}
33 33 .select2-search { display: inline-block; width: 100%; min-height: 26px; margin: 0; padding-left: 4px; padding-right: 4px; position: relative; z-index: 1000; white-space: nowrap; }
34 .select2-search input { width: 100%; height: auto !important; min-height: 26px; padding: 4px 20px 4px 5px; margin: 0; outline: 0; }
34 .select2-search input { width: 100%; height: auto; min-height: 26px; padding: 4px 20px 4px 5px; margin: 0; outline: 0; }
35 35 html[dir="rtl"] .select2-search input { padding: 4px 5px 4px 20px; background: #fff url('../images/select2.png') no-repeat -37px -22px; }
36 36 .select2-drop.select2-drop-above .select2-search input {margin-top: 4px;}
37 37 .select2-dropdown-open .select2-choice .select2-arrow { background: transparent; border-left: none; filter: none; }
38 38 html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {border-right: none;}
39 39 .select2-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
40 40 /* results */
41 41 .select2-results { max-height: 200px; padding: 0 0 0 4px; margin: 4px 4px 4px 0; position: relative; overflow-x: hidden; overflow-y: auto; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
42 42 html[dir="rtl"] .select2-results { padding: 0 4px 0 0; margin: 4px 0 4px 4px; }
43 43 .select2-results .select2-disabled{background:@grey6;display:list-item;cursor:default}
44 44 .select2-results .select2-selected{display:none}
45 45 .select2-more-results.select2-active{background:#f4f4f4 url('../images/select2-spinner.gif') no-repeat 100%}
46 46 .select2-container.select2-container-disabled .select2-choice abbr{display:none}
47 47 .select2-container.select2-container-disabled {background:@grey6;cursor:default}
48 48 .select2-container.select2-container-disabled .select2-choice {background:@grey6;cursor:default}
49 49 .select2-container-multi .select2-choices li{float:left;list-style:none}
50 50 .select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap}
51 51 .select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default}
52 52 .select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:3px;top:4px;font-size:1px;outline:none;background:url('../images/select2.png') right top no-repeat}
53 53 .select2-container-multi .select2-search-choice-close{left:3px}
54 54 .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover{background-position:right -11px}
55 55 .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px}
56 56 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:none}
57 .select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0) !important;width:1px !important;height:1px !important;
58 border:0 !important;margin:0 !important;padding:0 !important;overflow:hidden !important;
59 position: absolute !important;outline:0 !important;left:0 !important;top:0 !important}
57 .select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0);width:1px;height:1px;
58 border:0;margin:0;padding:0;overflow:hidden;
59 position: absolute;outline:0;left:0;top:0}
60 60 .select2-display-none,
61 61 .select2-search-hidden {display:none}
62 62 .select2-search input { border-color: @rclightblue; }
63 63
64 64 .select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}
65 65 @media only screen and (-webkit-min-device-pixel-ratio:1.5),
66 66 only screen and (min-resolution:144dpi){
67 67 .select2-search input,
68 68 .select2-search-choice-close,
69 69 .select2-container .select2-choice abbr,
70 70 .select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png');background-repeat:no-repeat;background-size:60px 40px;}
71 71 .select2-search input{background-position:100% -21px}
72 72 }
73 73 [class^="input-"] [class^="select2-choice"]>div{display:none}
74 74 [class^="input-"] .select2-offscreen{position:absolute}
75 75 select.select2{height:28px;visibility:hidden}
76 76 .autocomplete-suggestions{overflow:auto}
77 77 .autocomplete-suggestion{white-space:nowrap;overflow:hidden}
78 78
79 79 /* Retina-ize icons */
80 80 @media only screen and (-webkit-min-device-pixel-ratio:1.5),
81 81 only screen and (min-resolution:144dpi){
82 82 .select2-search input,
83 83 .select2-search-choice-close,
84 84 .select2-container .select2-choice abbr,
85 85 .select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png');background-repeat:no-repeat;background-size:60px 40px;}
86 86 .select2-search input{background-position:100% -21px}
87 87 }
88 88
89 89 //Internal Select2 Dropdown Menus
90 90
91 91 .drop-menu-core {
92 92 min-width: 160px;
93 93 margin: 0 @padding 0 0;
94 94 padding: 0;
95 95 border: @border-thickness solid @rcblue;
96 96 border-radius: @border-radius;
97 97 color: @rcblue;
98 98 background-color: white;
99 99 }
100 100
101 101 .drop-menu-dropdown {
102 102 .drop-menu-core;
103 103
104 104 .flag_status {
105 105 margin-top: 0;
106 106 }
107 107 }
108 108
109 109 .drop-menu-base {
110 110 .drop-menu-core;
111 111 position: relative;
112 112 display: inline-block;
113 113 line-height: 1em;
114 114 z-index: 2;
115 115 cursor: pointer;
116 116
117 117 .flag_status {
118 118 margin-top: 0;
119 119 }
120 120
121 121 a {
122 122 display:block;
123 123 padding: .9em;
124 124 padding-right: 2em;
125 125 position: relative;
126 126
127 127 &:after {
128 128 position: absolute;
129 129 content: "\00A0\25BE";
130 130 right: .6em;
131 131 line-height: 1em;
132 132 top: 0.9em;
133 133 width: 1em;
134 134 font-size: 1em;
135 135 }
136 136 }
137 137 }
138 138
139 139 .drop-menu {
140 140 .drop-menu-base;
141 width: auto !important;
141 width: auto;
142 142 }
143 143
144 144 .drop-menu-no-width {
145 145 .drop-menu-base;
146 146 width: auto;
147 147 }
148 148
149 149 .field-sm .drop-menu {
150 150 padding: 1px 0 0 0;
151 151 a {
152 152 padding: 6px;
153 153 };
154 154 }
155 155
156 156 .select2-search input {
157 157 width: 100%;
158 158 margin: .5em 0;
159 159 padding: .5em;
160 160 }
161 161
162 162 .select2-no-results {
163 163 padding: .5em;
164 164 }
165 165
166 166 .drop-menu-dropdown ul {
167 167 width: auto;
168 168 margin: 0;
169 169 padding: 0;
170 170 z-index: 50;
171 171
172 172 li {
173 173 margin: 0;
174 174 line-height: 1em;
175 175 list-style-type: none;
176 176
177 177 &:before { content: none; }
178 178
179 179 &:hover,
180 180 &.select2-highlighted {
181 181 background-color: @rclightblue;
182 182 }
183 183
184 184 &.select2-result-with-children {
185 185 &:hover {
186 186 background-color: white;
187 187 }
188 188 }
189 189
190 190 .select2-result-label {
191 191 display:block;
192 192 padding: 8px;
193 193 font-family: @text-regular;
194 194 border-bottom: @border-thickness solid @rclightblue;
195 195 color: @rcblue;
196 196 cursor: pointer;
197 197 }
198 198 &.select2-result-with-children {
199 199
200 200 .select2-result-label {
201 201 font-family: @text-semibold;
202 202 color: @rcdarkblue;
203 203 cursor: default;
204 204 }
205 205
206 206 ul.select2-result-sub li .select2-result-label {
207 207 padding-left: 16px;
208 208 font-family: @text-regular;
209 209 color: @rcblue;
210 210 cursor: pointer;
211 211 }
212 212 }
213 213 }
214 214 }
215 215
216 216 .side-by-side-selector {
217 217 .left-group,
218 218 .middle-group,
219 219 .right-group {
220 220 margin-bottom: @padding;
221 221 }
222 222 }
@@ -1,503 +1,503 b''
1 1
2 2 // tables.less
3 3 // For use in RhodeCode application tables;
4 4 // see style guide documentation for guidelines.
5 5
6 6 // TABLES
7 7
8 8 .rctable,
9 9 table.rctable,
10 10 table.dataTable {
11 11 clear:both;
12 12 width: 100%;
13 13 margin: 0 auto @padding;
14 14 padding: 0;
15 15 vertical-align: baseline;
16 16 line-height:1.5em;
17 17 border: none;
18 18 outline: none;
19 19 border-collapse: collapse;
20 20 border-spacing: 0;
21 21 color: @grey2;
22 22
23 23 b {
24 24 font-weight: normal;
25 25 }
26 26
27 27 em {
28 28 font-weight: bold;
29 29 font-style: normal;
30 30 }
31 31
32 32 th,
33 33 td {
34 34 height: auto;
35 35 max-width: 20%;
36 36 padding: .65em 1em .65em 0;
37 37 vertical-align: middle;
38 38 border-bottom: @border-thickness solid @grey5;
39 39 white-space: normal;
40 40
41 41 &.td-radio,
42 42 &.td-checkbox {
43 43 padding-right: 0;
44 44 text-align: center;
45 45
46 46 input {
47 47 margin: 0 1em;
48 48 }
49 49 }
50 50
51 51 &.truncate-wrap {
52 white-space: nowrap !important;
52 white-space: nowrap;
53 53 }
54 54
55 55 pre {
56 56 margin: 0;
57 57 }
58 58
59 59 .show_more {
60 60 height: inherit;
61 61 }
62 62 }
63 63
64 64 .expired td {
65 65 background-color: @grey7;
66 66 }
67 67
68 68 .td-radio + .td-owner {
69 69 padding-left: 1em;
70 70 }
71 71
72 72
73 73 th {
74 74 text-align: left;
75 75 font-family: @text-semibold;
76 76 }
77 77
78 78 .hl {
79 79 td {
80 80 background-color: lighten(@alert4,25%);
81 81 }
82 82 }
83 83
84 84 // Special Data Cell Types
85 85 // See style guide for desciptions and examples.
86 86
87 87 td {
88 88
89 89 &.user {
90 90 padding-left: 1em;
91 91 }
92 92
93 93 &.td-rss {
94 94 width: 20px;
95 95 min-width: 0;
96 96 margin: 0;
97 97 }
98 98
99 99 &.quick_repo_menu {
100 100 width: 15px;
101 101 text-align: center;
102 102
103 103 &:hover {
104 104 background-color: @grey5;
105 105 }
106 106 }
107 107
108 108 &.td-hash {
109 109 min-width: 80px;
110 110 width: 200px;
111 111
112 112 .obsolete {
113 113 text-decoration: line-through;
114 114 color: lighten(@grey2,25%);
115 115 }
116 116 }
117 117
118 118 &.td-time {
119 119 width: 160px;
120 120 white-space: nowrap;
121 121 }
122 122
123 123 &.annotate{
124 124 padding-right: 0;
125 125
126 126 div.annotatediv{
127 127 margin: 0 0.7em;
128 128 }
129 129 }
130 130
131 131 &.tags-col {
132 132 padding-right: 0;
133 133 }
134 134
135 135 &.td-description {
136 136 min-width: 350px;
137 137
138 138 &.truncate, .truncate-wrap {
139 139 white-space: nowrap;
140 140 overflow: hidden;
141 141 text-overflow: ellipsis;
142 142 max-width: 450px;
143 143 }
144 144 }
145 145
146 146 &.td-componentname {
147 147 white-space: nowrap;
148 148 }
149 149
150 150 &.td-name {
151 151
152 152 }
153 153
154 154 &.td-journalaction {
155 155 min-width: 300px;
156 156
157 157 .journal_action_params {
158 158 // waiting for feedback
159 159 }
160 160 }
161 161
162 162 &.td-active {
163 163 padding-left: .65em;
164 164 }
165 165
166 166 &.td-url {
167 167 white-space: nowrap;
168 168 }
169 169
170 170 &.td-comments {
171 171 min-width: 3em;
172 172 }
173 173
174 174 &.td-buttons {
175 175 padding: .3em 0;
176 176 }
177 177
178 178 &.td-action {
179 179 // this is for the remove/delete/edit buttons
180 180 padding-right: 0;
181 181 min-width: 95px;
182 182 text-transform: capitalize;
183 183
184 184 i {
185 185 display: none;
186 186 }
187 187 }
188 188
189 189 // TODO: lisa: this needs to be cleaned up with the buttons
190 190 .grid_edit,
191 191 .grid_delete {
192 192 display: inline-block;
193 193 margin: 0 @padding/3 0 0;
194 194 font-family: @text-light;
195 195
196 196 i {
197 197 display: none;
198 198 }
199 199 }
200 200
201 201 .grid_edit + .grid_delete {
202 202 border-left: @border-thickness solid @grey5;
203 203 padding-left: @padding/2;
204 204 }
205 205
206 206 &.td-compare {
207 207
208 208 input {
209 209 margin-right: 1em;
210 210 }
211 211
212 212 .compare-radio-button {
213 213 margin: 0 1em 0 0;
214 214 }
215 215
216 216
217 217 }
218 218
219 219 &.td-tags {
220 220 padding: .5em 1em .5em 0;
221 221 width: 140px;
222 222
223 223 .tag {
224 224 margin: 1px;
225 225 float: left;
226 226 }
227 227 }
228 228
229 229 .icon-svn, .icon-hg, .icon-git {
230 230 font-size: 1.4em;
231 231 }
232 232
233 233 &.collapse_commit,
234 234 &.expand_commit {
235 235 padding-right: 0;
236 236 padding-left: 1em;
237 237 }
238 238 }
239 239
240 240 .perm_admin_row {
241 241 color: @grey4;
242 242 background-color: @grey6;
243 243 }
244 244
245 245 .noborder {
246 246 border: none;
247 247
248 248 td {
249 249 border: none;
250 250 }
251 251 }
252 252 }
253 253 .rctable.audit-log {
254 254 td {
255 255 vertical-align: top;
256 256 }
257 257 }
258 258
259 259 // TRUNCATING
260 260 // TODO: lisaq: should this possibly be moved out of tables.less?
261 261 // for truncated text
262 262 // used inside of table cells and in code block headers
263 263 .truncate-wrap {
264 white-space: nowrap !important;
264 white-space: nowrap;
265 265
266 266 //truncated text
267 267 .truncate {
268 268 max-width: 450px;
269 269 width: 300px;
270 270 overflow: hidden;
271 271 text-overflow: ellipsis;
272 272 -o-text-overflow: ellipsis;
273 273 -ms-text-overflow: ellipsis;
274 274
275 275 &.autoexpand {
276 276 width: 120px;
277 277 margin-right: 200px;
278 278 }
279 279 }
280 280 &:hover .truncate.autoexpand {
281 281 overflow: visible;
282 282 }
283 283
284 284 .tags-truncate {
285 285 width: 150px;
286 286 height: 22px;
287 287 overflow: hidden;
288 288
289 289 .tag {
290 290 display: inline-block;
291 291 }
292 292
293 293 &.truncate {
294 294 height: 22px;
295 295 max-height:2em;
296 296 width: 140px;
297 297 }
298 298 }
299 299 }
300 300
301 301 .apikeys_wrap {
302 302 margin-bottom: @padding;
303 303
304 304 table.rctable td:first-child {
305 305 width: 340px;
306 306 }
307 307 }
308 308
309 309
310 310
311 311 // SPECIAL CASES
312 312
313 313 // Repository Followers
314 314 table.rctable.followers_data {
315 315 width: 75%;
316 316 margin: 0;
317 317 }
318 318
319 319 // Repository List
320 320 // Group Members List
321 321 table.rctable.group_members,
322 322 table#repo_list_table {
323 323 min-width: 600px;
324 324 }
325 325
326 326 // Keyboard mappings
327 327 table.keyboard-mappings {
328 328 th {
329 329 text-align: left;
330 330 font-family: @text-semibold;
331 331 }
332 332 }
333 333
334 334 // Branches, Tags, and Bookmarks
335 335 #obj_list_table.dataTable {
336 336 td.td-time {
337 337 padding-right: 1em;
338 338 }
339 339 }
340 340
341 341 // User Admin
342 342 .rctable.useremails,
343 343 .rctable.account_emails {
344 344 .tag,
345 345 .btn {
346 346 float: right;
347 347 }
348 348 .btn { //to line up with tags
349 349 margin-right: 1.65em;
350 350 }
351 351 }
352 352
353 353 // User List
354 354 #user_list_table {
355 355
356 356 td.td-user {
357 357 min-width: 100px;
358 358 }
359 359 }
360 360
361 361 // Pull Request List Table
362 362 #pull_request_list_table.dataTable {
363 363
364 364 //TODO: lisa: This needs to be removed once the description is adjusted
365 365 // for using an expand_commit button (see issue 765)
366 366 td {
367 367 vertical-align: middle;
368 368 }
369 369 }
370 370
371 371 // Settings (no border)
372 372 table.rctable.dl-settings {
373 373 td {
374 374 border: none;
375 375 }
376 376 }
377 377
378 378
379 379 // Statistics
380 380 table.trending_language_tbl {
381 381 width: 100%;
382 382 line-height: 1em;
383 383
384 384 td div {
385 385 overflow: visible;
386 386 }
387 387 }
388 388
389 389 .trending_language_tbl, .trending_language_tbl td {
390 390 border: 0;
391 391 margin: 0;
392 392 padding: 0;
393 393 background: transparent;
394 394 }
395 395
396 396 .trending_language_tbl, .trending_language_tbl tr {
397 397 border-spacing: 0 3px;
398 398 }
399 399
400 400 .trending_language {
401 401 position: relative;
402 402 width: 100%;
403 403 height: 19px;
404 404 overflow: hidden;
405 405 background-color: @grey6;
406 406
407 407 span, b{
408 408 position: absolute;
409 409 display: block;
410 410 height: 12px;
411 411 margin-bottom: 0px;
412 412 white-space: pre;
413 413 padding: floor(@basefontsize/4);
414 414 top: 0;
415 415 left: 0;
416 416 }
417 417
418 418 span{
419 419 color: @text-color;
420 420 z-index: 0;
421 421 min-width: 20px;
422 422 }
423 423
424 424 b {
425 425 z-index: 1;
426 426 overflow: hidden;
427 427 background-color: @rcblue;
428 428 color: #FFF;
429 429 text-decoration: none;
430 430 }
431 431
432 432 }
433 433
434 434 // Changesets
435 435 #changesets.rctable {
436 436
437 437 // td must be fixed height for graph
438 438 td {
439 439 height: 32px;
440 440 padding: 0 1em 0 0;
441 441 vertical-align: middle;
442 442 white-space: nowrap;
443 443
444 444 &.td-description {
445 445 white-space: normal;
446 446 }
447 447
448 448 &.expand_commit {
449 449 padding-right: 0;
450 450 }
451 451 }
452 452 }
453 453
454 454 // Compare
455 455 table.compare_view_commits {
456 456 margin-top: @space;
457 457
458 458 td.td-time {
459 459 padding-left: .5em;
460 460 }
461 461
462 462 // special case to not show hover actions on hidden indicator
463 463 tr.compare_select_hidden:hover {
464 464 cursor: inherit;
465 465
466 466 td {
467 467 background-color: inherit;
468 468 }
469 469 }
470 470
471 471 tr:hover {
472 472 cursor: pointer;
473 473
474 474 td {
475 475 background-color: lighten(@alert4,25%);
476 476 }
477 477 }
478 478
479 479
480 480 }
481 481
482 482 .file_history {
483 483 td.td-actions {
484 484 text-align: right;
485 485 }
486 486 }
487 487
488 488
489 489 // Gist List
490 490 #gist_list_table {
491 491 td {
492 492 vertical-align: middle;
493 493
494 494 div{
495 495 display: inline-block;
496 496 vertical-align: middle;
497 497 }
498 498
499 499 img{
500 500 vertical-align: middle;
501 501 }
502 502 }
503 503 }
General Comments 4
Under Review
author

Auto status change to "Under Review"

Rejected

Hi !

First thanks for your contributin. We really appriciate it.
Saddly after doing some checks this breaks a lot of things. We know having !important tags is bad, this is why we're going to remove them, but this has
to be done by our UI team, after checking 100s of UI elements styling.

I'm going to reject that, if you see any specific !important tags to be removed let us know in tickets on issues.rhodecode.com.

Rejected

Closing with status change > Rejected.

You need to be logged in to leave comments. Login now