box shadow

This commit is contained in:
Roland Gruber 2015-08-02 19:16:46 +00:00
parent e41332d624
commit bd1337f6af
4 changed files with 34 additions and 29 deletions

View File

@ -37,6 +37,9 @@ h1,h2,h3 { color:black; }
body { body {
background-color:#F5F5F5; background-color:#F5F5F5;
}
body.selfservice {
padding: 10px; padding: 10px;
} }
@ -81,9 +84,9 @@ a.classicBold {
} }
fieldset { fieldset {
background-color:#fff3c8; background-color:#fff3c8;
border:1px solid #af8800; border:1px solid #af8800;
padding:10px; padding:10px;
} }
div.filled { div.filled {
@ -127,8 +130,8 @@ input {
table.lamHeader { table.lamHeader {
background-image: url(lam-images/headerLine.png); background-image: url(lam-images/headerLine.png);
padding: 0px; padding: 0px;
margin: 0px;
height: 35px; height: 35px;
margin: 0px;
} }
/* table preferences */ /* table preferences */
@ -296,14 +299,14 @@ td.loginLogo {
width: 65px; width: 65px;
} }
div.roundedShadowBox { .roundedShadowBox {
border:2px solid #a0a0a4; border: 2px solid #a0a0a4;
border-radius:5px; border-radius: 5px;
box-shadow: 2px 2px 5px #a0a0a4; box-shadow: 2px 2px 5px #a0a0a4;
display: inline-block; display: inline-block;
background-color: white; background-color: white;
padding: 20px; padding: 20px;
max-width: 575px; max-width: 580px;
} }
div.centeredTable { div.centeredTable {

View File

@ -3,7 +3,7 @@
$Id$ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) 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 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 it under the terms of the GNU General Public License as published by
@ -122,7 +122,7 @@ echo $_SESSION['header'];
<!-- form to change existing profiles --> <!-- form to change existing profiles -->
<form action="confmain.php" method="post" autocomplete="off"> <form action="confmain.php" method="post" autocomplete="off">
<table align="center"><tr><td> <table align="center"><tr><td>
<table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all"> <table align="center" border="0" rules="none" bgcolor="white" class="ui-corner-all roundedShadowBox">
<tr> <tr>
<td style="border-style:none" rowspan="3" width="20"></td> <td style="border-style:none" rowspan="3" width="20"></td>
<td style="border-style:none" height="20"></td> <td style="border-style:none" height="20"></td>

View File

@ -3,7 +3,7 @@
$Id$ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) 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 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 it under the terms of the GNU General Public License as published by
@ -137,7 +137,7 @@ echo $_SESSION['header'];
<form action="mainlogin.php" method="post" autocomplete="off"> <form action="mainlogin.php" method="post" autocomplete="off">
<table align="center"> <table align="center">
<tr><td> <tr><td>
<table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all" style="padding: 20px;"> <table align="center" border="0" rules="none" bgcolor="white" class="ui-corner-all roundedShadowBox" style="padding: 20px;">
<tr><td> <tr><td>
<?php <?php
$spacer = new htmlSpacer('20px', '20px'); $spacer = new htmlSpacer('20px', '20px');

View File

@ -4,7 +4,7 @@ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2003 - 2006 Michael Duergner 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 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 it under the terms of the GNU General Public License as published by
@ -318,15 +318,16 @@ function display_LoginPage($config_object, $cfgMain) {
if (!empty($config_object)) { if (!empty($config_object)) {
?> ?>
<br><br> <br><br>
<div style="position:relative; z-index:5;"> <div class="centeredTable">
<table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all"> <div class="roundedShadowBox" style="position:relative; z-index:5;">
<table align="center" border="0" rules="none" bgcolor="white" class="ui-corner-all">
<tr> <tr>
<td class="loginLogo" style="border-style:none" rowspan="2"> <td class="loginLogo" style="border-style:none" rowspan="2">
</td> </td>
<td style="border-style:none" width="580px"> <td style="border-style:none">
<form action="login.php" method="post"> <form action="login.php" method="post">
<?php <?php
$table = new htmlTable('580px'); $table = new htmlTable('500px');
$spacer = new htmlSpacer(null, '30px'); $spacer = new htmlSpacer(null, '30px');
$spacer->colspan = 3; $spacer->colspan = 3;
$table->addElement($spacer, true); $table->addElement($spacer, true);
@ -450,7 +451,7 @@ function display_LoginPage($config_object, $cfgMain) {
<td align="left" style="border-style:none"> <td align="left" style="border-style:none">
<form action="login.php" method="post"> <form action="login.php" method="post">
<?php <?php
$table = new htmlTable('580px'); $table = new htmlTable();
$line = new htmlHorizontalLine(); $line = new htmlHorizontalLine();
$line->colspan = 2; $line->colspan = 2;
$table->addElement($line, true); $table->addElement($line, true);
@ -483,6 +484,7 @@ function display_LoginPage($config_object, $cfgMain) {
</tr> </tr>
</table> </table>
</div> </div>
</div>
<?php <?php
} }
?> ?>