Files
Trilium/apps/client/src/stylesheets/relation_map.css

89 lines
1.9 KiB
CSS
Raw Normal View History

2022-12-06 23:01:42 +01:00
.type-relationMap .note-detail {
2021-01-21 22:05:56 +01:00
height: 100%;
}
.note-detail-relation-map {
2018-10-25 17:11:50 +02:00
height: 100%;
2018-11-12 09:57:48 +01:00
overflow: hidden !important;
padding: 10px;
2020-03-08 09:38:49 +01:00
position: relative;
2018-10-30 08:53:30 +01:00
}
.relation-map-wrapper {
position: relative;
2018-11-18 22:49:53 +01:00
height: 100%;
2018-11-12 09:57:48 +01:00
outline: none; /* remove dotted outline on click */
2018-10-25 12:06:36 +02:00
}
2019-06-09 21:48:30 +02:00
.note-detail-relation-map .note-box {
2018-10-18 11:46:07 +02:00
padding: 16px;
position: absolute !important;
background-color: var(--accented-background-color);
color: var(--main-text-color);
2018-10-18 11:46:07 +02:00
z-index: 4;
border: 1px solid #666;
box-shadow: 2px 2px 19px #999;
2018-10-18 11:46:07 +02:00
border-radius: 8px;
opacity: 0.8;
font-size: 11px;
2018-10-25 14:01:03 +02:00
width: auto;
height: auto;
max-width: 200px;
min-width: 150px;
max-height: 200px;
overflow: hidden;
2018-10-18 11:46:07 +02:00
}
2019-06-09 21:48:30 +02:00
.note-detail-relation-map .note-box:hover {
background-color: var(--more-accented-background-color);
2018-10-18 11:46:07 +02:00
}
2019-06-09 21:48:30 +02:00
.note-detail-relation-map .note-box .title {
2018-10-30 08:53:30 +01:00
font-size: larger;
font-weight: 600;
}
2025-01-09 18:07:02 +02: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 11:46:07 +02:00
}
2019-06-09 21:48:30 +02:00
.note-detail-relation-map .connection-label {
background-color: var(--accented-background-color);
color: var(--main-text-color);
2018-10-18 11:46:07 +02:00
opacity: 0.8;
padding: 0.3em;
border-radius: 0.5em;
border: 1px solid #666;
2018-10-18 11:46:07 +02:00
cursor: pointer;
}
2019-06-09 21:48:30 +02:00
.note-detail-relation-map .endpoint {
2018-10-18 11:46:07 +02:00
position: absolute;
bottom: 37%;
inset-inline-end: 5px;
2018-10-18 11:46:07 +02:00
width: 1em;
height: 1em;
background-color: #333;
2018-10-18 11:46:07 +02:00
cursor: pointer;
box-shadow: 0 0 2px black;
}
2019-06-09 21:48:30 +02:00
.note-detail-relation-map .endpoint:hover {
2018-10-18 11:46:07 +02:00
box-shadow: 0 0 6px black;
}
2019-06-09 21:48:30 +02:00
.note-detail-relation-map .dragHover {
2018-10-18 11:46:07 +02:00
border: 2px solid orange;
}
2025-01-09 18:07:02 +02:00
.note-detail-relation-map path,
.note-detail-relation-map .jtk-endpoint {
cursor: pointer;
}
2018-10-18 11:46:07 +02:00
2019-06-09 21:48:30 +02:00
.note-detail-relation-map .ui-contextmenu {
2018-10-18 11:46:07 +02:00
z-index: 100;
2021-01-21 22:05:56 +01:00
}