diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index 10f51f14ed..c183922072 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -1688,18 +1688,21 @@ body { position: relative; padding-top: 5%; } -#loginMainDiv #divAppIconBar #divLogo img { +#loginMainDiv #divAppIconBar #divLogo img.login_logo { margin: 0 auto; max-width: 270px; } -#loginMainDiv #divAppIconBar #divLogo img[src$="svg"] { +#loginMainDiv #divAppIconBar #divLogo img.login_logo [src$="svg"] { max-width: 270px; } -#loginMainDiv #loginScreenMessage { +#loginMainDiv #loginScreenMessage not([class $= "error"]) { margin: 1em; color: #0a5ca5; font-size: 12pt; } +#loginMainDiv #loginScreenMessage not([class $= "error"]) img { + max-width: 100%; +} #loginMainDiv div#login_footer { position: absolute; bottom: 0; @@ -1723,20 +1726,17 @@ body { padding: 0; width: 280px; } -#loginMainDiv div#centerBox #loginCdMessage { - margin: 1em; - -webkit-border-radius: 3px; - -webkit-border-top-left-radius: 10px; - -moz-border-radius: 3px; - -moz-border-radius-topleft: 10px; - border-radius: 3px; - border-top-left-radius: 10px; - color: #0a5ca5; - text-align: center; - white-space: pre-wrap; +#loginMainDiv div#centerBox #loginCdMessage:not(.error) { + display: none; } #loginMainDiv div#centerBox #loginCdMessage.error { - font-weight: bold; + margin: 1em; + border: none; + background: transparent; + color: red; + text-align: center; + font-size: 12pt; + white-space: pre-wrap; } #loginMainDiv div#centerBox form { border-radius: 5px; @@ -1853,6 +1853,14 @@ body { width: 250px; margin-top: 25px; } +#loginMainDiv div#centerBox form table.divLoginbox .registration { + font-size: 12px; +} +#loginMainDiv div#centerBox form table.divLoginbox .registration a:not(:first-child):before { + padding-left: 5px; + padding-right: 5px; + content: '|'; +} #wrap div.animation_login { margin: 0.3em; position: fixed; diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 6696129db6..337993d988 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -1677,18 +1677,21 @@ body { position: relative; padding-top: 5%; } -#loginMainDiv #divAppIconBar #divLogo img { +#loginMainDiv #divAppIconBar #divLogo img.login_logo { margin: 0 auto; max-width: 270px; } -#loginMainDiv #divAppIconBar #divLogo img[src$="svg"] { +#loginMainDiv #divAppIconBar #divLogo img.login_logo [src$="svg"] { max-width: 270px; } -#loginMainDiv #loginScreenMessage { +#loginMainDiv #loginScreenMessage not([class $= "error"]) { margin: 1em; color: #0a5ca5; font-size: 12pt; } +#loginMainDiv #loginScreenMessage not([class $= "error"]) img { + max-width: 100%; +} #loginMainDiv div#login_footer { position: absolute; bottom: 0; @@ -1712,20 +1715,17 @@ body { padding: 0; width: 280px; } -#loginMainDiv div#centerBox #loginCdMessage { - margin: 1em; - -webkit-border-radius: 3px; - -webkit-border-top-left-radius: 10px; - -moz-border-radius: 3px; - -moz-border-radius-topleft: 10px; - border-radius: 3px; - border-top-left-radius: 10px; - color: #0a5ca5; - text-align: center; - white-space: pre-wrap; +#loginMainDiv div#centerBox #loginCdMessage:not(.error) { + display: none; } #loginMainDiv div#centerBox #loginCdMessage.error { - font-weight: bold; + margin: 1em; + border: none; + background: transparent; + color: red; + text-align: center; + font-size: 12pt; + white-space: pre-wrap; } #loginMainDiv div#centerBox form { border-radius: 5px; @@ -1842,6 +1842,14 @@ body { width: 250px; margin-top: 25px; } +#loginMainDiv div#centerBox form table.divLoginbox .registration { + font-size: 12px; +} +#loginMainDiv div#centerBox form table.divLoginbox .registration a:not(:first-child):before { + padding-left: 5px; + padding-right: 5px; + content: '|'; +} #wrap div.animation_login { margin: 0.3em; position: fixed; diff --git a/pixelegg/less/layout_loginPage.less b/pixelegg/less/layout_loginPage.less index ea80b2cec3..1d6f0faf1a 100644 --- a/pixelegg/less/layout_loginPage.less +++ b/pixelegg/less/layout_loginPage.less @@ -55,20 +55,27 @@ #divLogo { position: relative; padding-top: 5%; - img { + img.login_logo { margin: 0 auto; max-width: 270px; } - img[src$="svg"]{ + img.login_logo [src$="svg"]{ max-width: 270px; } } } + + #loginScreenMessage [class $= "error"] { + + } // Meldung - #loginScreenMessage { + #loginScreenMessage not([class $= "error"]) { margin: 1em; color: #0a5ca5; font-size: 12pt; + img {max-width: 100%;} + + } div#login_footer { position: absolute; @@ -95,15 +102,18 @@ width: 280px; // Message - #loginCdMessage { - margin: 1em; - .border_radius_button_lefttop; - color: #0a5ca5; - text-align: center; - white-space: pre-wrap; + #loginCdMessage:not(.error) { + display: none; } + #loginCdMessage.error { - font-weight: bold; + margin: 1em; + border:none; + background: transparent; + color: red; + text-align: center; + font-size: 12pt; + white-space: pre-wrap; } // Formular @@ -189,6 +199,16 @@ &:focus {} margin-top: 25px; } + .registration { + font-size: 12px; + a:not(:first-child) { + &:before { + padding-left:5px; + padding-right:5px; + content: '|'; + } + } + } } } // Formular } //center box diff --git a/pixelegg/login.tpl b/pixelegg/login.tpl index fed24ba8d4..e15e986bd6 100644 --- a/pixelegg/login.tpl +++ b/pixelegg/login.tpl @@ -4,7 +4,7 @@