Repository navigation
Expand file tree
/
Copy pathtoggle.css
More file actions
105 lines (90 loc) · 1.47 KB
/
Copy pathtoggle.css
File metadata and controls
105 lines (90 loc) · 1.47 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
body {
font-family: "Inter", sans-serif;
background: #f5f6fa;
padding: 40px;
}
h1 {
text-align: center;
margin-bottom: 35px;
font-size: 28px;
font-weight: 700;
}
.toggle-box {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 30px;
}
/* Toggle Button */
.switch {
position: relative;
display: inline-block;
width: 70px;
height: 34px;
margin-left: 12px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
background-color: #d63031;
border-radius: 34px;
top: 0; left: 0; right: 0; bottom: 0;
transition: 0.4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
border-radius: 50%;
transition: 0.4s;
}
input:checked + .slider {
background-color: #00b894;
}
input:checked + .slider:before {
transform: translateX(36px);
}
/* Table */
table {
width: 100%;
border-collapse: collapse;
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
th, td {
padding: 18px;
text-align: left;
border-bottom: 1px solid #ecf0f1;
font-size: 16px;
}
th {
background: #dfe6e9;
font-weight: 600;
}
a {
color: #0984e3;
font-weight: bold;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.label-secure {
color: #00b894;
font-weight: bold;
}
.label-insecure {
color: #d63031;
font-weight: bold;
}