umami/components/common/Menu.module.css

43 lines
493 B
CSS
Raw Normal View History

2020-08-06 08:03:07 +02:00
.menu {
border: 1px solid var(--gray500);
border-radius: 4px;
overflow: hidden;
z-index: 2;
}
.option {
font-size: var(--font-size-small);
font-weight: normal;
background: #fff;
padding: 4px 16px;
cursor: pointer;
white-space: nowrap;
}
.option:hover {
background: #f5f5f5;
}
2020-08-10 00:13:38 +02:00
.float {
position: absolute;
min-width: 100px;
}
.top {
bottom: 100%;
margin-bottom: 5px;
}
.bottom {
top: 100%;
margin-top: 5px;
}
2020-08-06 08:03:07 +02:00
.left {
left: 0;
}
.right {
right: 0;
}