Skip to content

Commit

Permalink
fix(navbar): fixing navbar disabled item opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
myakovleva committed Mar 18, 2020
1 parent ac3bb32 commit 5280239
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/mosaic/core/theming/_components-theming.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
item_state-active_color: lighten(mc-color($primary, 700), 5%),
item_state-hover_color: lighten(mc-color($primary, 700), 5%),
item_state-progress_color: lighten(mc-color($primary, 800), 15%),
item_state-disabled_opacity: lighten(mc-color($primary, 800), 15%)
);

$popover: (
Expand Down Expand Up @@ -262,7 +261,6 @@
item_state-active_color: lighten(mc-color($primary, 700), 5%),
item_state-hover_color: lighten(mc-color($primary, 700), 5%),
item_state-progress_color: lighten(mc-color($primary, 800), 15%),
item_state-disabled_opacity: lighten(mc-color($primary, 800), 15%),
);

$popover: (
Expand Down
2 changes: 1 addition & 1 deletion packages/mosaic/navbar/_navbar-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
&[disabled] {
.mc-navbar-title,
.mc-icon {
opacity: map-get($navbar, item_state-disabled_opacity);
opacity: 0.3;
}
}
}
Expand Down

0 comments on commit 5280239

Please sign in to comment.