summaryrefslogtreecommitdiffstats
path: root/toolkit/components/certviewer/content/components/list-item.css
blob: 2d03edb63e0312cee9c2f4028da6c9af852ffd62 (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
/* 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 {
  display: grid;
  padding: 1em 0 1em;
  border-block: 0.5px solid var(--in-content-border-color);
  border-inline: 0.5px solid transparent;
  position: relative;
}

:host(:hover) {
  background-color: var(--in-content-item-hover);
  color: var(--in-content-item-hover-text);
  border-inline-color: var(--in-content-border-color);
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

.cert-url {
  height: 100%;
  width: 100%;
  position: absolute;
  align-items: center;
  display: flex;
}

.cert-url > .item-name {
  padding-inline-start: 0.8em;
}

.export {
  position: absolute;
  inset-inline-end: 2em;
  align-self: center;
  font-size: 1em;
}

.export a {
  position: relative;
}