Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Galette
Galette
Commits
28428bb8
Commit
28428bb8
authored
Jun 23, 2022
by
Guillaume Agniéray
Committed by
Johan Cwiklinski
Jun 23, 2022
Browse files
Messages CSS in theme
parent
509861ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
galette/templates/default/page.html.twig
View file @
28428bb8
...
...
@@ -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"
>
...
...
galette/templates/default/public_page.html.twig
View file @
28428bb8
...
...
@@ -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"
>
...
...
theme/themes/galette/collections/message.overrides
View file @
28428bb8
...
...
@@ -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;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment