modified: static/theme/meta/css/diff.css
modified: templates/meta-base.j2
This commit is contained in:
parent
f839c0a030
commit
852445bdc5
2 changed files with 39 additions and 19 deletions
|
|
@ -100,12 +100,11 @@ ul {
|
||||||
|
|
||||||
/* alerts */
|
/* alerts */
|
||||||
#alerts {
|
#alerts {
|
||||||
width: 60%;
|
width: 100%;
|
||||||
right: 40%;
|
|
||||||
margin: auto;
|
|
||||||
margin-right: -20%;
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
top: 150px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close {
|
.close {
|
||||||
|
|
@ -116,18 +115,38 @@ ul {
|
||||||
.alert {
|
.alert {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold;
|
|
||||||
border-radius: 6px;
|
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
|
|
||||||
|
/** not sure **/
|
||||||
|
border: 1px;
|
||||||
|
border-left: 0px;
|
||||||
|
border-right: 0px;
|
||||||
|
border-style: solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-warning, .alert-error {
|
.alert-danger, .alert-error {
|
||||||
background-color: #CB0003;
|
color: #721c24;
|
||||||
|
background-color: #f8d7da;
|
||||||
|
border-color: #f5c6cb;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-success, .alert-notice {
|
.alert-warning {
|
||||||
background-color: #517DA4;
|
color: #856404;
|
||||||
|
background-color: #fff3cd;
|
||||||
|
border-color: #ffeeba;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert-info, .alert-notice {
|
||||||
|
color: #0c5460;
|
||||||
|
background-color: #d1ecf1;
|
||||||
|
border-color: #bee5eb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert-success {
|
||||||
|
color: #155724;
|
||||||
|
background-color: #d4edda;
|
||||||
|
border-color: #c3e6cb;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navlogotiny {
|
.navlogotiny {
|
||||||
|
|
|
||||||
|
|
@ -104,6 +104,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="alerts">
|
||||||
|
{%- for message, level in request.session.pop_flash() %}
|
||||||
|
<div class="alert alert-{{level}}" onclick="this.style.display='none'" name="alert">
|
||||||
|
<label class="close js-only" alt="dismiss" title="Mark as read">X</label>
|
||||||
|
{{message}}
|
||||||
|
</div>
|
||||||
|
{%- endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{% if request.mode != 'embed' %}
|
{% if request.mode != 'embed' %}
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
@ -114,15 +124,6 @@
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div id="alerts">
|
|
||||||
{%- for message, level in request.session.pop_flash() %}
|
|
||||||
<div class="alert alert-{{level}}" onclick="this.style.display='none'" name="alert">
|
|
||||||
<label class="close js-only" alt="dismiss" title="Mark as read">X</label>
|
|
||||||
{{message}}
|
|
||||||
</div>
|
|
||||||
{%- endfor %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue