mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-19 22:12:13 +00:00
box shadow added to MetaItem popup menu
This commit is contained in:
parent
8cb2019e53
commit
51854561b7
2 changed files with 17 additions and 13 deletions
|
|
@ -81,7 +81,7 @@ class MetaItem extends Component {
|
|||
<div className={styles['title']}>{this.props.title}</div>
|
||||
{
|
||||
this.props.menu.length > 0 ?
|
||||
<Popup className={this.props.popupClassName} onOpen={this.onMenuPopupOpen} onClose={this.onMenuPopupClose}>
|
||||
<Popup className={classnames(styles['menu-popup-container'], this.props.popupClassName)} onOpen={this.onMenuPopupOpen} onClose={this.onMenuPopupClose}>
|
||||
<Popup.Label>
|
||||
<Icon
|
||||
className={classnames(styles['menu-icon'], { 'active': this.state.menuPopupOpen })}
|
||||
|
|
|
|||
|
|
@ -130,20 +130,24 @@
|
|||
}
|
||||
}
|
||||
|
||||
.menu-items-container {
|
||||
background-color: var(--color-surfacelighter);
|
||||
min-width: calc(var(--poster-relative-size) * 0.6);
|
||||
max-width: var(--poster-relative-size);
|
||||
.menu-popup-container {
|
||||
--box-shadow: 0 0 2em .15em var(--color-background);
|
||||
|
||||
.menu-item {
|
||||
width: 100%;
|
||||
color: var(--color-backgrounddarker);
|
||||
font-size: 1.2em;
|
||||
padding: 0.5em;
|
||||
.menu-items-container {
|
||||
background-color: var(--color-surfacelighter);
|
||||
min-width: calc(var(--poster-relative-size) * 0.6);
|
||||
max-width: var(--poster-relative-size);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-surfacelight);
|
||||
cursor: pointer;
|
||||
.menu-item {
|
||||
width: 100%;
|
||||
color: var(--color-backgrounddarker);
|
||||
font-size: 1.2em;
|
||||
padding: 0.5em;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-surfacelight);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue