|
|
|
|
Quelle autocomplete.css
Sprache: unbekannt
|
|
Spracherkennung für: .css vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
/* 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/. */
@namespace html url(" http://www.w3.org/1999/xhtml");
/* General popup rules */
#PopupAutoComplete > richlistbox {
padding: var(--space-medium);
}
/* Define the minimum width based on the style of result rows.
The order of the min-width rules below must be in increasing order. */
#PopupAutoComplete:is([resultstyles~="loginsFooter"], [resultstyles~="insecureWar ning"])::part(content) {
min-width: 22em;
}
#PopupAutoComplete:is([resultstyles~="importableLogins"], [resultstyles~="generatedPassword"])::part(content) {
min-width: 22em;
}
#PopupAutoComplete:is(
[resultstyles~="autofill"],
[resultstyles~="loginsFooter"],
[resultstyles~="insecureWarning"],
[resultstyles~="importableLogins"],
[resultstyles~="generatedPassword"]
)::part(content) {
min-width: 250px;
}
#PopupAutoComplete > richlistbox > richlistitem {
min-height: var(--size-item-medium);
border: 0;
border-radius: var(--border-radius-small);
padding: var(--space-small);
gap: var(--space-small);
/* stylelint-disable-next-line media-query-no-invalid */
@media -moz-pref("browser.nova.enabled") {
border-radius: var(--border-radius-large);
}
--status-text-color: currentColor;
--status-background-color: rgba(248, 232, 28, 0.2);
&:not(:last-child) {
margin-block-end: var(--space-xsmall);
}
> .ac-site-icon {
max-height: var(--icon-size-large);
min-width: var(--icon-size-large);
margin-inline: 0;
}
> .ac-login-item {
display: flex;
justify-content: center;
width: 100%;
> .ac-secondary-action {
visibility: hidden;
height: 16px;
width: 16px;
border: 0;
color: inherit;
-moz-context-properties: fill;
fill: currentColor;
margin: 8px;
cursor: pointer;
background: url("chrome://global/skin/icons/settings.svg") center no-repeat;
}
}
&:is(:hover, [selected]) > .ac-login-item > .ac-secondary-action {
visibility: visible;
}
> .ac-title {
font: icon;
margin-inline-start: 4px;
}
&[originaltype="importableLearnMore"] {
padding-bottom: 2px;
padding-inline-start: 21px;
}
&[originaltype="loginsFooter"] {
background-color: transparent;
color: currentColor;
position: relative;
&:is(:hover, [selected]) {
background-color: var(--button-background-color-hover);
}
&[selected]:active {
background-color: var(--button-background-color-active);
}
}
&[originaltype="loginsFooter"]:not(:first-child) {
border-top: 1px solid var(--panel-separator-color);
border-start-start-radius: 0;
border-start-end-radius: 0;
}
&[originaltype="loginsFooter"]::before {
content: "";
position: absolute;
top: 0;
inset-inline-start: 4px;
width: calc(100% - 8px);
}
&[originaltype="insecureWarning"] {
height: auto;
& > .ac-title > .ac-text-overflow-container > .ac-title-text {
text-overflow: initial;
white-space: initial;
}
& > .ac-title > label {
margin-inline-start: 0;
}
}
&[originaltype="loginWithOrigin"] > .ac-site-icon,
&[originaltype="insecureWarning"] > .ac-site-icon {
margin-inline-start: 0;
display: initial;
}
&[originaltype="login"] > .ac-site-icon,
&[originaltype="possible-username"] > .ac-site-icon,
> .two-line-wrapper > .ac-site-icon {
display: block;
margin-inline: 0;
}
&[originaltype="possible-username"] > .ac-site-icon {
visibility: hidden;
}
/* Autocomplete richlistitem support for a two-line label display */
> .two-line-wrapper {
box-sizing: border-box;
display: flex;
align-items: center;
flex-direction: row;
gap: var(--space-small);
margin: 0;
min-width: 0;
> .ac-site-icon {
max-height: var(--icon-size-large);
min-width: var(--icon-size-large);
}
> .ac-site-icon[src=""] {
display: none;
}
> .labels-wrapper {
/* The text should flex while the icon should not */
flex: 1;
/* min-width is needed to get the text-overflow: ellipsis to work for the children */
min-width: 0;
> .label-row {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.line2-label {
padding-top: 2px !important;
color: var(--text-color-deemphasized);
}
}
}
&[originaltype="generatedPassword"] > .two-line-wrapper > .labels-wrapper > .generated-password-autosave,
&[originaltype="importableLearnMore"] > .ac-title,
> .two-line-wrapper > .labels-wrapper > .line2-label {
padding-top: 2px !important;
color: var(--text-color-deemphasized);
}
/* Login form autocompletion (with and without origin showing) and generated passwords */
&[originaltype="generatedPassword"] > .two-line-wrapper > .ac-site-icon,
&[originaltype="loginWithOrigin"] > .two-line-wrapper > .ac-site-icon,
&[originaltype="login"] > .ac-site-icon {
fill: GrayText;
}
&[originaltype="importableLogins"] > .two-line-wrapper > .ac-site-icon {
fill: GrayText;
list-style-image: url(chrome://browser/skin/import.svg);
}
@media (forced-colors) {
&[originaltype="generatedPassword"][selected] > .two-line-wrapper > .ac-site-icon,
&[originaltype="importableLogins"][selected] > .two-line-wrapper > .ac-site-icon,
&[originaltype="loginWithOrigin"][selected] > .two-line-wrapper > .ac-site-icon,
&[originaltype="login"] > .ac-site-icon[selected] {
fill: SelectedItemText;
}
}
&[originaltype="action"] > .two-line-wrapper {
flex: 1;
}
&[originaltype="generatedPassword"] {
&:not([collapsed]) {
/* Workaround bug 451997 and/or bug 492645 */
display: block;
}
> .two-line-wrapper > .labels-wrapper {
&.line2-label > span {
/* The font-family is only adjusted on the inner span so that the
line-height of .line2-label matches that of .line1-label */
font-family: monospace;
}
> .generated-password-autosave > span {
/* The font-* properties are only adjusted on the inner span so that the
line-height of .generated-password-autosave matches that of .line1-label */
font-style: italic;
font-size: 0.85em;
white-space: normal;
}
}
}
&[originaltype="login"] + richlistitem[originaltype="generatedPassword"],
&[originaltype="loginWithOrigin"] + richlistitem[originaltype="generatedPassword"] {
/* Separator between logins and generated passwords. This uses --panel-separator-color from default
* themes since autocomplete doesn't yet switch to dark. */
border-top: 1px solid hsla(210, 4%, 10%, 0.14);
border-start-start-radius: 0;
border-start-end-radius: 0;
}
&[originaltype="action"] {
text-align: center;
}
/* The "Manage addresses"/"Manage payment methods" footer is always the last
action row; align it to the start rather than centering it. */
&[originaltype="action"]:last-child {
text-align: start;
}
/* status items */
> .ac-status {
padding: var(--space-xsmall) var(--space-small);
text-align: center;
background-color: var(--status-background-color);
color: var(--status-text-color);
width: 100%;
border-bottom: 1px solid var(--panel-separator-color);
font-size: calc(10 / 12 * 1em);
}
&:has(> .ac-status) {
opacity: 1;
}
&[originaltype="autofill"][ac-image]:not([ac-image=""]) > .two-line-wrapper {
display: grid;
grid-template-columns: var(--icon-size-large) 1fr;
> .ac-site-icon {
width: auto;
max-height: var(--icon-size-large);
min-width: var(--icon-size-large);
}
}
/* Insecure field warning */
&[originaltype="insecureWarning"] {
background-color: var(--button-background-color-hover);
color: inherit;
border-bottom: 1px solid var(--panel-separator-color);
padding-block: var(--space-xsmall);
&[selected]:active {
background-color: var(--button-background-color-active);
color: inherit;
}
> .ac-title {
font-size: 1em;
}
> .ac-title .ac-emphasize-text-title {
font-weight: var(--font-weight-heading);
}
> .ac-site-icon {
list-style-image: url(chrome://global/skin/icons/security-broken.svg);
}
}
}
/* Popup states */
.autocomplete-richlistitem {
&:not([disabled]):is(:hover, [selected]) {
background-color: var(--button-background-color-hover);
color: var(--button-text-color-hover);
}
&[selected]:active {
background-color: var(--button-background-color-active);
color: var(--button-text-color-active);
}
@media (forced-colors) {
&[selected]:not(:active) {
box-shadow: inset 0 0 0 3px CanvasText;
color: ButtonText;
background-color: ButtonFace;
}
}
}
[Dauer der Verarbeitung: 0.16 Sekunden, vorverarbeitet 2026-08-24]
|
2026-08-25
|
|
|
|
|
Neuigkeiten |
| Aktuelles |
| Motto des Tages |
|
Open Source Software |
|
|
|
Jenseits des Üblichen ....
 
|
|
Besucherstatistik |
|
|
| Statistik |
| #Sources=434850 |
| #Domains=655579 |
|
|