diff --git a/core/core.js.php b/core/core.js.php index 61120619..e0f24618 100755 --- a/core/core.js.php +++ b/core/core.js.php @@ -479,14 +479,14 @@ $(document).ready(function(){ * */ - $(".helpDisplayButton").on({ + $(".buttonHelp").on({ click: function () { $(".helpDisplayContent").slideToggle(); - if( $(".helpDisplayButton").css('opacity') > '0.75'){ - $(".helpDisplayButton").css('opacity','0.5'); + if( $(".buttonHelp").css('opacity') > '0.75'){ + $(".buttonHelp").css('opacity','0.5'); } else{ - $(".helpDisplayButton").css('opacity','1'); + $(".buttonHelp").css('opacity','1'); } } }); diff --git a/core/core.php b/core/core.php index ba1036d4..53bafa12 100755 --- a/core/core.php +++ b/core/core.php @@ -1872,6 +1872,8 @@ class core extends common { $css .= '.button.buttonGrey {background-color: ' . $colors['normal'] . ';color: ' . $colors['text'] . ';}.button.buttonGrey:hover {background-color:' . $colors['darken'] . ';color:' . $colors['text'] . ';}.button.buttonGrey:active {background-color:' . $colors['veryDarken'] . ';color:' . $colors['text'] . ';}'; $colors = helper::colorVariants($this->getData(['admin','backgroundColorButtonRed'])); $css .= '.button.buttonRed {background-color: ' . $colors['normal'] . ';color: ' . $colors['text'] . ';}.button.buttonRed:hover {background-color:' . $colors['darken'] . ';color:' . $colors['text'] . ';}.button.buttonRed:active {background-color:' . $colors['veryDarken'] . ';color:' . $colors['text'] . ';}'; + $colors = helper::colorVariants($this->getData(['admin','backgroundColorButtonHelp'])); + $css .= '.button.buttonHelp {background-color: ' . $colors['normal'] . ';color: ' . $colors['text'] . ';}.button.buttonHelp:hover {background-color:' . $colors['darken'] . ';color:' . $colors['text'] . ';}.button.buttonHelp:active {background-color:' . $colors['veryDarken'] . ';color:' . $colors['text'] . ';}'; $colors = helper::colorVariants($this->getData(['admin','backgroundColorButtonGreen'])); $css .= '.button.buttonGreen, button[type=submit] {background-color: ' . $colors['normal'] . ';color: ' . $colors['text'] . ';}.button.buttonGreen:hover, button[type=submit]:hover {background-color: ' . $colors['darken'] . ';color: ' . $colors['text'] .';}.button.buttonGreen:active, button[type=submit]:active {background-color: ' . $colors['darken'] . ';color: ' .$colors['text'] .';}'; $colors = helper::colorVariants($this->getData(['admin','backgroundBlockColor'])); diff --git a/core/layout/common.css b/core/layout/common.css index d3192e3e..7dff3e99 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -1708,11 +1708,5 @@ th.col12 { -webkit-box-shadow: 5px 5px 11px 0px #222222; box-shadow: 5px 5px 11px 0px #222222; border-radius: 5px; - background-color:#333; - color: white; z-index: 30; } - -.helpDisplayButton { - opacity: 1; -} diff --git a/core/module/addon/view/index/index.php b/core/module/addon/view/index/index.php index 0401c675..deadb2d6 100644 --- a/core/module/addon/view/index/index.php +++ b/core/module/addon/view/index/index.php @@ -10,7 +10,7 @@