ply-css 1.3.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/CLAUDE.md +176 -0
- package/LICENSE +22 -0
- package/PLY.md +646 -0
- package/README.md +170 -0
- package/dist/css/ply-core.css +6175 -0
- package/dist/css/ply-core.min.css +1 -0
- package/dist/css/ply-essentials.min.css +1 -0
- package/dist/css/ply-helpers.min.css +1 -0
- package/dist/css/ply.css +7429 -0
- package/dist/css/ply.min.css +1 -0
- package/dist/css/styles.css +7432 -0
- package/dist/css/styles.min.css +1 -0
- package/llms-full.txt +834 -0
- package/llms.txt +34 -0
- package/package.json +70 -0
- package/ply-classes.json +2625 -0
- package/snippets/accessible-drag-and-drop.html +122 -0
- package/snippets/card.html +58 -0
- package/snippets/contact-form.html +49 -0
- package/snippets/custom-theme.html +280 -0
- package/snippets/dashboard.html +77 -0
- package/snippets/data-table.html +64 -0
- package/snippets/login-page.html +45 -0
- package/snippets/navbar-page.html +39 -0
- package/snippets/notifications.html +63 -0
- package/snippets/pricing-cards.html +95 -0
- package/snippets/responsive-header.html +98 -0
- package/snippets/starter-page.html +782 -0
- package/snippets/two-column-layout.html +40 -0
- package/src/scss/_ply-core-components.scss +32 -0
- package/src/scss/_ply.scss +47 -0
- package/src/scss/components/_accordion.scss +73 -0
- package/src/scss/components/_alignments.scss +64 -0
- package/src/scss/components/_autocomplete.scss +28 -0
- package/src/scss/components/_blocks-responsive.scss +30 -0
- package/src/scss/components/_blocks.scss +39 -0
- package/src/scss/components/_buttons.scss +452 -0
- package/src/scss/components/_colors.scss +447 -0
- package/src/scss/components/_container-queries.scss +35 -0
- package/src/scss/components/_cursors.scss +24 -0
- package/src/scss/components/_dialog-patterns.scss +176 -0
- package/src/scss/components/_dropdown.scss +68 -0
- package/src/scss/components/_filterbox.scss +57 -0
- package/src/scss/components/_flexible-embed.scss +19 -0
- package/src/scss/components/_forms.scss +450 -0
- package/src/scss/components/_grid.scss +210 -0
- package/src/scss/components/_helpers-core.scss +357 -0
- package/src/scss/components/_helpers.scss +466 -0
- package/src/scss/components/_labels.scss +105 -0
- package/src/scss/components/_livesearch.scss +233 -0
- package/src/scss/components/_loader.scss +24 -0
- package/src/scss/components/_media-queries.scss +9 -0
- package/src/scss/components/_mixins.scss +387 -0
- package/src/scss/components/_modal.scss +73 -0
- package/src/scss/components/_multi-step-form.scss +190 -0
- package/src/scss/components/_navigation-responsive.scss +63 -0
- package/src/scss/components/_navigation.scss +592 -0
- package/src/scss/components/_notifications.scss +185 -0
- package/src/scss/components/_prettyprint.scss +86 -0
- package/src/scss/components/_print.scss +74 -0
- package/src/scss/components/_progress.scss +32 -0
- package/src/scss/components/_reset.scss +365 -0
- package/src/scss/components/_rtl.scss +213 -0
- package/src/scss/components/_table-interactive.scss +110 -0
- package/src/scss/components/_tables.scss +52 -0
- package/src/scss/components/_themes.scss +6 -0
- package/src/scss/components/_tooltip.scss +35 -0
- package/src/scss/components/_typography.scss +565 -0
- package/src/scss/components/_upload.scss +19 -0
- package/src/scss/components/_variables.scss +129 -0
- package/src/scss/ply-core.scss +1 -0
- package/src/scss/ply-essentials.scss +15 -0
- package/src/scss/ply-helpers.scss +11 -0
- package/src/scss/ply-iso.scss +1 -0
- package/src/scss/styles.scss +9 -0
|
@@ -0,0 +1,565 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
@use "sass:color";
|
|
4
|
+
@use "colors";
|
|
5
|
+
@use "mixins";
|
|
6
|
+
@use "variables";
|
|
7
|
+
|
|
8
|
+
// =Typography
|
|
9
|
+
// ----------------------------------------------------------------------------
|
|
10
|
+
body {
|
|
11
|
+
@include mixins.square;
|
|
12
|
+
|
|
13
|
+
background: var(--ply-bg-body, colors.$background-body);
|
|
14
|
+
color: var(--ply-color-body, colors.$color-body);
|
|
15
|
+
font-family: var(--ply-font-body, #{variables.$font-family-base});
|
|
16
|
+
font-size: variables.$font-size-base;
|
|
17
|
+
line-height: variables.$base-line;
|
|
18
|
+
overflow: auto;
|
|
19
|
+
transition: background 0.2s ease, color 0.2s ease;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// =Links
|
|
23
|
+
// ----------------------------------------------------------------------------
|
|
24
|
+
a {
|
|
25
|
+
@include mixins.transition;
|
|
26
|
+
|
|
27
|
+
color: var(--ply-color-link, colors.$color-link);
|
|
28
|
+
|
|
29
|
+
&:focus,
|
|
30
|
+
&:hover {
|
|
31
|
+
color: var(--ply-color-link-hover, colors.$color-link-hover);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// =Headings
|
|
36
|
+
// ----------------------------------------------------------------------------
|
|
37
|
+
h1,
|
|
38
|
+
h2,
|
|
39
|
+
h3,
|
|
40
|
+
h4,
|
|
41
|
+
h5,
|
|
42
|
+
h6,
|
|
43
|
+
.h1,
|
|
44
|
+
.h2,
|
|
45
|
+
.h3,
|
|
46
|
+
.h4,
|
|
47
|
+
.h5,
|
|
48
|
+
.h6 {
|
|
49
|
+
color: var(--ply-color-headings, colors.$color-headings);
|
|
50
|
+
font-family: var(--ply-font-heading, #{variables.$font-family-headings});
|
|
51
|
+
font-weight: variables.$header-font-weight;
|
|
52
|
+
margin: 0 0 0.5rem;
|
|
53
|
+
text-rendering: optimizeLegibility;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
h1,
|
|
57
|
+
.h1,
|
|
58
|
+
h2,
|
|
59
|
+
.h2 {
|
|
60
|
+
line-height: variables.$line-height-tight;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
h3,
|
|
64
|
+
.h3,
|
|
65
|
+
h4,
|
|
66
|
+
.h4 {
|
|
67
|
+
line-height: variables.$line-height-snug;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
h1,
|
|
71
|
+
.h1 {
|
|
72
|
+
font-size: variables.$font-size-h1-lg;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
h2,
|
|
76
|
+
.h2 {
|
|
77
|
+
font-size: variables.$font-size-h2-lg;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
h3,
|
|
81
|
+
.h3 {
|
|
82
|
+
font-size: variables.$font-size-h3-lg;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
h4,
|
|
86
|
+
.h4 {
|
|
87
|
+
font-size: variables.$font-size-h4-lg;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
h5,
|
|
91
|
+
.h5 {
|
|
92
|
+
font-size: variables.$font-size-h5-lg;
|
|
93
|
+
font-weight: normal;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
h6,
|
|
97
|
+
.h6 {
|
|
98
|
+
font-size: variables.$font-size-h6-lg;
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
text-transform: uppercase;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
// =Lead
|
|
105
|
+
// ----------------------------------------------------------------------------
|
|
106
|
+
.lead-subhead,
|
|
107
|
+
.lead {
|
|
108
|
+
font-size: variables.$font-size-lead;
|
|
109
|
+
line-height: variables.$line-height-lead;
|
|
110
|
+
margin-bottom: 1rem;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// =Line height and margin
|
|
114
|
+
// ----------------------------------------------------------------------------
|
|
115
|
+
p,
|
|
116
|
+
ul,
|
|
117
|
+
ol,
|
|
118
|
+
dl,
|
|
119
|
+
dd,
|
|
120
|
+
dt,
|
|
121
|
+
blockquote,
|
|
122
|
+
td,
|
|
123
|
+
th {
|
|
124
|
+
line-height: variables.$base-line;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
ul,
|
|
128
|
+
ol,
|
|
129
|
+
ul ul,
|
|
130
|
+
ol ol,
|
|
131
|
+
ul ol,
|
|
132
|
+
ol ul {
|
|
133
|
+
margin: 0 0 0 2rem;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
ul li,
|
|
137
|
+
ol li {
|
|
138
|
+
text-align: left;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
ol ol li {
|
|
142
|
+
list-style-type: lower-alpha;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
ol ol ol li {
|
|
146
|
+
list-style-type: lower-roman;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// =Definition list
|
|
150
|
+
// ----------------------------------------------------------------------------
|
|
151
|
+
dl dt {
|
|
152
|
+
font-weight: bold;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
dd {
|
|
156
|
+
margin-left: variables.$base-line;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
p,
|
|
160
|
+
ul,
|
|
161
|
+
ol,
|
|
162
|
+
dl,
|
|
163
|
+
blockquote,
|
|
164
|
+
hr,
|
|
165
|
+
pre,
|
|
166
|
+
table,
|
|
167
|
+
form,
|
|
168
|
+
fieldset,
|
|
169
|
+
figure,
|
|
170
|
+
address {
|
|
171
|
+
margin-bottom: variables.$base-line;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// =Blockquote
|
|
175
|
+
// ----------------------------------------------------------------------------
|
|
176
|
+
blockquote {
|
|
177
|
+
position: relative;
|
|
178
|
+
font-style: italic;
|
|
179
|
+
font-size: variables.$font-size-lg;
|
|
180
|
+
margin-left: variables.$base-line * 1.5;
|
|
181
|
+
padding-left: variables.$base-line;
|
|
182
|
+
border-left: 2px solid var(--ply-border-color, colors.$color-blockquote-border);
|
|
183
|
+
|
|
184
|
+
p {
|
|
185
|
+
margin-bottom: 0.5rem;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
small,
|
|
190
|
+
blockquote small,
|
|
191
|
+
blockquote p.small,
|
|
192
|
+
blockquote p.citation
|
|
193
|
+
cite,
|
|
194
|
+
blockquote cite {
|
|
195
|
+
color: var(--ply-color-muted);
|
|
196
|
+
font-style: italic;
|
|
197
|
+
font-size: variables.$font-size-small;
|
|
198
|
+
line-height: 1;
|
|
199
|
+
|
|
200
|
+
a {
|
|
201
|
+
text-decoration: none;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
// =Address
|
|
207
|
+
// ----------------------------------------------------------------------------
|
|
208
|
+
address {
|
|
209
|
+
font-style: normal;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// =Text-level
|
|
213
|
+
// ----------------------------------------------------------------------------
|
|
214
|
+
s,
|
|
215
|
+
del {
|
|
216
|
+
text-decoration: line-through;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
abbr[title],
|
|
220
|
+
dfn[title] {
|
|
221
|
+
border-bottom: 1px dotted var(--ply-color-body, colors.$color-black);
|
|
222
|
+
cursor: help;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
strong,
|
|
226
|
+
b {
|
|
227
|
+
font-weight: bold;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
em,
|
|
231
|
+
i {
|
|
232
|
+
font-style: italic;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
sub,
|
|
236
|
+
sup {
|
|
237
|
+
font-size: variables.$font-size-smaller;
|
|
238
|
+
line-height: 0;
|
|
239
|
+
position: relative;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
sup {
|
|
243
|
+
top: -0.5em;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
sub {
|
|
247
|
+
bottom: -0.25em;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
figcaption {
|
|
251
|
+
margin: .3em 0;
|
|
252
|
+
font-size: variables.$font-size-small;
|
|
253
|
+
font-style: italic;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
ins,
|
|
257
|
+
u {
|
|
258
|
+
text-decoration: underline;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
mark {
|
|
262
|
+
background-color: var(--ply-color-mark-bg, colors.$color-yellow);
|
|
263
|
+
color: var(--ply-color-mark, colors.$color-black);
|
|
264
|
+
text-decoration: none;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
// =Code
|
|
268
|
+
// ----------------------------------------------------------------------------
|
|
269
|
+
pre,
|
|
270
|
+
code,
|
|
271
|
+
kbd,
|
|
272
|
+
samp,
|
|
273
|
+
var,
|
|
274
|
+
output {
|
|
275
|
+
font-size: 90%;
|
|
276
|
+
font-style: normal;
|
|
277
|
+
font-family: var(--ply-font-mono, #{variables.$font-family-code});
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
pre {
|
|
281
|
+
margin-top: variables.$base-line;
|
|
282
|
+
font-size: 0.8125rem;
|
|
283
|
+
line-height: 1.6;
|
|
284
|
+
color: var(--ply-color-body, colors.$color-body);
|
|
285
|
+
background: var(--ply-color-code-bg, colors.$color-code-background);
|
|
286
|
+
border: 1px solid var(--ply-color-code-border, colors.$color-code-border);
|
|
287
|
+
border-radius: variables.$border-radius;
|
|
288
|
+
padding: 1rem;
|
|
289
|
+
overflow: auto;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
code,
|
|
293
|
+
samp,
|
|
294
|
+
kbd {
|
|
295
|
+
padding: 3px 6px 2px 6px;
|
|
296
|
+
display: inline-block;
|
|
297
|
+
line-height: 1;
|
|
298
|
+
border-radius: 2px;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
code {
|
|
302
|
+
background: var(--ply-color-code-bg, colors.$color-code-background);
|
|
303
|
+
border: 1px solid var(--ply-color-code-border, colors.$color-code-border);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
pre code {
|
|
307
|
+
font-size: 100%;
|
|
308
|
+
border: none;
|
|
309
|
+
padding: 0;
|
|
310
|
+
background: none;
|
|
311
|
+
line-height: variables.$base-line;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
var {
|
|
315
|
+
color: var(--ply-color-muted);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
samp {
|
|
319
|
+
background: var(--ply-color-code-bg, colors.$color-blue-pastel);
|
|
320
|
+
border: 1px solid var(--ply-color-code-border, color.adjust(colors.$color-blue-pastel, $lightness: -7%));
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
kbd {
|
|
324
|
+
background: var(--ply-color-body, colors.$color-black);
|
|
325
|
+
color: var(--ply-bg-body, rgba(255, 255, 255, .85));
|
|
326
|
+
white-space: nowrap;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// =Form
|
|
330
|
+
// ----------------------------------------------------------------------------
|
|
331
|
+
button:active {
|
|
332
|
+
outline: none;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
textarea,
|
|
336
|
+
select {
|
|
337
|
+
font-family: var(--ply-font-body, #{variables.$font-family-controls});
|
|
338
|
+
font-size: 1em;
|
|
339
|
+
box-shadow: none;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
textarea,
|
|
343
|
+
select[multiple],
|
|
344
|
+
select[multiple="multiple"] {
|
|
345
|
+
padding: variables.$padding-input;
|
|
346
|
+
line-height: 1.35em;
|
|
347
|
+
width: 100%;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
input[type="text"],
|
|
351
|
+
input[type="password"],
|
|
352
|
+
input[type="email"],
|
|
353
|
+
input[type="url"],
|
|
354
|
+
input[type="phone"],
|
|
355
|
+
input[type="tel"],
|
|
356
|
+
input[type="number"],
|
|
357
|
+
input[type="datetime"],
|
|
358
|
+
input[type="date"],
|
|
359
|
+
input[type="month"],
|
|
360
|
+
input[type="color"],
|
|
361
|
+
input[type="time"],
|
|
362
|
+
input[type="search"],
|
|
363
|
+
input[type="datetime-local"] {
|
|
364
|
+
font-family: var(--ply-font-body, #{variables.$font-family-controls});
|
|
365
|
+
font-size: 1em;
|
|
366
|
+
box-shadow: none;
|
|
367
|
+
padding: variables.$padding-input;
|
|
368
|
+
line-height: variables.$base-line;
|
|
369
|
+
border-radius: 0;
|
|
370
|
+
outline: none;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
select[multiple],
|
|
374
|
+
select[multiple="multiple"],
|
|
375
|
+
textarea,
|
|
376
|
+
input[type="text"],
|
|
377
|
+
input[type="password"],
|
|
378
|
+
input[type="email"],
|
|
379
|
+
input[type="url"],
|
|
380
|
+
input[type="phone"],
|
|
381
|
+
input[type="tel"],
|
|
382
|
+
input[type="number"],
|
|
383
|
+
input[type="datetime"],
|
|
384
|
+
input[type="date"],
|
|
385
|
+
input[type="month"],
|
|
386
|
+
input[type="color"],
|
|
387
|
+
input[type="time"],
|
|
388
|
+
input[type="search"],
|
|
389
|
+
input[type="datetime-local"] {
|
|
390
|
+
background: var(--ply-color-input-bg, colors.$color-white);
|
|
391
|
+
border: 1px solid var(--ply-color-input-border, colors.$color-input-border);
|
|
392
|
+
color: var(--ply-color-body, colors.$color-body);
|
|
393
|
+
position: relative;
|
|
394
|
+
z-index: 2;
|
|
395
|
+
appearance: none;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
textarea,
|
|
399
|
+
input[type="text"],
|
|
400
|
+
input[type="password"],
|
|
401
|
+
input[type="email"],
|
|
402
|
+
input[type="url"],
|
|
403
|
+
input[type="phone"],
|
|
404
|
+
input[type="tel"],
|
|
405
|
+
input[type="number"],
|
|
406
|
+
input[type="datetime"],
|
|
407
|
+
input[type="date"],
|
|
408
|
+
input[type="month"],
|
|
409
|
+
input[type="color"],
|
|
410
|
+
input[type="time"],
|
|
411
|
+
input[type="search"],
|
|
412
|
+
input[type="datetime-local"] {
|
|
413
|
+
&[disabled] {
|
|
414
|
+
resize: none;
|
|
415
|
+
color: var(--ply-color-muted);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
select,
|
|
420
|
+
input[type="checkbox"],
|
|
421
|
+
input[type="radio"] {
|
|
422
|
+
&[disabled] {
|
|
423
|
+
cursor: default;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
input::-moz-focus-inner,
|
|
428
|
+
button::-moz-focus-inner {
|
|
429
|
+
border: 0;
|
|
430
|
+
padding: 0;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
input[type="range"] {
|
|
434
|
+
position: relative;
|
|
435
|
+
top: 3px;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
select {
|
|
439
|
+
margin-bottom: 0 !important;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
fieldset {
|
|
443
|
+
padding: variables.$base-line;
|
|
444
|
+
margin-bottom: variables.$base-line;
|
|
445
|
+
border: 1px solid var(--ply-border-color, colors.$color-fieldset-border);
|
|
446
|
+
& *:last-child {
|
|
447
|
+
margin-bottom: 0 !important;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
legend {
|
|
452
|
+
font-weight: bold;
|
|
453
|
+
padding: 0 1em;
|
|
454
|
+
margin-left: -1em;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
// =Tables
|
|
459
|
+
// ----------------------------------------------------------------------------
|
|
460
|
+
table {
|
|
461
|
+
max-width: 100%;
|
|
462
|
+
width: 100%;
|
|
463
|
+
empty-cells: show;
|
|
464
|
+
|
|
465
|
+
caption {
|
|
466
|
+
text-transform: uppercase;
|
|
467
|
+
padding: 0 math.div(variables.$base-line, 1.5);
|
|
468
|
+
color: var(--ply-color-muted);
|
|
469
|
+
font-size: variables.$font-size-small;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
th,
|
|
473
|
+
td {
|
|
474
|
+
border-bottom: 1px solid var(--ply-color-table-border, colors.$color-table-border);
|
|
475
|
+
padding: variables.$base-line * 0.5 math.div(variables.$base-line, 1.5);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
tfoot th,
|
|
479
|
+
tfoot td {
|
|
480
|
+
color: var(--ply-color-muted);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
// =Typography Responsive
|
|
485
|
+
// -----------------------------------------------------------------------------
|
|
486
|
+
|
|
487
|
+
// Portrait tablet to landscape and desktop
|
|
488
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
|
489
|
+
h1 {
|
|
490
|
+
font-size: variables.$font-size-h1-md;
|
|
491
|
+
line-height: variables.$line-height-tight;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
h2 {
|
|
495
|
+
font-size: variables.$font-size-h2-md;
|
|
496
|
+
line-height: variables.$line-height-tight;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
h3 {
|
|
500
|
+
font-size: variables.$font-size-h3-md;
|
|
501
|
+
line-height: variables.$line-height-snug;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
h4 {
|
|
505
|
+
font-size: variables.$font-size-h4-md;
|
|
506
|
+
line-height: variables.$line-height-snug;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
h5 {
|
|
510
|
+
font-size: variables.$font-size-h5-md;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
h6 {
|
|
514
|
+
font-size: variables.$font-size-h6-md;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
// Landscape phone to portrait tablet
|
|
519
|
+
@media (max-width: 767px) {
|
|
520
|
+
h1 {
|
|
521
|
+
font-size: variables.$font-size-h1-sm;
|
|
522
|
+
line-height: variables.$line-height-tight;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
h2 {
|
|
526
|
+
font-size: variables.$font-size-h2-sm;
|
|
527
|
+
line-height: variables.$line-height-tight;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
h3 {
|
|
531
|
+
font-size: variables.$font-size-h3-sm;
|
|
532
|
+
line-height: variables.$line-height-snug;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
h4 {
|
|
536
|
+
font-size: variables.$font-size-h4-sm;
|
|
537
|
+
line-height: variables.$line-height-snug;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
h5 {
|
|
541
|
+
font-size: variables.$font-size-h5-sm;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
h6 {
|
|
545
|
+
font-size: variables.$font-size-h6-sm;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.lead,
|
|
549
|
+
.lead-subhead {
|
|
550
|
+
font-size: variables.$font-size-lg;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
ul,
|
|
554
|
+
ol,
|
|
555
|
+
ul ul,
|
|
556
|
+
ol ol,
|
|
557
|
+
ul ol,
|
|
558
|
+
ol ul {
|
|
559
|
+
margin-left: variables.$base-line;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
blockquote {
|
|
563
|
+
margin-left: 0;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* =Upload
|
|
2
|
+
-----------------------------------------------------------------------------*/
|
|
3
|
+
.tools-droparea {
|
|
4
|
+
position: relative;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
padding: 80px 20px;
|
|
7
|
+
border: 3px dashed rgba(0, 0, 0, .1);
|
|
8
|
+
&.drag-hover {
|
|
9
|
+
background: rgba(200, 222, 250, 0.75);
|
|
10
|
+
}
|
|
11
|
+
&.drag-drop {
|
|
12
|
+
background: rgba(250, 248, 200, 0.5);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.tools-droparea-placeholder {
|
|
16
|
+
text-align: center;
|
|
17
|
+
font-size: 11px;
|
|
18
|
+
color: rgba(0, 0, 0, .5);
|
|
19
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// Font
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
|
|
4
|
+
$font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
5
|
+
$font-family-headings: $font-family-base;
|
|
6
|
+
$font-family-controls: $font-family-base;
|
|
7
|
+
$font-family-narrow: "Arial Narrow", sans-serif;
|
|
8
|
+
$font-family-serif: "Georgia", serif;
|
|
9
|
+
$font-family-code: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
|
|
10
|
+
$font-family-mono: $font-family-code;
|
|
11
|
+
|
|
12
|
+
// Grid
|
|
13
|
+
$grid-width: 1200;
|
|
14
|
+
$grid-gutter-width: 0.5rem;
|
|
15
|
+
|
|
16
|
+
// Type scale (rem-based, 16px root)
|
|
17
|
+
$font-size-xs: 0.75rem; // 12px
|
|
18
|
+
$font-size-sm: 0.875rem; // 14px
|
|
19
|
+
$font-size-base: 1rem; // 16px
|
|
20
|
+
$font-size-lg: 1.125rem; // 18px
|
|
21
|
+
$font-size-xl: 1.5rem; // 24px
|
|
22
|
+
$font-size-2xl: 1.875rem; // 30px
|
|
23
|
+
$font-size-3xl: 2.25rem; // 36px
|
|
24
|
+
$font-size-4xl: 3rem; // 48px
|
|
25
|
+
$font-size-5xl: 3.75rem; // 60px
|
|
26
|
+
|
|
27
|
+
$font-size-print: 12pt;
|
|
28
|
+
|
|
29
|
+
// Backward-compatible aliases
|
|
30
|
+
$font-size-big: $font-size-lg;
|
|
31
|
+
$font-size-small: $font-size-sm;
|
|
32
|
+
$font-size-smaller: $font-size-xs;
|
|
33
|
+
$font-size-lead: $font-size-xl;
|
|
34
|
+
$line-height-lead: 1.5;
|
|
35
|
+
|
|
36
|
+
// Font weights
|
|
37
|
+
$font-weight-normal: 400;
|
|
38
|
+
$font-weight-medium: 500;
|
|
39
|
+
$font-weight-semibold: 600;
|
|
40
|
+
$font-weight-bold: 700;
|
|
41
|
+
$header-font-weight: $font-weight-semibold;
|
|
42
|
+
|
|
43
|
+
// Line heights
|
|
44
|
+
$line-height-tight: 1.25;
|
|
45
|
+
$line-height-snug: 1.375;
|
|
46
|
+
$line-height-normal: 1.5;
|
|
47
|
+
$line-height-relaxed: 1.625;
|
|
48
|
+
$base-line: 1.5rem; // 24px
|
|
49
|
+
|
|
50
|
+
// Line heights per text size (Tailwind convention)
|
|
51
|
+
$line-height-xs: 1rem; // 16px for 12px text
|
|
52
|
+
$line-height-sm: 1.25rem; // 20px for 14px text
|
|
53
|
+
$line-height-base: 1.5rem; // 24px for 16px text
|
|
54
|
+
$line-height-lg: 1.75rem; // 28px for 18px text
|
|
55
|
+
$line-height-xl: 2rem; // 32px for 24px text
|
|
56
|
+
$line-height-2xl: 2.25rem; // 36px for 30px text
|
|
57
|
+
$line-height-3xl: 2.5rem; // 40px for 36px text
|
|
58
|
+
$line-height-4xl: 1; // 48px for 48px text
|
|
59
|
+
$line-height-5xl: 1; // 60px for 60px text
|
|
60
|
+
|
|
61
|
+
// HEADINGS
|
|
62
|
+
|
|
63
|
+
// print
|
|
64
|
+
$font-size-h1-print: 36pt;
|
|
65
|
+
$font-size-h2-print: 24pt;
|
|
66
|
+
$font-size-h3-print: 18pt;
|
|
67
|
+
$font-size-h4-print: 14pt;
|
|
68
|
+
$font-size-h5-print: 12pt;
|
|
69
|
+
$font-size-h6-print: 12pt;
|
|
70
|
+
|
|
71
|
+
// Large desktop
|
|
72
|
+
$font-size-h1-lg: $font-size-5xl; // 60px
|
|
73
|
+
$font-size-h2-lg: $font-size-4xl; // 48px
|
|
74
|
+
$font-size-h3-lg: $font-size-3xl; // 36px
|
|
75
|
+
$font-size-h4-lg: $font-size-2xl; // 30px
|
|
76
|
+
$font-size-h5-lg: $font-size-xl; // 24px
|
|
77
|
+
$font-size-h6-lg: $font-size-sm; // 14px
|
|
78
|
+
|
|
79
|
+
// Portrait tablet to landscape and desktop
|
|
80
|
+
$font-size-h1-md: $font-size-4xl; // 48px
|
|
81
|
+
$font-size-h2-md: $font-size-3xl; // 36px
|
|
82
|
+
$font-size-h3-md: $font-size-2xl; // 30px
|
|
83
|
+
$font-size-h4-md: $font-size-xl; // 24px
|
|
84
|
+
$font-size-h5-md: $font-size-lg; // 18px
|
|
85
|
+
$font-size-h6-md: $font-size-sm; // 14px
|
|
86
|
+
|
|
87
|
+
// Landscape phone to portrait tablet
|
|
88
|
+
$font-size-h1-sm: $font-size-3xl; // 36px
|
|
89
|
+
$font-size-h2-sm: $font-size-2xl; // 30px
|
|
90
|
+
$font-size-h3-sm: $font-size-xl; // 24px
|
|
91
|
+
$font-size-h4-sm: $font-size-lg; // 18px
|
|
92
|
+
$font-size-h5-sm: $font-size-base; // 16px
|
|
93
|
+
$font-size-h6-sm: $font-size-sm; // 14px
|
|
94
|
+
|
|
95
|
+
// Unit scale — shared by grid, container queries, and push utilities
|
|
96
|
+
$unit-scale: (
|
|
97
|
+
100: 100%, 90: 90%, 88: 87.5%, 80: 80%, 75: 75%, 70: 70%,
|
|
98
|
+
66: 66.6%, 65: 65%, 62: 62.5%, 60: 60%, 50: 50%, 40: 40%,
|
|
99
|
+
38: 37.5%, 35: 35%, 33: 33.3%, 30: 30%, 25: 25%, 20: 20%,
|
|
100
|
+
12: 12.5%, 10: 10%
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
// Width scale — shared by width/height utilities and responsive width classes
|
|
104
|
+
$width-scale: (
|
|
105
|
+
100: 100%, 90: 90%, 80: 80%, 75: 75%, 70: 70%,
|
|
106
|
+
66: 66.6%, 65: 65%, 60: 60%, 50: 50%, 40: 40%,
|
|
107
|
+
35: 35%, 33: 33.3%, 30: 30%, 25: 25%, 20: 20%, 10: 10%
|
|
108
|
+
);
|
|
109
|
+
|
|
110
|
+
// Base padding and spacing
|
|
111
|
+
$padding: 0.75rem;
|
|
112
|
+
$margin: 0.75rem;
|
|
113
|
+
$border-radius: 0.25rem;
|
|
114
|
+
$button-radius: 2rem;
|
|
115
|
+
$shadow-depth: $grid-gutter-width * 0.5;
|
|
116
|
+
|
|
117
|
+
// Input & Button Padding
|
|
118
|
+
$padding-input-base: 0.5rem;
|
|
119
|
+
$padding-btn-base: 0.625rem;
|
|
120
|
+
$padding-btn-side-base: 1.5rem;
|
|
121
|
+
$padding-btn-side-in-forms-base: 1rem;
|
|
122
|
+
|
|
123
|
+
$padding-input: $padding-input-base 0.35rem;
|
|
124
|
+
$padding-btn: $padding-btn-base $padding-btn-side-base;
|
|
125
|
+
$padding-btn-outline: $padding-btn-base - (math.div(1, 16) * 1rem) $padding-btn-side-base;
|
|
126
|
+
$padding-btn-outline-bold: $padding-btn-base - (math.div(1, 16) * 2rem) $padding-btn-side-base;
|
|
127
|
+
$padding-btn-in-forms: $padding-input-base + (math.div(1, 16) * 1rem) $padding-btn-side-in-forms-base;
|
|
128
|
+
$padding-btn-outline-in-forms: $padding-input-base $padding-btn-side-in-forms-base;
|
|
129
|
+
$padding-btn-outline-bold-in-forms: $padding-input-base - (math.div(1, 16) * 1rem) $padding-btn-side-in-forms-base;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'ply-core-components';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
ply 0.6.^
|
|
3
|
+
CSS Framework: ply :: https://github.com/thatgibbyguy/ply
|
|
4
|
+
Framework Author: @thatgibbyguy
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@forward 'components/colors';
|
|
8
|
+
@forward 'components/variables';
|
|
9
|
+
@forward 'components/media-queries';
|
|
10
|
+
@forward 'components/mixins';
|
|
11
|
+
@use 'components/helpers';
|
|
12
|
+
|
|
13
|
+
@use 'components/grid';
|
|
14
|
+
@use 'components/alignments';
|
|
15
|
+
@use 'components/blocks';
|