summaryrefslogtreecommitdiffstats
path: root/browser/extensions/pocket/skin/osx/pocket.css
blob: 534a881a58b14c0b41abb536bc211fee684d6384 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@import url("chrome://pocket-shared/skin/pocket.css");

#pocket-button[cui-areatype="toolbar"] > .toolbarbutton-icon {
  max-width: 18px;
  margin: 0;
}

#pocket-button[cui-areatype="toolbar"][open] {
  -moz-image-region: rect(36px, 18px, 54px, 0);
}

@media (min-resolution: 2dppx) {
  #panelMenu_pocket,
  #menu_pocket,
  #BMB_pocket {
    list-style-image: url("chrome://pocket/content/panels/img/pocketmenuitem16@2x.png");
  }

  #panelMenu_pocket > .toolbarbutton-icon {
    width: 16px;
  }
}

@media not all and (min-resolution: 1.1dppx) {
  #pocket-button:hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"]) {
    -moz-image-region: rect(18px, 18px, 36px, 0);
  }
}

@media (min-resolution: 1.1dppx) {
  #pocket-button[cui-areatype="toolbar"][open] {
    -moz-image-region: rect(72px, 36px, 108px, 0);
  }

  #pocket-button:hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"]) {
    -moz-image-region: rect(36px, 36px, 72px, 0);
  }
}

#PanelUI-pocketView[mainview=true] > .panel-subview-body > #pocket-panel-iframe {
  border-radius: var(--arrowpanel-border-radius);
}