bootstrap-btn: Remove bootstrap CSS for ".btn-success" elements.

We used "btn-success" class only in user profile modal subscribe
widget and the CSS rules applied by bootstrap on this class were
overridden by other CSS. We also remove the btn-success class
since this is a bootstrap-specific class and we no longer
need it.
This commit is contained in:
Sahil Batra 2023-10-03 16:05:47 +05:30 committed by Tim Abbott
parent cfc9dccb2a
commit 2df26f3d27
2 changed files with 1 additions and 37 deletions

View File

@ -1,7 +1,7 @@
<div class="user_profile_subscribe_widget">
{{> dropdown_widget widget_name="user_profile_subscribe"}}
<div class="add-subscription-button-wrapper">
<button type="button" name="subscribe" class="add-subscription-button button small rounded btn-success">
<button type="button" name="subscribe" class="add-subscription-button button small rounded">
{{t 'Subscribe' }}
</button>
</div>

View File

@ -113,42 +113,6 @@ THE SOFTWARE.
color: #fff;
background-color: #333;
}
.btn-success {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
color: #fff;
background-color: #47a447;
border-color: #398439;
}
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
.btn-success.disabled.active,
.btn-success[disabled].active {
background-color: #5cb85c;
border-color: #4cae4c;
}
.btn-success .badge {
color: #5cb85c;
background-color: #fff;
}
.btn-info {
color: #fff;
background-color: #5bc0de;