egroupware_official/pixelegg/less/layout_loginPage.less
Hadi Nategh 47122005ba WIP of modern login page:
- Implement better representative selectbox for "Remember me" field
2017-02-06 18:35:36 +01:00

274 lines
5.4 KiB
Plaintext

/**
* EGroupware: Stylite Pixelegg template
*
* Definitions for login page
*
* Please do NOT change css-files directly, instead change less-files and compile them!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhard <stefan.reinhard@pixelegg.de>
* @package pixelegg
* @version $Id$
*/
@import (reference) "definitions.less";
@import "def_colors.less";
//##############################################################################################################
#socialMedia {
position: relative;
}
#socialMedia a {
margin-left: 10px;
}
/* ##################################################################################
* login page
*/
#loginMainDiv {
padding: 0;
height: 100%;
width: 100%;
border: none;
margin: 0 auto 0px;
background-color: white;
background-image: url(../images/login/fullscreen.jpg);
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: cover;
// Logo Leiste
#divAppIconBar {
background: transparent;
width: 100%;
text-align: center;
height: 35%;
display: block;
max-height: 35%;
overflow-y: auto;
#divLogo {
position: relative;
padding-top: 5%;
img {
margin: 0 auto;
max-width: 270px;
}
img[src$="svg"]{
max-width: 270px;
}
}
}
// Meldung
#loginScreenMessage {
margin: 1em;
color: #0a5ca5;
font-size: 12pt;
}
div#login_footer {
position: absolute;
bottom: 0;
display: inline-block;
left: 0;
width: 100%;
a.logo_footer {
float:right;
margin: 10px;
img {
height: 40px;
width: 40px;
}
}
}
// Anmeldefenster / Box mit Mesaage + Form
div#centerBox {
margin: 0 auto -20px;
background: transparent;
border: none;
z-index: 100;
padding: 0;
width: 280px;
// Message
#loginCdMessage {
margin: 1em;
.border_radius_button_lefttop;
color: #0a5ca5;
text-align: center;
white-space: pre-wrap;
}
#loginCdMessage.error {
font-weight: bold;
}
// Formular
form {
border-radius:5px;
opacity:0.94;
background-color: white;
padding:1em;
.hiddenCredential {display: none;}
// Table
table.divLoginbox {
background-color: transparent;
.border_radius_button_lefttop;
tr.divLoginboxHeader {}
// Passwort Image
div.LoginPasswordImage {
.gradient_vertical (@egw_color_1_a, @egw_color_2_d);
img.passwordImage {
margin: 0 auto;
max-width: 400px;
.bordered(5px);
}
img.passwordImage[src$="svg"] {
.bordered(5px);
.dimension_width_height_xl;
}
}
td {
font-size: 12pt;
position: relative;
}
select {
padding-left: 25px;
width:100%;
height: 42px;
border: none;
border-bottom: 1px solid silver;
border-radius: 0px;
}
select[name="remember_me"] {
text-indent: 120px;
background-color: transparent;
}
select:focus, select:hover {box-shadow:none;}
input {
width: ~"calc(250px - 22px)";
height: 40px;
padding: 0;
margin: 0;
border: none;
border-bottom: 1px solid silver;
padding-left: 25px;
}
input:hover {}
input:focus {
outline: none;
}
span.field_icons {
position: absolute;
left: 0px;
width: 20px;
height: 20px;
background-size: 16px;
background-position: left center;
background-repeat: no-repeat;
top: 12px;
z-index: 100;
opacity:0.5;
}
span.field_icons.username {background-image: url(../images/personal.png);}
span.field_icons.password {background-image: url(../images/password.png);}
span.field_icons.remember_me {background-image: url(../images/task.png);z-index:0;width: 130px;padding-left: 27px;}
span.field_icons.domain {background-image: url(../images/internet.png);}
span.field_icons.language {background-image: url(../images/language.png);}
input[type="submit"] {
background-color: #0a5ca5;
.color_0_gray;
.fontsize_xxl;
padding-left:0;
width: 250px;
&:hover{}
&:focus {}
margin-top: 25px;
}
}
} // Formular
} //center box
} // #loginMainDiv
// Ende Login / Start #################################################
#wrap {
div.animation_login {
margin: 0.3em;
position: fixed;
width: 100%;
bottom: 0;
}
img[src$="svg"],
background-image[url$="svg"] {
.gradient_vertical (@egw_color_2_e, @egw_color_2_e);
}
}
#img1, #img2, #img3, #img4 , #img5 , #img6 , #img7 , #img8 {
width:12%;
z-index:-1;
animation-name: test;
animation-duration: 8s;
animation-iteration-count: infinite;
-webkit-animation-name: test;
-webkit-animation-duration: 8s;
-webkit-animation-iteration-count: infinite;
opacity:0;
}
#img1 {
animation-delay:0s;
-webkit-animation-delay:0s
}
#img2 {
animation-delay:3s;
-webkit-animation-delay:3s
}
#img3 {
animation-delay:6s;
-webkit-animation-delay:6s
}
#img4 {
animation-delay:9s;
-webkit-animation-delay:9s
}
#img5 {
animation-delay:12s;
-webkit-animation-delay:12s
}
#img6 {
animation-delay:15s;
-webkit-animation-delay:15s
}
#img7 {
animation-delay:18s;
-webkit-animation-delay:18s
}
#img8 {
animation-delay:21s;
-webkit-animation-delay:21s
}
@-webkit-keyframes test {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes test {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}