/* @since 0.5.1 */ /* The entire overlay */ #bm-overlay { position: fixed; background-color: rgba(21, 48, 99, 0.9); color: white; padding: 10px; border-radius: 8px; z-index: 9000; } /* The entire overlay BUT it is cascading */ div#bm-overlay { /* Font stack is as follows: * Highest Priority (Roboto Mono) * Windows fallback (Courier New) * macOS fallback (Monaco) * Linux fallback (DejaVu Sans Mono) * Any possible monospace font (monospace) * Last resort (Arial) */ font-family: 'Roboto Mono', 'Courier New', 'Monaco', 'DejaVu Sans Mono', monospace, 'Arial'; letter-spacing: 0.05em; } /* The drag bar */ #bm-bar-drag { margin-bottom: 0.5em; /* For background circles, width & height should be odd, cx & cy should be half of width & height, and r should be less than or equal to cx & cy */ background: url('data:image/svg+xml;utf8,') repeat; cursor: grab; width: 100%; height: 1em; } /* When the overlay is being dragged */ #bm-bar-drag.dragging { cursor: grabbing; } /* The container for the overlay header */ #bm-contain-header { margin-bottom: 0.5em; } /* The Blue Marble image */ #bm-overlay img { display: inline-block; height: 2.5em; margin-right: 1ch; vertical-align: middle; } /* The Blue Marble header */ #bm-overlay h1 { display: inline-block; font-size: x-large; font-weight: bold; vertical-align: middle; } /* The containers that need spacing from each-other */ #bm-contain-userinfo, #bm-contain-automation, #bm-contain-coords, #bm-contain-buttons, #bm-output-status { margin-top: 0.5em; } /* Checkboxes in the automation container */ #bm-contain-automation input[type="checkbox"] { vertical-align: middle; margin-right: 0.5ch; } /* Checkbox label/flavor text in the automation container */ #bm-contain-automation label { margin-right: 0.5ch; } /* Question Mark button */ .bm-help { border: white 1px solid; border-radius: 1em; height: 1.25em; width: 1.25em; margin-top: 2px; text-align: center; line-height: 1.25em; background-color: dimgray; } /* Question Mark button when hovered/focused */ .bm-help:hover, .bm-help:focus { background-color: gray; } /* Pin button */ #bm-button-coords { vertical-align: middle; } /* Pin button image*/ #bm-button-coords svg { width: 50%; margin: 0 auto; fill: #111; } /* Tile (x, y) & Pixel (x, y) input fields */ #bm-contain-coords input[type="text"] { width: 7.5ch; margin-left: 1ch; background-color: rgba(0, 0, 0, 0.2); padding: 0 0.5ch; font-size: small; } /* Automation button container */ #bm-contain-buttons { display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; align-items: center; gap: 1ch; } /* Automation button array buttons */ #bm-contain-buttons button { background-color: dimgray; border-radius: 1em; padding: 0 0.75ch; } /* Automation button array buttons when hovered/focused */ #bm-contain-buttons button:hover, #bm-contain-buttons button:focus { background-color: gray; } /* Automation button array buttons when disabled */ #bm-contain-buttons button:disabled { background-color: lightslategray; text-decoration: line-through; } /* Output status area */ #bm-output-status { font-size: small; background-color: rgba(0, 0, 0, 0.2); padding: 0 0.5ch; height: 3.75em; width: 100%; }