From bd1337f6af504b94480d11e744c60cd03e25d5ac Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 2 Aug 2015 19:16:46 +0000 Subject: [PATCH] box shadow --- lam/style/500_layout.css | 19 +++++++++++-------- lam/templates/config/conflogin.php | 6 +++--- lam/templates/config/mainlogin.php | 10 +++++----- lam/templates/login.php | 28 +++++++++++++++------------- 4 files changed, 34 insertions(+), 29 deletions(-) diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index 415af9f6..b8a47691 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -37,6 +37,9 @@ h1,h2,h3 { color:black; } body { background-color:#F5F5F5; +} + +body.selfservice { padding: 10px; } @@ -81,9 +84,9 @@ a.classicBold { } fieldset { -background-color:#fff3c8; -border:1px solid #af8800; -padding:10px; + background-color:#fff3c8; + border:1px solid #af8800; + padding:10px; } div.filled { @@ -127,8 +130,8 @@ input { table.lamHeader { background-image: url(lam-images/headerLine.png); padding: 0px; - margin: 0px; height: 35px; + margin: 0px; } /* table preferences */ @@ -296,14 +299,14 @@ td.loginLogo { width: 65px; } -div.roundedShadowBox { - border:2px solid #a0a0a4; - border-radius:5px; +.roundedShadowBox { + border: 2px solid #a0a0a4; + border-radius: 5px; box-shadow: 2px 2px 5px #a0a0a4; display: inline-block; background-color: white; padding: 20px; - max-width: 575px; + max-width: 580px; } div.centeredTable { diff --git a/lam/templates/config/conflogin.php b/lam/templates/config/conflogin.php index ba468ce6..1a3e6a63 100644 --- a/lam/templates/config/conflogin.php +++ b/lam/templates/config/conflogin.php @@ -3,7 +3,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) - Copyright (C) 2003 - 2014 Roland Gruber + Copyright (C) 2003 - 2015 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -62,7 +62,7 @@ echo $_SESSION['header']; echo _("Login"); ?> -
- +
diff --git a/lam/templates/config/mainlogin.php b/lam/templates/config/mainlogin.php index 1f94d362..3bfc68a4 100644 --- a/lam/templates/config/mainlogin.php +++ b/lam/templates/config/mainlogin.php @@ -3,7 +3,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) - Copyright (C) 2003 - 2014 Roland Gruber + Copyright (C) 2003 - 2015 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -72,7 +72,7 @@ echo $_SESSION['header']; echo _("Login"); ?> -
- +
addElement($gap); $passwordGroup->addElement(new htmlHelpLink('236')); $table->addElement($passwordGroup, true); - - + + $tabindex = 1; parseHtml(null, $table, array(), false, $tabindex, 'user'); ?> diff --git a/lam/templates/login.php b/lam/templates/login.php index 8c60f767..5748d8e6 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -4,7 +4,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) Copyright (C) 2003 - 2006 Michael Duergner - 2005 - 2014 Roland Gruber + 2005 - 2015 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -169,7 +169,7 @@ function display_LoginPage($config_object, $cfgMain) { setcookie("Key", base64_encode($key), 0, "/"); setcookie("IV", base64_encode($iv), 0, "/"); } - + $profiles = getConfigProfiles(); setlanguage(); // setting correct language @@ -177,7 +177,7 @@ function display_LoginPage($config_object, $cfgMain) { echo $_SESSION["header"]; ?> LDAP Account Manager - \n"; } - + // upgrade if pdf/profiles contain single files if (containsFiles('../config/profiles') || containsFiles('../config/pdf')) { $result = testPermissions(); @@ -224,7 +224,7 @@ function display_LoginPage($config_object, $cfgMain) { } // copy any missing default profiles copyConfigTemplates($profiles); - + // set focus on password field if (!empty($config_object)) { echo "