2019-01-14 04:16:51 +08:00
|
|
|
body {
|
|
|
|
font-size: var(--main-font-size);
|
|
|
|
}
|
|
|
|
|
2018-12-29 02:47:02 +08:00
|
|
|
#container {
|
|
|
|
margin: 0 auto; /* center */
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "header header"
|
2019-05-01 04:31:12 +08:00
|
|
|
"left-pane tabs"
|
2019-05-01 15:52:45 +08:00
|
|
|
"left-pane tab-container";
|
2018-12-29 02:47:02 +08:00
|
|
|
grid-template-rows: auto
|
|
|
|
auto
|
|
|
|
1fr;
|
|
|
|
|
|
|
|
justify-content: center;
|
2019-05-08 04:14:35 +08:00
|
|
|
grid-gap: 0;
|
2018-12-29 02:47:02 +08:00
|
|
|
}
|
|
|
|
|
2019-04-29 03:24:13 +08:00
|
|
|
#container.distraction-free-mode {
|
|
|
|
grid-template-areas:
|
|
|
|
"title"
|
|
|
|
"note-detail" !important;
|
|
|
|
grid-template-rows: auto
|
|
|
|
auto
|
|
|
|
!important;
|
|
|
|
grid-template-columns: 1fr !important;
|
|
|
|
}
|
|
|
|
|
2019-05-01 16:17:17 +08:00
|
|
|
#note-tab-container {
|
2019-05-01 15:52:45 +08:00
|
|
|
grid-area: tab-container;
|
|
|
|
min-height: 0;
|
2019-05-08 04:14:35 +08:00
|
|
|
padding-left: 10px;
|
2019-05-01 15:52:45 +08:00
|
|
|
}
|
|
|
|
|
2018-12-29 02:47:02 +08:00
|
|
|
#search-box {
|
|
|
|
display: none;
|
|
|
|
padding: 10px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tree {
|
|
|
|
overflow: auto;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-basis: 60%;
|
|
|
|
margin-top: 10px;
|
2019-02-03 03:45:38 +08:00
|
|
|
font-family: var(--tree-font-family);
|
2019-01-14 04:16:51 +08:00
|
|
|
font-size: var(--tree-font-size);
|
2018-12-29 02:47:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#left-pane {
|
|
|
|
grid-area: left-pane;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
|
|
|
grid-area: header;
|
2019-01-14 01:57:46 +08:00
|
|
|
background-color: var(--header-background-color);
|
2018-12-29 02:47:02 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#header button {
|
|
|
|
padding: 1px 5px 1px 5px;
|
2019-01-14 04:04:08 +08:00
|
|
|
font-size: smaller;
|
2019-01-05 18:41:09 +08:00
|
|
|
margin-bottom: 2px;
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#history-navigation {
|
|
|
|
margin: 0 15px 0 5px;
|
|
|
|
position: relative;
|
2019-01-05 18:49:17 +08:00
|
|
|
top: 2px;
|
2018-12-29 02:47:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#global-buttons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
padding: 10px 0 10px 0;
|
2019-02-03 17:09:59 +08:00
|
|
|
border: 1px solid var(--main-border-color);
|
2019-01-07 03:59:19 +08:00
|
|
|
border-radius: 7px;
|
2019-05-08 04:14:35 +08:00
|
|
|
margin: 10px 10px 0;
|
2018-12-29 17:04:59 +08:00
|
|
|
}
|
|
|
|
|
2019-04-30 03:31:19 +08:00
|
|
|
.dropdown-menu {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2019-03-17 18:38:27 +08:00
|
|
|
#context-menu-container, #context-menu-container .dropdown-menu {
|
2018-12-29 17:04:59 +08:00
|
|
|
padding: 3px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#context-menu-container .dropdown-item {
|
|
|
|
padding: 0 7px 0 10px;
|
2019-04-02 03:11:20 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.dropdown-submenu:hover > ul.dropdown-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-submenu {
|
|
|
|
position:relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-submenu > .dropdown-menu {
|
|
|
|
top: 0;
|
|
|
|
left: 100%;
|
|
|
|
margin-top: -6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* rotate caret on hover */
|
|
|
|
.dropdown-menu > li > a:hover:after {
|
|
|
|
text-decoration: underline;
|
|
|
|
transform: rotate(-90deg);
|
2018-12-31 04:13:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.fancytree-loading span.fancytree-expander {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fancytree-loading span.fancytree-expander:after {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
margin-top: 2px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2019-01-14 04:16:51 +08:00
|
|
|
}
|
|
|
|
|
2019-05-01 16:17:17 +08:00
|
|
|
.note-tab-content {
|
2019-05-01 15:52:45 +08:00
|
|
|
font-family: var(--detail-font-family);
|
2019-01-14 04:16:51 +08:00
|
|
|
font-size: var(--detail-font-size);
|
2019-02-03 17:21:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2019-02-03 18:15:32 +08:00
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid var(--main-border-color);
|
2019-02-15 03:56:33 +08:00
|
|
|
}
|
|
|
|
|
2019-05-06 00:24:59 +08:00
|
|
|
#note-info-table td, #note-info-table th {
|
2019-02-15 03:56:33 +08:00
|
|
|
padding: 15px;
|
2019-02-24 18:36:01 +08:00
|
|
|
}
|
|
|
|
|
2019-03-01 05:32:54 +08:00
|
|
|
[data-toggle="tooltip"] span {
|
|
|
|
padding-bottom: 0;
|
|
|
|
border-bottom: 1px dotted;
|
2019-03-17 18:38:27 +08:00
|
|
|
}
|
|
|
|
|
2019-03-30 07:12:32 +08:00
|
|
|
.refresh-search-button {
|
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
2019-05-08 04:14:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-title-row {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-top: 10px;
|
2019-05-12 01:44:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row {
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
height: 33px;
|
|
|
|
background: var(--main-background-color);
|
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
overflow: hidden;
|
|
|
|
grid-area: tabs;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
.note-tab-row * {
|
|
|
|
box-sizing: inherit;
|
|
|
|
font: inherit;
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab-row-content {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
height: 36px;
|
|
|
|
width: 240px;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
z-index: 1;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row .note-tab[active] {
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row .note-tab,
|
|
|
|
.note-tab-row .note-tab * {
|
|
|
|
user-select: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row .note-tab.note-tab-was-just-added {
|
|
|
|
top: 10px;
|
|
|
|
animation: note-tab-was-just-added 120ms forwards ease-in-out;
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab .note-tab-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: var(--tab-content-margin);
|
|
|
|
right: var(--tab-content-margin);
|
|
|
|
padding: 5px 8px;
|
|
|
|
border-top-left-radius: 8px;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
pointer-events: all;
|
|
|
|
background-color: var(--accented-background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row .note-tab[active] .note-tab-wrapper {
|
|
|
|
background-color: var(--more-accented-background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row .note-tab[is-mini] .note-tab-wrapper {
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab .note-tab-title {
|
|
|
|
flex: 1;
|
|
|
|
vertical-align: top;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
color: var(--muted-text-color);
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab[is-small] .note-tab-title {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab[active] .note-tab-title {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab .note-tab-drag-handle {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
border-top-left-radius: 8px;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab .note-tab-close {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
z-index: 100;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row .note-tab .note-tab-close span {
|
|
|
|
font-size: 24px;
|
|
|
|
position: relative;
|
|
|
|
top: -6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row .note-tab .note-tab-close:hover {
|
|
|
|
background-color: var(--hover-item-background-color);
|
|
|
|
color: var(--hover-item-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tab-row .note-tab[is-smaller] .note-tab-close {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab[is-mini]:not([active]) .note-tab-close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.note-tab-row .note-tab[is-mini][active] .note-tab-close {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
@-moz-keyframes note-tab-was-just-added {
|
|
|
|
to {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-webkit-keyframes note-tab-was-just-added {
|
|
|
|
to {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-o-keyframes note-tab-was-just-added {
|
|
|
|
to {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes note-tab-was-just-added {
|
|
|
|
to {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.note-tab-row.note-tab-row-is-sorting .note-tab:not(.note-tab-is-dragging),
|
|
|
|
.note-tab-row:not(.note-tab-row-is-sorting) .note-tab.note-tab-was-just-dragged {
|
|
|
|
transition: transform 120ms ease-in-out;
|
2018-12-29 02:47:02 +08:00
|
|
|
}
|