This repository was archived by the owner on Feb 16, 2024. It is now read-only.
File tree 1 file changed +2
-30
lines changed
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
-
12
1
.notice {
13
- background-color : var ( --tip-bg ) ;
2
+ background-color : #{ rgba ( $highlight , 0.25 )} ;
14
3
border : none ;
15
- border-left : 52px solid var ( --tip-border ) ;
4
+ border-left : 52px solid #{ rgba ( $highlight , 0.15 )} ;
16
5
position : relative ;
17
6
18
7
.notice-icon {
@@ -22,25 +11,8 @@ $warning: #ecbe7b;
22
11
margin : 0 6px ;
23
12
width : 32px ;
24
13
height : 32px ;
25
- background-repeat : no-repeat ;
26
- background-size : 32px ;
27
- background-position : center center ;
28
14
position : absolute ;
29
15
left : -48px ;
30
16
top : calc (50% - 16px );
31
17
}
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
- }
46
18
}
You can’t perform that action at this time.
0 commit comments