@@ -502,7 +502,6 @@ atomic-search-layout atomic-layout-section[section="search"] {
502
502
background-color : white;
503
503
border : black 1px solid;
504
504
box-shadow : 3px 3px 0px var (--color-shadow );
505
- z-index : 9999 ;
506
505
}
507
506
508
507
.product-selector p {
@@ -906,16 +905,24 @@ blockquote.side-callout {
906
905
}
907
906
908
907
/* Tabs */
909
-
910
908
.tabs-container {
911
- position : relative;
912
- z-index : -1 ;
913
- border-bottom : 1px solid black;
909
+ /* border-bottom: 1px solid black; */
914
910
white-space : nowrap;
915
911
916
912
/* Lines extend 1rem into gutter on both sides */
917
913
width : calc (100% + 2rem );
918
914
margin-left : -1rem ;
915
+
916
+ display : flex;
917
+ flex-direction : row;
918
+ align-items : end;
919
+ }
920
+
921
+ .tabs-line {
922
+ display : block;
923
+ background-color : white;
924
+ border-bottom : 1px solid black;
925
+ width : 2rem ;
919
926
}
920
927
921
928
.nav-tabs {
@@ -927,7 +934,7 @@ blockquote.side-callout {
927
934
list-style : none;
928
935
display : flex;
929
936
justify-content : start;
930
- margin : 0 1 rem ;
937
+ margin : 0 ;
931
938
padding : 0 ;
932
939
933
940
> : not (: last-child ) {
@@ -937,9 +944,8 @@ blockquote.side-callout {
937
944
938
945
.nav-item {
939
946
border : 1px solid var (--color-tabs-divider );
940
- border-bottom : none ;
947
+ border-bottom : 1 px solid black ;
941
948
padding : 10px ;
942
- position : relative;
943
949
944
950
a {
945
951
text-decoration : none;
@@ -954,22 +960,12 @@ blockquote.side-callout {
954
960
/* Change the border colors of li that is has a child with a class "active" */
955
961
border-top : 1px solid black;
956
962
border-left : 1px solid black;
963
+ border-bottom : none;
957
964
958
965
/* Change the border of next child */
959
966
+ li {
960
967
border-left : 1px solid black;
961
968
}
962
-
963
- & ::after {
964
- content : "" ;
965
- position : absolute;
966
- display : block;
967
- border-bottom : 1px solid white;
968
- bottom : 0 ;
969
- left : 0 ;
970
- width : 100% ;
971
- z-index : 9999 ;
972
- }
973
969
}
974
970
975
971
.nav-item : last-child : has (.active ) {
@@ -978,7 +974,8 @@ blockquote.side-callout {
978
974
}
979
975
980
976
.tab-content {
981
- position : relative;
977
+ border-bottom : 1px solid black;
978
+ margin-left : calc (-1 * var (--overflow-gutter-extension ));
982
979
983
980
.tab-pane {
984
981
display : none;
@@ -992,16 +989,6 @@ blockquote.side-callout {
992
989
}
993
990
}
994
991
995
- .tab-content ::after {
996
- /* Bottom Horizontal Line for Tabs */
997
- content : "" ;
998
- position : absolute;
999
- border-bottom : 1px solid black;
1000
- left : calc (-1 * var (--overflow-gutter-extension ));
1001
- bottom : 0 ;
1002
- width : calc (100% + (2 * var (--overflow-gutter-extension )));
1003
- }
1004
-
1005
992
/* Codeblocks */
1006
993
.highlight {
1007
994
padding : 0 1rem 0 1rem ;
@@ -1014,11 +1001,8 @@ blockquote.side-callout {
1014
1001
}
1015
1002
}
1016
1003
1017
- .code-container {
1018
- grid-column : 1 ;
1019
- display : flex;
1020
- flex-direction : row;
1021
- position : relative;
1004
+ .code-block {
1005
+ position : static;
1022
1006
}
1023
1007
1024
1008
.code-block .code-header : not (: has (.code-type )) {
@@ -1036,13 +1020,22 @@ li .code-block {
1036
1020
border-bottom : 1px solid # cccccc ;
1037
1021
overflow-x : scroll;
1038
1022
scrollbar-width : none;
1039
- width : calc (100% + var (--overflow-gutter-extension ));
1023
+
1024
+ background-image : linear-gradient (to right, white, white),
1025
+ linear-gradient (to right, white, white),
1026
+ linear-gradient (to right, rgba (165 , 165 , 165 , 0.25 ), rgba (255 , 255 , 255 , 0 )),
1027
+ linear-gradient (to left, rgba (165 , 165 , 165 , 0.25 ), rgba (255 , 255 , 255 , 0 ));
1028
+ background-position : left center, right center, left center, right center;
1029
+ background-repeat : no-repeat;
1030
+ background-size : 12px 100% , 12px 100% , 10px 100% , 10px 100% ;
1031
+ background-attachment : local, local, scroll, scroll;
1040
1032
}
1041
1033
1042
1034
.highlight-v2 .single-line {
1043
1035
display : flex;
1044
1036
align-items : center;
1045
1037
border : 1px solid # cccccc ;
1038
+ overflow-x : scroll;
1046
1039
}
1047
1040
1048
1041
.code-header {
@@ -1056,12 +1049,11 @@ li .code-block {
1056
1049
1057
1050
.code-type {
1058
1051
text-transform : uppercase;
1059
- padding : .25rem 0.25rem ; /* Padding for button content */
1060
- font-size : 12px ; /* Font size */
1061
- z-index : 9999 ;
1062
- position : absolute;
1063
- background-color : white;
1064
- margin : -12px 0 0 1rem ;
1052
+ border : 1px solid # cccccc ;
1053
+ border-bottom : 1px solid white;
1054
+ padding : .25rem 1rem ;
1055
+ font-size : 12px ;
1056
+ margin-bottom : -1px ;
1065
1057
}
1066
1058
1067
1059
.code-container : hover {
0 commit comments