13415-Fix button color dark theme

This commit is contained in:
Pablo Aragon 2024-04-11 12:49:33 +02:00
parent aaa3761a86
commit 703517cf18
4 changed files with 51 additions and 9 deletions

View File

@ -10553,6 +10553,13 @@ select {
box-sizing: border-box;
}
input.buttonButton {
border: 0px;
outline: 0px;
border-radius: 8px;
line-height: normal;
}
input[list],
textarea[list],
select[list] {
@ -11163,7 +11170,6 @@ button.ui-button-text-only.ui-widget.sub {
font-size: 16px !important;
align-items: center;
line-height: 24px;
box-shadow: 0px 3px 6px #c7c7c7;
border-radius: 16px;
cursor: pointer;
padding: 0 16px;
@ -14195,3 +14201,12 @@ table#snmp_console tbody .datos_orange * {
background-color: var(--events-priority-bg-orange);
color: var(--events-priority-text-orange) !important;
}
button.ui-button-text-only.ui-widget.sub:hover,
#button_generate_code input.buttonButton:hover {
box-shadow: 0px 3px 6px #c7c7c7;
}
#button_generate_code input.buttonButton {
box-shadow: none;
}

View File

@ -2008,3 +2008,27 @@ div.show_result_interpreter {
border: 1px solid var(--border-color);
border-top: 0;
}
button.ui-button-text-only.ui-widget.sub:hover,
#button_generate_code input.buttonButton:hover,
#registration_wizard button[type="submit"]:hover {
box-shadow: 0px 2px 5px #837e7e6b;
}
#registration_wizard button[type="submit"].submit-cancel:hover {
color: var(--text-color) !important;
}
#button_generate_code input.buttonButton,
#registration_wizard button[type="submit"]:not(.submit-cancel) {
background-color: var(--primary-color) !important;
box-shadow: none;
}
#registration_wizard button[type="submit"] > span {
line-height: normal;
}
button.secondaryButton {
color: var(--text-color) !important;
}

View File

@ -1,10 +1,11 @@
div.submit_buttons_container {
position: relative;
margin: 10px auto 0px;
bottom: 0px;
width: 95%;
clear: both;
height: 4em;
display: flex;
align-items: center;
justify-content: space-between;
}
.license_text {
@ -13,3 +14,7 @@ div.submit_buttons_container {
text-align: justify;
margin: 1em auto;
}
div.submit_buttons_container > div {
display: initial;
}

View File

@ -80,26 +80,24 @@ $product_name = get_product_name(); ?>
</div>
<div class="submit_buttons_container">
<div class="left">
<div class="ui-dialog-buttonset mrgn_lft_15px">
<?php
echo html_print_submit_button(
__('Cancel'),
'cancel_registration',
false,
'id="submit-cancel_registration" class="lato ui-widget
ui-state-default ui-corner-all ui-button-text-only sub upd submit-cancel"',
'id="submit-cancel_registration" class="submit-cancel secondaryButton ui-button ui-corner-all ui-widget"',
true
);
?>
</div>
<div class="right">
<div class="ui-dialog-buttonset right">
<?php
echo html_print_submit_button(
__('OK!'),
'register',
false,
'id="submit-register" class="lato ui-widget
ui-state-default ui-corner-all ui-button-text-only sub ok submit-next w100px"',
'id="submit-register" class="submit-next ui-button ui-corner-all ui-widget"',
true
);
?>