mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
165 lines
6.8 KiB
CSS
165 lines
6.8 KiB
CSS
|
|
/* ******************************************************************
|
|
General
|
|
******************************************************************* */
|
|
|
|
html.ynh-panel-active {
|
|
/* Disable any scrolling on app */
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {/*overflow-y: scroll;*/}
|
|
|
|
#ynh-overlay-switch,
|
|
#ynh-overlay-switch *,
|
|
#ynh-overlay,
|
|
#ynh-overlay * {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
|
|
/* ******************************************************************
|
|
Button
|
|
******************************************************************* */
|
|
#ynh-overlay-switch {
|
|
display: block;
|
|
position: fixed;
|
|
z-index: 10000000;
|
|
bottom: 20px;
|
|
right: 35px;
|
|
width: 100px;
|
|
height: 90px;
|
|
padding: 12px;
|
|
border: 12px solid #41444f;
|
|
border-radius: 5px;
|
|
background: #41444f;
|
|
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE1LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluICAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIiBbCgk8IUVOVElUWSBuc19mbG93cyAiaHR0cDovL25zLmFkb2JlLmNvbS9GbG93cy8xLjAvIj4KXT4KPHN2ZyB2ZXJzaW9uPSIxLjEiCgkgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6YT0iaHR0cDovL25zLm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csMC42NS0xMi4yNS0xNi42OS05LTI5CgljOC4zMiwxLjI3LDYuNTksMTAuMzYsNiwxN2MyLjcxLDAuODMsMi4yLTAuODUsMy0yQzM3LjA1LDIxLjA0LDM3LjgyLDEzLjYxLDM5LDh6Ii8+CjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yOCw2MmMwLjEsNS42Nyw0LjQsMTEuMzMsMiwxN2MtNC4zMi0xLjAxLTYuNTctNC4wOS05LTdjLTMuMTUtMC40OC0yLjI2LDMuMDctNiwyCgljLTAuNjcsNS4wNjEsMi4yOSw3LjU3LTEsMTBjLTQuNy0wLjYzLTYuNjYtNC04LThjLTIuNjEtMS4zOC01LjQ4LTIuNTItNi02YzAuMTQtMy41Myw0LjQ4LTIuODUsNy00YzAuNDctNS41My0xLjQxLTEzLjQxLDItMTYKCWM4LjMxLDAuNDksOC4yMSw3LjEzLDcsMTVjNC4zNiwwLjI5LDQuOTQtNC4zNSw1LTdjMC4wNi0yLjQzLTEuODItOC4yNiwyLTExYzMuMDYtMC43MywyLjk0LDEuNzMsNiwxCglDMzIuMzUsNTIuNywyNy45Miw1Ny40MzksMjgsNjJ6Ii8+CjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yNCwxMmMxLjA3LDcuMDctMy44Niw4LjE0LTYsMTJjMC4yMSw2Ljg4LTAuNDcsMTIuODYtMiwxOGMtNS44Ni0xLjMyLTguNy0xMC4zOC02LTE3CgljLTAuMzMtMy41Mi01LjI2LTQuMjItNy04Yy0wLjMtMC42Ni0wLjQ3LTQuNDMtMS03QzEuMDksNS42MywwLjU1LDQuMzEsMywxYzguMTYtMC40OSw3LjIxLDguMTMsOSwxNGM1LjA1LDAuMzksMy45MS01LjQyLDgtNgoJQzIwLjk4LDEwLjM1LDIyLjY3LDExLDI0LDEyeiIvPgo8L3N2Zz4K);
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
opacity: 0.7;
|
|
}
|
|
/*#ynh-overlay-switch.visible,*/
|
|
#ynh-overlay-switch:hover {
|
|
background-color: #41444f;
|
|
border-color: #41444f;
|
|
background-color: #111;
|
|
border-color: #111;
|
|
}
|
|
|
|
|
|
/* ******************************************************************
|
|
Overlay
|
|
******************************************************************* */
|
|
|
|
/* Background */
|
|
#ynh-overlay {
|
|
visibility: hidden;
|
|
position: fixed;
|
|
top:0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 9999999;
|
|
display: block;
|
|
border: none;
|
|
color:#fff;
|
|
background: #41444F;
|
|
transition: all 0.2s ease;
|
|
-moz-transition: all 0.2s ease;
|
|
-webkit-transition: all 0.2s ease;
|
|
}
|
|
|
|
|
|
/* ******************************************************************
|
|
Animation
|
|
******************************************************************* */
|
|
|
|
/*FadeIn*/
|
|
@-webkit-keyframes fadeIn {
|
|
0% {
|
|
visibility: hidden;
|
|
opacity:0;
|
|
}
|
|
100% {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@keyframes fadeIn {
|
|
0% {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.ynh-fadeIn {
|
|
-webkit-animation-name: fadeIn;
|
|
animation-name: fadeIn;
|
|
-webkit-animation-duration: 0.5s;
|
|
animation-duration: 0.5s;
|
|
-webkit-animation-fill-mode: both;
|
|
animation-fill-mode: both;
|
|
-webkit-animation-timing-function: cubic-bezier(0.165, 0.840, 0.440, 1.000);
|
|
animation-timing-function: cubic-bezier(0.165, 0.840, 0.440, 1.000);
|
|
}
|
|
/*
|
|
.ynh-fadeIn.ynh-delay {
|
|
animation-delay: 0.5s;
|
|
-webkit-animation-delay: 0.5s;
|
|
}
|
|
*/
|
|
|
|
/*FadeOut*/
|
|
@-webkit-keyframes fadeOut {
|
|
0% {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
@keyframes fadeOut {
|
|
0% {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
.ynh-fadeOut {
|
|
-webkit-animation-name: fadeOut;
|
|
animation-name: fadeOut;
|
|
-webkit-animation-duration: 0.2s;
|
|
animation-duration: 0.2s;
|
|
-webkit-animation-fill-mode: both;
|
|
animation-fill-mode: both;
|
|
}
|
|
/*
|
|
.ynh-fadeOut.ynh-delay {
|
|
animation-delay: 0.5s;
|
|
-webkit-animation-delay: 0.5s;
|
|
}
|
|
*/
|
|
|
|
|
|
/* ******************************************************************
|
|
Media Queries
|
|
******************************************************************* */
|
|
|
|
@media screen and (max-width: 500px) {
|
|
#ynh-overlay-switch {
|
|
width: 80px;
|
|
height: 75px;
|
|
}
|
|
}
|