| 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 | .progress-container { |
| 9 | bottom: 0; |
| 10 | background: var(--background); |
| 11 | padding: calc(2 * var(--pad)); |
| 12 | z-index: 1; |
| 13 | border-top: 1px solid var(--panel-view-border); |
| 14 | display: flex; |
| 15 | flex-direction: column; |
| 16 | gap: var(--pad); |
| 17 | position: relative; |
| 18 | } |
| 19 | |
| 20 | .progress-container .tooltip-creator { |
| 21 | width: fit-content; |
| 22 | max-width: 100%; |
| 23 | display: flex; |
| 24 | flex-direction: column; |
| 25 | align-items: flex-start; |
| 26 | justify-content: flex-start; |
| 27 | gap: var(--pad); |
| 28 | } |
| 29 | |
| 30 | .progress-container-row { |
| 31 | display: flex; |
| 32 | flex-direction: row; |
| 33 | align-items: center; |
| 34 | gap: var(--pad); |
| 35 | width: fit-content; |
| 36 | max-width: 100%; |
| 37 | } |
| 38 | |
| 39 | .progress-container-row .codicon-error { |
| 40 | color: var(--scm-removed-foreground); |
| 41 | } |
| 42 | .progress-container-row .codicon-pass { |
| 43 | color: var(--scm-added-foreground); |
| 44 | } |
| 45 | |
| 46 | .queued-operations-container { |
| 47 | position: absolute; |
| 48 | right: 0; |
| 49 | bottom: 100%; |
| 50 | display: flex; |
| 51 | flex-direction: column; |
| 52 | gap: 10px; |
| 53 | margin: 0px; |
| 54 | background-color: var(--background); |
| 55 | padding: 10px; |
| 56 | border-radius: 4px 0 0 0; |
| 57 | border: 1px solid var(--dropdown-border); |
| 58 | max-width: 90%; |
| 59 | border-right-width: 0; |
| 60 | min-width: 150px; |
| 61 | } |
| 62 | |
| 63 | .queued-operation { |
| 64 | background-color: var(--badge-background); |
| 65 | color: var(--badge-foreground); |
| 66 | padding: 4px 8px; |
| 67 | border-radius: 4px; |
| 68 | margin-left: 10px; |
| 69 | |
| 70 | overflow: hidden; |
| 71 | white-space: nowrap; |
| 72 | text-overflow: ellipsis; |
| 73 | } |
| 74 | |
| 75 | .progress-container-command { |
| 76 | overflow: hidden; |
| 77 | white-space: nowrap; |
| 78 | text-overflow: ellipsis; |
| 79 | } |
| 80 | |
| 81 | .progress-container-row .tooltip-creator { |
| 82 | width: 100%; |
| 83 | gap: var(--pad); |
| 84 | align-items: center; |
| 85 | } |
| 86 | |
| 87 | .progress-command-tooltip { |
| 88 | max-width: min(700px, 50vw); |
| 89 | overflow-wrap: anywhere; |
| 90 | } |
| 91 | |
| 92 | .progress-command-tooltip pre { |
| 93 | word-wrap: break-word; |
| 94 | white-space: pre-wrap; |
| 95 | } |
| 96 | |
| 97 | .progress-container-last-output { |
| 98 | max-height: 5rem; |
| 99 | overflow-y: auto; |
| 100 | } |
| 101 | |
| 102 | .progress-container-last-output code { |
| 103 | white-space: pre-wrap; |
| 104 | } |
| 105 | |
| 106 | .progress-line { |
| 107 | display: flex; |
| 108 | gap: var(--pad); |
| 109 | align-items: center; |
| 110 | } |
| 111 | .progress-bar { |
| 112 | width: 120px; |
| 113 | height: 6px; |
| 114 | border-radius: 8px; |
| 115 | background-color: var(--hover-darken); |
| 116 | } |
| 117 | |
| 118 | .progress-bar-filled { |
| 119 | height: 100%; |
| 120 | display: block; |
| 121 | border-radius: 8px; |
| 122 | background-color: var(--button-primary-hover-background); |
| 123 | transition: width 0.1s; |
| 124 | } |
| 125 | |