copy: Make use of Less nesting features

Change-Id: Ieb38d425a29baaa95188f553959dc21b9cd31b7b
This commit is contained in:
Taavi Väänänen 2024-09-29 14:14:07 +03:00
parent 38cbb6fed6
commit 5a748da27c
No known key found for this signature in database
GPG key ID: EF242F709F912FBE

View file

@ -23,17 +23,17 @@
background: @background-color-base;
color: @color-progressive;
border: 1px solid @border-color-muted;
}
.mw-highlight-copy--bound button:hover {
cursor: pointer;
color: @color-progressive--hover;
background: @background-color-interactive-subtle;
border-color: @border-color-progressive--hover;
}
&:hover {
cursor: pointer;
color: @color-progressive--hover;
background: @background-color-interactive-subtle;
border-color: @border-color-progressive--hover;
}
.mw-highlight-copy--bound button:active {
color: @color-progressive--active;
background: @background-color-interactive;
border-color: @border-color-progressive--active;
&:active {
color: @color-progressive--active;
background: @background-color-interactive;
border-color: @border-color-progressive--active;
}
}