Skip to content

Commit

Permalink
Merge pull request #2496 from QuizandSurveyMaster/CU-86cu2thhj-global…
Browse files Browse the repository at this point in the history
…-settings

update style tab design
  • Loading branch information
zubairraeen authored Mar 14, 2024
2 parents 948ac24 + b669ae8 commit ab1c380
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 113 deletions.
1 change: 1 addition & 0 deletions css/qsm-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,7 @@ tr .qsm-opt-desc {
margin-top: 5px;
display: block;
font-size: 14px;
font-weight: 400;
}
.form-table .send_email .qsm-opt-tr, .form-table .send_email td {
padding-top: 0;
Expand Down
7 changes: 2 additions & 5 deletions js/qsm-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ var QSMAdmin;
if ($('.footer-bar-notice').find('.notice-error').length > 0) {
$('.footer-bar-notice').css('color', 'red');
}
$('.footer-bar-notice .notice').fadeOut(5000);
},
clearAlerts: function () {
$('.qsm-alerts').empty();
Expand Down Expand Up @@ -70,12 +69,10 @@ var QSMAdmin;
$(document).ready(function(){
if ($('.footer-bar-notice').find('.updated').length > 0) {
$('.footer-bar-notice').css('color', 'green');
$('.footer-bar-notice .updated').fadeOut(5000);
}

if ($('.footer-bar-notice').find('.error').length > 0) {
$('.footer-bar-notice').css('color', 'red');
$('.footer-bar-notice .error').fadeOut(5000);
}
});

Expand Down Expand Up @@ -3901,8 +3898,8 @@ var import_button;
alert("Error: " + error);
}
});
}
});
}
});

jQuery(document).on('click', '.qsm-mark-as-default', function () {
jQuery('.qsm-mark-as-default').not(jQuery(this)).prop('checked', false);
Expand Down
Loading

0 comments on commit ab1c380

Please sign in to comment.