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