UNPKG

chrome-devtools-frontend

Version:
103 lines (90 loc) 2.57 kB
/* * Copyright (c) 2014 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ .overview-grid-window-selector { position: absolute; top: 0; bottom: 0; background-color: rgb(125 173 217 / 50%); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ z-index: 250; pointer-events: none; } .overview-grid-window-resizer { position: absolute; top: -1px; height: 20px; width: 6px; margin-left: -3px; background-color: rgb(153 153 153); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ border: 1px solid #fff; /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ z-index: 500; } .overview-grid-window-resizer:focus-visible { background-color: var(--active-control-bg-color); } .overview-grid-cursor-area { position: absolute; left: 0; right: 0; top: 20px; bottom: 0; z-index: 500; cursor: text; } .overview-grid-cursor-position { position: absolute; top: 0; bottom: 0; width: 2px; background-color: hsl(220deg 95% 50% / 70%); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ z-index: 500; pointer-events: none; visibility: hidden; overflow: hidden; } .window-curtain-left, .window-curtain-right { background-color: hsl(0deg 0% 80% / 50%); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ position: absolute; top: 0; height: 100%; z-index: 300; pointer-events: none; border: 1px none hsl(0deg 0% 70% / 50%); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ } .window-curtain-left { left: 0; border-right-style: solid; } .window-curtain-right { right: 0; border-left-style: solid; } @media (forced-colors: active) { .overview-grid-cursor-position { forced-color-adjust: none; background-color: Highlight; } .window-curtain-left, .window-curtain-right { background-color: transparent; border-color: ButtonText; } .overview-grid-window-resizer { background-color: ButtonText; } .overview-grid-window-resizer:hover, .overview-grid-window-resizer:active, .overview-grid-window-resizer:focus-visible { forced-color-adjust: none; background-color: Highlight; } }