summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/linux/mail/compose/messengercompose.css
blob: 58a9fedfdaf1d971428104140d00596ff2db027f (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/* 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/. */

/* ===== messengercompose.css ===========================================
  == Styles for the main Messenger Compose window.
  ======================================================================= */

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

@namespace html url("http://www.w3.org/1999/xhtml");

#mail-menubar:-moz-lwtheme {
  color: inherit;
}

#compose-toolbox {
  border-bottom: 1px solid var(--chrome-content-separator-color);
}

/* ::::: special toolbar colors ::::: */

#subjectLabel {
  margin-bottom: 0;
  margin-inline-end: 6px;
}

/* ::::: autocomplete icons ::::: */

.autocomplete-richlistitem[type$="-abook"] > .ac-site-icon {
  display: flex;
  margin: 1px 5px;
}

#composeContentBox {
  background-color: -moz-dialog;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
}

#composeContentBox:-moz-window-inactive {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) inset;
}

#MsgHeadersToolbar {
  appearance: none !important;
  color: WindowText;
  text-shadow: none;
  padding-block-start: 7px;
}

.address-container {
  padding: 1px 4px;
}

.address-label-container {
  padding-top: 6px;
}

#msgIdentity,
.address-container {
  min-height: 30px;
}

#msgSubject {
  min-height: 28px;
}

.address-pill {
  padding-block: 2px;
}

.address-pill label {
  margin-block: 0;
}

.pill-indicator {
  margin-top: -2px;
}

#identityLabel-box {
  margin-top: 1px;
}

#msgIdentity {
  margin-block: 2px 0;
  padding-block: 4px;
  padding-inline: 2px 20px;
}

#msgIdentity::part(label-box) {
  background: none;
  padding-inline-end: initial;
}

#msgIdentity::part(text-input) {
  appearance: none;
  padding-block: 1px 2px;
  padding-inline: 3px 12px;
  background-color: transparent;
  color: inherit;
}

#msgIdentity[editable="true"]::part(dropmarker) {
  margin-inline-end: 0;
  width: 12px;
}

#msgIdentity[open="true"] {
  color: FieldText;
}

:root[lwt-tree] #msgIdentity[open="true"] {
  color: var(--lwt-toolbar-field-color);
}

/* ::::: format toolbar ::::: */

#FormatToolbar {
  appearance: none;
  color: WindowText;
  margin-inline: 3px;
  padding-block: 4px;
}

toolbarbutton.formatting-button {
  margin: 1px;
}

.formatting-button > .toolbarbutton-menu-dropmarker {
  appearance: none !important;
  margin-inline-start: 3px;
}

/* ::::: address book sidebar ::::: */

#contactsBrowser {
  background-color: Window;
}

menu[command="cmd_attachCloud"] .menu-iconic-left,
menu[command="cmd_convertCloud"] .menu-iconic-left {
  /* Ensure that the provider icons are visible even if the Gnome theme says
     menus shouldn't have icons. */
  visibility: visible;
}

/* Styles for the default system dark theme */

:root[lwt-tree] #MsgHeadersToolbar {
  background-image: none;
}

:root[lwt-tree] #FormatToolbar {
  color: inherit;
  background-image: none;
}