-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
109 lines (93 loc) · 1.85 KB
/
styles.css
File metadata and controls
109 lines (93 loc) · 1.85 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
body {
font-family: "Segoe UI", sans-serif;
background: #0f0f0f;
color: #ffffff;
width: 300px;
margin: 0;
padding: 20px;
border-radius: 10px;
}
.hidden {
display: none;
}
input, button {
width: 100%;
padding: 10px;
margin-top: 10px;
border: none;
border-radius: 8px;
font-size: 14px;
}
input {
background-color: #222;
color: #fff;
}
button {
background-color: #4a00e0;
color: white;
cursor: pointer;
transition: background 0.2s;
}
button:hover {
background-color: #4a00e0;
}
.tabs {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
}
.tab {
flex: 1;
background-color: #222;
margin: 2px;
padding: 10px;
border-radius: 6px;
color: white;
}
.tab-content {
animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
.toggle-container {
margin-top: 20px;
}
.toggle-label {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
font-size: 14px;
color: #ccc;
user-select: none;
}
.toggle-label input {
display: none;
}
.slider {
position: relative;
width: 40px;
height: 20px;
background-color: #333;
border-radius: 20px;
transition: background-color 0.3s;
}
.slider::before {
content: "";
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
background-color: white;
border-radius: 50%;
transition: transform 0.3s;
}
.toggle-label input:checked + .slider {
background-color: #4a00e0;
}
.toggle-label input:checked + .slider::before {
transform: translateX(20px);
}