/* =============================================================================== This file contain extra CSS rules to customize the YunoHost user portal and can be used to customize app tiles, buttons, etc... =============================================================================== */ /* ------------------------ Global Main Setup ------------------------ */ @font-face { font-family: "NotoSans"; src: url("typo/NotoSans-Regular.ttf"); } @font-face { font-family: 'NotoSansBold'; src: url("typo/NotoSans-CondensedBold.ttf"); } html { min-height: 100vh; } body { line-height: 1; } * { font-family: "NotoSans", serif; } /* ------------------------ Login Page ------------------------ */ .element-invisible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } /* ------------------------ Main Setup ------------------------ */ #ynh-logo { /*margin-top: 20%;*/ margin-top: 30vh; width: 0; height: 0; } .content { max-width: 800px; margin: 0 auto; padding: 0; } .ynh-user-portal { background-image: url("pictures/background.jpg"); background-repeat: no-repeat; background-size: cover; background-position-x: center; } /* ------------------------ Windows Login ------------------------ */ .messages, .login { width: 800px; padding: 0 20px; } .ynh-wrapper { background-image: url("pictures/login-logo.jpg"); background-repeat: no-repeat; background-position-x: 50px; margin: 0; position: initial; } .ynh-wrapper::after, .ynh-wrapper::before { content: none; } .messages { position: absolute; border-radius: 0 0 15px 15px; margin-top: 256px; max-width: none; color : #c2a593; /* Typo Rules */ font-family: 'NotoSansBold', serif; font-size: 1.8em; font-variant: small-caps; text-align: center; box-shadow: 8px 8px 8px rgb(16, 28, 22); } .messages.info { background-color: #5d5446; padding: 0 0 8px 0; } .login { background-color: #2c2b27; height: 256px; border-radius: 15px 15px 0 0; box-shadow: 8px 8px 8px rgb(16, 28, 22); border-bottom: 8px solid #5d5446; } .login-form { width: 50%; margin: 0 5% 0 45%; height: 100%; display: grid; align-items: center; } .login-form .btn { height: 52px; margin: 8px 0; padding: 0 0 0 60px; } .login-form .btn:hover { background: url("pictures/picto.jpg") no-repeat 0 52px white; } .login-form .form-group { display: grid; grid-template-columns: 52px 90%; height: 52px; margin: 8px 0; padding: 0; overflow: hidden; position: inherit; /* Fix Ynh Portal */ background: none; /* Fix Ynh Portal */ } .login-form label::before { width: 0; height: 0; } .icon-user::before, .icon-lock::before { content: none; } .login-form .form-text { height: 52px; padding: 0 5%; border: 0; font-family: 'NotoSansBold', serif; background-color: #5d5446; color: #c2a593; } .login-form .form-text::placeholder { color: #c2a593; } .icon-user, .icon-lock { width: 52px; height: 52px; } .icon-user { background-image: url("pictures/picto.jpg"); } .icon-lock { background-image: url("pictures/picto.jpg"); background-position: 0 -52px; } input[type="submit"] { border: 0; background-image: url("pictures/picto.jpg"); background-position: 0 52px; background-repeat: repeat-y; background-color: #5d5446; /* Typo Setup */ font-family: 'NotoSansBold', serif; color: #c2a593; text-align: left; } /* ------------------------ Apps Tile Page ------------------------ */ /* ------------------------ Main Setup ------------------------ */ body.logged, .logged .content { min-height: 100vh; } .logged #ynh-logo, .logged { margin: 0; padding: 0; position: unset; } .logged .content { max-width: 100%; } .logged .messages { max-width: 0; max-height: 0; margin: 0; padding: 0; overflow: hidden; } .logged .user { height: 92vh; } .logged .user-menu { float: none; display: inline; } .logged .user-menu li { text-align: right; } .logged .user-menu a { margin: 0; padding: 16px; color: #c2a593; } /* ------------------------ Pannel ------------------------ */ .logged .user, .logged .footer { width: 30%; background-image: none; background-color: #4f4641; border-right: 0.6em solid #6f5b50; padding-top: 64px; } /* ------------------------ User ------------------------ */ .user-container { display: block; position: relative; max-width: 100%; line-height: 2.6em; margin: 0; padding: 16px 0 0; background-color: #2c2b27; color: #c2a593; text-align: center; } .user-container::before{ content: none; } .user-container::before { color: inherit; } .user-container .user-username { display: inline-block; width: 80%; margin: 0 10%; min-height: 82px; font-size: 2.6em; } .user-container .user-username::after { color: #c2a593; } .user-container .user-fullname, .user-container .user-mail { display: inline; font-size: 1em; text-align: center; padding: 6px 0 0; } .user-container .user-fullname { display: block; text-align: left; padding: 0 10%; } .user-container .user-mail { float: right; color: #c2a593; margin: 0; padding: 0 10%; text-align: right; } .user-container .user-fullname:before { content: "Bienvenue "; } .user-container .user-username:before { display: block; position: relative; float: left; content: url("pictures/user.png"); width: 82px; height: 82px; size: 16px; } /* ------------------------ Logout Icon ------------------------ */ .icon-connexion { color: #c2a593; } .icon-connexion::before { color: #c2a593; } /* ------------------------ Setup Footer ------------------------ */ .logged .footer { height: 8vh; margin: 0; padding: 0; border: 0; border-right: 0.6em solid #6f5b50; } .logged .footer nav { width: 85%; margin: 0 auto; padding: 8px 0; text-align: center; border-top: 2px #c2a593 solid; } .logged .footer a { font-family: 'NotoSans', serif; font-size: .9em; text-decoration: none; color: #c2a593; letter-spacing: -0.05em; } .logged .footer a:hover { text-decoration: underline; } .logged .footer a:first-child::before { content: none; } .logged .footer a::before { content: "•"; font-size: 1.3em; display: inline-block; vertical-align: top; padding: 0 0.5em 0 0.25em; /* color: #666; */ } /* ------------------------ Setup Apps Tile ------------------------ */ #apps { float: right; position: absolute; top: 0; right: 0; width: 70%; min-height: 100vh; margin: 0; } #apps ul { width: 95%; height: 100%; margin: 0 auto; padding: 0; } #apps ul li { display: inline-block; margin: 1em; background: rgb(73,70,63); background: linear-gradient(0deg, rgba(73,70,63,1) 0%, rgba(87,90,89,1) 100%); box-shadow: 6px 6px 6px #101c16; border: 0 solid #4f4641; border-radius: 5px 5px 0 0; box-sizing: border-box; } #apps ul li:hover { transform: rotate(5deg); } #apps ul li a { display: block; position: relative; top: 0; left: 0; width: 128px; height: 98px; border-bottom: 30px solid #2c2b27; padding: 0.2em; color: #c2a593; } #apps ul li a .first-letter, #apps ul li a .name { overflow: hidden; position: absolute; height: 1px; width: 1px; } #apps ul li a:hover { width: 68px; height: 68px; border: 30px solid #2c2b27; } /* ------------------------ Page Edit User ------------------------ */ /* ------------------------ Main Setup ------------------------ */ .logged .edit { float: right; width: 60%; position: absolute; top: 0; right: 5%; }