@@ -355,18 +355,11 @@ html[dir="rtl"] #toolbarSidebar {
355
355
0 0 1px rgba (0 , 0 , 0 , 0.1 );
356
356
}
357
357
358
- html [ dir = "ltr" ] # toolbarSidebar .toolbarButton {
359
- margin-right : 2px !important ;
358
+ # toolbarSidebar .toolbarButton {
359
+ margin-inline-end : 2px !important ;
360
360
}
361
- html [dir = "rtl" ] # toolbarSidebar .toolbarButton {
362
- margin-left : 2px !important ;
363
- }
364
-
365
- html [dir = "ltr" ] # toolbarSidebarRight .toolbarButton {
366
- margin-right : 3px !important ;
367
- }
368
- html [dir = "rtl" ] # toolbarSidebarRight .toolbarButton {
369
- margin-left : 3px !important ;
361
+ # toolbarSidebarRight .toolbarButton {
362
+ margin-inline-end : 3px !important ;
370
363
}
371
364
372
365
# sidebarResizer {
@@ -510,14 +503,7 @@ html[dir="rtl"] .findbar {
510
503
511
504
.findbar .splitToolbarButton {
512
505
margin-top : 3px ;
513
- }
514
- html [dir = "ltr" ] .findbar .splitToolbarButton {
515
- margin-left : 0 ;
516
- margin-right : 5px ;
517
- }
518
- html [dir = "rtl" ] .findbar .splitToolbarButton {
519
- margin-left : 5px ;
520
- margin-right : 0 ;
506
+ margin-inline : 0 5px ;
521
507
}
522
508
523
509
.findbar .splitToolbarButton > .toolbarButton {
@@ -627,52 +613,36 @@ html[dir="rtl"] .secondaryToolbar {
627
613
.doorHangerRight : after ,
628
614
.doorHangerRight : before {
629
615
bottom : 100% ;
630
- border : solid rgba (0 , 0 , 0 , 0 );
616
+ border : 8 px solid rgba (0 , 0 , 0 , 0 );
631
617
content : " " ;
632
618
height : 0 ;
633
619
width : 0 ;
634
620
position : absolute;
635
621
pointer-events : none;
636
622
opacity : var (--doorhanger-triangle-opacity-whcm );
637
623
}
638
- .doorHanger : after ,
639
- .doorHangerRight : after {
640
- border-width : 8px ;
641
- }
642
624
.doorHanger : after {
625
+ inset-inline-start : 10px ;
626
+ margin-inline-start : -8px ;
643
627
border-bottom-color : var (--toolbar-bg-color );
644
628
}
645
629
.doorHangerRight : after {
630
+ inset-inline-end : 10px ;
631
+ margin-inline-end : -8px ;
646
632
border-bottom-color : var (--doorhanger-bg-color );
647
633
}
648
634
.doorHanger : before ,
649
635
.doorHangerRight : before {
650
636
border-bottom-color : var (--doorhanger-border-color );
651
637
border-width : 9px ;
652
638
}
653
-
654
- html [dir = "ltr" ] .doorHanger : after ,
655
- html [dir = "rtl" ] .doorHangerRight : after {
656
- left : 10px ;
657
- margin-left : -8px ;
658
- }
659
-
660
- html [dir = "ltr" ] .doorHanger : before ,
661
- html [dir = "rtl" ] .doorHangerRight : before {
662
- left : 10px ;
663
- margin-left : -9px ;
639
+ .doorHanger : before {
640
+ inset-inline-start : 10px ;
641
+ margin-inline-start : -9px ;
664
642
}
665
-
666
- html [dir = "rtl" ] .doorHanger : after ,
667
- html [dir = "ltr" ] .doorHangerRight : after {
668
- right : 10px ;
669
- margin-right : -8px ;
670
- }
671
-
672
- html [dir = "rtl" ] .doorHanger : before ,
673
- html [dir = "ltr" ] .doorHangerRight : before {
674
- right : 10px ;
675
- margin-right : -9px ;
643
+ .doorHangerRight : before {
644
+ inset-inline-end : 10px ;
645
+ margin-inline-end : -9px ;
676
646
}
677
647
678
648
# findResultsCount {
@@ -788,9 +758,7 @@ html[dir="rtl"] .splitToolbarButton > .toolbarButton {
788
758
position : relative;
789
759
}
790
760
html [dir = "ltr" ] .splitToolbarButton > .toolbarButton : first-child ,
791
- html [dir = "rtl" ] .splitToolbarButton > .toolbarButton : last-child {
792
- margin : 0 ;
793
- }
761
+ html [dir = "rtl" ] .splitToolbarButton > .toolbarButton : last-child ,
794
762
html [dir = "ltr" ] .splitToolbarButton > .toolbarButton : last-child ,
795
763
html [dir = "rtl" ] .splitToolbarButton > .toolbarButton : first-child {
796
764
margin : 0 ;
@@ -834,15 +802,13 @@ html[dir="rtl"] .splitToolbarButtonSeparator {
834
802
box-sizing : border-box;
835
803
}
836
804
837
- html [dir = "ltr" ] # toolbarViewerLeft > .toolbarButton : first-child ,
838
- html [dir = "rtl" ] # toolbarViewerRight > .toolbarButton : last-child {
839
- margin-left : 2px ;
805
+ # toolbarViewerLeft > .toolbarButton : first-child {
806
+ margin-inline-start : 2px ;
840
807
}
841
-
842
- html [dir = "ltr" ] # toolbarViewerRight > .toolbarButton : last-child ,
843
- html [dir = "rtl" ] # toolbarViewerLeft > .toolbarButton : first-child {
844
- margin-right : 2px ;
808
+ # toolbarViewerRight > .toolbarButton : last-child {
809
+ margin-inline-end : 2px ;
845
810
}
811
+
846
812
.toolbarButton : hover ,
847
813
.toolbarButton : focus-visible {
848
814
background-color : var (--button-hover-color );
@@ -1178,12 +1144,6 @@ html[dir="rtl"] .toolbarButton.pdfSidebarNotification::after {
1178
1144
width : 1px ;
1179
1145
background-color : var (--separator-color );
1180
1146
}
1181
- html [dir = "ltr" ] .verticalToolbarSeparator {
1182
- margin-left : 2px ;
1183
- }
1184
- html [dir = "rtl" ] .verticalToolbarSeparator {
1185
- margin-right : 2px ;
1186
- }
1187
1147
1188
1148
.horizontalToolbarSeparator {
1189
1149
display : block;
@@ -1213,14 +1173,8 @@ html[dir="rtl"] .verticalToolbarSeparator {
1213
1173
opacity : 0 ;
1214
1174
position : absolute !important ;
1215
1175
left : 0 ;
1216
- }
1217
-
1218
- html [dir = "ltr" ] .toolbarField [type = "checkbox" ] {
1219
- margin : 10px 0 3px 7px ;
1220
- }
1221
-
1222
- html [dir = "rtl" ] .toolbarField [type = "checkbox" ] {
1223
- margin : 10px 7px 3px 0 ;
1176
+ margin : 10px 0 3px ;
1177
+ margin-inline-start : 7px ;
1224
1178
}
1225
1179
1226
1180
.toolbarField .pageNumber {
@@ -1288,7 +1242,6 @@ html[dir="rtl"] .thumbnail {
1288
1242
# thumbnailView > a : last-of-type > .thumbnail {
1289
1243
margin-bottom : 10px ;
1290
1244
}
1291
-
1292
1245
# thumbnailView > a : last-of-type > .thumbnail : not ([data-loaded ]) {
1293
1246
margin-bottom : 9px ;
1294
1247
}
@@ -1346,14 +1299,9 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
1346
1299
user-select : none;
1347
1300
}
1348
1301
1349
- html [dir = "ltr" ] .treeWithDeepNesting > .treeItem ,
1350
- html [dir = "ltr" ] .treeItem > .treeItems {
1351
- margin-left : 20px ;
1352
- }
1353
-
1354
- html [dir = "rtl" ] .treeWithDeepNesting > .treeItem ,
1355
- html [dir = "rtl" ] .treeItem > .treeItems {
1356
- margin-right : 20px ;
1302
+ .treeWithDeepNesting > .treeItem ,
1303
+ .treeItem > .treeItems {
1304
+ margin-inline-start : 20px ;
1357
1305
}
1358
1306
1359
1307
.treeItem > a {
0 commit comments