118 lines
1.7 KiB
SCSS
118 lines
1.7 KiB
SCSS
.links-dark-green a {
|
|
color: $accent-color;
|
|
}
|
|
|
|
.no-underline-hover:hover,
|
|
.no-underline-hover:focus {
|
|
text-decoration: none;
|
|
}
|
|
|
|
// Header
|
|
|
|
#header {
|
|
transition: transform 100ms ease-in-out;
|
|
}
|
|
|
|
.header-inactive {
|
|
transform: translateY(-100%);
|
|
}
|
|
|
|
// Sticky helper
|
|
|
|
.sticky {
|
|
position: sticky;
|
|
}
|
|
|
|
// Fonts helper
|
|
|
|
.anthony {
|
|
font-family: "Anthony", sans-serif;
|
|
}
|
|
|
|
// Extended cursors
|
|
|
|
.grab:hover {
|
|
cursor: grab;
|
|
}
|
|
|
|
.grabbing:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
// Notes Graph
|
|
|
|
.links path {
|
|
stroke: $accent-color;
|
|
fill: transparent;
|
|
|
|
&.active {
|
|
stroke-dasharray: 10;
|
|
animation: dash 20s linear;
|
|
}
|
|
}
|
|
|
|
@keyframes dash {
|
|
to {
|
|
stroke-dashoffset: 1000;
|
|
}
|
|
}
|
|
|
|
.nodes circle {
|
|
cursor: pointer;
|
|
stroke: $accent-color;
|
|
fill: #e8fdf5;
|
|
transition: all 0.15s ease-out;
|
|
}
|
|
|
|
.text text {
|
|
cursor: pointer;
|
|
fill: $accent-color;
|
|
}
|
|
|
|
.nodes [active],
|
|
.text [active] {
|
|
cursor: pointer;
|
|
fill: #ff6300;
|
|
stroke: transparent;
|
|
}
|
|
|
|
.inactive {
|
|
opacity: 0.45;
|
|
transition: opacity 0.15s ease-out;
|
|
}
|
|
|
|
// Notes inline styles
|
|
|
|
.internal-link {
|
|
padding: 0 0.1em;
|
|
text-decoration: none;
|
|
background: rgba($highlight-color, 0.25);
|
|
border: 1px solid rgba($highlight-color, 0.45);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.invalid-link {
|
|
padding: 0 0.1em;
|
|
text-decoration: none;
|
|
background: rgba($highlight-color, 0.1);
|
|
border: 1px solid rgba($highlight-color, 0.25);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
// Link previews
|
|
|
|
#tooltip-wrapper {
|
|
max-height: 250px;
|
|
}
|
|
|
|
#tooltip-wrapper:after {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 1;
|
|
bottom: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
background-image: linear-gradient(to bottom, rgba(255,255,255, 0), rgba(255,255,255, 1) 90%);
|
|
width: 100%;
|
|
height: 75px;
|
|
} |