kcl-digital-humanities-garden/_sass/_digital-garden.scss
2021-03-15 21:18:42 -04:00

90 lines
1.4 KiB
SCSS

.links-dark-green a {
color: $accent-color;
}
.no-underline-hover:hover,
.no-underline-hover:focus {
text-decoration: none;
}
// 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;
}
.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: $accent-color;
}
.inactive {
opacity: 0.25;
transition: opacity 0.15s ease-out;
}
// Notes inline styles
.internal-link {
padding: 0 0.1em;
text-decoration: none;
background: rgba($highlight-color, 0.35);
border: 1px solid rgba($highlight-color, 0.45);
border-radius: 3px;
}
.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: 3px;
}
// 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;
}