element-call/src/Menu.module.css

40 lines
580 B
CSS
Raw Normal View History

2021-12-07 01:34:10 +00:00
.menu {
width: 100%;
padding: 0;
margin: 0;
list-style: none;
}
.menuItem {
cursor: pointer;
height: 48px;
display: flex;
align-items: center;
padding: 0 12px;
color: var(--textColor1);
font-size: 14px;
}
.menuItem > * {
margin-right: 10px;
}
.menuItem > :last-child {
margin-right: 0;
}
.menuItem.focused,
.menuItem:hover {
2021-12-13 19:58:30 +00:00
background-color: var(--bgColor4);
2021-12-07 01:34:10 +00:00
}
.menuItem.focused:first-child,
.menuItem:hover:first-child {
border-radius: 8px 8px 0 0;
}
.menuItem.focused:last-child,
.menuItem:hover:last-child {
border-radius: 0 0 8px 8px;
}