summaryrefslogtreecommitdiff
path: root/src/chrome/os/darwin/notification.css
blob: 3f18bee20c049d1af053d8c5bf1cd77b828d6041 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* 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/. */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.popup-notification-menubutton {
  -moz-appearance: none;
  border-radius: 3px;
  padding: 0;
}

.popup-notification-menubutton:hover:active {
  border-color: rgba(0,0,0,.5);
}

.popup-notification-menubutton:not([type="menu-button"]),
.popup-notification-menubutton > .button-menubutton-button,
.popup-notification-menubutton > .button-menubutton-dropmarker {
  -moz-appearance: none;
  margin: 0;
  border: 1px solid rgb(64,64,64);
  background: rgb(0,0,0);
}

.popup-notification-menubutton > .button-menubutton-button {
  background-color: transparent;
  padding: 1px;
  border-inline-end: none;
}

.popup-notification-menubutton:not([type="menu-button"]),
.popup-notification-menubutton > .button-menubutton-button > .button-box {
  padding-inline-start: 8px;
  padding-inline-end: 5px;
}

.popup-notification-menubutton > .button-menubutton-dropmarker {
  padding: 9px 5px 8px;
  width: auto;
  height: auto;
  list-style-image: url("chrome://global/skin/arrow/arrow-v.svg#dn");
}

.popup-notification-menubutton:-moz-focusring > .button-menubutton-dropmarker {
  outline: 1px dotted ThreeDDarkShadow;
  outline-offset: -3px;
}

.popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(ltr),
.popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(rtl) {
  border-radius: 2px 0 0 2px;
}

.popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(rtl),
.popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(ltr) {
  border-radius: 0 2px 2px 0;
}

.popup-notification-menubutton:not([type="menu-button"]):hover,
.popup-notification-menubutton > .button-menubutton-button:hover,
.popup-notification-menubutton > .button-menubutton-dropmarker:hover {
  background: rgb(0,0,0);
}

.popup-notification-menubutton:not([type="menu-button"]):hover:active,
.popup-notification-menubutton > .button-menubutton-button:hover:active,
.popup-notification-menubutton > .button-menubutton-dropmarker:hover:active,
.popup-notification-menubutton[open="true"] > .button-menubutton-dropmarker {
  background: rgb(0,0,0);
}

.popup-notification-closebutton {
  margin-inline-end: -14px;
  margin-top: -10px;
}