now main content is resizable
This commit is contained in:
parent
2996924fe4
commit
18354872ab
3 changed files with 18 additions and 3 deletions
|
@ -61,6 +61,18 @@ a, a:hover, a:focus {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* centered columns styles */
|
||||||
|
.row-centered {
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
.col-centered {
|
||||||
|
display:inline-block;
|
||||||
|
float:none;
|
||||||
|
/* reset the text-align */
|
||||||
|
text-align:left;
|
||||||
|
/* inline-block space fix */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*Helpers*/
|
/*Helpers*/
|
||||||
|
@ -684,7 +696,7 @@ PANELS CONFIGURATIONS
|
||||||
.form-panel {
|
.form-panel {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
padding: 10px;
|
padding: 20px;
|
||||||
box-shadow: 0px 3px 2px #aab2bd;
|
box-shadow: 0px 3px 2px #aab2bd;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block real_content %}
|
{% block real_content %}
|
||||||
<div class="row">
|
<div class="row row-centered">
|
||||||
<div class="col-lg-12">
|
<div class="{% block page_size %}col-lg-12{% endblock %} col-centered">
|
||||||
<h2><i class="fa fa-angle-right"></i>{% block page_title %}{% endblock %}</h2>
|
<h2><i class="fa fa-angle-right"></i>{% block page_title %}{% endblock %}</h2>
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
|
|
||||||
{% block page_title %}{{ page_title }}{% endblock %}
|
{% block page_title %}{{ page_title }}{% endblock %}
|
||||||
|
|
||||||
|
{% block page_size %}col-lg-8{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<!-- BASIC FORM ELELEMNTS -->
|
<!-- BASIC FORM ELELEMNTS -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
Loading…
Reference in a new issue