diff options
Diffstat (limited to 'browser/components/aboutlogins/content/components/login-command-button.css')
-rw-r--r-- | browser/components/aboutlogins/content/components/login-command-button.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/browser/components/aboutlogins/content/components/login-command-button.css b/browser/components/aboutlogins/content/components/login-command-button.css new file mode 100644 index 0000000000..40b3f9a455 --- /dev/null +++ b/browser/components/aboutlogins/content/components/login-command-button.css @@ -0,0 +1,34 @@ +/* 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 button { + margin: 0; + display: inline-flex; + flex-direction: row; + align-items: center; + min-width: auto; +} + +:host img { + padding-inline-end: 8px; + -moz-context-properties: fill; + fill: currentColor; +} + +:host(create-login-button) img, +:host(.copy-button) img { + padding: 0; +} + +:host([data-copied]) button { + color: var(--in-content-success-icon-color) !important; + background-color: transparent; + opacity: 1; + /* override common.css fading out disabled buttons */ +} + +:host([data-copied]) { + -moz-context-properties: fill; + fill: currentColor; +} |