@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
367 lines (323 loc) • 7.58 kB
CSS
._column-image_1aivp_1 {
position: absolute;
top: 0;
left: 0;
}
._interval-editor-title_1aivp_7 {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: middle;
}
._interval-editor-title_1aivp_7 h3 {
margin: 0;
}
._interval-editor-title_1aivp_7 code {
font-family: monospace;
font-weight: 600;
}
._interval-editor-title_1aivp_7 .bp6-button {
transform: translate(0, -5px);
}
._column-axis_1aivp_27.y.axis line {
stroke: var(--column-stroke-color, var(--text-color, #000));
stroke-width: 2px;
}
._column-axis_1aivp_27.y.axis path {
stroke: var(--column-stroke-color, var(--text-color, #000));
stroke-width: 1px;
}
._column-axis_1aivp_27.y.axis text {
font-size: var(--column-axis-font-size, 12px);
font-weight: var(--column-font-weight, bold);
}
#new_arrow_start, #new_arrow_end {
fill: #1e90ff;
}
g.lithology-column .column-clip-frame {
stroke: var(--column-stroke-color, var(--text-color, #000));
stroke-width: var(--column-stroke-width, 1px);
fill: none;
}
g.lithology-column rect.lithology {
stroke: #aaa;
stroke-width: 0.25pt;
}
g.lithology-column rect.lithology.definite {
stroke: #000;
}
g.lithology-column rect.covered-area {
fill: #f00;
fill-opacity: 0.2;
pointer-events: none;
}
g.covered-column rect.covered-area {
fill: #f00;
fill-opacity: 1;
}
div.section-outer {
display: flex;
flex-direction: row;
width: 100%;
}
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 {
font-family: "Helvetica Neue";
text-anchor: middle;
font-size: 10;
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: rgba(255, 0, 0, 0.2) ;
}
.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: var(--triangle-bars-fill-color, #ccc);
stroke: var(--triangle-bars-stroke-color, #aaa);
stroke-width: var(--column-stroke-width, 1px);
}
div.Select-menu-outer {
z-index: 15;
}
div.edit-overlay div.cursor-container {
position: absolute;
}
div.edit-overlay div.cursor-container .bp6-popover-wrapper {
display: block;
width: 80px;
}._column-notes_zk3u4_1 ._col-note-label_zk3u4_1 {
cursor: pointer;
}
._column-notes_zk3u4_1 ._note-editor_zk3u4_5._bp6-editable-text_zk3u4_5 {
user-select: none;
}
._column-notes_zk3u4_1 ._note-editor_zk3u4_5._bp6-editable-text_zk3u4_5:before {
top: 0;
left: 0;
right: 0;
bottom: 0;
}
._position-editor_zk3u4_16 ._handle_zk3u4_16 {
background-color: #d2e9ff;
border: 1px solid #1e90ff;
}
._position-editor_zk3u4_16 ._add-span-handle_zk3u4_21 {
background-color: #e9f4ff;
border: 1px dotted #1e90ff;
}
._position-editor_zk3u4_16 ._top-handle_zk3u4_26,
._position-editor_zk3u4_16 ._bottom-handle_zk3u4_27,
._position-editor_zk3u4_16 ._add-span-handle_zk3u4_21 {
border-radius: 3px;
}
._note-editor_zk3u4_5 ._note-connector_zk3u4_32 {
stroke: #1e90ff;
stroke-width: 3;
}
._col-note-label_zk3u4_1 {
padding-left: 0.3em;
border-left: 1px solid var(--note-color);
margin: 1px 0;
font-style: italic;
z-index: 15;
}
g._height-range_zk3u4_45 line {
stroke: var(--note-color);
stroke-width: 1.2px;
}
._underlay_zk3u4_50 {
fill: var(--column-background-color);
fill-opacity: 0.8;
pointer-events: all;
}
._notes-list_zk3u4_56:has(+ ._note-editor_zk3u4_5) {
cursor: pointer;
}
._notes-list_zk3u4_56:has(+ ._note-editor_zk3u4_5) ._note_zk3u4_5 {
pointer-events: none;
}
._notes-list_zk3u4_56:has(+ ._note-editor_zk3u4_5) ._note-inner_zk3u4_62 {
cursor: pointer;
pointer-events: all;
}
._notes-list_zk3u4_56:has(+ ._note-editor_zk3u4_5) ._note-inner_zk3u4_62 > * {
pointer-events: none;
}
._note-inner_zk3u4_62 {
margin: 5px;
}
._focusable_zk3u4_74 ._note-inner_zk3u4_62 {
cursor: pointer;
}
._note-editor_zk3u4_5 > foreignObject {
transform: translate(0, -1px);
}
._note-editor_zk3u4_5 ._note-inner_zk3u4_62 {
overflow-y: scroll;
max-height: var(--not-editor-max-height, 500px);
}
g._note_zk3u4_5, g._note-editor_zk3u4_5 {
--note-color: var(--column-note-color, var(--column-stroke-color, var(--text-color, #000)));
}
g._note_zk3u4_5 circle, g._note-editor_zk3u4_5 circle {
fill: var(--note-color);
}
g._note_zk3u4_5 ._link_zk3u4_92, g._note-editor_zk3u4_5 ._link_zk3u4_92 {
stroke: var(--note-color);
stroke-width: 1;
fill: none;
}
._note-editor_zk3u4_5 ._underlay_zk3u4_50 {
cursor: pointer;
}
._new-note_zk3u4_102 circle {
fill: #1e90ff;
}
._new-note_zk3u4_102 line {
stroke: #1e90ff;
stroke-width: 3;
marker-start: url("#new_arrow_start");
marker-end: url("#new_arrow_end");
}._correlated-surface-row_161j3_1 {
display: flex;
flex-direction: row;
}
._correlated-surface-row_161j3_1 > div {
flex: 1;
margin-right: 1em;
}
._facies-picker-row_161j3_11 {
display: flex;
flex-direction: row;
align-items: center;
margin: 0 8px;
}
._facies-picker-row_161j3_11 span {
display: block;
}
._facies-picker-row_161j3_11 ._facies-picker-name_161j3_22 {
flex-grow: 1;
display: block;
text-align: left;
font-style: italic;
color: #444;
}
._facies-picker-row_161j3_11 ._facies-color-swatch_161j3_30, ._facies-picker-row_161j3_11 ._lithology-swatch_161j3_31 {
margin-right: 0.5em;
margin-left: -0.5em;
}
._facies-picker-name_161j3_22, ._lithology-swatch_161j3_31 {
border-radius: 3px;
}
._picker-label_161j3_41 {
font-style: italic;
}
._editor-dialog-title_161j3_45 {
margin-right: -margin;
display: flex;
flex-direction: column;
align-items: baseline;
}
._editor-dialog-title_161j3_45 code {
font-family: "Fira Code", monospace;
color: #aaa;
}
._editor-dialog-title_161j3_45 * {
margin-bottom: 0.2em;
margin-top: 0;
}
._editor-dialog-title_161j3_45 ._title-center_161j3_62 {
flex-grow: 1;
}
._editor-dialog-title_161j3_45 ._height-range_161j3_66 {
font-weight: 400;
}
._lithology-swatch_161j3_31 {
height: 2em;
width: 2em;
background-size: 6em;
image-rendering: crisp-edges;
border: 1px solid #000;
}
._lithology-symbol-picker_161j3_78 {
margin-top: -10px;
margin-bottom: 15px;
margin-left: 8px;
}
._lithology-symbol-picker_161j3_78._hidden_161j3_84 ._lithology-symbol-picker-inner_161j3_84 {
display: none;
}
._lithology-symbol-picker_161j3_78._expanded_161j3_88 ._expand-button_161j3_88 {
display: none;
}
._lithology-symbol-picker-inner_161j3_84 {
display: flex;
flex-direction: row;
align-items: center;
margin: 0 4px;
}
._lithology-symbol-picker-inner_161j3_84 * {
margin-right: 0.5em;
}
._lithology-symbol-picker-inner_161j3_84 ._picker-label_161j3_41 {
flex-grow: 1;
}
._labeled-control_161j3_107 {
margin-bottom: 15px;
}
._labeled-control_161j3_107 .bp6-label {
margin-bottom: 0;
color: #444;
}
._label-text_161j3_116 {
font-weight: 500;
}