@neatui/css 3.4.2 → 3.4.4

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.
Files changed (2) hide show
  1. package/core/trim.scss +76 -20
  2. package/package.json +1 -1
package/core/trim.scss CHANGED
@@ -306,6 +306,55 @@
306
306
  }
307
307
  }
308
308
  }
309
+ .#{$media}-m {
310
+ &l,
311
+ &x,
312
+ & {
313
+ &-#{$sz} {
314
+ @at-root {
315
+ & {
316
+ margin-left: -($base + $unit) !important;
317
+ }
318
+ }
319
+ }
320
+ }
321
+
322
+ &r,
323
+ &x,
324
+ & {
325
+ &-#{$sz} {
326
+ @at-root {
327
+ & {
328
+ margin-right: -($base + $unit) !important;
329
+ }
330
+ }
331
+ }
332
+ }
333
+
334
+ &t,
335
+ &y,
336
+ & {
337
+ &-#{$sz} {
338
+ @at-root {
339
+ & {
340
+ margin-top: -($base + $unit) !important;
341
+ }
342
+ }
343
+ }
344
+ }
345
+
346
+ &b,
347
+ &y,
348
+ & {
349
+ &-#{$sz} {
350
+ @at-root {
351
+ & {
352
+ margin-bottom: -($base + $unit) !important;
353
+ }
354
+ }
355
+ }
356
+ }
357
+ }
309
358
 
310
359
  @if ($sz == xs) {
311
360
  $base: 0;
@@ -500,67 +549,74 @@
500
549
  }
501
550
  .#{$media}s-ll\+ss {
502
551
  &,
503
- &\\:hover:hover,
504
- &\\:active:active {
552
+ &\:hover:hover,
553
+ &\:active:active {
505
554
  transform: scale(0.91);
506
555
  }
507
556
  }
508
557
  .#{$media}s-ll\+sm {
509
558
  &,
510
- &\\:hover:hover,
511
- &\\:active:active {
559
+ &\:hover:hover,
560
+ &\:active:active {
512
561
  transform: scale(0.92);
513
562
  }
514
563
  }
515
564
  .#{$media}s-ll\+sl {
516
565
  &,
517
- &\\:hover:hover,
518
- &\\:active:active {
566
+ &\:hover:hover,
567
+ &\:active:active {
519
568
  transform: scale(0.93);
520
569
  }
521
570
  }
522
571
  .#{$media}s-ll\+ms {
523
572
  &,
524
- &\\:hover:hover,
525
- &\\:active:active {
573
+ &\:hover:hover,
574
+ &\:active:active {
526
575
  transform: scale(0.94);
527
576
  }
528
577
  }
529
578
  .#{$media}s-ll\+mm {
530
579
  &,
531
- &\\:hover:hover,
532
- &\\:active:active {
580
+ &\:hover:hover,
581
+ &\:active:active {
533
582
  transform: scale(0.95);
534
583
  }
535
584
  }
536
585
  .#{$media}s-ll\+ml {
537
586
  &,
538
- &\\:hover:hover,
539
- &\\:active:active {
587
+ &\:hover:hover,
588
+ &\:active:active {
540
589
  transform: scale(0.96);
541
590
  }
542
591
  }
543
592
  .#{$media}s-ll\+ls {
544
593
  &,
545
- &\\:hover:hover,
546
- &\\:active:active {
594
+ &\:hover:hover,
595
+ &\:active:active {
547
596
  transform: scale(0.97);
548
597
  }
549
598
  }
550
599
  .#{$media}s-ll\+lm {
551
600
  &,
552
- &\\:hover:hover,
553
- &\\:active:active {
601
+ &\:hover:hover,
602
+ &\:active:active {
554
603
  transform: scale(0.98);
555
604
  }
556
605
  }
557
606
  .#{$media}s-ll\+ll {
558
607
  &,
559
- &\\:hover:hover,
560
- &\\:active:active {
608
+ &\:hover:hover,
609
+ &\:active:active {
561
610
  transform: scale(0.99);
562
611
  }
563
612
  }
613
+ .#{$media}s-xl {
614
+ &,
615
+ &\:hover:hover,
616
+ &\:active:active {
617
+ transform: scale(1);
618
+ }
619
+ }
564
620
 
565
621
  // 旋转
566
622
  .#{$media}tm-r-90 {
@@ -589,10 +645,10 @@
589
645
 
590
646
  // 平板
591
647
  @include pad {
592
- @include trim('pad\\:');
648
+ @include trim('pad\:');
593
649
  }
594
650
 
595
651
  // 移动
596
652
  @include mob {
597
- @include trim('mob\\:');
653
+ @include trim('mob\:');
598
654
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "3.4.2",
3
+ "version": "3.4.4",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",