mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
logo -> ynh-logo to reduce ambiguities
This commit is contained in:
parent
c5ffdfdfb5
commit
7036dd4673
4 changed files with 7 additions and 7 deletions
|
@ -126,7 +126,7 @@ img {
|
||||||
.ynh-wrapper:after {clear: both;}
|
.ynh-wrapper:after {clear: both;}
|
||||||
|
|
||||||
/* Logo */
|
/* Logo */
|
||||||
.logo {
|
.ynh-logo {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
margin-top: 6em;
|
margin-top: 6em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -137,7 +137,7 @@ img {
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logged .logo {
|
.logged .ynh-logo {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 5em;
|
width: 5em;
|
||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
|
@ -147,11 +147,11 @@ img {
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ynh-panel-active .logo {
|
.ynh-panel-active .ynh-logo {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.in_app_overlay .logo {
|
.in_app_overlay .ynh-logo {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ a.app-tile,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Use a custom logo image */
|
/* Use a custom logo image */
|
||||||
#logo {
|
#ynh-logo {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
background-image: url("./cloud.png");
|
background-image: url("./cloud.png");
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,7 +118,7 @@ ynhLib.onWindowLoad(function () {
|
||||||
var chosenLogoStyleString = ynhLib.logo.makeLogoStyleString();
|
var chosenLogoStyleString = ynhLib.logo.makeLogoStyleString();
|
||||||
|
|
||||||
// set logo color in portal
|
// set logo color in portal
|
||||||
var ynhLogo = document.getElementById("logo");
|
var ynhLogo = document.getElementById("ynh-logo");
|
||||||
if (ynhLogo) ynhLogo.setAttribute("style", chosenLogoStyleString);
|
if (ynhLogo) ynhLogo.setAttribute("style", chosenLogoStyleString);
|
||||||
|
|
||||||
// set overlay switch color in apps (NOTE: this is not always working, there is probably a problem of loading order)
|
// set overlay switch color in apps (NOTE: this is not always working, there is probably a problem of loading order)
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="ynh-user-portal {{#connected}}logged{{/connected}}">
|
<body class="ynh-user-portal {{#connected}}logged{{/connected}}">
|
||||||
|
|
||||||
<div id="logo" class="logo">
|
<div id="ynh-logo" class="ynh-logo">
|
||||||
<span class="element-invisible">Yunohost</span>
|
<span class="element-invisible">Yunohost</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue