summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/im/messages/dark/main.css
blob: b3f94d9d2caa018c1f8e981544eca9cd88c7a281 (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
/* 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/. */

body {
  margin: 0;
  padding: 0;
  background-color: black;
}

p {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.6);
}

p.message {
  margin: 0;
  padding: 4px 15px 6px 15px;
  border-bottom: 1px solid black;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07) 30px);
}

p.context:not(:hover) {
  opacity: 0.5;
  color: rgba(255, 255, 255, 1);
}

span.message-style,
p.event-messages {
  font-size: 90%;
}

p.event-messages {
  margin: 5px 0px 5px 0px;
  text-align: center;
  opacity: 0.4;
  -moz-transition-property: opacity;
  -moz-transition-duration: 0.3s;
}

p.event-messages:hover {
  opacity: 1;
}

.message-style {
  display: block;
}

.pseudo {
  margin-bottom: 3px;
  font-weight: bold;
  color: white;
  display: block;
}

.nick > .message-style {
  font-weight: bold;
}

.action > .message-style {
  font-style: italic;
}

.action > .message-style::before {
  content: "*** ";
}

a,
a:hover {
  color: rgba(255, 255, 255, 0.6);
}

a:active {
  color: rgba(255, 255, 255, 1);
}

a:visited {
  color: rgba(255, 255, 255, 0.4);
}

#Chat {
  white-space: normal;
}

p *:any-link img {
  margin-bottom: 1px;
  border-bottom: solid 1px;
}

.ib-nick {
  color: white !important;
  border-radius: 3px;
  padding: 0 0.25em;
}

.ib-nick[left] {
  color: white !important;
  background-color: black;
  opacity: 0.4;
  -moz-transition-property: opacity;
  -moz-transition-duration: 0.3s;
}

.ib-nick[left]:hover {
  opacity: 1;
}

.ib-sender.message-encrypted {
  position: relative;
}

.ib-sender.message-encrypted::after {
  position: relative;
  display: inline-block;
  content: '';
  width: 11px;
  height: 11px;
  opacity: 0.5;
  background: url("chrome://messenger/skin/icons/connection-secure.svg") no-repeat center;
  background-size: contain;
  margin-inline-start: 4px;
  -moz-context-properties: fill;
  fill: currentColor;
}