Skip to content
Snippets Groups Projects
Commit 2737a442 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3664: adding stylings for columed layouts

parent 73a8b89e
No related branches found
No related tags found
No related merge requests found
Showing
with 61 additions and 6 deletions
.layout {
.uw-contained-width {
@include uw-contained-width;
}
.layout.uw-contained-width {
@include uw-contained-width;
}
<div{{ attributes }}>
<div {{ region_attributes.first.addClass('layout__region', 'layout__region--first') }}>
{% block content_first %}
Layout Region Four Column Layout
{% endblock %}
</div>
<div {{ region_attributes.second.addClass('layout__region', 'layout__region--second') }}>
{% block content_second %}
{% endblock %}
</div>
<div {{ region_attributes.third.addClass('layout__region', 'layout__region--third') }}>
{% block content_third %}
{% endblock %}
</div>
<div {{ region_attributes.fourth.addClass('layout__region', 'layout__region--fourth') }}>
{% block content_fourth %}
{% endblock %}
</div>
</div>
<div{{ attributes }}>
<div {{ region_attributes.first.addClass('layout__region', 'layout__region--first') }}>
{% block content_first %}
Layout Region Three Column Layout
{% endblock %}
</div>
<div {{ region_attributes.second.addClass('layout__region', 'layout__region--second') }}>
{% block content_second %}
{% endblock %}
</div>
<div {{ region_attributes.third.addClass('layout__region', 'layout__region--third') }}>
{% block content_third %}
{% endblock %}
</div>
</div>
.layout.uw-contained-width {
@include uw-contained-width;
}
<div{{ attributes }}>
<div {{ region_attributes.first.addClass('layout__region', 'layout__region--first') }}>
{% block content_first %}
Layout Region Two Column Layout
{% endblock %}
</div>
<div {{ region_attributes.second.addClass('layout__region', 'layout__region--second') }}>
{% block content_second %}
{% endblock %}
</div>
</div>
<div class="layout layout--{{ type }}">
<div {{ region_attributes.content.addClass('layout__region', 'layout__region--content', width) }}>
<div{{ attributes }}>
<div {{ region_attributes.content.addClass('layout__region', 'layout__region--content') }}>
{% block content %}
Layout Region One Column Layout
{% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment