scss: remove duplicated .pk-button and .pk-big-button selectors (#67858) #31

Closed
csechet wants to merge 1 commits from wip/67858-Classe-pk-button-et-pk-big-butto into main
1 changed files with 17 additions and 12 deletions

View File

@ -6,11 +6,14 @@
@import 'table'; @import 'table';
a.pk-button, a.pk-big-button { a {
@extend %button; &.pk-button, &.pk-big-button {
display: inline-block; @extend %button;
margin: 0; display: inline-block;
height: auto; margin: 0;
height: auto;
}
&.pk-button { &.pk-button {
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
} }
@ -19,14 +22,16 @@ a.pk-button, a.pk-big-button {
} }
} }
div.link-cell.pk-button, div.link-cell {
div.link-cell.pk-big-button { &.pk-button, &.pk-big-button {
ul > li > a { ul > li > a {
@extend %button; @extend %button;
display: block; display: block;
margin: 0; margin: 0;
height: auto; height: auto;
}
} }
&.pk-button ul > li > a { &.pk-button ul > li > a {
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
} }