This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
popup.css
175 lines (149 loc) · 2.73 KB
/
popup.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
:root {
--view-width: 100vw;
--view-height: 100vh;
}
h1 {
text-align: center;
}
body {
margin: 0;
}
@media (prefers-color-scheme: light) {
}
@media (prefers-color-scheme: dark) {
.dark-mode-invert {
filter: invert(100%);
}
}
.row-button {
background: white;
outline: none;
border: none;
border-radius: 8px;
font-size: 15px;
cursor: pointer;
border: 5px solid transparent;
user-select: none;
}
#solve-button {
box-shadow: 1px 1px 8px #ffd900;
}
#solve-button:active {
box-shadow: 1px 1px 4px #ffd900;
}
#solve-skip-button {
box-shadow: 1px 1px 8px #75c3c7;
}
#solve-skip-button:active {
box-shadow: 1px 1px 4px #75c3c7;
}
#auto-button {
box-shadow: 1px 1px 8px #75c787;
}
#auto-button:active {
box-shadow: 1px 1px 4px #75c787;
}
div#toggle-enabled-text {
font-size: 20px;
border-left: 20px solid transparent;
user-select: none;
}
.slider-container {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.content-row {
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
background: #fafafa;
}
.topbar {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
background: #ffffff;
}
.topbar-text {
border-left: 10px solid transparent;
font-size: 30px;
font-weight: bold;
color: #333333;
user-select: none;
}
.topbar-logo {
pointer-events: none;
max-width: 50px;
}
.autolingo-switch {
position: relative;
width: 46px;
height: 23px;
}
.autolingo-switch input {
opacity: 0;
width: 0;
height: 0;
}
.autolingo-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 45px;
height: 23px;
background-color: #ccc;
-webkit-transition: 0.3s;
transition: 0.3s;
border-radius: 34px;
}
.autolingo-slider:before {
position: absolute;
content: '';
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: 0.3s;
transition: 0.3s;
border-radius: 50%;
}
input:checked + .autolingo-slider {
background-color: #fd8c22;
}
input:focus + .autolingo-slider {
box-shadow: 0 0 1px #fd8c22;
}
input:checked + .autolingo-slider:before {
-webkit-transform: translateX(22px);
-ms-transform: translateX(22px);
transform: translateX(22px);
}
.custom-button {
background: none;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
}