summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/themes/common/calendar-item-summary.css
blob: deabbdf2d959c18562564d98e126a09e2d34b70b (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
/* 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/. */

#calendar-item-summary {
  max-width: 100vw;
}

.calendar-summary-table {
  width: 100%;
}

.calendar-summary-table th {
  user-select: text;
  font-weight: normal;
  padding-inline-end: 5px;
  text-align: right;
  vertical-align: baseline;
  white-space: nowrap;
}

.calendar-summary-table td {
  user-select: text;
  padding-top: 0;
  vertical-align: baseline;
  width: 100%;
  max-width: 0;
}

.calendar-summary-table td.item-location {
  vertical-align: top;
}

.calendar-summary-table .item-location-link > label {
  margin-inline: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.calendar-summary-table .item-organizer-cell {
  margin-inline: 0px;
}

.calendar-summary-table .attachments-label {
  vertical-align: top;
}

.item-summary-splitter {
  appearance: none;
  border-style: none;
  border-bottom: 1px solid var(--field-border-color);
  min-height: 0;
  height: 10px;
  background-color: transparent;
  margin: 10px;
  position: relative;
  z-index: 10;
  transition: border-width .3s ease-in;
}

.item-summary-splitter[state="collapsed"] {
  transition: border-color .3s;
}

.item-summary-splitter[state="collapsed"]:hover {
  border-bottom: 4px solid var(--selected-item-color);
}

.item-description-box {
  flex: 1 1 10em;
}

.item-description {
  flex: 1 1 0;
}