-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-switcher.css
81 lines (70 loc) · 1.42 KB
/
style-switcher.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.style-switcher {
position: fixed;
right: 0;
top: 60px;
padding: 15px;
width: 200px;
border: 1px solid var(--bg-black-50);
background: var(--bg-black-100);
z-index: 101;
border-radius: 5px;
transition: all 0.3s ease;
transform: translateX(100%);
}
.style-switcher h4{
color: var(--text-black-900);
}
.style-switcher.open{
transform: translateX(-25px);
}
.style-switcher .s-icon {
position: absolute;
height: 40px;
width: 40px;
text-align: center;
font-size: 20px;
background: var(--bg-black-100);
color: var(--text-black-900);
right: 100%;
border: 1px solid var(--bg-black-50);
margin-right: 25px;
cursor: pointer;
transition: all 0.3s ease;
border-radius: 50%;
}
.style-switcher .style-switcher-toggler {
top: 0;
}
.style-switcher .s-icon i {
line-height: 40px;
}
.style-switcher .day-night {
top: 55px;
}
.style-switcher .color {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.style-switcher .color span {
display: inline-block;
height: 30px;
width: 30px;
border-radius: 50%;
/* border: 1px solid red; */
}
.style-switcher .color-1 {
background: #ec1839;
}
.style-switcher .color-2 {
background: #00BFFF;
}
.style-switcher .color-3 {
background: #00FF00;
}
.style-switcher .color-4 {
background: #FFD700;
}
.style-switcher .color-5 {
background: #6A0DAD;
}