body { font-family: "Noto Sans", sans-serif; margin: 0; } .btn { display: inline-block; cursor: pointer; background: #333; padding: 5px; color: white; border-radius: 5px; } #interface { display: flex; flex-direction: row; height: 100vh; width: 100vw; } #status { display: flex; flex-direction: row; flex-wrap: wrap; width: 430px; height: 100%; overflow-y: scroll; } #status > div { width: 33.3333333%; height: 150px; border: solid 1px; box-sizing: border-box; position: relative; } #status .hugvey { background-image: linear-gradient(to top, #587457, #35a589); color: white; display: flex; flex-direction: column; justify-content: center; } #status .hugvey h1 { text-align: center; margin: 0; font-weight: normal; } #status .hugvey h1 { position: absolute; left: 5px; top: 5px; } #status .hugvey.hugvey--off { background-image: linear-gradient(to top, #575d74, #3572a5); } #status .hugvey.hugvey--off::after { content: 'disconnected'; font-style: italic; color: gray; text-align: center; } #story { position: relative; } #story #controls { position: absolute; top: 5px; left: 5px; } #story svg#graph { width: 100%; height: 100%; cursor: grab; } #story svg#graph:active { cursor: grabbing; } #story circle { cursor: pointer; fill: #77618e; } #story .startMsg circle { fill: lightseagreen; } #story .endMsg circle { fill: lightslategray; } #story .orphanedMsg { fill: lightcoral; } #story text { text-anchor: middle; font-size: 11pt; font-family: sans-serif; fill: white; } #story line { marker-end: url("#arrowHead"); stroke-width: 2px; stroke: black; } #story line.link--noconditions { stroke-dasharray: 5 4; stroke: red; } #story label::after { content: ''; clear: both; display: block; } #story label { width: 100%; font-weight: bold; display: block; margin: 0 -10px; padding: 5px 10px; } #story label input, #story label select { float: right; } #story label:nth-child(odd) { background-color: rgba(255, 255, 255, 0.3); } #story #msg { position: absolute; top: 0; right: 0; width: 30%; max-height: 100%; overflow-y: auto; } #story #msg .msg__info, #story #msg .directions > div { padding: 10px; margin-bottom: 10px; background: lightgray; } #story #nodes g:hover circle, #story .selectedMsg circle { stroke: lightgreen; stroke-width: 8; } #story .controlDown #nodes g:hover circle, #story .secondaryMsg circle { stroke: lightgreen; stroke-width: 5; stroke-dasharray: 10 3; } #story .condition h4 { text-align: center; } #story .condition + .condition::before { content: "OR"; display: block; border-bottom: solid 2px; height: 10px; margin-bottom: 15px; text-align: center; text-shadow: 2px 2px 2px lightgray,-2px 2px 2px lightgray,2px -2px 2px lightgray,-2px -2px 2px lightgray; } #story .condition--add { /* text-align: center; */ }