11: root {
2- --md-admonition-icon--only-flutter : url ('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.314 0 2.3 12 6 15.7 21.684.013h-7.357zm.014 11.072L7.857 17.53l6.47 6.47H21.7l-6.46-6.468 6.46-6.46h-7.37z"></path></svg>' );
3- --md-admonition-icon--requires-firebase : url ('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.89 15.672 6.255.461A.542.542 0 0 1 7.27.288l2.543 4.771zm16.794 3.692-2.25-14a.54.54 0 0 0-.919-.295L3.316 19.365l7.856 4.427a1.621 1.621 0 0 0 1.588 0zM14.3 7.147l-1.82-3.482a.542.542 0 0 0-.96 0L3.53 17.984z"></path></svg>' );
2+ --md-admonition-icon--only-flutter : url ('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.314 0 2.3 12 6 15.7 21.684.013h-7.357zm.014 11.072L7.857 17.53l6.47 6.47H21.7l-6.46-6.468 6.46-6.46h-7.37z"></path></svg>' );
3+ --md-admonition-icon--requires-firebase : url ('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.89 15.672 6.255.461A.542.542 0 0 1 7.27.288l2.543 4.771zm16.794 3.692-2.25-14a.54.54 0 0 0-.919-.295L3.316 19.365l7.856 4.427a1.621 1.621 0 0 0 1.588 0zM14.3 7.147l-1.82-3.482a.542.542 0 0 0-.96 0L3.53 17.984z"></path></svg>' );
44}
55
66: root > * {
7- /*--md-default-bg-color: #12141a*/
7+ /*--md-default-bg-color: #12141a*/
88}
99
1010.md-typeset .admonition .only-flutter ,
1111.md-typeset details .only-flutter {
12- border-color : # 53b7f7 ;
12+ border-color : # 53b7f7 ;
1313}
14+
1415.md-typeset .only-flutter > .admonition-title ,
1516.md-typeset .only-flutter > summary {
16- background-color : rgba (83 , 183 , 247 , 0.1 );
17+ background-color : rgba (83 , 183 , 247 , 0.1 );
1718}
19+
1820.md-typeset .only-flutter > .admonition-title ::before ,
1921.md-typeset .only-flutter > summary ::before {
20- background-color : # 53b7f7 ;
21- -webkit-mask-image : var (--md-admonition-icon--only-flutter );
22- mask-image : var (--md-admonition-icon--only-flutter );
22+ background-color : # 53b7f7 ;
23+ -webkit-mask-image : var (--md-admonition-icon--only-flutter );
24+ mask-image : var (--md-admonition-icon--only-flutter );
2325}
2426
2527.md-typeset .admonition .requires-firebase ,
2628.md-typeset details .requires-firebase {
27- border-color : # FFA000 ;
29+ border-color : # FFA000 ;
2830}
31+
2932.md-typeset .requires-firebase > .admonition-title ,
3033.md-typeset .requires-firebase > summary {
31- background-color : rgba (255 , 160 , 0 , 0.1 );
34+ background-color : rgba (255 , 160 , 0 , 0.1 );
3235}
36+
3337.md-typeset .requires-firebase > .admonition-title ::before ,
3438.md-typeset .requires-firebase > summary ::before {
35- background-color : # FFA000 ;
36- -webkit-mask-image : var (--md-admonition-icon--requires-firebase );
37- mask-image : var (--md-admonition-icon--requires-firebase );
39+ background-color : # FFA000 ;
40+ -webkit-mask-image : var (--md-admonition-icon--requires-firebase );
41+ mask-image : var (--md-admonition-icon--requires-firebase );
42+ }
43+
44+
45+ /* Vitepress style focus effect */
46+ .highlight .focus code > span : not (: has (: last-child .hll )) {
47+ filter : blur (2px );
48+ overflow : hidden;
49+ transition : filter 0.2s ease;
50+ opacity : 0.8 ;
51+ }
52+
53+ .highlight .focus : hover span {
54+ filter : none !important ;
55+ opacity : 1 !important ;
56+ }
57+
58+ .highlight .focus code > span : has (: last-child .hll ) {
59+ filter : none;
60+ opacity : 1 ;
61+ }
62+
63+ .highlight .focus .hll {
64+ box-shadow : none !important ;
65+ background-color : transparent !important ;
3866}
0 commit comments