summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/shared/mail/cardDAV.css
blob: a93dd63b0ec24c9cc4351b837784c3c9c7d269b1 (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
/* 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/. */

#carddav-statusArea {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 3px 4px;
  color: var(--text-color);
}

#carddav-statusArea[status=error] {
  background-color: #FFE900;
  border-color: #F2D00F;
  color: -moz-DialogText;
}

#carddav-statusArea[status=loading] {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

#carddav-statusContainer {
  display: flex;
  align-items: center;
  gap: 4px;
  /* center align */
  max-width: max-content;
  margin-inline: auto;
}

#carddav-statusContainer > #carddav-statusImage {
  flex: 0 0 auto;
}

#carddav-statusContainer > #carddav-statusMessage {
  flex: 1 1 auto;
}

#carddav-statusImage {
  -moz-context-properties: fill;
  fill: currentColor;
  width: 16px;
  height: 16px;
}

#carddav-statusImage:not([src]) {
  display: none;
}

#carddav-resultsArea {
  margin-block-start: 6px;
  margin-block-end: 6px;
}

#carddav-availableBooksHeader {
  font-weight: 600;
}

#carddav-availableBooks {
  overflow: auto;
  flex: 1 1 0;
}

#carddav-properties-table {
  display: grid;
  grid-template-columns: min-content auto;
  align-items: baseline;
}

.input-container {
  display: flex;
}

.input-container > * {
  flex: 1;
}

#carddav-refreshActive-cell {
  /* This shouldn't be necessary, but there's no good combination of checkbox
   * and label that play nicely with the align-items: baseline above. */
  align-self: center;
}

#carddav-refreshInterval-cell {
  display: flex;
  align-items: baseline;
}

#carddav-refreshInterval {
  flex: 1;
  margin: 2px 4px;
}