summaryrefslogtreecommitdiffstats
path: root/toolkit/components/certviewer/content/components/info-item.css
blob: b63452152cdaf7a7cafc3776ee1b1c645ffc9ed1 (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
/* 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/. */

:host {
  line-height: 22px;
  display: contents;
  word-break: break-word;
}

:host * {
  padding: 1px 0;
}

label {
  text-align: end;
  margin-inline-end: 0;
  color: var(--text-color-deemphasized);
  font-weight: 600;
  font-size: 1em;
}

.hex {
  overflow: hidden;
  word-break: break-all;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-link-chain {
  margin: 0 5px;
}

.long-hex {
  padding: 0;
  border-block: 1px solid transparent;
}

.long-hex:hover {
  border-block-color: var(--in-content-border-color);
  background-color: var(--in-content-item-hover);
  color: var(--in-content-item-hover-text);
}

.hex-open {
  white-space: normal;
}

:host(.value) *,
:host(.method) *,
:host(.padding) * {
  padding-bottom: 10px;
}

/* Elements that always need to be forced to LTR */
.hex,
:host(.dns-name) .info,
.url {
  direction: ltr;
  text-align: match-parent;
}

/* Display some elements according to their text directionality */
:host(.common-name) .info,
:host(.name) .info,
:host(.organization) .info {
  unicode-bidi: plaintext;
  text-align: match-parent;
}