| 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 | .shelved-changes-dropdown { |
| b69ab31 | | | 9 | min-width: 400px; |
| b69ab31 | | | 10 | } |
| b69ab31 | | | 11 | |
| b69ab31 | | | 12 | .shelved-changes-list { |
| b69ab31 | | | 13 | display: flex; |
| b69ab31 | | | 14 | flex-direction: column; |
| b69ab31 | | | 15 | gap: calc(2 * var(--pad)); |
| b69ab31 | | | 16 | align-items: flex-start; |
| b69ab31 | | | 17 | max-height: 60vh; |
| b69ab31 | | | 18 | overflow-y: auto; |
| b69ab31 | | | 19 | } |
| b69ab31 | | | 20 | |
| b69ab31 | | | 21 | .shelved-changes-item { |
| b69ab31 | | | 22 | display: flex; |
| b69ab31 | | | 23 | flex-direction: column; |
| b69ab31 | | | 24 | gap: 0; |
| b69ab31 | | | 25 | align-items: flex-start; |
| b69ab31 | | | 26 | width: 100%; |
| b69ab31 | | | 27 | } |
| b69ab31 | | | 28 | |
| b69ab31 | | | 29 | .unshelve-button { |
| b69ab31 | | | 30 | opacity: 0; |
| b69ab31 | | | 31 | transition: opacity 0.1s; |
| b69ab31 | | | 32 | } |
| b69ab31 | | | 33 | |
| b69ab31 | | | 34 | .shelved-changes-item:focus-within .unshelve-button, |
| b69ab31 | | | 35 | .shelved-changes-item:hover .unshelve-button { |
| b69ab31 | | | 36 | opacity: 1; |
| b69ab31 | | | 37 | } |
| b69ab31 | | | 38 | |
| b69ab31 | | | 39 | .shelved-changes-item-row { |
| b69ab31 | | | 40 | width: 100%; |
| b69ab31 | | | 41 | display: flex; |
| b69ab31 | | | 42 | gap: var(--pad); |
| b69ab31 | | | 43 | align-items: center; |
| b69ab31 | | | 44 | } |
| b69ab31 | | | 45 | |
| b69ab31 | | | 46 | .shelve-name { |
| b69ab31 | | | 47 | font-weight: bold; |
| b69ab31 | | | 48 | font-size: 90%; |
| b69ab31 | | | 49 | } |
| b69ab31 | | | 50 | |
| b69ab31 | | | 51 | .shelved-changes-item .changed-files { |
| b69ab31 | | | 52 | width: 100%; |
| b69ab31 | | | 53 | margin-left: 0; |
| b69ab31 | | | 54 | } |
| b69ab31 | | | 55 | .shelved-changes-item vscode-button { |
| b69ab31 | | | 56 | margin-left: 0; |
| b69ab31 | | | 57 | } |
| b69ab31 | | | 58 | |
| b69ab31 | | | 59 | .shelved-changes-item .changed-files-list { |
| b69ab31 | | | 60 | --changed-files-list-height: 80px; |
| b69ab31 | | | 61 | --changed-files-overflow-color: var(--tooltip-background); |
| b69ab31 | | | 62 | } |