From 202c6b728ef7ad29e999a4844f29e8cc972b877a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Tue, 3 Dec 2013 20:53:39 +0100 Subject: [PATCH] Fix: Useless css styles make jmobile wrong --- htdocs/theme/amarok/style.css.php | 11 +---------- htdocs/theme/auguria/style.css.php | 9 --------- htdocs/theme/bureau2crea/style.css.php | 9 --------- htdocs/theme/cameleo/style.css.php | 8 -------- htdocs/theme/eldy/style.css.php | 8 -------- 5 files changed, 1 insertion(+), 44 deletions(-) diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 83dcd34de2b..fb585ba3a7b 100644 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -2232,7 +2232,7 @@ ul.ulmenu { } /* Style for first level menu with jmobile */ -.ui-bar-b { +.ui-bar-b, .lilevel0 { background: rgb(<?php echo $colorbacktitle1; ?>); background-repeat: repeat-x; <?php if ($usecss3) { ?> @@ -2261,15 +2261,6 @@ ul.ulmenu { background-image: -o-linear-gradient( #eee,#e1e1e1 ) !important; background-image: linear-gradient( #eee,#e1e1e1 ) !important; } -.lilevel1:hover, .lilevel2:hover, .lilevel3:hover, .lilevel4:hover { - background-image: -webkit-gradient(linear,left top,left bottom,from( #ddd ),to( #d1d1d1 )) !important; - background-image: -webkit-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -moz-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -ms-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -o-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: linear-gradient( #ddd,#d1d1d1 ) !important; -} - <?php diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index d07b3e314c1..554026a932c 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -2434,15 +2434,6 @@ ul.ulmenu { background-image: -o-linear-gradient( #eee,#e1e1e1 ) !important; background-image: linear-gradient( #eee,#e1e1e1 ) !important; } -.lilevel1:hover, .lilevel2:hover, .lilevel3:hover, .lilevel4:hover { - background-image: -webkit-gradient(linear,left top,left bottom,from( #ddd ),to( #d1d1d1 )) !important; - background-image: -webkit-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -moz-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -ms-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -o-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: linear-gradient( #ddd,#d1d1d1 ) !important; -} - <?php if (is_object($db)) $db->close(); diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index a643f923454..9288a55d49a 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -2588,15 +2588,6 @@ ul.ulmenu { background-image: -o-linear-gradient( #eee,#e1e1e1 ) !important; background-image: linear-gradient( #eee,#e1e1e1 ) !important; } -.lilevel1:hover, .lilevel2:hover, .lilevel3:hover, .lilevel4:hover { - background-image: -webkit-gradient(linear,left top,left bottom,from( #ddd ),to( #d1d1d1 )) !important; - background-image: -webkit-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -moz-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -ms-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -o-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: linear-gradient( #ddd,#d1d1d1 ) !important; -} - <?php diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index f80c5636c98..b00a9aaaea9 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -2502,14 +2502,6 @@ ul.ulmenu { background-image: -o-linear-gradient( #eee,#e1e1e1 ) !important; background-image: linear-gradient( #eee,#e1e1e1 ) !important; } -.lilevel1:hover, .lilevel2:hover, .lilevel3:hover, .lilevel4:hover { - background-image: -webkit-gradient(linear,left top,left bottom,from( #ddd ),to( #d1d1d1 )) !important; - background-image: -webkit-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -moz-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -ms-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: -o-linear-gradient( #ddd,#d1d1d1 ) !important; - background-image: linear-gradient( #ddd,#d1d1d1 ) !important; -} <?php diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index f877b9c39ff..d91411bd12e 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -2855,14 +2855,6 @@ ul.ulmenu { background-image: -o-linear-gradient( #ddd,#d1d1d1 ) !important; background-image: linear-gradient( #ddd,#d1d1d1 ) !important; } -.lilevel1:hover, .lilevel2:hover, .lilevel3:hover, .lilevel4:hover { - background-image: -webkit-gradient(linear,left top,left bottom,from( #ccc ),to( #c1c1c1 )) !important; - background-image: -webkit-linear-gradient( #ccc,#c1c1c1 ) !important; - background-image: -moz-linear-gradient( #ccc,#c1c1c1 ) !important; - background-image: -ms-linear-gradient( #ccc,#c1c1c1 ) !important; - background-image: -o-linear-gradient( #ccc,#c1c1c1 ) !important; - background-image: linear-gradient( #ccc,#c1c1c1 ) !important; -} <?php if ($dol_use_jmobile) { ?> .overflowwithjm200 { -- GitLab