summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/preferences/containers.css
diff options
context:
space:
mode:
Diffstat (limited to 'browser/themes/shared/preferences/containers.css')
-rw-r--r--browser/themes/shared/preferences/containers.css54
1 files changed, 54 insertions, 0 deletions
diff --git a/browser/themes/shared/preferences/containers.css b/browser/themes/shared/preferences/containers.css
new file mode 100644
index 0000000000..8528bf7948
--- /dev/null
+++ b/browser/themes/shared/preferences/containers.css
@@ -0,0 +1,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;
+}