@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
242 lines (193 loc) • 4.22 kB
CSS
.column-notes_f7a323 .col-note-label_f7a323 {
cursor: pointer;
}
.column-notes_f7a323 .note-editor_f7a323.bp5-editable-text_f7a323 {
-webkit-user-select: none;
user-select: none;
}
.column-notes_f7a323 .note-editor_f7a323.bp5-editable-text_f7a323:before {
inset: 0;
}
.position-editor_f7a323 .handle_f7a323 {
background-color: #d2e9ff;
border: 1px solid #1e90ff;
}
.position-editor_f7a323 .add-span-handle_f7a323 {
background-color: #e9f4ff;
border: 1px dotted #1e90ff;
}
.position-editor_f7a323 .top-handle_f7a323, .position-editor_f7a323 .bottom-handle_f7a323, .position-editor_f7a323 .add-span-handle_f7a323 {
border-radius: 3px;
}
.note-editor_f7a323 .note-connector_f7a323 {
stroke: #1e90ff;
stroke-width: 3px;
}
.col-note-label_f7a323 {
border-left: 1px solid var(--note-color);
z-index: 15;
margin: 1px 0;
padding-left: .3em;
font-style: italic;
}
g.height-range_f7a323 line {
stroke: var(--note-color);
stroke-width: 1.2px;
}
.column-image_f7a323 {
position: absolute;
top: 0;
left: 0;
}
.interval-editor-title_f7a323 {
justify-content: space-between;
align-items: middle;
flex-direction: row;
display: flex;
}
.interval-editor-title_f7a323 h3 {
margin: 0;
}
.interval-editor-title_f7a323 code {
font-family: monospace;
font-weight: 600;
}
.interval-editor-title_f7a323 .bp5-button {
transform: translate(0, -5px);
}
.column-axis_f7a323.y.axis line {
stroke: var(--column-stroke-color, var(--text-color, #000));
stroke-width: 2px;
}
.column-axis_f7a323.y.axis path {
stroke: var(--column-stroke-color, var(--text-color, #000));
stroke-width: 1px;
}
.column-axis_f7a323.y.axis text {
font-size: var(--column-axis-font-size, 12px);
font-weight: bold;
}
g.note, g.note-editor {
--note-color: var(--column-note-color, var(--column-stroke-color, var(--text-color, #000)));
}
g.note circle, g.note-editor circle {
fill: var(--note-color);
}
g.note .link, g.note-editor .link {
stroke: var(--note-color);
stroke-width: 1px;
fill: none;
}
.new-note circle {
fill: #1e90ff;
}
.new-note line {
stroke: #1e90ff;
stroke-width: 3px;
marker-start: url("#new_arrow_start");
marker-end: url("#new_arrow_end");
}
#new_arrow_start, #new_arrow_end {
fill: #1e90ff;
}
g.lithology-column use.frame {
stroke: #000;
stroke-width: 1px;
}
g.lithology-column rect.lithology {
stroke: #aaa;
stroke-width: .25pt;
}
g.lithology-column rect.lithology.definite {
stroke: #000;
}
g.lithology-column rect.covered-area {
fill: red;
fill-opacity: .2;
pointer-events: none;
}
g.covered-column rect.covered-area {
fill: red;
fill-opacity: 1;
}
div.section-outer {
flex-direction: row;
width: 100%;
display: flex;
}
div.section-outer svg.overlay {
z-index: 10;
}
.grainsize.axis.rotated text {
text-anchor: start;
}
.grainsize.axis.rotated text.top {
transform: translate(0, -2px)rotate(-60deg);
}
.grainsize.axis.rotated text.bottom {
transform: translate(0, 10px)rotate(60deg);
}
.grainsize.axis text {
text-anchor: middle;
font-family: Helvetica Neue;
font-size: 10px;
font-style: italic;
}
.grainsize.axis text.top {
transform: translate(0, -2px);
}
.grainsize.axis text.bottom {
transform: translate(0, 10px);
}
.grainsize.axis line {
stroke: #2191ff;
stroke-width: 1px;
stroke-dasharray: 2 2;
}
@media (prefers-color-scheme: dark) {
.grainsize.axis text {
fill: #fff;
}
}
.note.error {
background: #f003 ;
}
.note.error p {
color: #fe0000 ;
}
g.samples g.sample text {
alignment-baseline: middle;
text-anchor: end;
font-size: 10px;
font-style: italic;
}
g.samples g.sample circle {
fill: #000;
}
div.photo-dialog {
width: 90%;
height: 80vh;
top: 10vh;
}
div.photo-dialog div.image-gallery-image img {
max-width: 100%;
}
rect.symbol-column-area {
fill: none;
}
g.triangle-bars path {
fill: #aaa;
stroke: #888;
stroke-width: 1.5px;
}
div.Select-menu-outer {
z-index: 15;
}
div.edit-overlay div.cursor-container {
position: absolute;
}
div.edit-overlay div.cursor-container .bp5-popover-wrapper {
width: 80px;
display: block;
}
/*# sourceMappingURL=column-components.c6a959ad.css.map */