This repository was archived by the owner on Feb 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-30
lines changed
Expand file tree Collapse file tree 1 file changed +2
-30
lines changed Original file line number Diff line number Diff line change 1- $warning : #ecbe7b ;
2-
3- :root {
4- --tip-bg : #{rgba (mix ($secondary , $highlight , 50% ), 0.3 )} ;
5- --tip-border : #{rgba (mix ($secondary , $highlight , 50% ), 0.6 )} ;
6-
7- --tip-bg-warning : #{rgba ($warning , 0.3 )} ;
8- --tip-border-warning : #{rgba ($warning , 0.2 )} ;
9- }
10-
11-
121.notice {
13- background-color : var ( --tip-bg ) ;
2+ background-color : #{ rgba ( $highlight , 0.25 )} ;
143 border : none ;
15- border-left : 52px solid var ( --tip-border ) ;
4+ border-left : 52px solid #{ rgba ( $highlight , 0.15 )} ;
165 position : relative ;
176
187 .notice-icon {
@@ -22,25 +11,8 @@ $warning: #ecbe7b;
2211 margin : 0 6px ;
2312 width : 32px ;
2413 height : 32px ;
25- background-repeat : no-repeat ;
26- background-size : 32px ;
27- background-position : center center ;
2814 position : absolute ;
2915 left : -48px ;
3016 top : calc (50% - 16px );
3117 }
32-
33- & .notice-warning {
34- background-color : var (--tip-bg-warning );
35- border-left-color : var (--tip-border-warning );
36- }
37- & .notice-information_source {
38- // background-color: var(--tip-bg);
39- }
40- & .notice-note {
41- // background-color: var(--tip-bg);
42- }
43- & .notice-pushpin {
44- // background-color: yellow;
45- }
4618}
You can’t perform that action at this time.
0 commit comments