Dun' delete the logo ? D:

This commit is contained in:
Alexandre Aubin 2019-02-21 17:26:43 +01:00
parent 3d7e606f1a
commit 23af640c8c
2 changed files with 33 additions and 0 deletions

View file

@ -126,6 +126,35 @@ img {
.ynh-wrapper:after {content: " ";display: table;}
.ynh-wrapper:after {clear: both;}
/* Logo */
.logo {
text-align: center;
margin-bottom: 0;
opacity: 0.7;
}
.logo img {
margin-top: 4%;
width: 4em;
}
.logged .logo {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 0;
opacity: 0.7;
}
.logged .logo img {
margin-top: 0;
width: 2.5em;
padding: 0.3em;
border-radius: 5px;
}
.ynh-panel-active .logo {
display: none;
}
/* messages */
.messages {

View file

@ -37,6 +37,10 @@
</head>
<body class="{{#connected}}logged{{/connected}}">
<h1 id="logo" class="logo">
<img src="assets/img/logo-ynh-white.svg"/><span class="element-invisible">Yunohost</span>
</h1>
<div class="overlay">
{{#flash_win}}
<div class="wrapper messages success">{{.}}</div>