summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/preferences/containers.css
blob: 8528bf794898c0135601ce80d63452de8be59b79 (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
/* 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://browser/content/usercontext/usercontext.css");

#category-containers {
  display: none;
}

.container-header-links {
  margin-block-end: 15px;
}

[data-identity-icon] {
  margin: 0;
  margin-inline-end: 16px;
}

#containersView {
  border: 0;
  background: transparent;
  margin-block-end: 8px;
}

#containersView richlistitem {
  padding-block: 4px;
  border-block-end: 1px solid var(--in-content-border-color);
}

#containersView richlistitem > .container-buttons {
  margin-inline-end: 4px;
}

/* Crop the label at the end using CSS. This isn't using XUL crop
 * and a value attribute because those labels cannot be highlighted
 * by the prefs' find-in-page feature.
 */
.userContext-label-inprefs {
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.userContext-icon-inprefs {
  margin-inline: 4px 10px;
  width: 24px;
  height: 24px;
}

#containersView richlistitem:last-of-type {
  border-block-end: 0;
}