summaryrefslogtreecommitdiffstats
path: root/browser/components/shopping/content/shopping-page.css
blob: b6fd43704f257fdfad6cad5a32a400be8ec3fd6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

:root {
  --shopping-header-background: light-dark(#f9f9fb, #2b2a33);
  background-color: var(--shopping-header-background);
  font: menu;
}

@media (prefers-contrast) {
  button.shopping-button:enabled,
  button.ghost-button:not(.semi-transparent):enabled {
    background-color: ButtonFace;
    border-color: ButtonText;
    color: ButtonText;

    &:hover {
      background-color: SelectedItemText;
      border-color: SelectedItem;
      color: SelectedItem;
    }

    &:hover:active {
      border-color: ButtonText;
    }
  }
}