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