mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
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:
@@ -1,7 +1,7 @@
|
|||||||
<div class="user_profile_subscribe_widget">
|
<div class="user_profile_subscribe_widget">
|
||||||
{{> dropdown_widget widget_name="user_profile_subscribe"}}
|
{{> dropdown_widget widget_name="user_profile_subscribe"}}
|
||||||
<div class="add-subscription-button-wrapper">
|
<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' }}
|
{{t 'Subscribe' }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
36
web/third/bootstrap/css/bootstrap-btn.css
vendored
36
web/third/bootstrap/css/bootstrap-btn.css
vendored
@@ -113,42 +113,6 @@ THE SOFTWARE.
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #333;
|
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 {
|
.btn-info {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #5bc0de;
|
background-color: #5bc0de;
|
||||||
|
|||||||
Reference in New Issue
Block a user