@@ -542,29 +542,35 @@ table#dirlist { /* the "Name" column */
542
542
background-position : -69px 0 ;
543
543
}
544
544
545
- # dirlist td : nth-child (n+2 ) { /* all but the first column */
545
+ # dirlist td : nth-child (n+3 ) { /* all but the first 2 columns */
546
546
padding-right : 1em ;
547
547
}
548
548
549
- # dirlist tbody td : nth-child (4 ) {
549
+ # dirlist tbody td : nth-child (5 ) {
550
550
text-align : right; /* CSS3 may allow " " (single space char) */
551
551
}
552
552
553
+ # dirlist td .q { /* 2nd column: H A D */
554
+ white-space : nowrap;
555
+ font-size : small;
556
+ padding-left : 16px ;
557
+ width : 3em ;
558
+ }
553
559
554
560
/* file display */
555
- # src {
561
+ div [ id ^= ' src' ] {
556
562
background : white;
557
563
}
558
564
559
- # src pre {
565
+ div [ id ^= ' src' ] pre {
560
566
margin : 0 ;
561
567
}
562
568
563
- # src .l-hide , # src .hl-hide , .blame-hidden { /* hidden line number/annotation block */
569
+ div [ id ^= ' src' ] .l-hide , div [ id ^= ' src' ] .hl-hide , .blame-hidden { /* hidden line number/annotation block */
564
570
display : none
565
571
}
566
572
567
- # src .l , # src .hl , .blame .r , .blame .a ,
573
+ div [ id ^= ' src' ] .l , div [ id ^= ' src' ] .hl , .blame .r , .blame .a ,
568
574
# results .l , # more .l ,
569
575
# difftable i , del .d { /* line number/annotation block */
570
576
display : inline-block;
@@ -577,12 +583,12 @@ table#dirlist { /* the "Name" column */
577
583
color : # 888 ;
578
584
}
579
585
580
- # src .hl { /* highlighted line number */
586
+ div [ id ^= ' src' ] .hl { /* highlighted line number */
581
587
color : # 000 ;
582
588
}
583
589
584
590
/* highlight line number with anchor */
585
- # src a .l : target , # src a .hl : target {
591
+ div [ id ^= ' src' ] a .l : target, div [ id ^= ' src' ] a .hl : target {
586
592
background : orange;
587
593
color : yellow;
588
594
}
@@ -596,12 +602,12 @@ table#dirlist { /* the "Name" column */
596
602
}
597
603
598
604
/* source code highlighting - see org/opengrok/analysis/$lang/*Xref.lex */
599
- # src .n { /* numbers/label */ color : # a52a2a ; }
600
- # src .s { /* strings */ color : green; }
601
- # src .c { /* comment */ color : # 666 ; }
602
- # src .b { /* heading/title/bold */ color : # 000 ; font-weight : bold; }
603
- # src .k { /* block display */ color : # 000 ; font-family : monospace; }
604
- # src a .d { /* symbol definition */ color : # 909 ; font-weight : bold; }
605
+ div [ id ^= ' src' ] .n { /* numbers/label */ color : # a52a2a ; }
606
+ div [ id ^= ' src' ] .s { /* strings */ color : green; }
607
+ div [ id ^= ' src' ] .c { /* comment */ color : # 666 ; }
608
+ div [ id ^= ' src' ] .b { /* heading/title/bold */ color : # 000 ; font-weight : bold; }
609
+ div [ id ^= ' src' ] .k { /* block display */ color : # 000 ; font-family : monospace; }
610
+ div [ id ^= ' src' ] a .d { /* symbol definition */ color : # 909 ; font-weight : bold; }
605
611
606
612
a .xm { /* macro */ color : # c66 ; font-weight : bold; }
607
613
a .xa { /* argument */ color : # 60c ; font-weight : bold; }
@@ -704,7 +710,7 @@ a.xsr { /* subroutine */ color: #00f; font-weight: bold; }
704
710
}
705
711
706
712
# results .con .all {
707
- margin-left : 6ex ; /* width(# src .l) + 1ex */
713
+ margin-left : 6ex ; /* width(div[id^=' src'] .l) + 1ex */
708
714
}
709
715
710
716
# results .s , # more .s { /* matched line contents */
0 commit comments