mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1864122 - [Firefox Suggest Opt-in Experiment] Text and button style tweaks. r=daleharvey
Depends on D193437 Differential Revision: https://phabricator.services.mozilla.com/D193542
This commit is contained in:
parent
04aa3c78b6
commit
c5bfc9f4fa
@ -20,7 +20,7 @@
|
||||
min-width: 32px;
|
||||
height: 32px;
|
||||
padding: 16px;
|
||||
margin-inline-start: 0;
|
||||
margin-inline: 0 .7em;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -46,6 +46,10 @@
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.urlbarView-dynamic-quickSuggestContextualOptIn-title {
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
|
||||
.urlbarView-dynamic-quickSuggestContextualOptIn-description {
|
||||
margin-block-start: 2px;
|
||||
color: var(--urlbarView-secondary-text-color);
|
||||
|
@ -384,12 +384,13 @@
|
||||
.urlbarView-button:not(:empty) {
|
||||
&:not(.urlbarView-button-menu) {
|
||||
border-radius: var(--toolbarbutton-border-radius);
|
||||
padding: 7px;
|
||||
padding: .5em 1em;
|
||||
margin-inline-end: 1.4em;
|
||||
font-size: 0.93em;
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-weight-bold);
|
||||
background-clip: padding-box;
|
||||
min-height: 16px;
|
||||
min-width: 8.75em;
|
||||
min-width: 6em;
|
||||
text-align: center;
|
||||
flex-basis: initial;
|
||||
flex-shrink: 0;
|
||||
@ -412,16 +413,6 @@
|
||||
background-color: var(--button-primary-active-bgcolor);
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
/* Add space between a labeled button and the trailing edge of the panel. */
|
||||
margin-inline-end: 1.8em;
|
||||
}
|
||||
}
|
||||
|
||||
+ .urlbarView-button:empty {
|
||||
/* Add space between a labeled button followed by an unlabeled button. */
|
||||
margin-inline-start: 1.8em;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user