0002-portal-agent-use-flex-grid-for-2-cols-templates-6240.patch
static/portal-agent/css/agent-portal.scss | ||
---|---|---|
13 | 13 |
overflow-y: visible; |
14 | 14 |
} |
15 | 15 | |
16 |
div#page-content.columns { |
|
17 |
display: flex; |
|
18 |
> div { |
|
19 |
box-sizing: border-box; |
|
20 |
width: 50%; |
|
21 |
padding-right: 1rem; |
|
22 |
@media screen and (max-width: $mobile-limit) { |
|
23 |
width: auto; |
|
24 |
padding: 0; |
|
25 |
} |
|
26 |
} |
|
27 |
@media screen and (max-width: $mobile-limit) { |
|
28 |
flex-direction: column; |
|
29 |
} |
|
30 |
} |
|
31 | ||
32 | 16 |
div.welcome { |
33 | 17 |
border: 1px solid #e4e4e4; |
34 | 18 |
background: #fcfcfc; |
templates/portal-agent/combo/page_template_2cols.html | ||
---|---|---|
2 | 2 |
{% load combo i18n %} |
3 | 3 | |
4 | 4 |
{% block page-content %} |
5 |
<div id="page-content" class="columns">
|
|
5 |
<div id="page-content" class="fx-grid--d2">
|
|
6 | 6 |
<div id="left"> |
7 | 7 |
{% trans "Left column" as name %} |
8 | 8 |
{% placeholder "content" name=name %} |
templates/portal-agent/combo/page_template_2cols_sidebar.html | ||
---|---|---|
2 | 2 |
{% load combo i18n %} |
3 | 3 | |
4 | 4 |
{% block page-content %} |
5 |
<div id="page-content" class="columns">
|
|
5 |
<div id="page-content" class="fx-grid--d2">
|
|
6 | 6 |
<div id="left"> |
7 | 7 |
{% trans "Left column" as name %} |
8 | 8 |
{% placeholder "content" name=name %} |
9 |
- |