trilium/src/public/stylesheets/relation-map.css
2018-10-30 08:53:30 +01:00

102 lines
1.9 KiB
CSS

#note-detail-relation-map {
height: 100%;
overflow: hidden;
}
/* this is removing dotted border around focused/active relation map */
#note-detail-relation-map, #note-detail-relation-map:active, #note-detail-relation-map:focus {
outline: none;
}
#relation-map-canvas {
position: absolute; /* needs to be absolute otherwise connections will be misplaced */
}
.note-box {
padding: 16px;
position: absolute !important;
z-index: 4;
border: 1px solid #2e6f9a;
box-shadow: 2px 2px 19px #e0e0e0;
border-radius: 8px;
opacity: 0.8;
background-color: white;
font-size: 11px;
transition: background-color 0.25s ease-in;
width: auto;
height: auto;
max-width: 200px;
min-width: 150px;
max-height: 200px;
overflow: hidden;
}
.note-box:hover {
background-color: #5c96bc;
color: white;
}
.note-box .title {
font-size: larger;
font-weight: 600;
}
.connection-label {
transition: background-color 0.25s ease-in;
}
.connection-label.jtk-hover, .jtk-source-hover, .jtk-target-hover {
background-color: #1e8151;
color: white;
}
.connection-label {
background-color: white;
opacity: 0.8;
padding: 0.3em;
border-radius: 0.5em;
border: 1px solid #346789;
cursor: pointer;
}
.endpoint {
position: absolute;
bottom: 37%;
right: 5px;
width: 1em;
height: 1em;
background-color: orange;
cursor: pointer;
box-shadow: 0 0 2px black;
transition: box-shadow 0.25s ease-in;
}
.endpoint:hover {
box-shadow: 0 0 6px black;
}
.statemachine-demo .jtk-endpoint {
z-index: 3;
}
.dragHover {
border: 2px solid orange;
}
path, .jtk-endpoint { cursor:pointer; }
.handle {
position: absolute;
left: 0;
top: 0;
width: 15px;
height: 100%;
background-color: #aaa;
float: left;
cursor: move;
border-radius: 8px;
}
.ui-contextmenu {
z-index: 100;
}