-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
179 lines (160 loc) · 4.84 KB
/
Copy pathpopup.html
File metadata and controls
179 lines (160 loc) · 4.84 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
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
176
177
178
179
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>YouTuned</title>
<style>
:root {
color-scheme: light;
--bg: #0a0a0c;
--surface: #ffffff;
--border: #fff;
--text: #1f2937;
--muted: #6b7280;
--accent: #ff6b2b;
}
* {
box-sizing: border-box;
}
body {
font-family:
Inter,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Arial,
sans-serif;
margin: 0;
padding: 12px;
width: 300px;
background: var(--bg);
color: var(--text);
}
.panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 10px 12px;
margin-bottom: 10px;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.panel:last-child {
margin-bottom: 0;
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.row.column {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
label {
font-size: 13px;
font-weight: 600;
color: var(--text);
}
input[type="checkbox"] {
width: 16px;
height: 16px;
accent-color: var(--accent);
cursor: pointer;
}
.hint {
margin-top: 7px;
font-size: 11.5px;
line-height: 1.4;
color: var(--muted);
}
textarea {
width: 100%;
resize: vertical;
min-height: 78px;
box-sizing: border-box;
padding: 8px 10px;
font-size: 12.5px;
border: 1px solid var(--border);
border-radius: 8px;
background: #fcfdff;
color: var(--text);
}
textarea:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}
.qr-column {
display: flex;
flex-direction: column;
align-items: center;
}
.qr-label {
margin-top: 6px;
font-size: 12px;
color: var(--muted);
font-weight: 600;
}
</style>
</head>
<body>
<section style="display: flex; justify-content: center; align-items: center; margin-bottom: 10px">
<div class="row">
<img src="img/logo_oficial_laranja.png" alt="Logo" height="18px" />
</div>
</section>
<section class="panel">
<div class="row">
<label for="toggleShorts">Remover Youtube Shorts</label>
<input id="toggleShorts" type="checkbox" />
</div>
</section>
<section class="panel">
<div class="row">
<label for="toggleDislikes">Mostrar Total de Dislikes</label>
<input id="toggleDislikes" type="checkbox" />
</div>
</section>
<section class="panel">
<div class="row column">
<label for="blockedWords">Remoção de Conteúdo</label>
<div class="hint">Digite palavras separadas por vírgula. Vídeos e comentários com essas palavras serão ocultados.</div>
<textarea id="blockedWords" rows="4" placeholder="ex.: filme, música, jogo"></textarea>
</div>
</section>
<section class="panel" style="background: #ff6b2b; border-color: #ff6b2b">
<div class="hint" style="display: flex; align-items: center; color: #000; margin-top: 0px">
<span style="font-weight: 500">Atualize a página para aplicar as alterações!</span>
</div>
</section>
<section class="panel">
<div class="row">
<label for="author">Sobre a Autora</label>
</div>
<div class="hint">Desenvolvo projetos focando em bem-estar e saúde mental. Saiba mais no link abaixo!</div>
<p style="margin-top: 5px; margin-bottom: 5px">
<a href="https://ramacciotti.github.io/portfolio/" target="_blank" style="color: #ff6b2b; font-size: 12px">ramacciotti.github.io/portfolio</a>
</p>
</section>
<section class="panel">
<div class="row">
<label for="contribute">Apoie com um pix de qualquer valor!</label>
</div>
<div class="hint" style="display: flex; flex-direction: row; justify-content: space-between">
<div class="qr-column">
<img src="img/unique.png" alt="QR Code Doação Avulsa" class="qr-code" height="120px" width="120px" />
<div class="qr-label">Doação Única</div>
</div>
<div class="qr-column">
<img src="img/monthly.png" alt="QR Code Doação Mensal" class="qr-code" height="120px" width="120px" />
<div class="qr-label">Doação mensal</div>
</div>
</div>
</section>
<script src="popup.js"></script>
</body>
</html>