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 {
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 {

View File

@ -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
@ -122,7 +122,7 @@ echo $_SESSION['header'];
<!-- form to change existing profiles -->
<form action="confmain.php" method="post" autocomplete="off">
<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>
<td style="border-style:none" rowspan="3" width="20"></td>
<td style="border-style:none" height="20"></td>

View File

@ -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
@ -137,7 +137,7 @@ echo $_SESSION['header'];
<form action="mainlogin.php" method="post" autocomplete="off">
<table align="center">
<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>
<?php
$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/)
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
@ -318,15 +318,16 @@ function display_LoginPage($config_object, $cfgMain) {
if (!empty($config_object)) {
?>
<br><br>
<div style="position:relative; z-index:5;">
<table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all">
<div class="centeredTable">
<div class="roundedShadowBox" style="position:relative; z-index:5;">
<table align="center" border="0" rules="none" bgcolor="white" class="ui-corner-all">
<tr>
<td class="loginLogo" style="border-style:none" rowspan="2">
</td>
<td style="border-style:none" width="580px">
<td style="border-style:none">
<form action="login.php" method="post">
<?php
$table = new htmlTable('580px');
$table = new htmlTable('500px');
$spacer = new htmlSpacer(null, '30px');
$spacer->colspan = 3;
$table->addElement($spacer, true);
@ -450,7 +451,7 @@ function display_LoginPage($config_object, $cfgMain) {
<td align="left" style="border-style:none">
<form action="login.php" method="post">
<?php
$table = new htmlTable('580px');
$table = new htmlTable();
$line = new htmlHorizontalLine();
$line->colspan = 2;
$table->addElement($line, true);
@ -483,6 +484,7 @@ function display_LoginPage($config_object, $cfgMain) {
</tr>
</table>
</div>
</div>
<?php
}
?>