notion-enhancer/extension/repo/menu@a6621988-551d-495a-97d8-3c568bca2e9e/client.css

71 lines
1.6 KiB
CSS

/*
* notion-enhancer core: menu
* (c) 2021 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
* (https://notion-enhancer.github.io/) under the MIT license
*/
.enhancer--sidebarMenuTrigger {
user-select: none;
-webkit-user-select: none;
transition: background 20ms ease-in 0s;
cursor: pointer;
color: var(--theme--text_sidebar);
}
.enhancer--sidebarMenuTrigger:hover {
background: var(--theme--button-hover);
}
.enhancer--sidebarMenuTrigger svg {
width: 16px;
height: 16px;
margin-left: 2px;
}
.enhancer--sidebarMenuTrigger > div {
display: flex;
align-items: center;
min-height: 27px;
font-size: 14px;
padding: 2px 14px;
width: 100%;
}
.enhancer--sidebarMenuTrigger > div > :first-child {
flex-shrink: 0;
flex-grow: 0;
border-radius: 3px;
width: 22px;
height: 22px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 8px;
}
.enhancer--sidebarMenuTrigger > div > :nth-child(2) {
flex: 1 1 auto;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.enhancer--notifications {
color: var(--theme--text);
}
.enhancer--notifications > div > :last-child {
display: flex;
}
.enhancer--notifications > div > :last-child > div {
margin-left: auto;
margin-bottom: 2px;
display: inline-flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
font-size: 10px;
font-weight: 600;
border-radius: 3px;
color: var(--theme--tag_new-text);
background: var(--theme--tag_new);
}
.enhancer--notifications > div > :last-child > div > span {
margin-bottom: 1px;
margin-left: -0.5px;
}