Skip to content
Snippets Groups Projects
Commit 1c311e22 authored by Olimpia Magliulo's avatar Olimpia Magliulo
Browse files

Change style check.twig

-with rtl.
parent c7710237
No related branches found
No related tags found
No related merge requests found
...@@ -5,30 +5,41 @@ ...@@ -5,30 +5,41 @@
<h2>{{ pagetitle }}</h2> <h2>{{ pagetitle }}</h2>
{% if errors %} {% if errors %}
<div style="border: 1px solid #800; background: #caa; margin: 1em; padding: .5em">
<p><img class="float-r" src="/{{ baseurlpath }}resources/icons/silk/delete.png" alt="Failed" />
These checks failed:</p>
<ul>
{% for err in errors %}
<li>{{ err }}</li>
{% endfor %}
</ul>
<div class="errorbox">
<div class="pure-g">
<div class="pure-u-1-12">
<span class="fa fa-times-circle fa-2x"></span>
</div>
<div class="pure-u-11-12">
<p>{{ 'These checks failed:'|trans }}</p>
<ul class="error-list">
{% for err in errors %}
<li>{{ err }}</li>
{% endfor %}
</ul>
</div>
</div>
</div> </div>
{% endif %} {% endif %}
{% if info %} {% if info %}
<div style="border: 1px solid #ccc; background: #eee; margin: 1em; padding: .5em"> <div class="successbox">
<p><img class="float-r" src="/{{ baseurlpath }}resources/icons/silk/accept.png" alt="OK" /> <div class="pure-g">
These checks succeeded:</p> <div class="pure-u-1-12">
<span class="fa fa-check fa-2x"> </span>
<ul> </div>
{% for i in info %} <div class="pure-u-11-12">
<li>{{ i }}</li> <p>{{ 'These checks succeeded:'|trans }}</p>
{% endfor %}
</ul> <ul>
{% for i in info %}
<li>{{ i }}</li>
{% endfor %}
</ul>
</div>
</div>
</div> </div>
{% endif %} {% endif %}
......
...@@ -86,6 +86,22 @@ fieldset.fancyfieldset legend { ...@@ -86,6 +86,22 @@ fieldset.fancyfieldset legend {
left:0; left:0;
right: auto; right: auto;
} }
.errorbox {
border-left-style: initial;
border-left-width: 0;
border-left-color: none;
border-right-style: solid;
border-right-width: 0.3125rem;
border-right-color: #cc4b37;
}
.successbox{
border-left-style: initial;
border-left-width: 0;
border-left-color: none;
border-right-style: solid;
border-right-width: 0.3125rem;
border-right-color: #46cc48;
}
/*selectize elements*/ /*selectize elements*/
div .item{ div .item{
......
...@@ -70,7 +70,9 @@ a.pure-button-primary { ...@@ -70,7 +70,9 @@ a.pure-button-primary {
background-color: rgb(219, 1, 0); background-color: rgb(219, 1, 0);
color: #fff; color: #fff;
} }
ul{
padding-left: 1.5em;
}
/* *********************************************************** /* ***********************************************************
HEADER HEADER
************************************************************ */ ************************************************************ */
...@@ -129,6 +131,17 @@ CONTENT ...@@ -129,6 +131,17 @@ CONTENT
position: relative; position: relative;
box-shadow: 0 5px 8px -6px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 8px -6px rgba(0, 0, 0, 0.2);
} }
.successbox{
padding: 1.3rem;
margin: 0 0 1rem 0;
background-color: #daf7e6;
border-left-style: solid;
border-left-width: 0.3125rem;
border-left-color: #46cc48;
position: relative;
box-shadow: 0 5px 8px -6px rgba(0, 0, 0, 0.2);
}
.auth_methods{ .auth_methods{
margin-top: 2em; margin-top: 2em;
width: 35%; width: 35%;
...@@ -161,6 +174,7 @@ CONTENT ...@@ -161,6 +174,7 @@ CONTENT
background-color: #f0f0f0; background-color: #f0f0f0;
border: 1px solid #ccc; border: 1px solid #ccc;
} }
/* *********************************************************** /* ***********************************************************
FOOTER FOOTER
************************************************************ */ ************************************************************ */
......
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