fune/browser/components/firefoxview/view-syncedtabs.css

96 lines
1.8 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/. */
@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: 600;
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;
font-size: 1em;
}
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;
}
button.primary {
white-space: nowrap;
min-width: fit-content;
}
label {
display: flex;
align-items: center;
}
.syncedtabs-footer {
display: flex;
justify-content: end;
margin-block-end: 2rem;
}
.syncedtabs-footer button {
display: flex;
align-items: center;
min-width: unset;
margin-inline: 0;
padding: 0.5rem 0.7rem;
}
.syncedtabs-footer button .icon {
margin-inline-end: 0.7rem;
}