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