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

We used "btn-primary" class only in integrations dev panel page
and this commit re-adds the CSS applied by this class in
integrations_dev_panel.css. We also remove the btn-primary class
since this is a bootstrap-specific class and we no longer
need it.
This commit is contained in:
Sahil Batra 2023-10-03 15:50:25 +05:30 committed by Tim Abbott
parent cc4a6d08e7
commit cfc9dccb2a
3 changed files with 15 additions and 38 deletions

View File

@ -95,8 +95,8 @@
</div> </div>
<textarea id="fixture_body"></textarea> <textarea id="fixture_body"></textarea>
<div class="buttons"> <div class="buttons">
<button id="send_all_fixtures_button" class="btn btn-primary">Send all</button> <button id="send_all_fixtures_button" class="btn">Send all</button>
<button id="send_fixture_button" class="btn btn-primary">Send!</button> <button id="send_fixture_button" class="btn">Send!</button>
</div> </div>
</div> </div>
<div class="col1"> <div class="col1">

View File

@ -114,6 +114,19 @@
justify-content: space-between; justify-content: space-between;
width: 92%; width: 92%;
margin-right: 2%; 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 { .centerpiece {

View File

@ -113,42 +113,6 @@ THE SOFTWARE.
color: #fff; color: #fff;
background-color: #333; 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 { .btn-success {
color: #fff; color: #fff;
background-color: #5cb85c; background-color: #5cb85c;