summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/osx/mail/primaryToolbar.css
blob: f339f0182cdcb1a69cc100f3efcea851060b99c2 (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
/* 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/. */

@import url("chrome://messenger/skin/shared/primaryToolbar.css");

/* ::::: Mail Toolbars and Menubars ::::: */

/*
  This is a workaround for Bug 1482157
  -moz-default-appearance: toolbox; makes the macOS sheets attached to the
  element's bottom border. We cannot put this property on the toolbox itself as
  it cancels all backgrounds that are there, so we set it on the toolbox bottom
  border.
*/
.mail-toolbox::after,
.contentTabToolbox::after {
  appearance: auto;
  -moz-default-appearance: toolbox;
  content: "";
  display: flex;
  margin-top: -1px;
  height: 1px;
  /* use inset box-shadow instead of border because -moz-default-appearance hides the border */
  box-shadow: inset 0 -1px var(--chrome-content-separator-color);
}

.mail-toolbox > toolbar
.contentTabToolbox > toolbar {
  appearance: none;
}

#button-chat[unreadMessages="true"] {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.button-appmenu {
  margin-inline: 7px;
}

.msgNotificationBarText {
  font: icon;
  padding: 0;
}