You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-279Lines changed: 2 additions & 279 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,284 +182,7 @@ An example of using Drawer:
182
182
Try out our components at https://silinternational.github.io/ui-components/
183
183
184
184
### CSS utility classes
185
-
These are copied directly from globall.css and can be applied to all components and even components and elements from your app.
186
-
187
-
.h-100 {
188
-
height: 100%;
189
-
}
190
-
191
-
.w-100 {
192
-
width: 100%;
193
-
}
194
-
.w-50 {
195
-
width: 50%;
196
-
}
197
-
.w-40 {
198
-
width: 40%;
199
-
}
200
-
201
-
.mw-50ch {
202
-
min-width: 50ch;
203
-
}
204
-
205
-
.m-0 {
206
-
margin: 0;
207
-
}
208
-
209
-
.ml-1 {
210
-
margin-left: 1rem;
211
-
}
212
-
.ml-2 {
213
-
margin-left: 2rem;
214
-
}
215
-
216
-
.mb-0 {
217
-
margin-bottom: 0;
218
-
}
219
-
220
-
.mb-1 {
221
-
margin-bottom: 1rem;
222
-
}
223
-
.mb-2 {
224
-
margin-bottom: 2rem;
225
-
}
226
-
.mb-4 {
227
-
margin-bottom: 4rem;
228
-
}
229
-
230
-
.mt-0 {
231
-
margin-top: 0;
232
-
}
233
-
.mt-1 {
234
-
margin-top: 1rem;
235
-
}
236
-
.mt-2 {
237
-
margin-top: 2rem;
238
-
}
239
-
.mt-4 {
240
-
margin-top: 4rem;
241
-
}
242
-
243
-
.mr-1 {
244
-
margin-right: 1rem;
245
-
}
246
-
.mr-2 {
247
-
margin-right: 2rem;
248
-
}
249
-
250
-
.my-0 {
251
-
margin-bottom: 0;
252
-
margin-top: 0;
253
-
}
254
-
.my-2 {
255
-
margin-bottom: 2rem;
256
-
margin-top: 2rem;
257
-
}
258
-
.my-4 {
259
-
margin-bottom: 4rem;
260
-
margin-top: 4rem;
261
-
}
262
-
263
-
.p-1 {
264
-
padding: 1rem;
265
-
}
266
-
.p-2 {
267
-
padding: 2rem;
268
-
}
269
-
.p-4 {
270
-
padding: 4rem;
271
-
}
272
-
273
-
.px-1 {
274
-
padding-left: 1rem;
275
-
padding-right: 1rem;
276
-
}
277
-
.px-2 {
278
-
padding-left: 2rem;
279
-
padding-right: 2rem;
280
-
}
281
-
.px-4 {
282
-
padding-left: 4rem;
283
-
padding-right: 4rem;
284
-
}
285
-
286
-
.py-1 {
287
-
padding-top: 1rem;
288
-
padding-bottom: 1rem;
289
-
}
290
-
.py-2 {
291
-
padding-top: 2rem;
292
-
padding-bottom: 2rem;
293
-
}
294
-
.py-4 {
295
-
padding-top: 4rem;
296
-
padding-bottom: 4rem;
297
-
}
298
-
299
-
.pt-1 {
300
-
padding-top: 1rem;
301
-
}
302
-
.pt-2 {
303
-
padding-top: 2rem;
304
-
}
305
-
.pt-4 {
306
-
padding-top: 4rem;
307
-
}
308
-
309
-
.pr-1 {
310
-
padding-right: 1rem;
311
-
}
312
-
.pr-2 {
313
-
padding-right: 2rem;
314
-
}
315
-
316
-
.absolute {
317
-
position: absolute;
318
-
}
319
-
320
-
.r-50 {
321
-
right: 50%;
322
-
}
323
-
324
-
.t-50 {
325
-
top: 50%;
326
-
}
327
-
328
-
.z-10 {
329
-
z-index: 10;
330
-
}
331
-
332
-
.stick-b{
333
-
position:fixed;
334
-
bottom:0px;
335
-
}
336
-
337
-
.dib{
338
-
display: inline-block;
339
-
}
340
-
341
-
.align-right {
342
-
text-align: right;
343
-
}
344
-
345
-
.align-left {
346
-
text-align: left;
347
-
}
348
-
349
-
.align-center {
350
-
text-align: center;
351
-
}
352
-
353
-
.rtl {
354
-
direction: rtl;
355
-
}
356
-
357
-
.fs-12 {
358
-
font-size: 12px;
359
-
}
360
-
361
-
.fs-14 {
362
-
font-size: 14px;
363
-
}
364
-
365
-
.fs-16 {
366
-
font-size: 16px;
367
-
}
368
-
369
-
.br-8px {
370
-
border-radius: 8px;
371
-
}
372
-
373
-
.br-16px {
374
-
border-radius: 16px;
375
-
}
376
-
377
-
.br-50 {
378
-
border-radius: 50%;
379
-
}
380
-
381
-
.uppercase {
382
-
text-transform: uppercase;
383
-
}
384
-
385
-
.pointer {
386
-
cursor: pointer;
387
-
}
388
-
389
-
/* text color */
390
-
.black {
391
-
color: #2A3032;
392
-
}
393
-
394
-
.gray {
395
-
color: #666666;
396
-
}
397
-
398
-
.white {
399
-
color: white;
400
-
}
401
-
402
-
/* flex */
403
-
.flex {
404
-
display: flex;
405
-
}
406
-
407
-
.flex-wrap {
408
-
flex-wrap: wrap;
409
-
}
410
-
411
-
.grow-0 {
412
-
flex-grow: 0;
413
-
}
414
-
.grow-1 {
415
-
flex-grow: 1;
416
-
}
417
-
.grow-2 {
418
-
flex-grow: 2;
419
-
}
420
-
421
-
.shrink-0 {
422
-
flex-shrink: 0;
423
-
}
424
-
.shrink-1 {
425
-
flex-shrink: 1;
426
-
}
427
-
.shrink-2 {
428
-
flex-shrink: 2;
429
-
}
430
-
431
-
.row {
432
-
flex-direction: row;
433
-
}
434
-
435
-
.column {
436
-
flex-direction: column;
437
-
}
438
-
439
-
.justify-center {
440
-
justify-content: center;
441
-
}
442
-
443
-
.justify-between {
444
-
justify-content: space-between;
445
-
}
446
-
447
-
.justify-around {
448
-
justify-content: space-around;
449
-
}
450
-
451
-
.justify-end {
452
-
justify-content: flex-end;
453
-
}
454
-
455
-
.justify-start {
456
-
justify-content: flex-start;
457
-
}
458
-
459
-
.aligned {
460
-
align-items: center;
461
-
}
462
-
185
+
Classes from [global.css](https://github.com/silinternational/ui-components/blob/develop/components/global.css) can be applied to all components and even components and elements from your app.
463
186
464
187
### theming
465
-
If you are using an MDC themehttps://material.io/develop/web/docs/theming and typographyhttps://material.io/develop/web/components/typography then import your _index.scss file to the App.svelte file so they get applied to the ui-components.
188
+
If you are using an [MDC theme](https://material.io/develop/web/docs/theming) and [typography](https://material.io/develop/web/components/typography) then import your _index.scss file to the App.svelte file so they get applied to the ui-components.
0 commit comments