@archerjessop/utilities 4.2.0 → 4.4.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/dist/styles/base.css +40 -11
- package/dist/styles/components.css +221 -0
- package/package.json +1 -1
package/dist/styles/base.css
CHANGED
|
@@ -7,6 +7,14 @@
|
|
|
7
7
|
--color-warning: #ffc107;
|
|
8
8
|
--color-info: #17a2b8;
|
|
9
9
|
|
|
10
|
+
/* Generic UI Colors */
|
|
11
|
+
--bg-footer: #ededed;
|
|
12
|
+
--border-footer: #919090ff;
|
|
13
|
+
--text-primary: #212529;
|
|
14
|
+
--text-secondary: #6c757d;
|
|
15
|
+
--text-muted: #999;
|
|
16
|
+
--border-input: #ccc;
|
|
17
|
+
|
|
10
18
|
/* Grays */
|
|
11
19
|
--color-gray-50: #f8f9fa;
|
|
12
20
|
--color-gray-100: #e9ecef;
|
|
@@ -18,14 +26,19 @@
|
|
|
18
26
|
|
|
19
27
|
/* Spacing */
|
|
20
28
|
--spacing-xs: 4px;
|
|
21
|
-
--spacing-sm:
|
|
22
|
-
--spacing-md:
|
|
23
|
-
--spacing-lg:
|
|
24
|
-
--spacing-xl:
|
|
29
|
+
--spacing-sm: 6px;
|
|
30
|
+
--spacing-md: 8px;
|
|
31
|
+
--spacing-lg: 12px;
|
|
32
|
+
--spacing-xl: 16px;
|
|
33
|
+
--spacing-xxl: 20px;
|
|
34
|
+
--spacing-xxxl: 24px;
|
|
25
35
|
|
|
26
36
|
/* Typography */
|
|
37
|
+
--font-family-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
|
|
38
|
+
--font-size-xs: 11px;
|
|
27
39
|
--font-size-sm: 12px;
|
|
28
|
-
--font-size-base:
|
|
40
|
+
--font-size-base: 13px;
|
|
41
|
+
--font-size-md: 14px;
|
|
29
42
|
--font-size-lg: 16px;
|
|
30
43
|
--font-weight-normal: 400;
|
|
31
44
|
--font-weight-medium: 500;
|
|
@@ -33,16 +46,32 @@
|
|
|
33
46
|
|
|
34
47
|
/* Borders */
|
|
35
48
|
--border-radius: 4px;
|
|
36
|
-
--border-radius-
|
|
37
|
-
--border-color: #
|
|
49
|
+
--border-radius-md: 6px;
|
|
50
|
+
--border-color: #ccc;
|
|
51
|
+
--border-color-light: #ddd;
|
|
52
|
+
|
|
53
|
+
/* Shadows */
|
|
54
|
+
--shadow-footer: 0 -8px 32px rgba(0, 0, 0, 0.08);
|
|
55
|
+
--shadow-focus: 0 0 0 2px rgba(0, 123, 255, 0.25);
|
|
56
|
+
|
|
57
|
+
/* Z-index */
|
|
58
|
+
--z-footer: 999999999;
|
|
59
|
+
|
|
60
|
+
/* Container widths */
|
|
61
|
+
--container-max-width: 1600px;
|
|
62
|
+
|
|
63
|
+
/* Grid */
|
|
64
|
+
--grid-gap: var(--spacing-xl);
|
|
65
|
+
--grid-gap-small: var(--spacing-lg);
|
|
38
66
|
}
|
|
39
67
|
|
|
40
|
-
|
|
68
|
+
/* Test class */
|
|
69
|
+
.test-styles {
|
|
41
70
|
background: var(--color-primary);
|
|
42
71
|
color: white;
|
|
43
|
-
padding: var(--spacing-
|
|
72
|
+
padding: var(--spacing-xl) var(--spacing-xxxl);
|
|
44
73
|
border-radius: var(--border-radius);
|
|
45
|
-
font-size: var(--font-size-
|
|
74
|
+
font-size: var(--font-size-md);
|
|
46
75
|
font-weight: var(--font-weight-semibold);
|
|
47
76
|
border: 1px solid var(--border-color);
|
|
48
77
|
cursor: pointer;
|
|
@@ -50,6 +79,6 @@
|
|
|
50
79
|
text-decoration: none;
|
|
51
80
|
}
|
|
52
81
|
|
|
53
|
-
.
|
|
82
|
+
.test-styles:hover {
|
|
54
83
|
background: var(--color-primary-hover);
|
|
55
84
|
}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
/* ===== EXTENSION FOOTER ===== */
|
|
2
|
+
|
|
3
|
+
.ext-footer {
|
|
4
|
+
position: fixed;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
background: var(--bg-footer);
|
|
9
|
+
border-top: 1px solid var(--border-footer);
|
|
10
|
+
box-shadow: var(--shadow-footer);
|
|
11
|
+
z-index: var(--z-footer);
|
|
12
|
+
padding: var(--spacing-xl) var(--spacing-xxxl);
|
|
13
|
+
font-family: var(--font-family-system);
|
|
14
|
+
font-size: var(--font-size-lg);
|
|
15
|
+
color: var(--text-primary);
|
|
16
|
+
width: 100%;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.footer-container {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
max-width: var(--container-max-width);
|
|
25
|
+
margin: 0 auto;
|
|
26
|
+
gap: var(--spacing-xxl);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.footer-content {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
gap: var(--spacing-lg);
|
|
33
|
+
flex: 1;
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.footer-controls {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: flex-end;
|
|
41
|
+
gap: var(--spacing-md);
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* ===== FORM CONTROLS ===== */
|
|
46
|
+
|
|
47
|
+
.dropdown {
|
|
48
|
+
background: white;
|
|
49
|
+
border: 1px solid var(--border-input);
|
|
50
|
+
border-radius: var(--border-radius);
|
|
51
|
+
padding: var(--spacing-sm) var(--spacing-md);
|
|
52
|
+
font-size: var(--font-size-sm);
|
|
53
|
+
color: #333;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
min-width: 120px;
|
|
56
|
+
outline: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.dropdown:focus {
|
|
60
|
+
border-color: var(--color-primary);
|
|
61
|
+
box-shadow: var(--shadow-focus);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* ===== BUTTONS ===== */
|
|
65
|
+
|
|
66
|
+
.btn-primary {
|
|
67
|
+
background: var(--color-primary);
|
|
68
|
+
color: white;
|
|
69
|
+
border: none;
|
|
70
|
+
padding: var(--spacing-lg) var(--spacing-xxl);
|
|
71
|
+
border-radius: var(--border-radius-md);
|
|
72
|
+
font-weight: var(--font-weight-semibold);
|
|
73
|
+
font-size: var(--font-size-md);
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
text-decoration: none;
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: var(--spacing-md);
|
|
79
|
+
transition: background-color 0.2s;
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
min-width: 120px;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.btn-primary:hover {
|
|
86
|
+
background: var(--color-primary-hover);
|
|
87
|
+
color: white;
|
|
88
|
+
text-decoration: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.icon {
|
|
92
|
+
width: var(--spacing-xl);
|
|
93
|
+
height: var(--spacing-xl);
|
|
94
|
+
fill: currentColor;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* ===== METRICS GRID ===== */
|
|
98
|
+
|
|
99
|
+
.metrics-grid {
|
|
100
|
+
display: grid;
|
|
101
|
+
grid-template-columns: repeat(9, 1fr);
|
|
102
|
+
gap: var(--grid-gap);
|
|
103
|
+
font-size: var(--font-size-md);
|
|
104
|
+
width: 100%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.metric-column {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
gap: var(--spacing-md);
|
|
111
|
+
min-width: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.metric {
|
|
115
|
+
display: flex;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
gap: var(--spacing-xs);
|
|
118
|
+
min-width: 0;
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
padding: var(--spacing-sm);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.metric-label {
|
|
124
|
+
font-weight: var(--font-weight-medium);
|
|
125
|
+
color: var(--text-secondary);
|
|
126
|
+
font-size: var(--font-size-sm);
|
|
127
|
+
text-transform: uppercase;
|
|
128
|
+
letter-spacing: 0.5px;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
text-overflow: ellipsis;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.metric-value {
|
|
135
|
+
font-weight: var(--font-weight-semibold);
|
|
136
|
+
font-size: var(--font-size-lg);
|
|
137
|
+
white-space: nowrap;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
text-overflow: ellipsis;
|
|
140
|
+
color: var(--text-primary);
|
|
141
|
+
line-height: 1.2;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* ===== UTILITY CLASSES ===== */
|
|
145
|
+
|
|
146
|
+
.clickable {
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
color: var(--color-primary) !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.clickable:hover {
|
|
152
|
+
color: var(--color-primary-hover) !important;
|
|
153
|
+
text-decoration: underline;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.loading {
|
|
157
|
+
color: var(--color-warning) !important;
|
|
158
|
+
position: relative;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.loading::after {
|
|
162
|
+
content: "•••";
|
|
163
|
+
animation: pulse 1.5s ease-in-out infinite;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.negative {
|
|
167
|
+
color: var(--color-danger) !important;
|
|
168
|
+
font-weight: var(--font-weight-semibold);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@keyframes pulse {
|
|
172
|
+
0%, 100% { opacity: 0.3; }
|
|
173
|
+
50% { opacity: 1; }
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* ===== RESPONSIVE DESIGN ===== */
|
|
177
|
+
|
|
178
|
+
@media (max-width: 1400px) {
|
|
179
|
+
.metrics-grid {
|
|
180
|
+
grid-template-columns: repeat(6, 1fr);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.btn-primary {
|
|
184
|
+
padding: 10px var(--spacing-xl);
|
|
185
|
+
font-size: var(--font-size-base);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@media (max-width: 1000px) {
|
|
190
|
+
.metrics-grid {
|
|
191
|
+
grid-template-columns: repeat(4, 1fr);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@media (max-width: 768px) {
|
|
196
|
+
.ext-footer {
|
|
197
|
+
padding: var(--spacing-lg) var(--spacing-xl);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.footer-container {
|
|
201
|
+
flex-direction: column;
|
|
202
|
+
gap: var(--spacing-lg);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.footer-controls {
|
|
206
|
+
align-items: stretch;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.metrics-grid {
|
|
210
|
+
grid-template-columns: repeat(2, 1fr);
|
|
211
|
+
gap: var(--grid-gap-small);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.metric-value {
|
|
215
|
+
font-size: var(--font-size-md);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.btn-primary {
|
|
219
|
+
justify-content: center;
|
|
220
|
+
}
|
|
221
|
+
}
|