diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 778b332044..9f944e84c4 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -11,6 +11,13 @@ if (!defined('PMA_MINIMUM_COMMON')) { exit(); } + +function PMA_ieFilter($start_color, $end_color) +{ + return PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER >= 6 && PMA_USR_BROWSER_VER <= 8 + ? 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' . $start_color . '", endColorstr="' . $end_color . '");' + : ''; +} ?> /******************************************************************************/ /* general tags */ @@ -1439,10 +1446,12 @@ table#serverconnection_trg_local { -moz-border-radius: 11px; -webkit-border-radius: 11px; border-radius: 11px; + background-image: url(./themes/svg_gradient.php?from=ffffff&to=cccccc); + background-size: 100% 100%; background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); background: -moz-linear-gradient(top, #ffffff, #cccccc); background: -o-linear-gradient(top, #ffffff, #cccccc); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc'); + border: 1px solid #444444; cursor: pointer; } diff --git a/themes/pmahomme/css/theme_left.css.php b/themes/pmahomme/css/theme_left.css.php index cd37a5af0e..467e70a255 100644 --- a/themes/pmahomme/css/theme_left.css.php +++ b/themes/pmahomme/css/theme_left.css.php @@ -11,6 +11,13 @@ if (!defined('PMA_MINIMUM_COMMON')) { exit(); } + +function PMA_ieFilter($start_color, $end_color) +{ + return PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER >= 6 && PMA_USR_BROWSER_VER <= 8 + ? 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' . $start_color . '", endColorstr="' . $end_color . '");' + : ''; +} ?> /******************************************************************************/ /* general tags */ @@ -199,10 +206,12 @@ div#left_tableList li { #newtable a { display: block; padding: 1px; + background-image: url(./themes/svg_gradient.php?from=ffffff&to=cccccc); + background-size: 100% 100%; background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); background: -moz-linear-gradient(top, #ffffff, #cccccc); background: -o-linear-gradient(top, #ffffff, #cccccc); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc'); + border: 1px solid #aaa; -moz-border-radius: 20px; -webkit-border-radius: 20px; @@ -214,10 +223,12 @@ div#left_tableList li { } #newtable a:hover { + background-image: url(./themes/svg_gradient.php?from=cccccc&to=dddddd); + background-size: 100% 100%; background: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#dddddd)) !important; background: -moz-linear-gradient(top, #cccccc, #dddddd) !important; background: -o-linear-gradient(top, #cccccc, #dddddd) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#dddddd') !important; + } #newtable li a:hover { diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index 9795b30f41..2107354a04 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -11,6 +11,13 @@ if (!defined('PMA_MINIMUM_COMMON')) { exit(); } + +function PMA_ieFilter($start_color, $end_color) +{ + return PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER >= 6 && PMA_USR_BROWSER_VER <= 8 + ? 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' . $start_color . '", endColorstr="' . $end_color . '");' + : ''; +} ?> /******************************************************************************/ /* general tags */ @@ -98,10 +105,12 @@ a:hover { -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; + background-image: url(./themes/svg_gradient.php?from=ffffff&to=cccccc); + background-size: 100% 100%; background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); background: -moz-linear-gradient(top, #ffffff, #cccccc); background: -o-linear-gradient(top, #ffffff, #cccccc); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc'); + } dfn { @@ -117,10 +126,12 @@ th { font-weight: bold; color: ; background: #f3f3f3; + background-image: url(./themes/svg_gradient.php?from=ffffff&to=cccccc); + background-size: 100% 100%; background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); background: -moz-linear-gradient(top, #ffffff, #cccccc); background: -o-linear-gradient(top, #ffffff, #cccccc); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc'); + } a img { @@ -189,17 +200,21 @@ input[type=submit]{ text-shadow: 0px 1px 0px #fff; - background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); - background: -moz-linear-gradient(top, #ffffff, #cccccc); + background-image: url(./themes/svg_gradient.php?from=ffffff&to=cccccc); + background-size: 100% 100%; + background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); + background: -moz-linear-gradient(top, #ffffff, #cccccc); background: -o-linear-gradient(top, #ffffff, #cccccc); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc'); + } input[type=submit]:hover{ position: relative; - background: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#dddddd)); - background: -moz-linear-gradient(top, #cccccc, #dddddd); + background-image: url(./themes/svg_gradient.php?from=cccccc&to=dddddd); + background-size: 100% 100%; + background: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#dddddd)); + background: -moz-linear-gradient(top, #cccccc, #dddddd); background: -o-linear-gradient(top, #cccccc, #dddddd); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#dddddd'); + cursor:pointer; } @@ -297,7 +312,7 @@ select[multiple] { background: -webkit-linear-gradient(#fff, #f1f1f1 80%, #fbfbfb); background: -moz-linear-gradient(#fff, #f1f1f1 80%, #fbfbfb); /* none for Opera 11.10 as