Replace Layout classes with flexbox css classes

This commit is contained in:
Paul Clarke 2016-10-04 17:34:16 +13:00 committed by Damian Mooyman
parent ae9e05c99d
commit 67aca9f4e6
5 changed files with 11 additions and 10 deletions

View File

@ -1,4 +1,4 @@
<div id="pages-controller-cms-content" class="has-panel cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content" data-ignore-tab-state="true">
<div id="pages-controller-cms-content" class="has-panel cms-content flexbox-area-grow fill-height cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content" data-ignore-tab-state="true">
<div class="cms-content-header north">
@ -42,8 +42,9 @@
</div>
</div>
$Tools
$EditForm
<div class="flexbox-area-grow fill-width">
$Tools
$EditForm
</div>
</div>

View File

@ -1,6 +1,6 @@
<form $FormAttributes data-layout-type="border">
<div class="panel panel--padded panel--scrollable panel--single-toolbar cms-content-fields ">
<div class="panel panel--padded panel--scrollable flexbox-area-grow cms-content-fields ">
<% if $Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
<% else %>

View File

@ -1,5 +1,5 @@
<div class="cms-content-tools west cms-panel cms-panel-layout" data-expandOnClick="true" data-layout-type="border" id="cms-content-tools-CMSMain">
<div class="panel panel--scrollable panel--single-toolbar cms-panel-content center">
<div class="cms-content-tools fill-height cms-panel cms-panel-layout" data-expandOnClick="true" data-layout-type="border" id="cms-content-tools-CMSMain">
<div class="panel panel--scrollable flexbox-area-grow cms-panel-content">
<div class="cms-content-filters">
$SearchForm
</div>

View File

@ -1,6 +1,6 @@
<div class="cms-content-tools west cms-panel cms-panel-layout" data-expandOnClick="true" data-layout-type="border" id="cms-content-tools-CMSPageHistoryController">
<div class="cms-content-tools fill-height cms-panel cms-panel-layout" data-expandOnClick="true" data-layout-type="border" id="cms-content-tools-CMSPageHistoryController">
<div class="cms-panel-content cms-helper-hide-actions center">
<div class="flexbox-area-grow panel--scrollable cms-panel-content cms-helper-hide-actions ">
$VersionsForm
</div>
</div>

View File

@ -1,4 +1,4 @@
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
<div id="pages-controller-cms-content" class="cms-content flexbox-area-grow cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
<div class="cms-content-header north">
<div class="cms-content-header-info">