@@ -41,6 +41,19 @@ xmlns="http://www.w3.org/2000/svg" fill="black" height="18px">\
41
41
--font-family : "Source Serif 4" , NanumBarunGothic, serif;
42
42
--font-family-code : "Source Code Pro" , monospace;
43
43
--line-number-padding : 4px ;
44
+ /* scraped examples icons (34x33px) */
45
+ --prev-arrow-image : url ('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" \
46
+ enable-background= "new 0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill="none" \
47
+ d= "M8,3l-4,5l4,5m-4,-5h10" stroke="black" stroke-width="2"/></svg>');
48
+ --next-arrow-image : url ('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" \
49
+ enable-background= "new 0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill="none" \
50
+ d= "M8,3l4,5l-4,5m4,-5h-10" stroke="black" stroke-width="2"/></svg>');
51
+ --expand-arrow-image : url ('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" \
52
+ enable-background= "new 0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill="none" \
53
+ d= "M3,10l4,4l4,-4m-4,4M3,7l4,-4l4,4" stroke="black" stroke-width="2"/></svg>');
54
+ --collapse-arrow-image : url ('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" \
55
+ enable-background= "new 0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill="none" \
56
+ d= "M3,8l4,4l4,-4m-4,4M3,4l4,4l4,-4" stroke="black" stroke-width="2"/></svg>');
44
57
}
45
58
46
59
: root .sans-serif {
@@ -1729,7 +1742,10 @@ instead, we check that it's not a "finger" cursor.
1729
1742
padding : 2px 0 0 4px ;
1730
1743
}
1731
1744
.example-wrap .button-holder .copy-button ::before ,
1732
- .example-wrap .test-arrow ::before {
1745
+ .example-wrap .test-arrow ::before ,
1746
+ .example-wrap .button-holder .prev ::before ,
1747
+ .example-wrap .button-holder .next ::before ,
1748
+ .example-wrap .button-holder .expand ::before {
1733
1749
filter : var (--copy-path-img-filter );
1734
1750
}
1735
1751
.example-wrap .button-holder .copy-button ::before {
@@ -1744,6 +1760,24 @@ instead, we check that it's not a "finger" cursor.
1744
1760
padding-right : 5px ;
1745
1761
}
1746
1762
1763
+ .example-wrap .button-holder .prev ,
1764
+ .example-wrap .button-holder .next ,
1765
+ .example-wrap .button-holder .expand {
1766
+ line-height : 0px ;
1767
+ }
1768
+ .example-wrap .button-holder .prev ::before {
1769
+ content : var (--prev-arrow-image );
1770
+ }
1771
+ .example-wrap .button-holder .next ::before {
1772
+ content : var (--next-arrow-image );
1773
+ }
1774
+ .example-wrap .button-holder .expand ::before {
1775
+ content : var (--expand-arrow-image );
1776
+ }
1777
+ .example-wrap .button-holder .expand .collapse ::before {
1778
+ content : var (--collapse-arrow-image );
1779
+ }
1780
+
1747
1781
.code-attribute {
1748
1782
font-weight : 300 ;
1749
1783
color : var (--code-attribute-color );
@@ -2012,6 +2046,13 @@ button#toggle-all-docs:before {
2012
2046
filter : var (--settings-menu-filter );
2013
2047
}
2014
2048
2049
+ button # toggle-all-docs .will-expand : before {
2050
+ /* Custom arrow icon */
2051
+ content : url ('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 12 12" \
2052
+ enable-background= "new 0 0 12 12" xmlns="http://www.w3.org/2000/svg">\
2053
+ <path d= "M2,5l4,-4l4,4M2,7l4,4l4,-4" stroke="black" fill="none" stroke-width="2px"/></svg>');
2054
+ }
2055
+
2015
2056
# help-button > a : before {
2016
2057
/* Question mark with circle */
2017
2058
content : url ('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 12 12" \
0 commit comments