-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
227 lines (227 loc) · 7.04 KB
/
popup.html
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>EchoMEI</title>
<meta name="author" content="Takk™ Innovate Studio" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<style>
body {
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-style: normal;
font-variation-settings: "slnt" 0;
width: 400px;
max-width: 400px;
margin: 0;
padding: 20px;
background-color: #ffffff;
color: #181818;
}
.container {
background-color: #fed201;
border-radius: 10px;
padding: 30px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.logo {
display: block;
margin: 0 auto 5px;
width: 190px;
height: 190px;
}
h1 {
font-size: 24px;
font-weight: 700;
color: #005b20;
margin: 0 0 10px;
text-align: center;
}
.version {
font-size: 12px;
text-align: center;
margin: 5px 0 20px;
color: #27353e;
}
.btn {
background-color: #005b20;
color: #ffffff;
border: none;
padding: 10px 20px;
margin-top: 20px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.btn:hover {
background-color: #003815;
color: #ffffff;
}
.btn i {
margin-right: 8px;
font-size: 20px;
}
.results {
margin-top: 20px;
background-color: #f5f5f5;
padding: 15px;
max-height: 400px;
overflow-y: auto;
word-wrap: break-word;
overflow-wrap: break-word;
border-radius: 4px;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}
.results h2,
.results h3 {
font-size: 18px;
margin-top: 0;
margin-bottom: 10px;
display: flex;
align-items: center;
color: #005b20;
}
.results h3 {
margin-top: 20px;
}
.results ul {
padding-left: 0;
margin: 0;
list-style-type: none;
}
.results li {
margin-bottom: 10px;
display: flex;
align-items: flex-start;
}
.results li i {
flex-shrink: 0;
margin-right: 5px;
margin-top: 3px;
font-size: 16px;
color: #fed201;
}
.results p {
margin: 10px 0;
display: flex;
align-items: flex-start;
}
.results h3 .material-icons {
font-size: 20px;
color: #fed201;
}
.results .material-icons {
flex-shrink: 0;
margin-right: 5px;
font-size: 16px;
}
.text-content {
flex-grow: 1;
min-width: 0;
}
.copy-btn {
background-color: #fed201;
color: #181818;
border: none;
padding: 8px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s;
display: flex;
align-items: center;
margin-top: 20px;
justify-content: center;
width: 100%;
}
.copy-btn:hover {
background-color: #d4b000;
color: #181818;
}
.copy-btn i {
margin-right: 5px;
font-size: 18px;
}
footer {
font-size: 11px;
text-align: center;
margin-top: 20px;
color: #27353e;
}
a {
text-decoration: none;
font-weight: 600;
color: #005b20;
}
a:hover {
color: #fed201;
}
.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
width: 36px;
height: 36px;
border-radius: 50%;
border-left-color: #005b20;
animation: spin 1s linear infinite;
margin: 20px auto;
display: none;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
textarea {
width: 99%;
margin-bottom: 20px;
border: 1px solid #27353e;
border-radius: 4px;
resize: vertical;
font-family: "Inter", sans-serif;
padding: 10px;
box-sizing: border-box;
}
</style>
</head>
<body>
<div class="container">
<img src="images/icon192.png" alt="EchoMEI" class="logo" />
<h1>EchoMEI</h1>
<div class="version">Version 1.0.0</div>
<textarea
id="cnpjInput"
rows="5"
placeholder="Insira o(s) CNPJ(s) aqui"
></textarea>
<button id="extract" class="btn">
<i class="material-icons">search</i>Buscar
</button>
<div class="spinner" aria-label="Loading..."></div>
</div>
<footer>
© Developed by
<a href="https://linkedin.com/in/hellodav">David C Cavalcante</a>
&
<a href="https://github.com/takk8is">Takk™ Innovate Studio</a>
</footer>
<script src="popup.js"></script>
</body>
</html>