blob: c1d1a320f84e85a353aa969a9c284e1a6223dd23 (
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
|
/* 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/. */
.view-opentabs-card-container {
display: grid;
gap: 1em;
}
[card-count="one"] {
grid-template-columns: 1fr;
}
[card-count="two"] {
grid-template-columns: repeat(2, 1fr);
}
[card-count="three-or-more"] {
grid-template-columns: repeat(3, 1fr);
@media (max-width: 85rem) {
/* Switch to 2-column layout on narrow viewports */
grid-template-columns: repeat(2, 1fr);
}
}
.open-tabs-options, .open-tabs-sort-wrapper {
display: flex;
gap: 24px;
}
.open-tabs-options {
flex-wrap: wrap;
}
.open-tabs-sort-option {
display: flex;
align-items: center;
gap: 8px;
& label {
white-space: nowrap;
}
}
|