| 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 | .stack-edit-button-group { |
| 9 | display: flex; |
| 10 | } |
| 11 | |
| 12 | .stack-edit-right-side-buttons { |
| 13 | opacity: 0; |
| 14 | } |
| 15 | |
| 16 | .stack-edit-subtree { |
| 17 | position: relative; |
| 18 | } |
| 19 | |
| 20 | .stack-edit-subtree .commit { |
| 21 | background: var(--background); |
| 22 | margin-bottom: var(--pad); |
| 23 | cursor: default; |
| 24 | } |
| 25 | |
| 26 | .commit-reorder-preview { |
| 27 | opacity: 0.5; |
| 28 | } |
| 29 | |
| 30 | .stack-edit-subtree .commit:hover .stack-edit-right-side-buttons { |
| 31 | opacity: 1; |
| 32 | } |
| 33 | |
| 34 | .drag-handle { |
| 35 | cursor: grab; |
| 36 | display: flex; |
| 37 | padding: var(--button-icon-padding); |
| 38 | touch-action: none; |
| 39 | } |
| 40 | |
| 41 | .stack-edit-spacer { |
| 42 | margin-right: auto; |
| 43 | } |
| 44 | |