forked from mirrors/gecko-dev
Leverages `AUTOCOMPLETE_MATCH` in order to add search functionality to Fx View History. https://treeherder.mozilla.org/jobs?repo=try&revision=a45a29326ba22252756cd9d142e9199508b6693b Differential Revision: https://phabricator.services.mozilla.com/D190844
88 lines
1.5 KiB
CSS
88 lines
1.5 KiB
CSS
/* 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/. */
|
|
|
|
[slot="main"] {
|
|
display: flex;
|
|
gap: 40px;
|
|
align-items: center;
|
|
padding: 36px;
|
|
}
|
|
|
|
[slot="main"].selectedTab {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: 22px;
|
|
height: 264px;
|
|
}
|
|
|
|
[slot="main"].selectedTab .header {
|
|
justify-content: center;
|
|
}
|
|
|
|
[slot="main"].imageHidden .image-container {
|
|
display: none;
|
|
}
|
|
|
|
[slot="main"].imageHidden .main {
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
|
|
.image-container {
|
|
min-width: 150px;
|
|
text-align: center;
|
|
}
|
|
|
|
.image {
|
|
-moz-context-properties: fill, stroke, fill-opacity;
|
|
fill: var(--fxview-background-color-secondary);
|
|
stroke: var(--fxview-text-primary-color);
|
|
}
|
|
|
|
.header {
|
|
margin-block: 0;
|
|
font-size: 1.46rem;
|
|
font-weight: 300;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.icon[hidden], .header[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.icon {
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.info {
|
|
-moz-context-properties: fill;
|
|
fill: var(--in-content-primary-button-background);
|
|
}
|
|
|
|
.description {
|
|
color: var(--text-color-deemphasized);
|
|
margin-block: 4px 15px;
|
|
}
|
|
|
|
.description.secondary {
|
|
margin-block-start: 16px;
|
|
}
|
|
|
|
.main a {
|
|
color: var(--fxview-primary-action-background);
|
|
}
|
|
|
|
img.greyscale {
|
|
filter: grayscale(100%);
|
|
@media not (prefers-contrast) {
|
|
opacity: 0.5;
|
|
}
|
|
}
|