@jjlmoya/utils-tools 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tool/date-diff-calculator/date-difference-calculator.css +1 -1
- package/src/tool/drive-direct-link/google-drive-direct-download-link.css +1 -1
- package/src/tool/email-list-cleaner/email-list-cleaner.css +1 -1
- package/src/tool/env-badge-spain/components/BadgeForm.astro +0 -151
- package/src/tool/env-badge-spain/components/BadgeResult.astro +0 -101
- package/src/tool/env-badge-spain/environmental-badge-simulator-spain.css +269 -18
- package/src/tool/morse-beacon/morse-beacon.css +1 -1
- package/src/tool/password-generator/components/Config.astro +0 -170
- package/src/tool/password-generator/components/Display.astro +0 -117
- package/src/tool/password-generator/components/Strength.astro +0 -52
- package/src/tool/password-generator/password-generator.css +343 -5
- package/src/tool/routes/optimal-routes.css +2 -2
- package/src/tool/rule-of-three/rule-of-three.css +2 -2
- package/src/tool/seo-content-optimizer/seo-content-optimizer.css +10 -10
- package/src/tool/speed-reader/speed-reader.css +5 -5
- package/src/tool/text-pixel-calculator/components/Editor.astro +0 -145
- package/src/tool/text-pixel-calculator/components/Preview.astro +0 -115
- package/src/tool/text-pixel-calculator/components/Stats.astro +0 -62
- package/src/tool/text-pixel-calculator/text-pixel-width-calculator.css +315 -2
- package/src/tool/whatsapp-link/whatsapp-link-generator.css +2 -2
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
--rut-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
.theme-dark .rut-root {
|
|
26
26
|
--rut-sidebar-bg: rgba(15, 23, 42, 0.5);
|
|
27
27
|
--rut-sidebar-border: #1e293b;
|
|
28
28
|
--rut-map-bg: #1e293b;
|
|
@@ -247,6 +247,6 @@
|
|
|
247
247
|
background: var(--rut-map-bg);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
|
|
250
|
+
.rut-hidden {
|
|
251
251
|
display: none;
|
|
252
252
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
--rot-sep-color: #cbd5e1;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
.theme-dark .rot-root {
|
|
24
24
|
--rot-result-bg: rgba(37, 99, 235, 0.2);
|
|
25
25
|
--rot-result-border: rgba(37, 99, 235, 0.3);
|
|
26
26
|
--rot-result-label: #60a5fa;
|
|
@@ -244,4 +244,4 @@
|
|
|
244
244
|
100% { transform: scale(1); }
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
|
|
247
|
+
.rot-pop { animation: rot-pop 0.2s ease; }
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
gap: 2rem;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
.theme-dark .sco-root {
|
|
30
30
|
--sco-tab-bg: rgba(15, 23, 42, 0.5);
|
|
31
31
|
--sco-tab-active-bg: #1e293b;
|
|
32
32
|
--sco-tab-active-color: #60a5fa;
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
gap: 0.75rem;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
.sco-check-item {
|
|
176
176
|
display: flex;
|
|
177
177
|
gap: 0.75rem;
|
|
178
178
|
align-items: flex-start;
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
color: inherit;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
|
|
187
|
+
.sco-check-status {
|
|
188
188
|
width: 20px;
|
|
189
189
|
height: 20px;
|
|
190
190
|
border-radius: 50%;
|
|
@@ -196,17 +196,17 @@
|
|
|
196
196
|
font-weight: 900;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
.sco-success {
|
|
200
200
|
background: #dcfce7;
|
|
201
201
|
color: #15803d;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
|
|
204
|
+
.sco-warning {
|
|
205
205
|
background: #fef9c3;
|
|
206
206
|
color: #a16207;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
|
|
209
|
+
.sco-error {
|
|
210
210
|
background: #fee2e2;
|
|
211
211
|
color: #b91c1c;
|
|
212
212
|
}
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
gap: 0.5rem;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
.sco-keyword-item {
|
|
221
221
|
display: flex;
|
|
222
222
|
justify-content: space-between;
|
|
223
223
|
padding: 0.5rem 0.75rem;
|
|
@@ -226,12 +226,12 @@
|
|
|
226
226
|
font-size: 0.9rem;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
|
|
229
|
+
.sco-keyword-name {
|
|
230
230
|
font-weight: 600;
|
|
231
231
|
color: var(--sco-keyword-name, #1e293b);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
|
|
234
|
+
.sco-keyword-count {
|
|
235
235
|
font-weight: 700;
|
|
236
236
|
}
|
|
237
237
|
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
padding: 0.5rem;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
.sco-empty-injected {
|
|
246
246
|
font-size: 0.875rem;
|
|
247
247
|
color: var(--sco-muted, #64748b);
|
|
248
248
|
text-align: center;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
gap: 1rem;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
.theme-dark .sr-root {
|
|
35
35
|
--sr-panel-bg: #0f172a;
|
|
36
36
|
--sr-panel-border: #1e293b;
|
|
37
37
|
--sr-field-bg: rgba(30, 41, 59, 0.5);
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
.sr-stage-active {
|
|
61
61
|
transform: scale(1.02);
|
|
62
62
|
border-color: rgba(79, 70, 229, 0.4);
|
|
63
63
|
}
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
transition: background 0.2s;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
.sr-led-active {
|
|
102
102
|
background: var(--sr-led-active);
|
|
103
103
|
animation: sr-pulse 1s ease-in-out infinite;
|
|
104
104
|
}
|
|
@@ -227,12 +227,12 @@
|
|
|
227
227
|
transform: scale(0.95);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
|
|
230
|
+
.sr-play-btn-active {
|
|
231
231
|
background: #1e293b;
|
|
232
232
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
|
|
235
|
+
.sr-play-btn-active:hover {
|
|
236
236
|
background: #0f172a;
|
|
237
237
|
}
|
|
238
238
|
|
|
@@ -93,148 +93,3 @@ const systemFonts = [
|
|
|
93
93
|
</div>
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
|
-
<style>
|
|
97
|
-
.tpc-editor {
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
gap: 1.5rem;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.tpc-field {
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: column;
|
|
106
|
-
gap: 0.625rem;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.tpc-label {
|
|
110
|
-
font-size: 0.75rem;
|
|
111
|
-
font-weight: 700;
|
|
112
|
-
color: var(--tpc-text-label);
|
|
113
|
-
text-transform: uppercase;
|
|
114
|
-
letter-spacing: 0.06em;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.tpc-textarea {
|
|
118
|
-
width: 100%;
|
|
119
|
-
background: var(--tpc-field-bg);
|
|
120
|
-
border: 1px solid var(--tpc-field-border);
|
|
121
|
-
border-radius: 1rem;
|
|
122
|
-
padding: 1.25rem;
|
|
123
|
-
font-size: 1.125rem;
|
|
124
|
-
color: var(--tpc-text-main);
|
|
125
|
-
line-height: 1.6;
|
|
126
|
-
resize: none;
|
|
127
|
-
outline: none;
|
|
128
|
-
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
129
|
-
box-sizing: border-box;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.tpc-textarea:focus {
|
|
133
|
-
border-color: var(--tpc-cyan);
|
|
134
|
-
box-shadow: 0 0 0 4px var(--tpc-cyan-focus);
|
|
135
|
-
background: #fff;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
:global(.theme-dark) .tpc-textarea:focus {
|
|
139
|
-
background: var(--tpc-field-bg);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.tpc-config-grid {
|
|
143
|
-
display: grid;
|
|
144
|
-
grid-template-columns: repeat(2, 1fr);
|
|
145
|
-
gap: 1.25rem;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.tpc-input {
|
|
149
|
-
width: 100%;
|
|
150
|
-
background: var(--tpc-field-bg);
|
|
151
|
-
border: 1px solid var(--tpc-field-border);
|
|
152
|
-
border-radius: 0.875rem;
|
|
153
|
-
padding: 0.75rem 1rem;
|
|
154
|
-
font-size: 0.9375rem;
|
|
155
|
-
color: var(--tpc-text-main);
|
|
156
|
-
outline: none;
|
|
157
|
-
transition: all 0.2s ease;
|
|
158
|
-
box-sizing: border-box;
|
|
159
|
-
appearance: none;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.tpc-input:focus {
|
|
163
|
-
border-color: var(--tpc-cyan);
|
|
164
|
-
box-shadow: 0 0 0 4px var(--tpc-cyan-focus);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.tpc-select-wrapper {
|
|
168
|
-
position: relative;
|
|
169
|
-
width: 100%;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.tpc-select-arrow {
|
|
173
|
-
position: absolute;
|
|
174
|
-
right: 1rem;
|
|
175
|
-
top: 50%;
|
|
176
|
-
transform: translateY(-50%);
|
|
177
|
-
pointer-events: none;
|
|
178
|
-
color: var(--tpc-text-label);
|
|
179
|
-
width: 1.25rem;
|
|
180
|
-
height: 1.25rem;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.tpc-checkbox-label {
|
|
184
|
-
display: flex;
|
|
185
|
-
align-items: center;
|
|
186
|
-
gap: 0.75rem;
|
|
187
|
-
cursor: pointer;
|
|
188
|
-
user-select: none;
|
|
189
|
-
height: 100%;
|
|
190
|
-
padding-top: 1.5rem;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.tpc-checkbox-input {
|
|
194
|
-
display: none;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.tpc-checkbox-box {
|
|
198
|
-
width: 1.5rem;
|
|
199
|
-
height: 1.5rem;
|
|
200
|
-
border: 2px solid var(--tpc-checkbox-border);
|
|
201
|
-
background: var(--tpc-checkbox-bg);
|
|
202
|
-
border-radius: 0.5rem;
|
|
203
|
-
position: relative;
|
|
204
|
-
flex-shrink: 0;
|
|
205
|
-
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
:global(.tpc-checked) .tpc-checkbox-box {
|
|
209
|
-
background: var(--tpc-cyan);
|
|
210
|
-
border-color: var(--tpc-cyan);
|
|
211
|
-
transform: scale(1.05);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
:global(.tpc-checked) .tpc-checkbox-box::after {
|
|
215
|
-
content: '';
|
|
216
|
-
position: absolute;
|
|
217
|
-
left: 50%;
|
|
218
|
-
top: 45%;
|
|
219
|
-
width: 6px;
|
|
220
|
-
height: 11px;
|
|
221
|
-
border: solid #fff;
|
|
222
|
-
border-width: 0 2.5px 2.5px 0;
|
|
223
|
-
transform: translate(-50%, -50%) rotate(45deg);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.tpc-italic-text {
|
|
227
|
-
font-size: 0.9375rem;
|
|
228
|
-
font-weight: 600;
|
|
229
|
-
color: var(--tpc-text-main);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
@media (max-width: 480px) {
|
|
233
|
-
.tpc-config-grid {
|
|
234
|
-
grid-template-columns: 1fr;
|
|
235
|
-
}
|
|
236
|
-
.tpc-field-italic {
|
|
237
|
-
padding-top: 0;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
</style>
|
|
@@ -38,118 +38,3 @@ const { previewLabel, copyBtn, resetBtn } = Astro.props;
|
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
|
-
<style>
|
|
42
|
-
.tpc-preview-section {
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
gap: 1.25rem;
|
|
46
|
-
height: 100%;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.tpc-preview-header {
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: space-between;
|
|
52
|
-
align-items: center;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.tpc-label {
|
|
56
|
-
font-size: 0.75rem;
|
|
57
|
-
font-weight: 700;
|
|
58
|
-
color: var(--tpc-text-label);
|
|
59
|
-
text-transform: uppercase;
|
|
60
|
-
letter-spacing: 0.06em;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.tpc-canvas-container {
|
|
64
|
-
position: relative;
|
|
65
|
-
background: var(--tpc-canvas-bg);
|
|
66
|
-
border-radius: 1.25rem;
|
|
67
|
-
border: 1px solid var(--tpc-field-border);
|
|
68
|
-
min-height: 12rem;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.tpc-canvas-overlay {
|
|
76
|
-
position: absolute;
|
|
77
|
-
inset: 0;
|
|
78
|
-
background-image: radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
|
|
79
|
-
background-size: 20px 20px;
|
|
80
|
-
pointer-events: none;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
:global(.theme-dark) .tpc-canvas-overlay {
|
|
84
|
-
background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.tpc-canvas-wrap {
|
|
88
|
-
width: 100%;
|
|
89
|
-
height: 100%;
|
|
90
|
-
display: flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
justify-content: center;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.tpc-canvas {
|
|
96
|
-
width: 100%;
|
|
97
|
-
height: 12rem;
|
|
98
|
-
display: block;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.tpc-actions {
|
|
102
|
-
display: flex;
|
|
103
|
-
gap: 1rem;
|
|
104
|
-
margin-top: auto;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.tpc-btn {
|
|
108
|
-
flex: 1;
|
|
109
|
-
display: flex;
|
|
110
|
-
align-items: center;
|
|
111
|
-
justify-content: center;
|
|
112
|
-
gap: 0.75rem;
|
|
113
|
-
padding: 1rem;
|
|
114
|
-
border-radius: 1rem;
|
|
115
|
-
font-size: 0.9375rem;
|
|
116
|
-
font-weight: 700;
|
|
117
|
-
cursor: pointer;
|
|
118
|
-
border: none;
|
|
119
|
-
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.tpc-btn-icon {
|
|
123
|
-
width: 1.25rem;
|
|
124
|
-
height: 1.25rem;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.tpc-btn-primary {
|
|
128
|
-
background: linear-gradient(135deg, var(--tpc-cyan) 0%, var(--tpc-cyan-dark) 100%);
|
|
129
|
-
color: #fff;
|
|
130
|
-
box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.tpc-btn-primary:hover {
|
|
134
|
-
transform: translateY(-2px);
|
|
135
|
-
box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.tpc-btn-primary:active {
|
|
139
|
-
transform: translateY(0);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.tpc-btn-secondary {
|
|
143
|
-
background: var(--tpc-btn-secondary-bg);
|
|
144
|
-
color: var(--tpc-btn-secondary-color);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.tpc-btn-secondary:hover {
|
|
148
|
-
background: rgba(0, 0, 0, 0.1);
|
|
149
|
-
transform: translateY(-2px);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
:global(.theme-dark) .tpc-btn-secondary:hover {
|
|
153
|
-
background: rgba(255, 255, 255, 0.1);
|
|
154
|
-
}
|
|
155
|
-
</style>
|
|
@@ -23,65 +23,3 @@ const { widthLabel, charsLabel } = Astro.props;
|
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
-
<style>
|
|
27
|
-
.tpc-stats {
|
|
28
|
-
display: grid;
|
|
29
|
-
grid-template-columns: 1fr 1fr;
|
|
30
|
-
gap: 1rem;
|
|
31
|
-
padding: 1.5rem 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.tpc-stat-card {
|
|
35
|
-
position: relative;
|
|
36
|
-
background: rgba(255, 255, 255, 0.4);
|
|
37
|
-
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
38
|
-
border-radius: 1.25rem;
|
|
39
|
-
padding: 1.25rem;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
transition: transform 0.2s;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
:global(.theme-dark) .tpc-stat-card {
|
|
45
|
-
background: rgba(15, 23, 42, 0.6);
|
|
46
|
-
border-color: rgba(255, 255, 255, 0.05);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.tpc-stat-card:hover {
|
|
50
|
-
transform: translateY(-2px);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.tpc-stat-inner {
|
|
54
|
-
position: relative;
|
|
55
|
-
z-index: 1;
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
align-items: center;
|
|
59
|
-
gap: 0.25rem;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.tpc-stat-value {
|
|
63
|
-
font-size: 2.5rem;
|
|
64
|
-
font-weight: 800;
|
|
65
|
-
color: var(--tpc-cyan);
|
|
66
|
-
line-height: 1.1;
|
|
67
|
-
font-family: 'JetBrains Mono', monospace;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.tpc-stat-label {
|
|
71
|
-
font-size: 0.625rem;
|
|
72
|
-
font-weight: 700;
|
|
73
|
-
color: var(--tpc-text-label);
|
|
74
|
-
text-transform: uppercase;
|
|
75
|
-
letter-spacing: 0.1em;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.tpc-stat-glow {
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: -50%;
|
|
81
|
-
left: -50%;
|
|
82
|
-
width: 200%;
|
|
83
|
-
height: 200%;
|
|
84
|
-
background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
|
|
85
|
-
pointer-events: none;
|
|
86
|
-
}
|
|
87
|
-
</style>
|