umami/components/common/Menu.module.css

52 lines
627 B
CSS
Raw Normal View History

2020-08-06 08:03:07 +02:00
.menu {
2020-10-02 21:15:42 +02:00
background: var(--gray50);
2020-08-06 08:03:07 +02:00
border: 1px solid var(--gray500);
border-radius: 4px;
overflow: hidden;
z-index: 2;
}
.option {
font-size: var(--font-size-small);
font-weight: normal;
2020-09-20 10:33:39 +02:00
background: var(--gray50);
2020-08-06 08:03:07 +02:00
padding: 4px 16px;
cursor: pointer;
white-space: nowrap;
}
.option:hover {
2020-09-20 10:33:39 +02:00
background: var(--gray100);
2020-08-06 08:03:07 +02:00
}
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;
}
.divider {
border-top: 1px solid var(--gray300);
}
2020-09-21 06:31:53 +02:00
.selected {
font-weight: 600;
}