/* =============================================================================== 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; } /* ------------------------ Login Page ------------------------ */ /* ------------------------ Main Setup ------------------------ */ * { font-family: 'NotoSans'; } .element-invisible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } #ynh-logo { margin-top: 20%; } .content { max-width: 800px; margin: 0 auto; } .ynh-user-portal { background-image: url("pictures/background.jpg"); background-repeat: no-repeat; background-size: cover; background-position-x: center; } /* Login Rules */ .messages, .login { width: 800px; padding: 4px 20px; } .ynh-wrapper { background-image: url("pictures/login-logo.jpg"); background-repeat: no-repeat; background-position-x: 50px; } .messages { float: left; background-color: #5d5446; border-radius: 0px 0px 15px 15px; margin-top: 256px; /* height: 312px; */ color : #c2a593; /* Typo Rules */ font-family: 'NotoSansBold'; font-size: 1.8em; /*text-transform: capitalize;*/ font-variant: small-caps; text-align: center; /* Drop Shadow */ box-shadow: 8px 8px 8px rgb(16, 28, 22); } .login { background-color: #2c2b27; height: 256px; border-radius: 15px 15px 0px 0px; box-shadow: 8px 8px 8px rgb(16, 28, 22); } .icon { color: red; } .login-form { float: right; margin: -273px 52px 0px 0px; display: grid; width: 400px; } .form-group { display: grid; grid-template-columns: 52px 90%; /* width: 100%; */ height: 52px; margin: 7px 0; overflow: hidden; } .form-text { width: 90%; height: 52px; padding: 0 5%; border: 0; font-family: 'NotoSansBold'; background-color: #5d5446; 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"] { width: 400px; height: 52px; margin: 7px 0; padding: 0 0 0 70px; border: 0px; background-image: url("pictures/picto.jpg"); background-position: 0 52px; background-repeat: repeat-y; background-color: #5d5446; /* Typo Setup */ font-family: 'NotoSansBold'; 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; } .logged .content { max-width: 100%; } .logged .user { height: 92vh; } .logged .user-menu { margin: 0; } /* ------------------------ Pannel ------------------------ */ .logged .ynh-wrapper { width: 39%; background-image: none; background-color: rgb(44, 43, 39); opacity: 70%; border-right: 1rem solid #6f5b50; } /* ------------------------ Setup Footer ------------------------ */ .logged .footer { height: 8vh; margin: 0; padding: 0; border: 0; border-right: 1rem 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'; 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: 60%; min-height: 100vh; } #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: 0px 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; align: center; } #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; } /* #apps ul li a:hover .first-letter { */ /* overflow: visible; */ /* position: relative; */ /* } */ /* #apps ul li a:hover .name { */ /* overflow: hidden; */ /* position: absolute; */ /* height: 1px; */ /* width: 1px; */ /* } */ /* #apps ul li a .name { */ /* display: block; */ /* position: absolute; */ /* width: 100%; */ /* margin: 0 auto; */ /* bottom: 0; */ /* } */