mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[fix] .wrapper is a too much generic class.
This commit is contained in:
parent
5e41010458
commit
f9a9472179
8 changed files with 18 additions and 18 deletions
|
@ -116,15 +116,15 @@ img {
|
|||
padding: 2%;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
.ynh-wrapper {
|
||||
width: 90%;
|
||||
margin: 2% 5%;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.wrapper:before,
|
||||
.wrapper:after {content: " ";display: table;}
|
||||
.wrapper:after {clear: both;}
|
||||
.ynh-wrapper:before,
|
||||
.ynh-wrapper:after {content: " ";display: table;}
|
||||
.ynh-wrapper:after {clear: both;}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ body {/*overflow-y: scroll;*/}
|
|||
#ynhoverlay a { text-decoration: none; }
|
||||
|
||||
|
||||
#ynhoverlay .wrapper {
|
||||
#ynhoverlay .ynh-wrapper {
|
||||
width: 90%;
|
||||
margin: 2% 5%;
|
||||
transition: all 0.2s ease;
|
||||
|
@ -145,9 +145,9 @@ body {/*overflow-y: scroll;*/}
|
|||
-webkit-transition: all 0.2s ease;
|
||||
z-index: 10;
|
||||
}
|
||||
#ynhoverlay .wrapper:before,
|
||||
#ynhoverlay .wrapper:after {content: " ";display: table;}
|
||||
#ynhoverlay .wrapper:after {clear: both;}
|
||||
#ynhoverlay .ynh-wrapper:before,
|
||||
#ynhoverlay .ynh-wrapper:after {content: " ";display: table;}
|
||||
#ynhoverlay .ynh-wrapper:after {clear: both;}
|
||||
|
||||
/* ******************************************************************
|
||||
Button
|
||||
|
|
|
@ -232,7 +232,7 @@ domReady(function(){
|
|||
response = JSON.parse(r.responseText);
|
||||
|
||||
// Add overlay header
|
||||
overlay.innerHTML += '<div id="ynh-user" class="wrapper info">' +
|
||||
overlay.innerHTML += '<div id="ynh-user" class="ynh-wrapper info">' +
|
||||
'<ul class="ul-reset user-menu"><li><a class="icon icon-connexion disableAjax" href="'+ response.portal_url +'?action=logout">'+response.t_logout+'</a></li></ul>'+
|
||||
'<a class="user-container user-container-info disableAjax" href="'+ response.portal_url +'edit.html">' +
|
||||
'<h2 class="user-username">'+ response.uid +'</h2>' +
|
||||
|
@ -248,10 +248,10 @@ domReady(function(){
|
|||
randomColorNumber = parseInt(app.name, 36) % colors.length;
|
||||
links.push('<li><a class="'+colors[randomColorNumber]+' disableAjax" href="//'+app.url+'"><span class="first-letter" data-first-letter="'+ app.name.substr(0,2) +'"></span><span class="name">'+app.name+'</span></a></li>');
|
||||
});
|
||||
overlay.innerHTML += '<div id="ynh-apps" class="wrapper apps"><ul class="listing-apps">'+ links.join("\n") +'</ul></div>';
|
||||
overlay.innerHTML += '<div id="ynh-apps" class="ynh-wrapper apps"><ul class="listing-apps">'+ links.join("\n") +'</ul></div>';
|
||||
|
||||
// Add footer links
|
||||
overlay.innerHTML += '<div id="ynh-footer" class="wrapper footer"><nav>' + "\n" +
|
||||
overlay.innerHTML += '<div id="ynh-footer" class="ynh-wrapper footer"><nav>' + "\n" +
|
||||
'<a class="link-profile-edit" href="/yunohost/sso/edit.html">'+ response.t_footerlink_edit +'</a>' + "\n" +
|
||||
'<a class="link-documentation" href="//yunohost.org/docs" target="_blank">'+ response.t_footerlink_documentation +'</a>' + "\n" +
|
||||
'<a class="link-documentation" href="//yunohost.org/support" target="_blank">'+ response.t_footerlink_support +'</a>' + "\n" +
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="wrapper user">
|
||||
<div class="ynh-wrapper user">
|
||||
<ul class="user-menu">
|
||||
<li><a class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
|
||||
</ul>
|
||||
|
@ -10,7 +10,7 @@
|
|||
</a>
|
||||
</div>
|
||||
|
||||
<div class="wrapper edit">
|
||||
<div class="ynh-wrapper edit">
|
||||
<form class="form-edit" role="form" method="POST" action="edit.html">
|
||||
|
||||
<div class="form-section">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{#connected}}
|
||||
<div class="wrapper footer"><nav>
|
||||
<div class="ynh-wrapper footer"><nav>
|
||||
<a class="link-profile-edit" href="/yunohost/sso/edit.html">{{t_footerlink_edit}}</a>
|
||||
<a class="link-documentation" href="//yunohost.org/docs" target="_blank">{{t_footerlink_documentation}}</a>
|
||||
<a class="link-documentation" href="//yunohost.org/support" target="_blank">{{t_footerlink_support}}</a>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="wrapper user">
|
||||
<div class="ynh-wrapper user">
|
||||
<ul class="user-menu">
|
||||
<li><a class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
|
||||
</ul>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="wrapper login">
|
||||
<div class="ynh-wrapper login">
|
||||
<form class="login-form" name="input" action="" method="post">
|
||||
<div class="form-group">
|
||||
<label class="icon icon-user" for="user"><span class="element-invisible">{{t_username}}</span></label>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="wrapper user">
|
||||
<div class="ynh-wrapper user">
|
||||
<ul class="user-menu">
|
||||
<li><a class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
|
||||
</ul>
|
||||
|
@ -9,7 +9,7 @@
|
|||
</a>
|
||||
</div>
|
||||
|
||||
<div class="wrapper password">
|
||||
<div class="ynh-wrapper password">
|
||||
<form class="form-password" role="form" method="POST" action="password.html">
|
||||
|
||||
<div class="form-section">
|
||||
|
|
Loading…
Reference in a new issue