Fix: Try to have larger border to avoid having scroll bars appears when there is shadow

This commit is contained in:
Laurent Destailleur 2011-08-08 15:19:28 +00:00
parent 037dee0dce
commit 5ffd09fd98
2 changed files with 12 additions and 9 deletions

View File

@ -20,7 +20,7 @@
/**
* \file htdocs/theme/auguria/style.css.php
* \brief Fichier de style CSS du theme auguria
* \version $Id: style.css.php,v 1.92 2011/07/31 23:22:04 eldy Exp $
* \version $Id: style.css.php,v 1.93 2011/08/08 15:19:28 eldy Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
@ -194,8 +194,8 @@ td.vmenu {
}
div.fiche {
margin-<?php print $left; ?>: 4px;
margin-<?php print $right; ?>: 4px;
margin-<?php print $left; ?>: 10px;
margin-<?php print $right; ?>: 6px;
}
/* ============================================================================== */
@ -1026,7 +1026,7 @@ border-collapse: collapse;
border: 0px;
padding-top: 0px;
padding-<?php print $left; ?>: 0px;
padding-<?php print $right; ?>: 4px;
padding-<?php print $right; ?>: 10px;
padding-bottom: 4px;
margin: 0px 0px;
}

View File

@ -21,7 +21,7 @@
/**
* \file htdocs/theme/eldy/style.css.php
* \brief Fichier de style CSS du theme Eldy
* \version $Id: style.css.php,v 1.94 2011/08/07 22:58:48 eldy Exp $
* \version $Id: style.css.php,v 1.95 2011/08/08 15:19:28 eldy Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
@ -93,6 +93,9 @@ input {
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
input:focus, textarea:focus, button:focus {
box-shadow: 0 0 4px #8091BF;
}
input.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
@ -197,8 +200,8 @@ td.vmenu {
}
div.fiche {
margin-<?php print $left; ?>: 6px;
margin-<?php print $right; ?>: 5px;
margin-<?php print $left; ?>: 10px;
margin-<?php print $right; ?>: 6px;
}
/* ============================================================================== */
@ -1012,7 +1015,7 @@ border-collapse: collapse;
border: 0px;
padding-top: 0px;
padding-<?php print $left; ?>: 0px;
padding-<?php print $right; ?>: 4px;
padding-<?php print $right; ?>: 8px;
padding-bottom: 4px;
margin: 0px 0px;
}
@ -1282,7 +1285,7 @@ div.error {
color: #550000; font-weight: bold;
padding: 0.2em 0.2em 0.2em 0.2em;
margin: 0.5em 0em 0.5em 0em;
border: 1px solid #8C9CAB;
border: 1px solid #DC9CAB;
-moz-border-radius:6px;
-webkit-border-radius: 6px;
border-radius: 6px;