Fix toggle button not showing background image

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
Maurício Meneghini Fauth 2017-12-05 15:53:14 -02:00
parent 261c39c815
commit 4a8bd1cf5c
3 changed files with 8 additions and 8 deletions

View File

@ -2594,11 +2594,9 @@ class Util
'pma_theme_image' => $GLOBALS['pmaThemeImage'],
'text_dir' => $GLOBALS['text_dir'],
'link_on' => $link_on,
'toggle_on' => str_replace(' ', '&nbsp;', htmlspecialchars(
$options[1]['label'])),
'toggle_off' => str_replace(' ', '&nbsp;', htmlspecialchars(
$options[0]['label'])),
'link_off' => $link_off,
'toggle_on' => $options[1]['label'],
'toggle_off' => $options[0]['label'],
'callback' => $callback,
'state' => $state
]);

View File

@ -2012,9 +2012,10 @@ fieldset .disabled-field td {
.toggleButton .container {
position: absolute;
}
.toggleButton .container td {
.toggleButton .container td,
.toggleButton .container tr {
background-image: none;
background: none;
background: none !important;
}
.toggleButton .toggleOn {
color: #fff;

View File

@ -2529,9 +2529,10 @@ fieldset .disabled-field td {
.toggleButton .container {
position: absolute;
}
.toggleButton .container td {
.toggleButton .container td,
.toggleButton .container tr {
background-image: none;
background: none;
background: none !important;
}
.toggleButton .toggleOn {
color: #fff;