summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/osx/mail/chat.css
blob: 608d2c5854956ed6209ae69a6ac1ce6da6251f44 (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
/* 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/. */

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

.convUnreadTargetedCount {
  padding: 2px 7px;
}

.conv-counter[value^="-"] {
  margin-bottom: 1px;
  /* The 6px padding-end from .conv-counter is split into a 1px margin-end
     (to avoid the border) and 5px padding-end (as regular padding). */
  margin-inline-end: 1px;
  padding-top: 1px;
  padding-bottom: 0;
  padding-inline-end: 5px;
}

.conv-nicklist > richlistitem > label {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.conv-nicklist-header {
  appearance: auto;
  -moz-default-appearance: treeheadercell;
  margin-right: -1px;
}

.conv-nicklist-header-label {
  margin-inline: 3px 2px !important;
  margin-block: 1px 0 !important;
}

.conv-nicklist, #logTree {
  appearance: none;
  width: 250px;
  border: 0;
}

#nicklist > richlistitem[inactive][selected] > label {
  color: -moz-DialogText !important;
}

richlistitem[is="chat-group-richlistitem"] .twisty {
  margin-inline-end: 3px;
}

#chatPanel:-moz-lwtheme {
  color: -moz-DialogText;
  text-shadow: none;
}

/* Adaptation from #folderTree */
:root:not([lwt-tree]) #chatPanel {
  background-color: -moz-OddTreeRow;
}

@media (prefers-contrast) {
  :root:not([lwt-tree]) #chatPanel {
    background-color: Field;
  }
}

#contactlistbox {
  background: transparent;
  appearance: none;
}

.convUnreadCount,
.contactDisplayName,
.convDisplayName,
.contactStatusText,
.convStatusText {
  margin-top: 3px;
}

#statusTypeIcon:-moz-locale-dir(ltr) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#statusTypeIcon:-moz-locale-dir(rtl) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#statusTypeIcon > .toolbarbutton-text {
  display: none;
}

.statusMessageToolbarItem {
  margin-inline-start: -3px;
  margin-bottom: 2px;
  padding-bottom: 3px;
}

/* Adaptation of #folderpane_splitter */
#listSplitter,
#contextSplitter {
  min-width: 5px;
}

.conv-status-container {
  border-bottom-color: #8B8B8B;
}

.startChatBubble > .button-box > .button-icon,
.closeConversationButton > .button-box > .button-icon {
  margin-inline-start: 0;
}

/* Set a background color to avoid lightweight theme backgrounds */
#contextPane {
  background-color: Field;
}