summaryrefslogtreecommitdiffstats
path: root/browser/components/aboutlogins/content/components/login-list-lit-item.css
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/aboutlogins/content/components/login-list-lit-item.css')
-rw-r--r--browser/components/aboutlogins/content/components/login-list-lit-item.css81
1 files changed, 81 insertions, 0 deletions
diff --git a/browser/components/aboutlogins/content/components/login-list-lit-item.css b/browser/components/aboutlogins/content/components/login-list-lit-item.css
new file mode 100644
index 0000000000..69b6d72b0c
--- /dev/null
+++ b/browser/components/aboutlogins/content/components/login-list-lit-item.css
@@ -0,0 +1,81 @@
+/* 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/. */
+
+.list-item {
+ display: flex;
+ align-items: center;
+ padding-block: 10px;
+ padding-inline: 12px 18px;
+ border-inline-start: 4px solid transparent;
+ user-select: none;
+}
+
+.list-item:not(.selected):hover {
+ background-color: var(--in-content-button-background-hover);
+ color: var(--in-content-button-text-color-hover);
+}
+
+.list-item:not(.selected):hover:active {
+ background-color: var(--in-content-button-background-active);
+ color: var(--in-content-button-text-color-active);
+}
+
+.list-item.keyboard-selected {
+ border-inline-start-color: var(--in-content-border-color);
+ background-color: var(--in-content-button-background-hover);
+}
+
+.list-item.selected {
+ border-inline-start-color: var(--in-content-accent-color);
+ background-color: var(--in-content-page-background);
+}
+
+.list-item.selected .title {
+ font-weight: 600;
+}
+
+.labels {
+ flex-grow: 1;
+ overflow: hidden;
+ min-height: 40px;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+}
+
+.title,
+.subtitle {
+ display: block;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
+
+.icon {
+ height: 16px;
+ width: 16px;
+ margin-inline-end: 12px;
+ -moz-context-properties: fill, fill-opacity;
+ fill: currentColor;
+ fill-opacity: 0.8;
+}
+
+.subtitle {
+ font-size: 0.85em;
+ color: var(--text-color-deemphasized);
+}
+
+.alert-icon {
+ min-width: 16px;
+ width: 16px;
+ margin-inline-start: 12px;
+ -moz-context-properties: fill, fill-opacity;
+ fill: currentColor;
+ fill-opacity: 0.75;
+
+ :host([notificationIcon="breached"]) & {
+ fill: var(--red-60);
+ fill-opacity: 1;
+ }
+}