Merge pull request #20707 from overleaf/ii-bs3-btn-group

[web] BS3 button group colours fix

GitOrigin-RevId: 6986336d04b9e5f30531a9bc2836444e7b12907f
This commit is contained in:
ilkin-overleaf 2024-09-30 12:47:07 +03:00 committed by Copybot
parent 37806a9505
commit 8c4c118da9

View file

@ -26,17 +26,19 @@
} }
.btn-group { .btn-group {
.btn.active { label {
&.btn.active {
background-color: @neutral-20; background-color: @neutral-20;
} }
.btn[disabled] { &.btn[disabled] {
cursor: not-allowed; cursor: not-allowed;
background-color: @neutral-20; background-color: @neutral-20;
border-color: @neutral-20; border-color: @neutral-20;
opacity: 1; opacity: 1;
color: @neutral-90; color: @neutral-90;
} }
}
} }
// Prevent double borders when buttons are next to each other // Prevent double borders when buttons are next to each other