Add WIP CSS
(cherry picked from commit 6d8d968ec2505159264dd1c406329d8894089fea)
This commit is contained in:
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
===============================================================================
|
||||
This file contain extra CSS rules to customize the YunoHost user portal and
|
||||
can be used to customize app tiles, buttons, etc...
|
||||
===============================================================================
|
||||
*/
|
||||
@font-face {
|
||||
font-family: 'NotoSans';
|
||||
src: url("typo/NotoSans-Regular.ttf");
|
||||
font-family: 'NotoSansBold';
|
||||
src: url("typo/NotoSans-CondensedBold.ttf");
|
||||
}
|
||||
/* Global 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-top: -256px;
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user