summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/view-syncedtabs.css
blob: 990a40408c80347b6f64f24bd8d6a3d4d8ba242c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
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;
}