Skip to content

Commit b636e17

Browse files
committed
Add missing article-spacing
1 parent 0fd91cd commit b636e17

File tree

4 files changed

+47
-22
lines changed

4 files changed

+47
-22
lines changed

contao/templates/theme-manager-config.html5

Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'{misc_legend:hide},box-shadow,selection-color,selection-color-invert,selection-bg,selection-bg-invert,aspect-ratios;' .
2929
'{breakpoint_legend:hide ctm-group palette-group[layout_header]},breakpoints;' .
3030
'{layout_behavior_legend:hide ctm-group},layout-column-small-break,layout-column-medium-break,layout-column-large-break,layout-column-width-small,layout-column-width-medium,layout-column-width-large,layout-column-gutter-small,layout-column-gutter-medium,layout-column-gutter-large;' .
31-
'{article_legend:hide ctm-group},x-spacing-large-m,x-spacing-large-l,x-spacing-small,article-outer-padding,article-outer-padding-xs,article-outer-padding-s,article-spacing-xs-small,article-spacing-s-small,article-spacing-m-small,article-spacing-l-small,article-spacing-xl-small,article-spacing-xs-medium,article-spacing-s-medium,article-spacing-m-medium,article-spacing-l-medium,article-spacing-xl-medium,article-spacing-xs-large,article-spacing-s-large,article-spacing-m-large,article-spacing-l-large,article-spacing-xl-large,article-main-spacing-bottom,article-options-vheight,article-options-height;' .
31+
'{article_legend:hide ctm-group},x-spacing-large-m,x-spacing-large-l,x-spacing-small,article-outer-padding,article-outer-padding-xs,article-outer-padding-s,article-spacing-small,article-spacing-xs-small,article-spacing-s-small,article-spacing-m-small,article-spacing-l-small,article-spacing-xl-small,article-spacing-medium,article-spacing-xs-medium,article-spacing-s-medium,article-spacing-m-medium,article-spacing-l-medium,article-spacing-xl-medium,article-spacing-large,article-spacing-xs-large,article-spacing-s-large,article-spacing-m-large,article-spacing-l-large,article-spacing-xl-large,article-main-spacing-bottom,article-options-vheight,article-options-height;' .
3232
'{grid_legend:hide ctm-group},grid-columns,grid-gutter-width,grid-gutter-bottom;' .
3333
'{spacing_inner_legend:hide ctm-group},paragraph-spacing,element-spacing-small,element-spacing-medium,element-spacing-large,top-bottom-padding-small,top-bottom-padding-medium,top-bottom-padding-large,left-right-padding-small,left-right-padding-medium,left-right-padding-large;' .
3434
'{spacing_outer_legend:hide ctm-group},top-bottom-margin-small,top-bottom-margin-medium,top-bottom-margin-large,left-right-margin-small,left-right-margin-medium,left-right-margin-large;' .
@@ -2597,112 +2597,133 @@
25972597
'eval' => ['placeholder'=>'0px', 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w33'],
25982598
],
25992599

2600+
'article-spacing-small' => [
2601+
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:3:"2.5";}',
2602+
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-small'],
2603+
'inputType' => 'inputUnit',
2604+
'options' => $GLOBALS['CTM_CSS_UNITS'],
2605+
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16 clr'],
2606+
],
26002607
'article-spacing-xs-small' => [
26012608
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:3:"2.5";}',
26022609
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-xs-small'],
26032610
'inputType' => 'inputUnit',
26042611
'options' => $GLOBALS['CTM_CSS_UNITS'],
2605-
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20 clr'],
2612+
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26062613
],
26072614
'article-spacing-s-small' => [
26082615
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:5:"3.125";}',
26092616
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-s-small'],
26102617
'inputType' => 'inputUnit',
26112618
'options' => $GLOBALS['CTM_CSS_UNITS'],
2612-
'eval' => ['placeholder'=>'3.125rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2619+
'eval' => ['placeholder'=>'3.125rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26132620
],
26142621
'article-spacing-m-small' => [
26152622
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:4:"3.75";}',
26162623
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-m-small'],
26172624
'inputType' => 'inputUnit',
26182625
'options' => $GLOBALS['CTM_CSS_UNITS'],
2619-
'eval' => ['placeholder'=>'3.75rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2626+
'eval' => ['placeholder'=>'3.75rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26202627
],
26212628
'article-spacing-l-small' => [
26222629
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:5:"4.375";}',
26232630
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-l-small'],
26242631
'inputType' => 'inputUnit',
26252632
'options' => $GLOBALS['CTM_CSS_UNITS'],
2626-
'eval' => ['placeholder'=>'4.375rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2633+
'eval' => ['placeholder'=>'4.375rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26272634
],
26282635
'article-spacing-xl-small' => [
26292636
'default' => 'a:2:{s:4:"unit";s:0:"";s:5:"value";s:24:"$article-spacing-l-small";}',
26302637
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-xl-small'],
26312638
'inputType' => 'inputUnit',
26322639
'options' => $GLOBALS['CTM_CSS_UNITS'],
2633-
'eval' => ['placeholder'=>'$article-spacing-l-small', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2640+
'eval' => ['placeholder'=>'$article-spacing-l-small', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26342641
],
26352642

2643+
'article-spacing-medium' => [
2644+
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:3:"2.5";}',
2645+
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-medium'],
2646+
'inputType' => 'inputUnit',
2647+
'options' => $GLOBALS['CTM_CSS_UNITS'],
2648+
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16 clr'],
2649+
],
26362650
'article-spacing-xs-medium' => [
26372651
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:3:"2.5";}',
26382652
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-xs-medium'],
26392653
'inputType' => 'inputUnit',
26402654
'options' => $GLOBALS['CTM_CSS_UNITS'],
2641-
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20 clr'],
2655+
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26422656
],
26432657
'article-spacing-s-medium' => [
26442658
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:4:"3.75";}',
26452659
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-s-medium'],
26462660
'inputType' => 'inputUnit',
26472661
'options' => $GLOBALS['CTM_CSS_UNITS'],
2648-
'eval' => ['placeholder'=>'3.75rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2662+
'eval' => ['placeholder'=>'3.75rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26492663
],
26502664
'article-spacing-m-medium' => [
26512665
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:1:"5";}',
26522666
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-m-medium'],
26532667
'inputType' => 'inputUnit',
26542668
'options' => $GLOBALS['CTM_CSS_UNITS'],
2655-
'eval' => ['placeholder'=>'5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2669+
'eval' => ['placeholder'=>'5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26562670
],
26572671
'article-spacing-l-medium' => [
26582672
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:3:"7.5";}',
26592673
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-l-medium'],
26602674
'inputType' => 'inputUnit',
26612675
'options' => $GLOBALS['CTM_CSS_UNITS'],
2662-
'eval' => ['placeholder'=>'7.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2676+
'eval' => ['placeholder'=>'7.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26632677
],
26642678
'article-spacing-xl-medium' => [
26652679
'default' => 'a:2:{s:4:"unit";s:0:"";s:5:"value";s:25:"$article-spacing-l-medium";}',
26662680
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-xl-medium'],
26672681
'inputType' => 'inputUnit',
26682682
'options' => $GLOBALS['CTM_CSS_UNITS'],
2669-
'eval' => ['placeholder'=>'$article-spacing-l-medium', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2683+
'eval' => ['placeholder'=>'$article-spacing-l-medium', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26702684
],
26712685

2686+
'article-spacing-large' => [
2687+
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:3:"2.5";}',
2688+
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-large'],
2689+
'inputType' => 'inputUnit',
2690+
'options' => $GLOBALS['CTM_CSS_UNITS'],
2691+
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16 clr'],
2692+
],
26722693
'article-spacing-xs-large' => [
26732694
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:3:"2.5";}',
26742695
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-xs-large'],
26752696
'inputType' => 'inputUnit',
26762697
'options' => $GLOBALS['CTM_CSS_UNITS'],
2677-
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20 clr'],
2698+
'eval' => ['placeholder'=>'2.5rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26782699
],
26792700
'article-spacing-s-large' => [
26802701
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:5:"4.375";}',
26812702
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-s-large'],
26822703
'inputType' => 'inputUnit',
26832704
'options' => $GLOBALS['CTM_CSS_UNITS'],
2684-
'eval' => ['placeholder'=>'4.375rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2705+
'eval' => ['placeholder'=>'4.375rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26852706
],
26862707
'article-spacing-m-large' => [
26872708
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:6:"5.9375";}',
26882709
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-m-large'],
26892710
'inputType' => 'inputUnit',
26902711
'options' => $GLOBALS['CTM_CSS_UNITS'],
2691-
'eval' => ['placeholder'=>'5.9375rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2712+
'eval' => ['placeholder'=>'5.9375rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26922713
],
26932714
'article-spacing-l-large' => [
26942715
'default' => 'a:2:{s:4:"unit";s:3:"rem";s:5:"value";s:5:"9.375";}',
26952716
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-l-large'],
26962717
'inputType' => 'inputUnit',
26972718
'options' => $GLOBALS['CTM_CSS_UNITS'],
2698-
'eval' => ['placeholder'=>'9.375rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2719+
'eval' => ['placeholder'=>'9.375rem', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
26992720
],
27002721
'article-spacing-xl-large' => [
27012722
'default' => 'a:2:{s:4:"unit";s:0:"";s:5:"value";s:24:"$article-spacing-l-large";}',
27022723
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['article-spacing-xl-large'],
27032724
'inputType' => 'inputUnit',
27042725
'options' => $GLOBALS['CTM_CSS_UNITS'],
2705-
'eval' => ['placeholder'=>'$article-spacing-l-large', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w20'],
2726+
'eval' => ['placeholder'=>'$article-spacing-l-large', 'includeBlankOption'=>true, 'rgxp'=>'digit_inherit', 'maxlength'=>255, 'tl_class'=>'w16'],
27062727
],
27072728

27082729
'article-main-spacing-bottom' => [

0 commit comments

Comments
 (0)