Commit b921d2b3 authored by alexpott's avatar alexpott

Revert "Issue #2471739 by RajeevK, martins.kajins, LewisNyman, jaxxed: Convert...

Revert "Issue #2471739 by RajeevK, martins.kajins, LewisNyman, jaxxed: Convert reusable layout classes to BEM standards"

This reverts commit cec8f5eb.
parent 1c385292
......@@ -15,10 +15,10 @@
*/
#}
<div class="translation-set clearfix">
<div class="layout-column layout-column--half translation-set__source">
<div class="layout-column half translation-set__source">
{{ element.source }}
</div>
<div class="layout-column layout-column--half translation-set__translated">
<div class="layout-column half translation-set__translated">
{{ element.translation }}
</div>
</div>
......@@ -77,7 +77,7 @@ protected function helpLinksAsList() {
$column = array(
'#type' => 'container',
'links' => array('#theme' => 'item_list'),
'#attributes' => array('class' => array('layout-column', 'layout-column--quarter')),
'#attributes' => array('class' => array('layout-column', 'quarter')),
);
$output = array(
'#prefix' => '<div class="clearfix">',
......
......@@ -33,13 +33,13 @@
padding-right: 10px;
padding-left: 0;
}
.layout-column--half {
.layout-column.half {
width: 50%;
}
.layout-column--quarter {
.layout-column.quarter {
width: 25%;
}
.layout-column--three-quarter {
.layout-column.three-quarter {
width: 75%;
}
}
......
......@@ -17,7 +17,7 @@
<div class="clearfix">
{{ system_compact_link }}
{% for container in containers %}
<div class="layout-column--half">
<div class="layout-column half">
{% for block in container.blocks %}
{{ block }}
{% endfor %}
......
......@@ -19,12 +19,12 @@
#}
<div class="{{ attributes.class }} project-update__version"{{ attributes|without('class') }}>
<div class="clearfix">
<div class="project-update__version-title layout-column layout-column--quarter">{{ title }}</div>
<div class="project-update__version-details layout-column layout-column--quarter">
<div class="project-update__version-title layout-column quarter">{{ title }}</div>
<div class="project-update__version-details layout-column quarter">
<a href="{{ version.release_link }}">{{ version.version }}</a>
<span class="project-update__version-date">({{ version.date|date('Y-M-d') }})</span>
</div>
<div class="layout-column layout-column--half">
<div class="layout-column half">
<ul class="project-update__version-links">
<li class="project-update__download-link">
<a href="{{ version.download_link }}">{{ 'Download'|t }}</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment