@@ -552,19 +552,19 @@ table#dirlist { /* the "Name" column */
552
552
553
553
554
554
/* file display */
555
- # src {
555
+ div [ id ^= ' src' ] {
556
556
background : white;
557
557
}
558
558
559
- # src pre {
559
+ div [ id ^= ' src' ] pre {
560
560
margin : 0 ;
561
561
}
562
562
563
- # src .l-hide , # src .hl-hide , .blame-hidden { /* hidden line number/annotation block */
563
+ div [ id ^= ' src' ] .l-hide , div [ id ^= ' src' ] .hl-hide , .blame-hidden { /* hidden line number/annotation block */
564
564
display : none
565
565
}
566
566
567
- # src .l , # src .hl , .blame .r , .blame .a ,
567
+ div [ id ^= ' src' ] .l , div [ id ^= ' src' ] .hl , .blame .r , .blame .a ,
568
568
# results .l , # more .l ,
569
569
# difftable i , del .d { /* line number/annotation block */
570
570
display : inline-block;
@@ -577,12 +577,12 @@ table#dirlist { /* the "Name" column */
577
577
color : # 888 ;
578
578
}
579
579
580
- # src .hl { /* highlighted line number */
580
+ div [ id ^= ' src' ] .hl { /* highlighted line number */
581
581
color : # 000 ;
582
582
}
583
583
584
584
/* highlight line number with anchor */
585
- # src a .l : target , # src a .hl : target {
585
+ div [ id ^= ' src' ] a .l : target, div [ id ^= ' src' ] a .hl : target {
586
586
background : orange;
587
587
color : yellow;
588
588
}
@@ -596,12 +596,12 @@ table#dirlist { /* the "Name" column */
596
596
}
597
597
598
598
/* 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; }
599
+ div [ id ^= ' src' ] .n { /* numbers/label */ color : # a52a2a ; }
600
+ div [ id ^= ' src' ] .s { /* strings */ color : green; }
601
+ div [ id ^= ' src' ] .c { /* comment */ color : # 666 ; }
602
+ div [ id ^= ' src' ] .b { /* heading/title/bold */ color : # 000 ; font-weight : bold; }
603
+ div [ id ^= ' src' ] .k { /* block display */ color : # 000 ; font-family : monospace; }
604
+ div [ id ^= ' src' ] a .d { /* symbol definition */ color : # 909 ; font-weight : bold; }
605
605
606
606
a .xm { /* macro */ color : # c66 ; font-weight : bold; }
607
607
a .xa { /* argument */ color : # 60c ; font-weight : bold; }
@@ -704,7 +704,7 @@ a.xsr { /* subroutine */ color: #00f; font-weight: bold; }
704
704
}
705
705
706
706
# results .con .all {
707
- margin-left : 6ex ; /* width(# src .l) + 1ex */
707
+ margin-left : 6ex ; /* width(div[id^=' src'] .l) + 1ex */
708
708
}
709
709
710
710
# results .s , # more .s { /* matched line contents */
0 commit comments