mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1916660
- [devtools] Adapt markup node drag and drop in High Contrast Mode. r=devtools-reviewers,ochameau.
Add declaration for drag/drop lines in HCM and make sure the dragged item isn't transluscent. Differential Revision: https://phabricator.services.mozilla.com/D227963
This commit is contained in:
parent
669893f2e1
commit
45e5dcc82b
@ -20,6 +20,8 @@
|
||||
/* In regular mode, this variable relies on --theme-body-color, which is already set
|
||||
to CanvasText for HCM, BUT: we still need to force it here because of Bug 1917523 */
|
||||
--markup-selected-focus-visible-non-highlighted-color: CanvasText;
|
||||
--markup-drag-line: GrayText;
|
||||
--markup-drop-line: SelectedItem;
|
||||
}
|
||||
}
|
||||
|
||||
@ -129,6 +131,11 @@ body.dragging .tag-line {
|
||||
opacity: 0.7;
|
||||
z-index: 1;
|
||||
height: 0;
|
||||
|
||||
:root[forced-colors-active] & {
|
||||
opacity: 1;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
/* Indicates a tag-line in the markup-view as being an active drop target by
|
||||
|
Loading…
Reference in New Issue
Block a user