-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-switcher.css
89 lines (88 loc) · 1.59 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
82
83
84
85
86
87
88
89
.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: 25px;
transition: all 0.3s ease;
transform: translateX(100%);
}
.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 .s-icon i
{
line-height: 40px;
}
.style-switcher .style-switcher-toggler
{
top: 0;
}
.style-switcher .day-night
{
top: 55px;
}
.style-switcher h4
{
margin: 0 0 10px;
color: var(--text-black-700);
font-size: 16px;
font-weight: 600;
text-transform: capitalize;
}
.style-switcher .colors
{
display: flex;
flex-wrap:wrap ;
justify-content: space-between;
}
.style-switcher .colors 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: #fa5b0f;
}
.style-switcher .color-3
{
background: #37b182;
}
.style-switcher .color-4
{
background: #1854b4;
}
.style-switcher .color-5
{
background: #f021b2;
}