summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/identity-credential-notification.css
diff options
context:
space:
mode:
Diffstat (limited to 'browser/themes/shared/identity-credential-notification.css')
-rw-r--r--browser/themes/shared/identity-credential-notification.css121
1 files changed, 121 insertions, 0 deletions
diff --git a/browser/themes/shared/identity-credential-notification.css b/browser/themes/shared/identity-credential-notification.css
new file mode 100644
index 0000000000..6960bdf87c
--- /dev/null
+++ b/browser/themes/shared/identity-credential-notification.css
@@ -0,0 +1,121 @@
+/* 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/. */
+
+#identity-credential-notification {
+ --list-item-border: color-mix(in srgb, currentColor 10%, transparent);
+ --list-item-checked-bgcolor: color-mix(in srgb, var(--button-primary-bgcolor) 6%, transparent);
+ --list-item-checked-border: color-mix(in srgb, var(--button-primary-bgcolor) 20%, transparent);
+}
+
+@media (prefers-contrast) {
+ #identity-credential-notification {
+ --list-item-border: ThreeDShadow;
+ --list-item-checked-bgcolor: transparent;
+ --list-item-checked-border: AccentColor;
+ }
+}
+
+#identity-credential-provider-selector-container,
+#identity-credential-account-selector-container {
+ display: flex;
+ flex-direction: column;
+ gap: 12px;
+ max-height: 540px;
+ overflow: auto;
+}
+
+#identity-credential-header-text {
+ font-weight: 600;
+}
+
+.identity-credential-header-container {
+ margin: 16px 16px -16px 16px;
+ display: flex;
+}
+
+.identity-credential-header-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-end: 8px;
+}
+
+.identity-credential-list-item {
+ display: flex;
+ gap: 10px;
+ padding-block: max(calc(var(--arrowpanel-menuitem-padding-block) * 2), 4px);
+ padding-inline: calc(var(--arrowpanel-menuitem-padding-inline) * 2);
+ border: 2px solid var(--list-item-border);
+ border-radius: 4px;
+}
+
+.identity-credential-list-item.checked {
+ background-color: var(--list-item-checked-bgcolor);
+ border-color: var(--list-item-checked-border);
+}
+
+.identity-credential-list-item > .identity-credential-list-item-radio {
+ appearance: none;
+ background-color: var(--checkbox-unchecked-bgcolor);
+ background-image: url("chrome://global/skin/icons/radio.svg");
+ border: 1px solid var(--checkbox-border-color);
+ border-radius: 100%;
+ align-self: center;
+ outline: none;
+ -moz-context-properties: fill;
+ fill: transparent;
+}
+
+.identity-credential-list-item > .identity-credential-list-item-radio:focus-visible {
+ outline-offset: var(--focus-outline-offset);
+}
+
+.identity-credential-list-item > .identity-credential-list-item-radio:hover {
+ background-color: var(--checkbox-unchecked-hover-bgcolor);
+}
+
+.identity-credential-list-item > .identity-credential-list-item-radio:hover:active {
+ background-color: var(--checkbox-unchecked-active-bgcolor);
+}
+
+.identity-credential-list-item > .identity-credential-list-item-radio:checked {
+ fill: var(--checkbox-checked-color);
+ background-color: var(--checkbox-checked-bgcolor);
+ border-color: var(--checkbox-checked-border-color);
+}
+
+.identity-credential-list-item > .identity-credential-list-item-radio:checked:hover {
+ background-color: var(--checkbox-checked-hover-bgcolor);
+}
+
+.identity-credential-list-item > .identity-credential-list-item-radio:checked:hover:active {
+ background-color: var(--checkbox-checked-active-bgcolor);
+}
+
+.identity-credential-list-item-icon {
+ -moz-context-properties: fill, fill-opacity;
+ fill: currentColor;
+ fill-opacity: 0.6;
+ clip-path: circle(50%);
+ width: 32px;
+ height: 32px;
+}
+
+.identity-credential-list-item > .identity-credential-list-item-label {
+ align-self: center;
+ font-weight: 600;
+}
+
+.identity-credential-list-item-label-stack > .identity-credential-list-item-label-name {
+ font-weight: 600;
+}
+
+.identity-credential-list-item-label-stack > .identity-credential-list-item-label-email {
+ font-size: 80%;
+}
+
+.identity-credential-list-item > .identity-credential-list-item-label-stack {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+}