Commit 8323c6e9 authored by Harry Twyford's avatar Harry Twyford
Browse files

Bug 1747801 - Only show the dotted outline in the Library window on macOS in HCM. r=dao

parent b480a06e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4,6 +4,16 @@

%include ../../shared/tree.inc.css

@media not (prefers-contrast) {
  /* We show a `SelectedItem` background on selected rows, so we do not need the
     dotted outline in that case. For users who have Full Keyboard Access
     enabled, macOS draws a blue highlight above the row highlight, so keyboard-
     only users can still discern the currently-selected row when multiple rows
     are selected. */
  treechildren::-moz-tree-row(selected, current, focus) {
    outline: none;
  }
}

/* ::::: editable tree ::::: */