summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/shared/mail/cardDialog.css
blob: 3706fb6ddb63e871ac80e3e912bb739ad9b448b4 (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
158
159
160
/* 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/. */

/* ===== cardViewOverlay.css ============================================
  == Styles for Address Book dialogs.
  ======================================================================= */

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

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

window {
  --lwt-header-image: none !important;
}

.input-inline {
  margin-inline-end: 0 !important;
}

/* ::::: Card Edit dialog ::::: */

#contactGrid {
  display: grid;
  grid-auto-flow: column;
}

.inputGrid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  align-items: center;
}

.align-end {
  text-align: end;
}

.showingPhonetic .input-inline {
  max-width: 16ch;
}

#BirthMonth[value="-1"],
#BirthDay[value="-1"],
.placeholderOption {
  color: #888;
}

.YearWidth {
  width: 8ch;
}

.ZipWidth {
  max-width: 14ch !important;
}

.DepartmentWidth {
  max-width: 20ch !important;
}

/* ::::: List dialogs ::::: */

.menu-iconic-left,
menulist::part(icon) {
  -moz-context-properties: fill, stroke;
  fill: color-mix(in srgb, currentColor 20%, transparent);
  stroke: currentColor;
}

#addressingWidget {
  -moz-user-focus: none;
  height: 15em;
  margin-bottom: 12px;
}

.dummy-row,
.addressingWidgetItem {
  border: none !important;
  background-color: inherit !important;
  color: inherit !important;
  min-height: 30px;
}

.addressingWidgetItem:hover,
.autocomplete-richlistitem:hover {
  background-color: var(--in-content-item-hover, hsla(0, 0%, 50%, 0.3)) !important;
}

.textbox-addressingWidget {
  min-height: 30px;
  padding-inline: 5px;
  outline-offset: -2px;
}

.dummy-row-cell,
.addressingWidgetCell {
  border-bottom: 1px solid hsla(0, 0%, 50%, 0.3);
}

panel[type="autocomplete-richlistbox"] {
  border: 1px solid var(--in-content-box-border-color, ThreeDShadow);
}

panel[type="autocomplete-richlistbox"]::part(content) {
  border-width: 0;
}

.autocomplete-richlistbox {
  border-width: 0;
  border-radius: 0;
}

.autocomplete-richlistitem {
  padding-inline-start: 3px;
}

.person-icon {
  margin: 0 3px;
  content: var(--icon-contact);
  -moz-context-properties: fill, stroke;
  fill: color-mix(in srgb, currentColor 20%, transparent);
  stroke: currentColor;
}

#photo {
  list-style-image: var(--icon-user);
  -moz-context-properties: fill, stroke;
  fill: color-mix(in srgb, currentColor 20%, transparent);
  stroke: currentColor;
  box-shadow: 0 0 5px rgba(127, 127, 127, 0.7);
}

#PhotoContainer {
  margin: 5px;
}

#PhotoDropTarget {
  margin-top: 5px;
}

#PhotoDropTarget:hover {
  border: 1px dashed hsla(0, 0%, 50%, 0.5);
}

#PhotoFile {
  background-position: 2px center;
  background-repeat: no-repeat;
  padding-inline-start: 20px;
}

#ProgressContainer {
  max-height: 0;
  transition: all .5s ease-out;
  overflow: hidden;
}
#ProgressContainer.expanded {
  margin-top: 10px;
  max-height: 40px; /* something higher than the actual height, but not too large */
}