summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/themes/common/calendar-creation.css
blob: e09678a4ecc094a61b80e769881813db76a2ff44 (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
/* 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 html url("http://www.w3.org/1999/xhtml");

td {
  width: 100%;
}

th {
  font-weight: normal;
  text-align: end;
}

/* Match row spacing of calendar properties dialog. */
th,
td {
  min-height: 26px;
}

.calendar-creation-text-input {
  width: -moz-available;
}

/* Network status messages and images. */

.network-status-image {
  width: 16px;
  height: 16px;
}

.network-status-row {
  margin-top: 1ex;
}

.network-status-row .status-label {
  display: none;
}
.network-status-row[status="loading"] .network-loading-label {
  display: flex;
}
.network-status-row[status="notfound"] .network-notfound-label {
  display: flex;
}
.network-status-row[status="authfail"] .network-authfail-label {
  display: flex;
}

.network-status-row:not([status="loading"]) .network-status-image {
  display: none;
}

/* Network Calendar List */

#network-calendar-list {
  flex: 1 1 0;
  appearance: none;
  margin: 0;
  border-style: none;
  background-color: transparent;
  color: inherit;
  padding: 0 10px;
}

#network-calendar-list > richlistitem {
  align-items: center;
  background-color: transparent;
  border: 1px transparent solid;
}

#network-calendar-list > richlistitem > checkbox > .checkbox-label-box {
  display: none;
}

#network-calendar-list > richlistitem .calendar-color {
  width: 10px;
  height: 10px;
  border-radius: 5px;
}

#network-calendar-list > richlistitem .calendar-name {
  flex: 1;
}

#network-calendar-list > richlistitem .calendar-edit-button {
  min-width: 0px;
  font-size: 0.82em;
}

#network-calendar-list > richlistitem[calendar-disabled] > .calendar-color {
  filter: grayscale(1);
}

#network-calendar-list
  > richlistitem[calendar-disabled]:not([selected="true"])
  > .calendar-name {
  color: #808080;
}