Skip to content

Commit

Permalink
Fix: Pb with Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 3, 2011
1 parent a840958 commit 23da34b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
11 changes: 8 additions & 3 deletions htdocs/theme/auguria/style.css.php
Expand Up @@ -98,6 +98,9 @@
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
input:disabled {
background:#ddd;
}
textarea {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
Expand All @@ -114,6 +117,9 @@
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
textarea:disabled {
background:#ddd;
}
select.flat {
background: #FDFDFD;
font-size: <?php print $fontsize ?>px;
Expand Down Expand Up @@ -446,10 +452,9 @@
}

div.login {
display: inline;
white-space:nowrap;
padding: 0px 5px;
margin: 0px 0px 1px 0px;
padding: 8px 0px 0px 0px;
margin: 0px 0px 0px 8px;
font-weight: bold;
}
div.login a {
Expand Down
18 changes: 12 additions & 6 deletions htdocs/theme/eldy/style.css.php
Expand Up @@ -68,7 +68,7 @@
/* ============================================================================== */

body {
<?php if (! empty($_GET["optioncss"]) && $_GET["optioncss"] == 'print') { ?>
<?php if (GETPOST("optioncss") == 'print') { ?>
background-color: #FFFFFF;
<?php } else { ?>
background: #ffffff url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/headbg2.jpg' ?>) 0 0 no-repeat;
Expand Down Expand Up @@ -101,6 +101,9 @@
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
input:disabled {
background:#ddd;
}
textarea {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
Expand All @@ -117,6 +120,9 @@
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
textarea:disabled {
background:#ddd;
}
select.flat {
background: #FDFDFD;
font-size: <?php print $fontsize ?>px;
Expand Down Expand Up @@ -205,7 +211,7 @@
?>

div.tmenu {
<?php if (! empty($_GET["optioncss"]) && $_GET["optioncss"] == 'print') { ?>
<?php if (GETPOST("optioncss") == 'print') { ?>
display:none;
<?php } else { ?>
position: relative;
Expand Down Expand Up @@ -465,10 +471,9 @@
}

div.login {
display: inline;
white-space:nowrap;
padding: 0px 5px;
margin: 0px 0px 1px 0px;
padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
margin: 0px 0px 0px 8px;
font-weight: bold;
}
div.login a {
Expand All @@ -492,7 +497,7 @@
/* Menu gauche */
/* ============================================================================== */

<?php if ((! empty($_GET["optioncss"]) && $_GET["optioncss"] == 'print')
<?php if ((GETPOST("optioncss") == 'print')
|| (! empty($conf->browser->phone) && class_exists('Smartphone') && empty($conf->global->MAIN_SEARCHFORM_WITH_SMARTHPONE) && empty($conf->global->BOOKMARKS_SHOW_WITH_SMARTHPONE))) { ?>
.vmenu {
display: none;
Expand Down Expand Up @@ -1057,6 +1062,7 @@
border-left-width: 1px;
border-left-color: #BBBBBB;
border-left-style: solid;
height: 16px;
}

table.noborder td {
Expand Down

0 comments on commit 23da34b

Please sign in to comment.