@gravity-ui/page-constructor 4.22.0 → 4.23.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.
@@ -537,3 +537,60 @@ unpredictable css rules order in build */
537
537
  padding-right: $indentXS;
538
538
  }
539
539
  }
540
+
541
+ // indent system for blocks
542
+ @mixin indents($class) {
543
+ @include add-specificity($class) {
544
+ &_indentTop {
545
+ &_0 {
546
+ margin-top: 0;
547
+ }
548
+
549
+ &_xs {
550
+ margin-top: $indentXS;
551
+ }
552
+
553
+ &_s {
554
+ margin-top: $indentSM;
555
+ }
556
+
557
+ &_m {
558
+ margin-top: $indentM;
559
+ }
560
+
561
+ &_l {
562
+ margin-top: $indentL;
563
+ }
564
+
565
+ &_xl {
566
+ margin-top: $indentXL;
567
+ }
568
+ }
569
+
570
+ &_indentBottom {
571
+ &_0 {
572
+ padding-bottom: 0;
573
+ }
574
+
575
+ &_xs {
576
+ padding-bottom: $indentXS;
577
+ }
578
+
579
+ &_s {
580
+ padding-bottom: $indentSM;
581
+ }
582
+
583
+ &_m {
584
+ padding-bottom: $indentM;
585
+ }
586
+
587
+ &_l {
588
+ padding-bottom: $indentL;
589
+ }
590
+
591
+ &_xl {
592
+ padding-bottom: $indentXL;
593
+ }
594
+ }
595
+ }
596
+ }