@acorex/styles 7.17.12 → 7.17.14

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/index.css CHANGED
@@ -1,324 +1,358 @@
1
1
  @import '@angular/cdk/overlay-prebuilt.css';
2
- @font-face {
3
- font-family: "acorex-icons";
4
- src: url("fonts/acorex-icons.eot?w5vnun");
5
- src: url("fonts/acorex-icons.eot?w5vnun#iefix") format("embedded-opentype"), url("fonts/acorex-icons.ttf?w5vnun") format("truetype"), url("fonts/acorex-icons.woff?w5vnun") format("woff"), url("fonts/acorex-icons.svg?w5vnun#acorex-icons") format("svg");
6
- font-weight: normal;
7
- font-style: normal;
8
- font-display: block;
9
- }
10
- .ax-icon {
11
- /* use !important to prevent issues with browser extensions that change fonts */
12
- font-family: "acorex-icons" !important;
13
- speak: never;
14
- font-style: normal;
15
- font-weight: normal;
16
- font-variant: normal;
2
+ /*
3
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
4
+ 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
5
+ */
6
+ *,
7
+ ::before,
8
+ ::after {
9
+ box-sizing: border-box; /* 1 */
10
+ border-width: 0; /* 2 */
11
+ border-style: solid; /* 2 */
12
+ border-color: theme("borderColor.DEFAULT", currentColor); /* 2 */
13
+ }
14
+
15
+ ::before,
16
+ ::after {
17
+ --tw-content: "";
18
+ }
19
+
20
+ /*
21
+ 1. Use a consistent sensible line-height in all browsers.
22
+ 2. Prevent adjustments of font size after orientation changes in iOS.
23
+ 3. Use a more readable tab size.
24
+ 4. Use the user's configured `sans` font-family by default.
25
+ 5. Use the user's configured `sans` font-feature-settings by default.
26
+ 6. Use the user's configured `sans` font-variation-settings by default.
27
+ 7. Disable tap highlights on iOS.
28
+ */
29
+ html,
30
+ :host {
31
+ line-height: 1.5; /* 1 */
32
+ -webkit-text-size-adjust: 100%; /* 2 */
33
+ -moz-tab-size: 4; /* 3 */
34
+ tab-size: 4; /* 3 */
35
+ font-family: theme("fontFamily.sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"); /* 4 */
36
+ font-feature-settings: theme("fontFamily.sans[1].fontFeatureSettings", normal); /* 5 */
37
+ font-variation-settings: theme("fontFamily.sans[1].fontVariationSettings", normal); /* 6 */
38
+ -webkit-tap-highlight-color: transparent; /* 7 */
39
+ }
40
+
41
+ /*
42
+ 1. Remove the margin in all browsers.
43
+ 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
44
+ */
45
+ body {
46
+ margin: 0; /* 1 */
47
+ line-height: inherit; /* 2 */
48
+ }
49
+
50
+ /*
51
+ 1. Add the correct height in Firefox.
52
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
53
+ 3. Ensure horizontal rules are visible by default.
54
+ */
55
+ hr {
56
+ height: 0; /* 1 */
57
+ color: inherit; /* 2 */
58
+ border-top-width: 1px; /* 3 */
59
+ }
60
+
61
+ /*
62
+ Add the correct text decoration in Chrome, Edge, and Safari.
63
+ */
64
+ abbr:where([title]) {
65
+ text-decoration: underline dotted;
66
+ }
67
+
68
+ /*
69
+ Remove the default font size and weight for headings.
70
+ */
71
+ h1,
72
+ h2,
73
+ h3,
74
+ h4,
75
+ h5,
76
+ h6 {
77
+ font-size: inherit;
78
+ font-weight: inherit;
79
+ }
80
+
81
+ /*
82
+ Reset links to optimize for opt-in styling instead of opt-out.
83
+ */
84
+ a {
85
+ color: inherit;
86
+ text-decoration: inherit;
87
+ }
88
+
89
+ /*
90
+ Add the correct font weight in Edge and Safari.
91
+ */
92
+ b,
93
+ strong {
94
+ font-weight: bolder;
95
+ }
96
+
97
+ /*
98
+ 1. Use the user's configured `mono` font-family by default.
99
+ 2. Use the user's configured `mono` font-feature-settings by default.
100
+ 3. Use the user's configured `mono` font-variation-settings by default.
101
+ 4. Correct the odd `em` font sizing in all browsers.
102
+ */
103
+ code,
104
+ kbd,
105
+ samp,
106
+ pre {
107
+ font-family: theme("fontFamily.mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); /* 1 */
108
+ font-feature-settings: theme("fontFamily.mono[1].fontFeatureSettings", normal); /* 2 */
109
+ font-variation-settings: theme("fontFamily.mono[1].fontVariationSettings", normal); /* 3 */
110
+ font-size: 1em; /* 4 */
111
+ }
112
+
113
+ /*
114
+ Add the correct font size in all browsers.
115
+ */
116
+ small {
117
+ font-size: 80%;
118
+ }
119
+
120
+ /*
121
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
122
+ */
123
+ sub,
124
+ sup {
125
+ font-size: 75%;
126
+ line-height: 0;
127
+ position: relative;
128
+ vertical-align: baseline;
129
+ }
130
+
131
+ sub {
132
+ bottom: -0.25em;
133
+ }
134
+
135
+ sup {
136
+ top: -0.5em;
137
+ }
138
+
139
+ /*
140
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
141
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
142
+ 3. Remove gaps between table borders by default.
143
+ */
144
+ table {
145
+ text-indent: 0; /* 1 */
146
+ border-color: inherit; /* 2 */
147
+ border-collapse: collapse; /* 3 */
148
+ }
149
+
150
+ /*
151
+ 1. Change the font styles in all browsers.
152
+ 2. Remove the margin in Firefox and Safari.
153
+ 3. Remove default padding in all browsers.
154
+ */
155
+ button,
156
+ input,
157
+ optgroup,
158
+ select,
159
+ textarea {
160
+ font-family: inherit; /* 1 */
161
+ font-feature-settings: inherit; /* 1 */
162
+ font-variation-settings: inherit; /* 1 */
163
+ font-size: 100%; /* 1 */
164
+ font-weight: inherit; /* 1 */
165
+ line-height: inherit; /* 1 */
166
+ color: inherit; /* 1 */
167
+ margin: 0; /* 2 */
168
+ padding: 0; /* 3 */
169
+ }
170
+
171
+ /*
172
+ Remove the inheritance of text transform in Edge and Firefox.
173
+ */
174
+ button,
175
+ select {
17
176
  text-transform: none;
18
- line-height: 1;
19
- /* Better Font Rendering =========== */
20
- -webkit-font-smoothing: antialiased;
21
- -moz-osx-font-smoothing: grayscale;
22
- }
23
-
24
- .ax-icon-more-vertical:before {
25
- content: "\e914";
26
- }
27
-
28
- .ax-icon-more-horizontal:before {
29
- content: "\e94a";
30
- }
31
-
32
- .ax-icon-arrow-short-right:before {
33
- content: "\e924";
34
- }
35
-
36
- .ax-icon-arrow-short-down:before {
37
- content: "\e925";
38
- }
39
-
40
- .ax-icon-arrow-short-up:before {
41
- content: "\e944";
42
- }
43
-
44
- .ax-icon-arrow-short-left:before {
45
- content: "\e945";
46
- }
47
-
48
- .ax-icon-arrow-long-right:before {
49
- content: "\e946";
50
- }
51
-
52
- .ax-icon-arrow-long-up:before {
53
- content: "\e947";
54
- }
55
-
56
- .ax-icon-arrow-long-left:before {
57
- content: "\e948";
58
- }
59
-
60
- .ax-icon-arrow-long-down:before {
61
- content: "\e949";
62
- }
63
-
64
- .ax-icon-filter:before {
65
- content: "\e943";
66
- }
67
-
68
- .ax-icon-progress-bold:before {
69
- content: "\e940";
70
- }
71
-
72
- .ax-icon-dash-bold:before {
73
- content: "\e941";
74
- }
75
-
76
- .ax-icon-done-bold:before {
77
- content: "\e942";
78
- }
79
-
80
- .ax-icon-cancel-fill:before {
81
- content: "\e93f";
82
- }
83
-
84
- .ax-icon-info-fill:before {
85
- content: "\e93d";
86
- }
87
-
88
- .ax-icon-info:before {
89
- content: "\e93e";
90
- }
91
-
92
- .ax-icon-star-fill:before {
93
- content: "\e900";
94
- }
95
-
96
- .ax-icon-star:before {
97
- content: "\e901";
98
- }
99
-
100
- .ax-icon-light-mode:before {
101
- content: "\e902";
102
- }
103
-
104
- .ax-icon-dark-mode:before {
105
- content: "\e903";
106
- }
107
-
108
- .ax-icon-color-picker:before {
109
- content: "\e904";
110
- }
111
-
112
- .ax-icon-color-palette:before {
113
- content: "\e905";
114
- }
115
-
116
- .ax-icon-arrow-left:before {
117
- content: "\e906";
118
- }
119
-
120
- .ax-icon-arrow-down:before {
121
- content: "\e907";
122
- }
123
-
124
- .ax-icon-arrow-up:before {
125
- content: "\e908";
126
- }
127
-
128
- .ax-icon-arrow-right:before {
129
- content: "\e909";
130
- }
131
-
132
- .ax-icon-chevron-left:before {
133
- content: "\e90a";
134
- }
135
-
136
- .ax-icon-chevron-down:before {
137
- content: "\e90b";
138
177
  }
139
178
 
140
- .ax-icon-chevron-up:before {
141
- content: "\e90c";
179
+ /*
180
+ 1. Correct the inability to style clickable types in iOS and Safari.
181
+ 2. Remove default button styles.
182
+ */
183
+ button,
184
+ [type=button],
185
+ [type=reset],
186
+ [type=submit] {
187
+ -webkit-appearance: button; /* 1 */
188
+ background-color: transparent; /* 2 */
189
+ background-image: none; /* 2 */
142
190
  }
143
191
 
144
- .ax-icon-chevron-right:before {
145
- content: "\e90d";
192
+ /*
193
+ Use the modern Firefox focus style for all focusable elements.
194
+ */
195
+ :-moz-focusring {
196
+ outline: auto;
146
197
  }
147
198
 
148
- .ax-icon-first-page:before {
149
- content: "\e90e";
150
- }
151
-
152
- .ax-icon-last-page:before {
153
- content: "\e90f";
154
- }
155
-
156
- .ax-icon-full-screen:before {
157
- content: "\e910";
158
- }
159
-
160
- .ax-icon-full-screen-close:before {
161
- content: "\e911";
162
- }
163
-
164
- .ax-icon-done:before {
165
- content: "\e912";
166
- }
167
-
168
- .ax-icon-calendar:before {
169
- content: "\e913";
170
- }
171
-
172
- .ax-icon-menu:before {
173
- content: "\e915";
174
- }
175
-
176
- .ax-icon-report:before {
177
- content: "\e916";
178
- }
179
-
180
- .ax-icon-report-fill:before {
181
- content: "\e917";
182
- }
183
-
184
- .ax-icon-error:before {
185
- content: "\e918";
186
- }
187
-
188
- .ax-icon-error-fill:before {
189
- content: "\e919";
190
- }
191
-
192
- .ax-icon-warning:before {
193
- content: "\e91a";
194
- }
195
-
196
- .ax-icon-warning-fill:before {
197
- content: "\e91b";
198
- }
199
-
200
- .ax-icon-check-circle:before {
201
- content: "\e91c";
202
- }
203
-
204
- .ax-icon-check-circle-fill:before {
205
- content: "\e91d";
206
- }
207
-
208
- .ax-icon-close:before {
209
- content: "\e91e";
210
- }
211
-
212
- .ax-icon-time:before {
213
- content: "\e91f";
214
- }
215
-
216
- .ax-icon-visibility-off:before {
217
- content: "\e920";
218
- }
219
-
220
- .ax-icon-visibility:before {
221
- content: "\e921";
222
- }
223
-
224
- .ax-icon-unfold-more:before {
225
- content: "\e922";
226
- }
227
-
228
- .ax-icon-unfold-less:before {
229
- content: "\e923";
230
- }
231
-
232
- .ax-icon-download:before {
233
- content: "\e926";
234
- }
235
-
236
- .ax-icon-upload:before {
237
- content: "\e927";
238
- }
239
-
240
- .ax-icon-publish:before {
241
- content: "\e928";
242
- }
243
-
244
- .ax-icon-cloud-download:before {
245
- content: "\e929";
246
- }
247
-
248
- .ax-icon-cloud-upload:before {
249
- content: "\e92a";
250
- }
251
-
252
- .ax-icon-undo:before {
253
- content: "\e92b";
254
- }
255
-
256
- .ax-icon-redo:before {
257
- content: "\e92c";
199
+ /*
200
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
201
+ */
202
+ :-moz-ui-invalid {
203
+ box-shadow: none;
258
204
  }
259
205
 
260
- .ax-icon-search:before {
261
- content: "\e92d";
206
+ /*
207
+ Add the correct vertical alignment in Chrome and Firefox.
208
+ */
209
+ progress {
210
+ vertical-align: baseline;
262
211
  }
263
212
 
264
- .ax-icon-add:before {
265
- content: "\e92e";
213
+ /*
214
+ Correct the cursor style of increment and decrement buttons in Safari.
215
+ */
216
+ ::-webkit-inner-spin-button,
217
+ ::-webkit-outer-spin-button {
218
+ height: auto;
266
219
  }
267
220
 
268
- .ax-icon-remove:before {
269
- content: "\e92f";
221
+ /*
222
+ 1. Correct the odd appearance in Chrome and Safari.
223
+ 2. Correct the outline style in Safari.
224
+ */
225
+ [type=search] {
226
+ -webkit-appearance: textfield; /* 1 */
227
+ outline-offset: -2px; /* 2 */
270
228
  }
271
229
 
272
- .ax-icon-paste:before {
273
- content: "\e930";
230
+ /*
231
+ Remove the inner padding in Chrome and Safari on macOS.
232
+ */
233
+ ::-webkit-search-decoration {
234
+ -webkit-appearance: none;
274
235
  }
275
236
 
276
- .ax-icon-cut:before {
277
- content: "\e931";
237
+ /*
238
+ 1. Correct the inability to style clickable types in iOS and Safari.
239
+ 2. Change font properties to `inherit` in Safari.
240
+ */
241
+ ::-webkit-file-upload-button {
242
+ -webkit-appearance: button; /* 1 */
243
+ font: inherit; /* 2 */
278
244
  }
279
245
 
280
- .ax-icon-copy:before {
281
- content: "\e932";
246
+ /*
247
+ Add the correct display in Chrome and Safari.
248
+ */
249
+ summary {
250
+ display: list-item;
282
251
  }
283
252
 
284
- .ax-icon-refresh:before {
285
- content: "\e933";
253
+ /*
254
+ Removes the default spacing for appropriate elements.
255
+ */
256
+ blockquote,
257
+ dl,
258
+ dd,
259
+ h1,
260
+ h2,
261
+ h3,
262
+ h4,
263
+ h5,
264
+ h6,
265
+ hr,
266
+ figure,
267
+ p,
268
+ pre {
269
+ margin: 0;
286
270
  }
287
271
 
288
- .ax-icon-inbox:before {
289
- content: "\e934";
272
+ fieldset {
273
+ margin: 0;
274
+ padding: 0;
290
275
  }
291
276
 
292
- .ax-icon-skip-previous:before {
293
- content: "\e935";
277
+ legend {
278
+ padding: 0;
294
279
  }
295
280
 
296
- .ax-icon-skip-next:before {
297
- content: "\e936";
281
+ ol,
282
+ ul,
283
+ menu {
284
+ list-style: none;
285
+ margin: 0;
286
+ padding: 0;
298
287
  }
299
288
 
300
- .ax-icon-delete:before {
301
- content: "\e937";
289
+ dialog {
290
+ padding: 0;
302
291
  }
303
292
 
304
- .ax-icon-happy:before {
305
- content: "\e938";
293
+ /*
294
+ Prevent resizing textareas horizontally by default.
295
+ */
296
+ textarea {
297
+ resize: vertical;
306
298
  }
307
299
 
308
- .ax-icon-normal:before {
309
- content: "\e939";
300
+ /*
301
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
302
+ 2. Set the default placeholder color to the user's configured gray 400 color.
303
+ */
304
+ input::placeholder,
305
+ textarea::placeholder {
306
+ opacity: 1; /* 1 */
307
+ color: theme("colors.gray.400", #9ca3af); /* 2 */
310
308
  }
311
309
 
312
- .ax-icon-sad:before {
313
- content: "\e93a";
310
+ /*
311
+ Set the default cursor for buttons.
312
+ */
313
+ button,
314
+ [role=button] {
315
+ cursor: pointer;
314
316
  }
315
317
 
316
- .ax-icon-person:before {
317
- content: "\e93b";
318
+ /*
319
+ Make sure disabled buttons don't get the pointer cursor.
320
+ */
321
+ :disabled {
322
+ cursor: default;
323
+ }
324
+
325
+ /*
326
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
327
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
328
+ This can trigger a poorly considered lint error in some tools but is included by design.
329
+ */
330
+ img,
331
+ svg,
332
+ video,
333
+ canvas,
334
+ audio,
335
+ iframe,
336
+ embed,
337
+ object {
338
+ display: block; /* 1 */
339
+ vertical-align: middle; /* 2 */
340
+ }
341
+
342
+ /*
343
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
344
+ */
345
+ img,
346
+ video {
347
+ max-width: 100%;
348
+ height: auto;
318
349
  }
319
350
 
320
- .ax-icon-dashboard:before {
321
- content: "\e93c";
351
+ /*
352
+ Make elements with the HTML hidden attribute stay hidden by default.
353
+ */
354
+ [hidden] {
355
+ display: none;
322
356
  }
323
357
 
324
358
  :root {
@@ -4297,8 +4331,8 @@ body {
4297
4331
  line-height: 1.25rem;
4298
4332
  }
4299
4333
  .ax-editor-container.ax-lg .ax-input {
4300
- font-size: 1.125rem;
4301
- line-height: 1.75rem;
4334
+ font-size: 1rem;
4335
+ line-height: 1.25rem;
4302
4336
  }
4303
4337
  .ax-editor-container.ax-xl .ax-input {
4304
4338
  font-size: 1.125rem;