Commit d4789761 authored by Erik Seifert's avatar Erik Seifert Committed by Erik Seifert
Browse files

Issue #3308096 by Erik Seifert: Define variants for 3,5,6 column layouts

parent 8a98ade2
Loading
Loading
Loading
Loading
+87 −51
Original line number Diff line number Diff line
@@ -85,11 +85,22 @@ four_column:
      title: "Default"
      map:
        - [first, second, third, four]
    first_big:
    big:
      title: "Tables devices"
      map:
        - [first, first, first]
        - [second, third, four]
    columns:
      title: "2 Columns"
      map:
        - [first, second]
        - [third, four]
    left:
      title: "2 Columns"
      map:
        - [first, second]
        - [first, third]
        - [first, four]
    below:
      title: "Small devices"
      map:
@@ -99,94 +110,119 @@ four_column:
        - [four]
  regions:
    first:
      label: Left
      label: First
    second:
      label: center
      label: Second
    third:
      label: Right
      label: Third
    four:
      label: Right
      label: Four

five_column:
  label: "Four columns (LBL)"
  label: "Five columns (LBL)"
  class: '\Drupal\lbl\BaseLayout'
  category: "Layouts"
  template: templates/four-column
  template: templates/five-column
  default_region: center
  icon_map:
    - [left, center, right]
    - [first, second, third, four, five]
  variants:
    default:
      title: "Default"
      map:
        - [left, center, right]
    first_big:
        - [first, second, third, four, five]
    two_big:
      title: "Tables devices"
      map:
        - [left, left]
        - [center, right]
    left_two:
      title: "Left two"
      map:
        - [left, right]
        - [center, right]
    right_two:
        - [first, first, first, second, second, second]
        - [third, third, four, four, five, five]
    left:
      title: "Left"
      map:
        - [first, third]
        - [first, third]
        - [first, four]
        - [second, four]
        - [second, five]
        - [second, five]
    top:
      title: "Left two"
      map:
        - [left, center]
        - [left, right]
        - [first, first, first, first]
        - [second, third, four, five]
    below:
      title: "Small devices"
      map:
        - [left]
        - [center]
        - [right]
        - [first]
        - [second]
        - [third]
        - [four]
        - [five]
  regions:
    left:
      label: Left
    center:
      label: center
    right:
      label: Right
    first:
      label: First
    second:
      label: Second
    third:
      label: Third
    four:
      label: Four
    five:
      label: Five

six_column:
  label: "Four columns (LBL)"
  label: "Six columns (LBL)"
  class: '\Drupal\lbl\BaseLayout'
  category: "Layouts"
  template: templates/four-column
  template: templates/six-column
  default_region: center
  icon_map:
    - [left, center, right]
    - [first, second, third, four, five, six]
  variants:
    default:
      title: "Default"
      map:
        - [left, center, right]
    first_big:
        - [first, second, third, four, five, six]
    big_two:
      title: "Tables devices"
      map:
        - [left, left]
        - [center, right]
    left_two:
        - [first, first, second, second]
        - [third, four, five, six]
    big:
      title: "Left two"
      map:
        - [left, right]
        - [center, right]
    right_two:
        - [first, first, first, first, first]
        - [second, third, four, five, six]
    column_2:
      title: "Left two"
      map:
        - [left, center]
        - [left, right]
        - [first, second, third]
        - [four, five, six]
    column_3:
      title: "Left two"
      map:
        - [first, second]
        - [third, four]
        - [five, six]
    below:
      title: "Small devices"
      map:
        - [left]
        - [center]
        - [right]
        - [first]
        - [second]
        - [third]
        - [four]
        - [five]
        - [six]
  regions:
    left:
      label: Left
    center:
      label: center
    right:
      label: Right
    first:
      label: First
    second:
      label: Second
    third:
      label: Third
    four:
      label: Four
    five:
      label: Five
    six:
      label: Six