856 B42 lines
Blame
1/**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8.top-bar {
9 display: flex;
10 flex-direction: row;
11 justify-content: space-between;
12 align-items: center;
13 flex-wrap: wrap;
14 padding: var(--pad);
15 background-color: var(--background);
16 margin-left: var(--halfpad);
17 gap: var(--pad);
18 position: sticky;
19 top: 0;
20 /* Should > .changed-file z-index */
21 z-index: 11;
22}
23
24.top-bar .button-group {
25 display: flex;
26 gap: var(--pad);
27 align-items: center;
28 flex-grow: 1;
29}
30
31.read-only-badge {
32 font-size: 11px;
33 font-weight: 600;
34 text-transform: uppercase;
35 letter-spacing: 0.05em;
36 color: var(--foreground);
37 opacity: 0.6;
38 padding: 2px 8px;
39 border: 1px solid currentColor;
40 border-radius: 4px;
41}
42