diff options
Diffstat (limited to 'browser/components/firefoxview/view-syncedtabs.css')
-rw-r--r-- | browser/components/firefoxview/view-syncedtabs.css | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/browser/components/firefoxview/view-syncedtabs.css b/browser/components/firefoxview/view-syncedtabs.css new file mode 100644 index 0000000000..990a40408c --- /dev/null +++ b/browser/components/firefoxview/view-syncedtabs.css @@ -0,0 +1,118 @@ +/* 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/. */ + +@import url("chrome://global/skin/in-content/common.css"); + +.icon { + display: inline-block; + width: 16px; + height: 16px; + background-position: center center; + background-repeat: no-repeat; + -moz-context-properties: fill; + fill: currentColor; +} + +.phone, +.mobile { + background-image: url('chrome://browser/skin/device-phone.svg'); +} + +.desktop { + background-image: url('chrome://browser/skin/device-desktop.svg'); +} + +.tablet { + background-image: url('chrome://browser/skin/device-tablet.svg'); +} + +h2 { + display: flex; + align-items: center; +} + +h3.device-header { + display: grid; + align-items: center; + cursor: inherit; + font-weight: var(--fxview-card-header-font-weight); + font-size: 1em; + grid-template-columns: min-content 1fr; + gap: 0 16px; + margin: 0; +} + +h3.device-header:not([slot="header"]) { + margin-block: 0.7em; + margin-inline: 0.5em 0; +} + +h3.device-header:not([slot="header"]):not(:first-child) { + margin-block-start: 1.6em; +} + +.notabs { + margin-block-start: 1em; + color: var(--fxview-text-secondary-color); +} + +.blackbox { + border: 1px solid var(--fxview-border); + text-align: center; + height: 70px; + border-radius: 8px; + width: 100%; + display: flex; + align-items: center; + justify-content: center; +} + +.search-results-empty { + height: unset; + min-height: 70px; + overflow-wrap: anywhere; +} + +button.primary { + white-space: nowrap; + min-width: fit-content; +} + +label { + display: flex; + align-items: center; +} + +.syncedtabs-header { + display: flex; + justify-content: space-between; + height: 34px; + align-items: center; +} + +.syncedtabs-header button { + display: flex; + align-items: center; + min-width: unset; + margin-inline-start: auto; +} + +.syncedtabs-header button .icon { + margin-inline-end: 0.7rem; +} + +.show-all-link-container { + display: flex; + justify-content: center; + color: var(--fxview-primary-action-background); + cursor: pointer; +} + +.show-all-link { + text-decoration: underline; + display: inline-block; + outline-offset: 2px; + border-radius: 2px; + margin-block: 0.5rem; +} |