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-primary" elements.

Sahil Batracfc9dccb2a56
diff --git a/templates/zerver/development/integrations_dev_panel.html b/templates/zerver/development/integrations_dev_panel.html
index 37f6fb4368d..a98f3929183 100644
--- a/templates/zerver/development/integrations_dev_panel.html
+++ b/templates/zerver/development/integrations_dev_panel.html
@@ -95,8 +95,8 @@
</div>
<textarea id="fixture_body"></textarea>
<div class="buttons">
- <button id="send_all_fixtures_button" class="btn btn-primary">Send all</button>
- <button id="send_fixture_button" class="btn btn-primary">Send!</button>
+ <button id="send_all_fixtures_button" class="btn">Send all</button>
+ <button id="send_fixture_button" class="btn">Send!</button>
</div>
</div>
<div class="col1">
diff --git a/web/styles/portico/integrations_dev_panel.css b/web/styles/portico/integrations_dev_panel.css
index e0aac923276..ddff1aa9098 100644
--- a/web/styles/portico/integrations_dev_panel.css
+++ b/web/styles/portico/integrations_dev_panel.css
@@ -114,6 +114,19 @@
justify-content: space-between;
width: 92%;
margin-right: 2%;
+
+ button {
+ color: hsl(0deg 0% 100%);
+ background-color: hsl(208deg 56% 53%);
+ border-color: hsl(208deg 56% 47%);
+
+ &:hover,
+ &:active,
+ &:focus {
+ background-color: hsl(208deg 56% 45%);
+ border-color: hsl(208deg 56% 36%);
+ }
+ }
}
.centerpiece {
diff --git a/web/third/bootstrap/css/bootstrap-btn.css b/web/third/bootstrap/css/bootstrap-btn.css
index b7212e911df..95e39d62f45 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-primary {
- color: #fff;
- background-color: #428bca;
- border-color: #357ebd;
-}
-.btn-primary:hover,
-.btn-primary:focus,
-.btn-primary:active,
-.btn-primary.active,
-.open .dropdown-toggle.btn-primary {
- color: #fff;
- background-color: #3276b1;
- border-color: #285e8e;
-}
-.btn-primary:active,
-.btn-primary.active,
-.open .dropdown-toggle.btn-primary {
- background-image: none;
-}
-.btn-primary.disabled,
-.btn-primary[disabled],
-.btn-primary.disabled:hover,
-.btn-primary[disabled]:hover,
-.btn-primary.disabled:focus,
-.btn-primary[disabled]:focus,
-.btn-primary.disabled:active,
-.btn-primary[disabled]:active,
-.btn-primary.disabled.active,
-.btn-primary[disabled].active {
- background-color: #428bca;
- border-color: #357ebd;
-}
-.btn-primary .badge {
- color: #428bca;
- background-color: #fff;
-}
.btn-success {
color: #fff;
background-color: #5cb85c;