#12845 fix style hover
This commit is contained in:
parent
e402f713c7
commit
644308db4f
|
@ -2542,15 +2542,12 @@ if ($drawConsoleSound === true) {
|
|||
$output .= '<div id="progressbar_time"></div>';
|
||||
$output .= '<div class="buttons-sound-modal">';
|
||||
$output .= '<div class="container-button-play">';
|
||||
$output .= html_print_input(
|
||||
[
|
||||
'label' => __('Start'),
|
||||
'type' => 'button',
|
||||
'name' => 'start-search',
|
||||
'attributes' => [ 'class' => 'play secondary' ],
|
||||
'return' => true,
|
||||
],
|
||||
'div',
|
||||
$output .= html_print_button(
|
||||
__('Start'),
|
||||
'start-search',
|
||||
false,
|
||||
'',
|
||||
['icon' => 'play'],
|
||||
true
|
||||
);
|
||||
$output .= '</div>';
|
||||
|
|
|
@ -1261,6 +1261,10 @@ function action_events_sound(mode, settings) {
|
|||
$("#button-start-search")
|
||||
.removeClass("play")
|
||||
.addClass("stop");
|
||||
$("#button-start-search")
|
||||
.find("div")
|
||||
.removeClass("play")
|
||||
.addClass("stop");
|
||||
// Change value button.
|
||||
$("#button-start-search").val(settings.stop);
|
||||
$("#button-start-search > span").text(settings.stop);
|
||||
|
@ -1277,6 +1281,10 @@ function action_events_sound(mode, settings) {
|
|||
$("#button-start-search")
|
||||
.removeClass("stop")
|
||||
.addClass("play");
|
||||
$("#button-start-search")
|
||||
.find("div")
|
||||
.removeClass("stop")
|
||||
.addClass("play");
|
||||
// Change value button.
|
||||
$("#button-start-search").val(settings.start);
|
||||
$("#button-start-search > span").text(settings.start);
|
||||
|
|
|
@ -12819,9 +12819,9 @@ div.agents_custom_fields #datatables_wrapper div.bottom {
|
|||
|
||||
.actions-sound-modal .buttons-sound-modal button.play,
|
||||
.actions-sound-modal .buttons-sound-modal input[type="button"].play {
|
||||
background: url(../../images/play-white.png), transparent !important;
|
||||
/*background: url(../../images/play-white.png), transparent !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: 82px 14px !important;
|
||||
background-position: 82px 14px !important;*/
|
||||
color: #ffffff;
|
||||
padding-left: 20px;
|
||||
border: 0;
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
/*
|
||||
* Css Modal Sound events.
|
||||
*/
|
||||
div.container-button-play > button#button-start-search {
|
||||
transition: none !important;
|
||||
}
|
||||
.wizard {
|
||||
text-align: left;
|
||||
}
|
||||
|
@ -217,9 +214,9 @@ div.container-button-play > button#button-start-search {
|
|||
|
||||
.actions-sound-modal .buttons-sound-modal button.play,
|
||||
.actions-sound-modal .buttons-sound-modal input[type="button"].play {
|
||||
background: url(../../images/play-white.png), transparent !important;
|
||||
/*background: url(../../images/play-white.png), transparent !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: 82px 14px !important;
|
||||
background-position: 82px 14px !important;*/
|
||||
color: #ffffff !important;
|
||||
padding-left: 20px;
|
||||
border: 0;
|
||||
|
@ -263,11 +260,6 @@ button#button-no-alerts.silence-alerts:hover {
|
|||
background-position: 138px 4px !important;
|
||||
}
|
||||
|
||||
.actions-sound-modal .container-button-play {
|
||||
background-color: var(--primary-color);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.actions-sound-modal .container-button-alert.fired {
|
||||
background: #ee2132;
|
||||
border-radius: 8px;
|
||||
|
|
Loading…
Reference in New Issue