Commit 28428bb8 authored by Guillaume Agniéray's avatar Guillaume Agniéray Committed by Johan Cwiklinski
Browse files

Messages CSS in theme

parent 509861ae
......@@ -4,7 +4,7 @@
<head>
{% include 'elements/header.html.twig' %}
</head>
<body id="galette_body" class="pushable dimmable{% if login.isLogged() %} loggedin{% endif %}">
<body id="galette_body" class="pushable dimmable{% if login.isLogged() %} loggedin{% endif %} nojs">
{% include 'elements/navigation/navigation_sidebar.html.twig' %}
{% include 'elements/navigation/navigation_topbar.html.twig' %}
<div class="pusher">
......
......@@ -4,7 +4,7 @@
<head>
{% include 'elements/header.html.twig' %}
</head>
<body class="{% if body_class is defined and body_class == "front_page" %}front-page {% endif %}pushable{% if login.isLogged() %} loggedin{% endif %}">
<body class="{% if body_class is defined and body_class == "front_page" %}front-page {% endif %}pushable{% if login.isLogged() %} loggedin{% endif %} nojs">
{% include 'elements/navigation/navigation_sidebar.html.twig' %}
{% include 'elements/navigation/navigation_topbar.html.twig' %}
<div class="pusher">
......
......@@ -2,8 +2,17 @@
Galette Overrides
*******************************/
.ui.message > .password-lost:first-child,
.ui.message > .password-lost:last-child {
body.nojs .ui.message > .close.icon {
display: none;
}
.ui.message > .password-lost:first-child:last-child,
.column > .ui.message:first-child:last-child {
margin-top: 0;
margin-bottom: 0;
}
.ui.message:first-child:last-child {
margin-top: 1em;
margin-bottom: 1em;
}
Supports Markdown
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