mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-07 05:59:02 +00:00
59 lines
1.4 KiB
CSS
59 lines
1.4 KiB
CSS
/*
|
|
* notion-enhancer: integrated titlebar
|
|
* (c) 2021 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
|
|
* (https://notion-enhancer.github.io/) under the MIT license
|
|
*/
|
|
|
|
.integrated_titlebar--dragarea {
|
|
width: 100%;
|
|
display: block;
|
|
-webkit-app-region: drag;
|
|
background: var(--theme--bg_secondary);
|
|
}
|
|
|
|
.integrated_titlebar--buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.integrated_titlebar--buttons[data-in-enhancer-menu] {
|
|
margin: -0.5rem 0 0.75rem auto;
|
|
}
|
|
|
|
.integrated_titlebar--buttons button {
|
|
user-select: none;
|
|
transition: background 20ms ease-in 0s;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
border-radius: 3px;
|
|
height: 28px;
|
|
width: 33px;
|
|
padding: 0 0.25px 0 0;
|
|
|
|
margin-left: 2px;
|
|
border: none;
|
|
background: transparent;
|
|
font-size: 18px;
|
|
}
|
|
.integrated_titlebar--buttons button svg {
|
|
display: block;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.integrated_titlebar--buttons button:focus,
|
|
.integrated_titlebar--buttons button:hover {
|
|
background: var(--theme--ui_interactive-hover);
|
|
}
|
|
.integrated_titlebar--buttons button:active {
|
|
background: var(--theme--ui_interactive-active);
|
|
}
|
|
#integrated_titlebar--close:focus,
|
|
#integrated_titlebar--close:hover,
|
|
#integrated_titlebar--close:active {
|
|
background: var(--theme--accent_red);
|
|
color: var(--theme--accent_red-text);
|
|
}
|