-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.css
More file actions
93 lines (80 loc) · 1.63 KB
/
popup.css
File metadata and controls
93 lines (80 loc) · 1.63 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
/* LinkPost Popup Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background-color: #ffffff;
min-width: 280px;
}
.container {
padding: 16px;
}
h1 {
font-size: 18px;
font-weight: 600;
color: #0a66c2;
margin-bottom: 16px;
padding-bottom: 12px;
border-bottom: 1px solid #e0e0e0;
}
/* Setting Row */
.setting-row {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 10px;
}
.setting-row label:first-child {
font-size: 14px;
font-weight: 500;
color: #333333;
}
/* iOS-style Toggle - Réduit à 2/3 */
.toggle {
position: relative;
display: inline-block;
width: 34px;
height: 21px;
}
.toggle input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #e9e9eb;
transition: background-color 0.3s ease;
border-radius: 21px;
}
.slider::before {
position: absolute;
content: "";
height: 17px;
width: 17px;
left: 2px;
bottom: 2px;
background-color: white;
transition: transform 0.3s ease;
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Toggle ON state - LinkedIn Blue */
.toggle input:checked+.slider {
background-color: #0a66c2;
}
.toggle input:checked+.slider::before {
transform: translateX(13px);
}
/* Focus state for accessibility */
.toggle input:focus+.slider {
box-shadow: 0 0 0 2px rgba(10, 102, 194, 0.3);
}