Skip to content

Commit

Permalink
fix: update table navigation icons and states (#2157)
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
update responsive table navigation icon
  • Loading branch information
droshev committed Feb 25, 2021
1 parent 2dcc7dc commit 433f67a
Show file tree
Hide file tree
Showing 3 changed files with 873 additions and 78 deletions.
21 changes: 20 additions & 1 deletion src/table.scss
Expand Up @@ -274,12 +274,27 @@ $block: #{$fd-namespace}-table;
background-color: var(--sapList_Hover_SelectionBackground);
}
}

&--activable {
@include fd-selected() {
@include fd-active() {
background-color: var(--sapList_Active_Background);
}
}
}
}
}

&__cell,
&__row {
&--hoverable {
@include fd-selected() {
.#{$block}__cell {
@include fd-hover() {
background-color: var(--sapList_Hover_SelectionBackground);
}
}
}
&,
.#{$block}__cell {
@include fd-hover() {
Expand All @@ -291,6 +306,10 @@ $block: #{$fd-namespace}-table;

&--activable {
@include fd-trigger-element();

@include fd-selected() {
@include fd-trigger-element();
}
}

&--focusable {
Expand Down Expand Up @@ -404,7 +423,7 @@ $block: #{$fd-namespace}-table;
}
}

&.#{$block}__row--activable {
&.#{$block}__row--activable:not(:hover) {
@include fd-active() {
+ .#{$block}__row--secondary {
@include fd-table-active();
Expand Down

0 comments on commit 433f67a

Please sign in to comment.