trilium/src/public/stylesheets/relation_map.css

82 lines
1.5 KiB
CSS
Raw Normal View History

.note-detail-relation-map {
2018-10-25 23:11:50 +08:00
height: 100%;
2018-11-12 16:57:48 +08:00
overflow: hidden !important;
2018-10-30 15:53:30 +08:00
}
.relation-map-wrapper {
position: relative;
2018-11-19 05:49:53 +08:00
height: 100%;
2018-11-12 16:57:48 +08:00
outline: none; /* remove dotted outline on click */
2018-10-25 18:06:36 +08:00
}
2018-10-18 17:46:07 +08:00
.note-box {
padding: 16px;
position: absolute !important;
background-color: var(--accented-background-color);
color: var(--main-text-color);
2018-10-18 17:46:07 +08:00
z-index: 4;
border: 1px solid #666;
box-shadow: 2px 2px 19px #999;
2018-10-18 17:46:07 +08:00
border-radius: 8px;
opacity: 0.8;
font-size: 11px;
2018-10-25 20:01:03 +08:00
width: auto;
height: auto;
max-width: 200px;
min-width: 150px;
max-height: 200px;
overflow: hidden;
2018-10-18 17:46:07 +08:00
}
.note-box:hover {
background-color: var(--more-accented-background-color);
2018-10-18 17:46:07 +08:00
}
2018-10-30 15:53:30 +08:00
.note-box .title {
font-size: larger;
font-weight: 600;
}
.connection-label.jtk-hover, .jtk-source-hover, .jtk-target-hover {
background-color: var(--more-accented-background-color);
2018-10-18 17:46:07 +08:00
}
2018-10-30 15:53:30 +08:00
.connection-label {
background-color: var(--accented-background-color);
color: var(--main-text-color);
2018-10-18 17:46:07 +08:00
opacity: 0.8;
padding: 0.3em;
border-radius: 0.5em;
border: 1px solid #666;
2018-10-18 17:46:07 +08:00
cursor: pointer;
}
.endpoint {
position: absolute;
bottom: 37%;
right: 5px;
width: 1em;
height: 1em;
background-color: #333;
2018-10-18 17:46:07 +08:00
cursor: pointer;
box-shadow: 0 0 2px black;
}
.endpoint:hover {
box-shadow: 0 0 6px black;
}
.dragHover {
border: 2px solid orange;
}
path, .jtk-endpoint { cursor:pointer; }
.ui-contextmenu {
z-index: 100;
}
.floating-button {
position: absolute !important;
z-index: 100;
2018-10-18 17:46:07 +08:00
}