view-syncedtabs.css (2320B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 @import url("chrome://global/skin/in-content/common.css"); 6 7 .icon { 8 display: inline-block; 9 width: 16px; 10 height: 16px; 11 background-position: center center; 12 background-repeat: no-repeat; 13 -moz-context-properties: fill; 14 fill: currentColor; 15 } 16 17 .phone, 18 .mobile { 19 background-image: url("chrome://browser/skin/device-phone.svg"); 20 } 21 22 .desktop { 23 background-image: url("chrome://browser/skin/device-desktop.svg"); 24 } 25 26 .tablet { 27 background-image: url("chrome://browser/skin/device-tablet.svg"); 28 } 29 30 h2 { 31 display: flex; 32 align-items: center; 33 } 34 35 h3.device-header { 36 display: grid; 37 align-items: center; 38 cursor: inherit; 39 font-weight: var(--fxview-card-header-font-weight, var(--heading-font-weight)); 40 font-size: 1em; 41 grid-template-columns: min-content 1fr; 42 gap: 0 16px; 43 margin: 0; 44 } 45 46 h3.device-header:not([slot="header"]) { 47 margin-block: 0.7em; 48 margin-inline: 0.5em 0; 49 } 50 51 h3.device-header:not([slot="header"]):not(:first-child) { 52 margin-block-start: 1.6em; 53 } 54 55 .notabs { 56 margin-block-start: 1em; 57 color: var(--fxview-text-secondary-color); 58 } 59 60 .blackbox { 61 border: 1px solid var(--fxview-border); 62 text-align: center; 63 height: 70px; 64 border-radius: var(--border-radius-medium); 65 width: 100%; 66 display: flex; 67 align-items: center; 68 justify-content: center; 69 } 70 71 .search-results-empty { 72 height: unset; 73 min-height: 70px; 74 overflow-wrap: anywhere; 75 } 76 77 button.primary { 78 white-space: nowrap; 79 min-width: fit-content; 80 } 81 82 label { 83 display: flex; 84 align-items: center; 85 } 86 87 .syncedtabs-header { 88 display: flex; 89 justify-content: space-between; 90 height: 34px; 91 align-items: center; 92 } 93 94 .syncedtabs-header button { 95 display: flex; 96 align-items: center; 97 min-width: unset; 98 margin-inline-start: auto; 99 } 100 101 .syncedtabs-header button .icon { 102 margin-inline-end: 0.7rem; 103 } 104 105 .show-all-link-container { 106 display: flex; 107 justify-content: center; 108 color: var(--fxview-primary-action-background); 109 cursor: pointer; 110 } 111 112 .show-all-link { 113 text-decoration: underline; 114 display: inline-block; 115 outline-offset: 2px; 116 border-radius: var(--border-radius-xsmall); 117 margin-block: 0.5rem; 118 }