Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Sahil Batra2df26f3d27d2
diff --git a/web/templates/user_profile_subscribe_widget.hbs b/web/templates/user_profile_subscribe_widget.hbs
index b1e4fc3d1be..0ebd5f01845 100644
--- a/web/templates/user_profile_subscribe_widget.hbs
+++ b/web/templates/user_profile_subscribe_widget.hbs
@@ -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>
diff --git a/web/third/bootstrap/css/bootstrap-btn.css b/web/third/bootstrap/css/bootstrap-btn.css
index 95e39d62f45..d9ffdabf7ba 100644
--- a/web/third/bootstrap/css/bootstrap-btn.css
+++ b/web/third/bootstrap/css/bootstrap-btn.css
@@ -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;