File tree 1 file changed +22
-1
lines changed
src/librustdoc/html/static/css
1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -1494,10 +1494,31 @@ details.dir-entry {
1494
1494
padding-left : 4px ;
1495
1495
}
1496
1496
1497
+ details .dir-entry > summary ::after {
1498
+ content : " ►" ;
1499
+ position : absolute;
1500
+ left : -15px ;
1501
+ top : 0px ;
1502
+ font-size : 80% ;
1503
+ padding : 2px 0px ;
1504
+ /* set width to cover gap between arrow and text */
1505
+ width : 25px ;
1506
+ }
1507
+
1508
+ details [open ].dir-entry > summary ::after {
1509
+ content : " ▼" ;
1510
+ }
1511
+
1512
+ details .dir-entry > summary ::-webkit-details-marker ,
1513
+ details .dir-entry > summary ::marker {
1514
+ display : none;
1515
+ }
1516
+
1497
1517
details .dir-entry > summary {
1498
1518
margin : 0 0 0 13px ;
1499
- list-style-position : outside ;
1519
+ list-style : none ;
1500
1520
cursor : pointer;
1521
+ position : relative;
1501
1522
}
1502
1523
1503
1524
details .dir-entry div .folders , details .dir-entry div .files {
You can’t perform that action at this time.
0 commit comments