trilium/src/public/stylesheets/relation_map.css

78 lines
1.8 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;
2019-05-22 04:35:01 +08:00
padding-top: 10px;
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
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .note-box {
2018-10-18 17:46:07 +08:00
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
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .note-box:hover {
background-color: var(--more-accented-background-color);
2018-10-18 17:46:07 +08:00
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .note-box .title {
2018-10-30 15:53:30 +08:00
font-size: larger;
font-weight: 600;
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .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
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .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;
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .endpoint {
2018-10-18 17:46:07 +08:00
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;
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .endpoint:hover {
2018-10-18 17:46:07 +08:00
box-shadow: 0 0 6px black;
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .dragHover {
2018-10-18 17:46:07 +08:00
border: 2px solid orange;
}
2019-06-10 03:48:30 +08:00
.note-detail-relation-map path, .note-detail-relation-map .jtk-endpoint { cursor:pointer; }
2018-10-18 17:46:07 +08:00
2019-06-10 03:48:30 +08:00
.note-detail-relation-map .ui-contextmenu {
2018-10-18 17:46:07 +08:00
z-index: 100;
}