-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(FlyoutMenuOption): added shadow:true & css (#498)
- Loading branch information
1 parent
8506aaa
commit 08eb1c6
Showing
3 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
packages/core-components/src/components/flyout-menu/flyout-menu-option.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@use '../../global/b2b-styles'; | ||
|
||
:host { | ||
display: block; | ||
padding: var(--b2b-size-15) var(--b2b-size-30) 5px var(--b2b-size-30); | ||
border-bottom: 1px solid transparent; | ||
cursor: pointer; | ||
} | ||
|
||
:host(.b2b-flyout-menu__option:hover), | ||
:host(.b2b-flyout-menu__option:focus) { | ||
background-color: var(--b2b-color-table-selected-hover); | ||
outline: none; | ||
} | ||
|
||
:host(.b2b-flyout-menu__option--disabled) { | ||
pointer-events: none; | ||
color: var(--b2b-color-grey-200); | ||
} | ||
|
||
:host(.b2b-flyout-menu__option--separator) { | ||
border-bottom: 1px solid var(--b2b-color-grey-200); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters