gn-items: center; justify-content: center; animation: pulse 125ms cubic-bezier(0.07, 0.95, 0, 1); color: #fff; font-size: 24px; line-height: 32px; text-align: center; padding: 20px; width: 400px; @media (forced-colors) { color: CanvasText; /* stylelint-disable-next-line stylelint-plugin-mozilla/use-design-tokens */ background-color: Canvas; } } #hover-highlight { animation: fade-in 125ms forwards cubic-bezier(0.07, 0.95, 0, 1); /* stylelint-disable-next-line stylelint-plugin-mozilla/use-design-tokens */ background: var(--hover-highlight-background-color); border: 2px dashed rgba(255, 255, 255, 0.4); border-radius: 1px; box-sizing: border-box; pointer-events: none; position: absolute; z-index: var(--screenshots-high-layer); } #top-background { top: 0; left: 0; width: 100%; } #left-background { left: 0; } #bottom-background { left: 0; width: 100%; } .bghighlight { background-color: var(--background-color-overlay); position: absolute; overflow: clip; pointer-events: none; /* FIXME(bug 1859421): This shouldn't be needed */ z-index: -1; } .highlight { border: 2px dashed rgba(255, 255, 255, 0.8); box-sizing: border-box; cursor: move; position: absolute; pointer-events: auto; z-index: var(--screenshots-lowest-layer); outline-offset: 8px; } .mover-target { display: flex; align-items: center; justify-content: center; position: absolute; z-index: var(--screenshots-high-layer); pointer-events: auto; outline-offset: -15px; } .mover-target.direction-topLeft { cursor: nwse-resize; height: 60px; left: -30px; top: -30px; width: 60px; } .mover-target.direction-top { cursor: ns-resize; height: 60px; inset-inline-start: 0; top: -30px; width: 100%; z-index: var(--screenshots-low-layer); } .mover-target.direction-topRight { cursor: nesw-resize; height: 60px; right: -30px; top: -30px; width: 60px; } .mover-target.direction-left { cursor: ew-resize; height: 100%; left: -30px; top: 0; width: 60px; z-index: var(--screenshots-low-layer); } .mover-target.direction-right { cursor: ew-resize; height: 100%; right: -30px; top: 0; width: 60px; z-index: var(--screenshots-low-layer); } .mover-target.direction-bottomLeft { bottom: -30px; cursor: nesw-resize; height: 60px; left: -30px; width: 60px; } .mover-target.direction-bottom { bottom: -30px; cursor: ns-resize; height: 60px; inset-inline-start: 0; width: 100%; z-index: var(--screenshots-low-layer); } .mover-target.direction-bottomRight { bottom: -30px; cursor: nwse-resize; height: 60px; right: -30px; width: 60px; } .mover-target:hover .mover { transform: scale(1.05); } .mover { background-color: white; border-radius: var(--border-radius-circle); box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); transition: transform 125ms cubic-bezier(0.07, 0.95, 0, 1); position: relative; height: 16px; width: 16px; pointer-events: none; @media (forced-colors) { /* stylelint-disable-next-line stylelint-plugin-mozilla/use-design-tokens */ background-color: ButtonText; } } .small-selection .mover { height: 10px; width: 10px; } PK