tweak urlbar placeholder opacity
This commit is contained in:
parent
d9fa3f5c96
commit
0a720d6001
1 changed files with 27 additions and 22 deletions
|
@ -160,7 +160,8 @@
|
|||
fill: var(--toolbar-field-color) !important;
|
||||
}
|
||||
|
||||
#userContext-icons, #urlbar-zoom-button {
|
||||
#userContext-icons,
|
||||
#urlbar-zoom-button {
|
||||
padding-inline: var(--uc-urlbar-icon-inline-padding) !important;
|
||||
margin-block: 0 !important;
|
||||
margin-inline: 0 !important;
|
||||
|
@ -169,21 +170,24 @@
|
|||
/* make urlbar icons opaque in default theme */
|
||||
@media not (prefers-contrast) {
|
||||
:is(:root:not(:-moz-lwtheme), :root[style*="--lwt-accent-color: rgb(240, 240, 244)"]) :is(
|
||||
#urlbar-input::placeholder,
|
||||
.searchbar-textbox::placeholder,
|
||||
.urlbar-icon,
|
||||
.urlbar-icon:not(#star-button[starred]),
|
||||
.sharing-icon,
|
||||
#identity-icon,
|
||||
.searchbar-search-icon,
|
||||
#identity-icon-label,
|
||||
#permissions-granted-icon,
|
||||
#tracking-protection-icon,
|
||||
.notification-anchor-icon,
|
||||
#blocked-permissions-container > .blocked-permission-icon
|
||||
) {
|
||||
#blocked-permissions-container > .blocked-permission-icon) {
|
||||
opacity: 0.6 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#urlbar-input::placeholder,
|
||||
.searchbar-textbox::placeholder {
|
||||
opacity: 0.6 !important;
|
||||
}
|
||||
|
||||
/* remove background from urlbar box */
|
||||
#identity-box[pageproxystate="valid"].notSecureText>.identity-box-button:not(:hover, [open]),
|
||||
#identity-box[pageproxystate="valid"].chromeUI>.identity-box-button:not(:hover, [open]),
|
||||
|
@ -215,6 +219,7 @@
|
|||
}
|
||||
|
||||
@media not (prefers-reduced-motion) {
|
||||
|
||||
:is(#identity-box[pageproxystate="valid"].notSecureText>.identity-box-button,
|
||||
#identity-box[pageproxystate="valid"].chromeUI>.identity-box-button,
|
||||
#identity-box[pageproxystate="valid"].extensionPage>.identity-box-button)::after {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue