File tree Expand file tree Collapse file tree 2 files changed +34
-4
lines changed
shared/components/theme-mode-toggle Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 1
1
@import ' ../../../scss/utils.scss' ;
2
2
3
+ :host {
4
+ @include media (small ) {
5
+ position : absolute ;
6
+ top : 50% ;
7
+ right : 20px ;
8
+ transform : translateY (-50% );
9
+ }
10
+ }
11
+
3
12
.social-wrapper {
4
13
@extend .center-top ;
5
14
float : right ;
9
18
10
19
a {
11
20
@extend .transition-fast ;
12
- display : inline-block ;
21
+ display : inline-flex ;
13
22
vertical-align : middle ;
14
23
color : #fff ;
15
24
font-size : 18px ;
36
45
padding-right : 20px ;
37
46
}
38
47
@include media (small ) {
39
- display : none ;
48
+ top : 0 ;
49
+ transform : none ;
50
+ padding-right : 0 ;
51
+
52
+ a {
53
+ display : none ;
54
+ }
40
55
}
41
56
@media print {
42
57
display : none ;
Original file line number Diff line number Diff line change
1
+ @import ' ../../../../scss//utils.scss' ;
2
+
1
3
:host {
2
4
display : block ;
3
5
display : flex ;
27
29
padding-left : 15px ;
28
30
position : relative ;
29
31
32
+ @include media (small ) {
33
+ padding : 0 ;
34
+ margin : 0 ;
35
+ }
36
+
30
37
.material-icons {
31
38
font-size : 20px ;
32
39
cursor : pointer ;
36
43
position : absolute ;
37
44
background : #fff ;
38
45
opacity : 0.2 ;
39
- left : 0 ;
46
+ left : 2 px ;
40
47
top : 0 ;
41
- bottom : 0 ;
48
+ bottom : 2 px ;
42
49
width : 2px ;
43
50
}
44
51
45
52
& :hover {
46
53
color : var (--primary );
47
54
}
55
+
56
+ @include media (small ) {
57
+ font-size : 24px ;
58
+
59
+ & ::before {
60
+ display : none ;
61
+ }
62
+ }
48
63
}
49
64
}
You can’t perform that action at this time.
0 commit comments