blob: 8b288cb95da0e5fe307437e300d2c03ae19ab397 (
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
|
/* 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/. */
.tab-preview-container {
background-color: #ffffff;
color: #15141a;
border-radius: 9px;
display: inline-block;
width: 280px;
overflow: hidden;
line-height: 1.5;
}
.tab-preview-title {
max-height: 3em;
overflow: hidden;
font-weight: 600;
}
.tab-preview-uri {
color: #4a4b49;
max-height: 1.5em;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.tab-preview-text-container {
padding: 8px;
}
.tab-preview-thumbnail-container img,
.tab-preview-thumbnail-container canvas {
display: block;
width: 100%;
}
@media (prefers-color-scheme: dark) {
.tab-preview-container {
background-color: #42414d;
color: #fbfbfe;
}
.tab-preview-uri {
color: #cfcfd8;
}
}
@media (prefers-contrast) {
.tab-preview-container {
background-color: Canvas;
color: CanvasText;
}
.tab-preview-uri {
color: CanvasText;
}
}
@media (max-width: 640px) {
.tab-preview-thumbnail-container {
display: none;
}
}
|