| 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 | .commit-info-view { |
| b69ab31 | | | 9 | display: flex; |
| b69ab31 | | | 10 | flex-direction: column; |
| b69ab31 | | | 11 | height: 100%; |
| b69ab31 | | | 12 | |
| b69ab31 | | | 13 | --toolbar-fade-height: 30px; |
| b69ab31 | | | 14 | } |
| b69ab31 | | | 15 | |
| b69ab31 | | | 16 | .commit-info-view-main-content { |
| b69ab31 | | | 17 | overflow-y: auto; |
| b69ab31 | | | 18 | padding: var(--pad); |
| b69ab31 | | | 19 | flex-grow: 1; |
| b69ab31 | | | 20 | padding-bottom: var(--toolbar-fade-height); |
| b69ab31 | | | 21 | } |
| b69ab31 | | | 22 | |
| b69ab31 | | | 23 | .commit-info-view-multi-commit { |
| b69ab31 | | | 24 | display: flex; |
| b69ab31 | | | 25 | flex-direction: column; |
| b69ab31 | | | 26 | } |
| b69ab31 | | | 27 | |
| b69ab31 | | | 28 | .commit-info-view-multi-commit .commit-list { |
| b69ab31 | | | 29 | display: flex; |
| b69ab31 | | | 30 | flex-direction: column; |
| b69ab31 | | | 31 | margin-left: calc(4 * var(--pad)); |
| b69ab31 | | | 32 | gap: var(--halfpad); |
| b69ab31 | | | 33 | flex-grow: 1; |
| b69ab31 | | | 34 | } |
| b69ab31 | | | 35 | |
| b69ab31 | | | 36 | .commit-info-view-multi-commit .commit-list-container { |
| b69ab31 | | | 37 | display: flex; |
| b69ab31 | | | 38 | flex-direction: column; |
| b69ab31 | | | 39 | gap: var(--pad); |
| b69ab31 | | | 40 | margin: var(--pad); |
| b69ab31 | | | 41 | } |
| b69ab31 | | | 42 | |
| b69ab31 | | | 43 | .commit-info-view-multi-commit .commit-list-header { |
| b69ab31 | | | 44 | text-align: center; |
| b69ab31 | | | 45 | display: flex; |
| b69ab31 | | | 46 | align-items: center; |
| b69ab31 | | | 47 | gap: var(--halfpad); |
| b69ab31 | | | 48 | margin: var(--pad); |
| b69ab31 | | | 49 | } |
| b69ab31 | | | 50 | |
| b69ab31 | | | 51 | .commit-info-view vscode-text-area, |
| b69ab31 | | | 52 | .commit-info-view vscode-text-field { |
| b69ab31 | | | 53 | width: 100%; |
| b69ab31 | | | 54 | margin: var(--halfpad) 0; |
| b69ab31 | | | 55 | } |
| b69ab31 | | | 56 | |
| b69ab31 | | | 57 | .commit-info-rendered-title { |
| b69ab31 | | | 58 | cursor: pointer; |
| b69ab31 | | | 59 | font-weight: bold; |
| b69ab31 | | | 60 | display: flex; |
| b69ab31 | | | 61 | align-items: center; |
| b69ab31 | | | 62 | gap: var(--pad); |
| b69ab31 | | | 63 | /* add padding then undo with margin so focus state outline is less cramped */ |
| b69ab31 | | | 64 | padding: var(--halfpad); |
| b69ab31 | | | 65 | margin: calc(-1 * var(--halfpad)); |
| b69ab31 | | | 66 | } |
| b69ab31 | | | 67 | |
| b69ab31 | | | 68 | .commit-info-title-wrapper { |
| b69ab31 | | | 69 | display: flex; |
| b69ab31 | | | 70 | align-items: center; |
| b69ab31 | | | 71 | gap: var(--pad); |
| b69ab31 | | | 72 | } |
| b69ab31 | | | 73 | |
| b69ab31 | | | 74 | .commit-info-title-wrapper:hover .hover-edit-button, |
| b69ab31 | | | 75 | .commit-info-title-wrapper:focus-within .hover-edit-button { |
| b69ab31 | | | 76 | opacity: 1; |
| b69ab31 | | | 77 | } |
| b69ab31 | | | 78 | |
| b69ab31 | | | 79 | .commit-info-rendered-field { |
| b69ab31 | | | 80 | cursor: pointer; |
| b69ab31 | | | 81 | white-space: pre-wrap; |
| b69ab31 | | | 82 | margin-bottom: var(--pad); |
| b69ab31 | | | 83 | transition: background-color 0.1s; |
| b69ab31 | | | 84 | border-radius: var(--pad); |
| b69ab31 | | | 85 | padding-top: 0; |
| b69ab31 | | | 86 | } |
| b69ab31 | | | 87 | |
| b69ab31 | | | 88 | .commit-info-rendered-textarea, |
| b69ab31 | | | 89 | .commit-info-rendered-custom { |
| b69ab31 | | | 90 | cursor: pointer; |
| b69ab31 | | | 91 | white-space: pre-wrap; |
| b69ab31 | | | 92 | transition: background-color 0.1s; |
| b69ab31 | | | 93 | border-radius: var(--pad); |
| b69ab31 | | | 94 | margin-inline: calc(-1 * var(--pad)); |
| b69ab31 | | | 95 | margin-bottom: var(--pad); |
| b69ab31 | | | 96 | padding: var(--pad); |
| b69ab31 | | | 97 | word-break: break-word; |
| b69ab31 | | | 98 | } |
| b69ab31 | | | 99 | |
| b69ab31 | | | 100 | .commit-info-rendered-field:focus-visible, |
| b69ab31 | | | 101 | .commit-info-rendered-title:focus-visible, |
| b69ab31 | | | 102 | .commit-info-rendered-textarea:focus-visible, |
| b69ab31 | | | 103 | .commit-info-rendered-custom:focus-visible { |
| b69ab31 | | | 104 | outline: var(--focus-border) 1px auto; |
| b69ab31 | | | 105 | outline-offset: -1px; |
| b69ab31 | | | 106 | } |
| b69ab31 | | | 107 | |
| b69ab31 | | | 108 | .commit-info-section .see-more-container { |
| b69ab31 | | | 109 | margin: calc(-1 * var(--pad)); |
| b69ab31 | | | 110 | margin-left: 0; |
| b69ab31 | | | 111 | margin-bottom: var(--pad); |
| b69ab31 | | | 112 | } |
| b69ab31 | | | 113 | |
| b69ab31 | | | 114 | .commit-info-rendered-textarea:hover, |
| b69ab31 | | | 115 | .commit-info-rendered-field:hover, |
| b69ab31 | | | 116 | .commit-info-rendered-custom:hover { |
| b69ab31 | | | 117 | background: var(--tooltip-background); |
| b69ab31 | | | 118 | } |
| b69ab31 | | | 119 | |
| b69ab31 | | | 120 | .commit-info-actions-bar { |
| b69ab31 | | | 121 | display: flex; |
| b69ab31 | | | 122 | flex-direction: row; |
| b69ab31 | | | 123 | gap: var(--pad); |
| b69ab31 | | | 124 | flex-wrap: wrap; |
| b69ab31 | | | 125 | border-top: 1px solid var(--panel-view-border); |
| b69ab31 | | | 126 | padding: var(--pad); |
| b69ab31 | | | 127 | justify-content: space-between; |
| b69ab31 | | | 128 | } |
| b69ab31 | | | 129 | .commit-info-actions-bar-left { |
| b69ab31 | | | 130 | display: flex; |
| b69ab31 | | | 131 | flex-direction: row; |
| b69ab31 | | | 132 | gap: var(--pad); |
| b69ab31 | | | 133 | justify-content: flex-start; |
| b69ab31 | | | 134 | } |
| b69ab31 | | | 135 | .commit-info-actions-bar-right { |
| b69ab31 | | | 136 | display: flex; |
| b69ab31 | | | 137 | flex-direction: row; |
| b69ab31 | | | 138 | gap: var(--pad); |
| b69ab31 | | | 139 | margin-left: auto; |
| b69ab31 | | | 140 | flex-wrap: wrap; |
| b69ab31 | | | 141 | justify-content: flex-end; |
| b69ab31 | | | 142 | } |
| b69ab31 | | | 143 | .commit-info-actions-bar-row { |
| b69ab31 | | | 144 | width: 100%; |
| b69ab31 | | | 145 | display: flex; |
| b69ab31 | | | 146 | justify-content: flex-end; |
| b69ab31 | | | 147 | flex-direction: row; |
| b69ab31 | | | 148 | gap: var(--pad); |
| b69ab31 | | | 149 | margin-left: auto; |
| b69ab31 | | | 150 | } |
| b69ab31 | | | 151 | |
| b69ab31 | | | 152 | .commit-info-actions-bar-row { |
| b69ab31 | | | 153 | display: flex; |
| b69ab31 | | | 154 | flex-direction: row; |
| b69ab31 | | | 155 | width: 100%; |
| b69ab31 | | | 156 | align-items: center; |
| b69ab31 | | | 157 | justify-content: flex-end; |
| b69ab31 | | | 158 | } |
| b69ab31 | | | 159 | |
| b69ab31 | | | 160 | .commit-info-view-toolbar-top { |
| b69ab31 | | | 161 | padding: 0 var(--pad); |
| b69ab31 | | | 162 | border-bottom: 1px solid var(--panel-view-border); |
| b69ab31 | | | 163 | display: flex; |
| b69ab31 | | | 164 | flex-direction: row; |
| b69ab31 | | | 165 | gap: var(--pad); |
| b69ab31 | | | 166 | justify-content: flex-end; |
| b69ab31 | | | 167 | } |
| b69ab31 | | | 168 | |
| b69ab31 | | | 169 | .commit-info-section.commit-info-title-field-section { |
| b69ab31 | | | 170 | margin-top: 0; |
| b69ab31 | | | 171 | } |
| b69ab31 | | | 172 | |
| b69ab31 | | | 173 | .commit-info-view-toolbar-bottom:before { |
| b69ab31 | | | 174 | /* fade to bg color just above toolbar, to hint that you can keep scrolling */ |
| b69ab31 | | | 175 | background: linear-gradient(0deg, var(--background), transparent); |
| b69ab31 | | | 176 | width: 100%; |
| b69ab31 | | | 177 | height: var(--toolbar-fade-height); |
| b69ab31 | | | 178 | display: block; |
| b69ab31 | | | 179 | position: absolute; |
| b69ab31 | | | 180 | content: ' '; |
| b69ab31 | | | 181 | margin-top: calc(-1 * var(--toolbar-fade-height)); |
| b69ab31 | | | 182 | opacity: 0.8; |
| b69ab31 | | | 183 | pointer-events: none; |
| b69ab31 | | | 184 | } |
| b69ab31 | | | 185 | |
| b69ab31 | | | 186 | .commit-info-view-multi-commit .commit-list .commit-details:before { |
| b69ab31 | | | 187 | display: none; |
| b69ab31 | | | 188 | } |
| b69ab31 | | | 189 | |
| b69ab31 | | | 190 | .commit-info-field-buttons { |
| b69ab31 | | | 191 | display: flex; |
| b69ab31 | | | 192 | align-items: center; |
| b69ab31 | | | 193 | gap: 0; |
| b69ab31 | | | 194 | } |
| b69ab31 | | | 195 | |
| b69ab31 | | | 196 | .hover-edit-button { |
| b69ab31 | | | 197 | opacity: 0; |
| b69ab31 | | | 198 | transition: |
| b69ab31 | | | 199 | opacity 0.1s, |
| b69ab31 | | | 200 | background-color 0.1s, |
| b69ab31 | | | 201 | transform 0.1s; |
| b69ab31 | | | 202 | display: flex; |
| b69ab31 | | | 203 | cursor: pointer; |
| b69ab31 | | | 204 | border-radius: var(--halfpad); |
| b69ab31 | | | 205 | background: none; |
| b69ab31 | | | 206 | border: none; |
| b69ab31 | | | 207 | padding: 2px; |
| b69ab31 | | | 208 | color: inherit; |
| b69ab31 | | | 209 | } |
| b69ab31 | | | 210 | .hover-edit-button:hover { |
| b69ab31 | | | 211 | transform: scale(1.1); |
| b69ab31 | | | 212 | } |
| b69ab31 | | | 213 | .commit-info-section:focus-within .hover-edit-button, |
| b69ab31 | | | 214 | .commit-info-section:hover .hover-edit-button { |
| b69ab31 | | | 215 | opacity: 1; |
| b69ab31 | | | 216 | } |
| b69ab31 | | | 217 | |
| b69ab31 | | | 218 | .commit-info-small-title { |
| b69ab31 | | | 219 | font-weight: bold; |
| b69ab31 | | | 220 | text-transform: uppercase; |
| b69ab31 | | | 221 | font-size: 90%; |
| b69ab31 | | | 222 | opacity: 0.9; |
| b69ab31 | | | 223 | display: flex; |
| b69ab31 | | | 224 | align-items: center; |
| b69ab31 | | | 225 | gap: var(--halfpad); |
| b69ab31 | | | 226 | } |
| b69ab31 | | | 227 | |
| b69ab31 | | | 228 | .commit-info-section { |
| b69ab31 | | | 229 | margin: var(--pad); |
| b69ab31 | | | 230 | margin-top: calc(2 * var(--pad)); |
| b69ab31 | | | 231 | } |
| b69ab31 | | | 232 | |
| b69ab31 | | | 233 | .commit-info-title-byline { |
| b69ab31 | | | 234 | padding: 5px; |
| b69ab31 | | | 235 | margin: 0 var(--halfpad); |
| b69ab31 | | | 236 | display: flex; |
| b69ab31 | | | 237 | flex-wrap: nowrap; |
| b69ab31 | | | 238 | gap: var(--halfpad); |
| b69ab31 | | | 239 | align-items: center; |
| b69ab31 | | | 240 | } |
| b69ab31 | | | 241 | |
| b69ab31 | | | 242 | .overflow-ellipsis { |
| b69ab31 | | | 243 | text-overflow: ellipsis; |
| b69ab31 | | | 244 | overflow: hidden; |
| b69ab31 | | | 245 | white-space: nowrap; |
| b69ab31 | | | 246 | flex-shrink: 0; |
| b69ab31 | | | 247 | } |
| b69ab31 | | | 248 | .overflow-ellipsis.overflow-shrink { |
| b69ab31 | | | 249 | flex-shrink: 1; |
| b69ab31 | | | 250 | } |
| b69ab31 | | | 251 | |
| b69ab31 | | | 252 | .commit-info-title-byline .you-are-here-container { |
| b69ab31 | | | 253 | margin-right: 5px; |
| b69ab31 | | | 254 | flex-shrink: 0; |
| b69ab31 | | | 255 | } |
| b69ab31 | | | 256 | |
| b69ab31 | | | 257 | .commit-info-title-byline .tooltip-creator { |
| b69ab31 | | | 258 | display: inline; |
| b69ab31 | | | 259 | } |
| b69ab31 | | | 260 | |
| b69ab31 | | | 261 | .commit-info-view .empty-description { |
| b69ab31 | | | 262 | display: flex; |
| b69ab31 | | | 263 | gap: var(--halfpad); |
| b69ab31 | | | 264 | align-items: center; |
| b69ab31 | | | 265 | margin: var(--halfpad); |
| b69ab31 | | | 266 | } |
| b69ab31 | | | 267 | |
| b69ab31 | | | 268 | .commit-info-view .changed-file-list { |
| b69ab31 | | | 269 | padding: var(--halfpad) 0; |
| b69ab31 | | | 270 | } |
| b69ab31 | | | 271 | |
| b69ab31 | | | 272 | .commit-info-confirm-modal-paragraphs { |
| b69ab31 | | | 273 | display: flex; |
| b69ab31 | | | 274 | gap: var(--pad); |
| b69ab31 | | | 275 | flex-direction: column; |
| b69ab31 | | | 276 | } |
| b69ab31 | | | 277 | |
| b69ab31 | | | 278 | .commit-info-view .image-drop-zone { |
| b69ab31 | | | 279 | margin: var(--halfpad) 0; |
| b69ab31 | | | 280 | } |
| b69ab31 | | | 281 | .commit-info-view .image-drop-zone vscode-text-area { |
| b69ab31 | | | 282 | margin: 0; |
| b69ab31 | | | 283 | } |
| b69ab31 | | | 284 | |
| b69ab31 | | | 285 | .commit-info-field { |
| b69ab31 | | | 286 | position: relative; |
| b69ab31 | | | 287 | } |
| b69ab31 | | | 288 | .text-area-toolbar { |
| b69ab31 | | | 289 | display: flex; |
| b69ab31 | | | 290 | flex-direction: row; |
| b69ab31 | | | 291 | align-items: center; |
| b69ab31 | | | 292 | justify-content: flex-end; |
| b69ab31 | | | 293 | font-size: 90%; |
| b69ab31 | | | 294 | margin-bottom: calc(-1.5 * var(--pad)); |
| b69ab31 | | | 295 | border-radius: var(--pad); |
| b69ab31 | | | 296 | } |
| b69ab31 | | | 297 | .text-area-toolbar .choose-file { |
| b69ab31 | | | 298 | display: none; |
| b69ab31 | | | 299 | } |
| b69ab31 | | | 300 | |
| b69ab31 | | | 301 | .commit-info-tokenized-field { |
| b69ab31 | | | 302 | position: relative; |
| b69ab31 | | | 303 | display: flex; |
| b69ab31 | | | 304 | gap: var(--halfpad); |
| b69ab31 | | | 305 | align-items: center; |
| b69ab31 | | | 306 | flex-wrap: wrap; |
| b69ab31 | | | 307 | padding: var(--halfpad) 0; |
| b69ab31 | | | 308 | --token-height: 26px; |
| b69ab31 | | | 309 | } |
| b69ab31 | | | 310 | .commit-info-tokenized-field vscode-text-field { |
| b69ab31 | | | 311 | margin: 0; |
| b69ab31 | | | 312 | } |
| b69ab31 | | | 313 | |
| b69ab31 | | | 314 | .commit-info-field-with-typeahead { |
| b69ab31 | | | 315 | flex-grow: 1; |
| b69ab31 | | | 316 | min-width: 30px; |
| b69ab31 | | | 317 | position: relative; |
| b69ab31 | | | 318 | height: var(--token-height); |
| b69ab31 | | | 319 | } |
| b69ab31 | | | 320 | |
| b69ab31 | | | 321 | .commit-info-tokenized-field .token, |
| b69ab31 | | | 322 | .suggested-reviewers .token { |
| b69ab31 | | | 323 | padding: 0; |
| b69ab31 | | | 324 | background-color: var(--tooltip-background); |
| b69ab31 | | | 325 | padding: 0 var(--pad); |
| b69ab31 | | | 326 | border: 1px solid var(--tooltip-border); |
| b69ab31 | | | 327 | display: flex; |
| b69ab31 | | | 328 | align-items: center; |
| b69ab31 | | | 329 | gap: var(--halfpad); |
| b69ab31 | | | 330 | min-height: calc(var(--token-height) - 2px); |
| b69ab31 | | | 331 | } |
| b69ab31 | | | 332 | |
| b69ab31 | | | 333 | .commit-info-tokenized-field .token.clickable { |
| b69ab31 | | | 334 | cursor: pointer; |
| b69ab31 | | | 335 | } |
| b69ab31 | | | 336 | |
| b69ab31 | | | 337 | .commit-info-tokenized-field .token.clickable:hover { |
| b69ab31 | | | 338 | background-color: var(--hover-darken); |
| b69ab31 | | | 339 | text-decoration: underline; |
| b69ab31 | | | 340 | } |
| b69ab31 | | | 341 | |
| b69ab31 | | | 342 | .commit-info-tokenized-field .token button { |
| b69ab31 | | | 343 | margin-right: calc(-1 * var(--pad)); |
| b69ab31 | | | 344 | } |
| b69ab31 | | | 345 | |
| b69ab31 | | | 346 | .commit-info-tokenized-field .typeahead-suggestions { |
| b69ab31 | | | 347 | position: absolute; |
| b69ab31 | | | 348 | top: calc(100% + var(--halfpad)); |
| b69ab31 | | | 349 | max-width: 250px; |
| b69ab31 | | | 350 | min-width: 250px; |
| b69ab31 | | | 351 | z-index: 20; |
| b69ab31 | | | 352 | display: flex; |
| b69ab31 | | | 353 | flex-direction: column; |
| b69ab31 | | | 354 | gap: var(--pad); |
| b69ab31 | | | 355 | height: unset; |
| b69ab31 | | | 356 | } |
| b69ab31 | | | 357 | |
| b69ab31 | | | 358 | .commit-info-tokenized-field:not(:focus-within) .typeahead-suggestions { |
| b69ab31 | | | 359 | display: none; |
| b69ab31 | | | 360 | } |
| b69ab31 | | | 361 | |
| b69ab31 | | | 362 | .commit-info-tokenized-field .typeahead-suggestions .suggestion { |
| b69ab31 | | | 363 | --typeahead-img-size: 30px; |
| b69ab31 | | | 364 | display: flex; |
| b69ab31 | | | 365 | flex-direction: row; |
| b69ab31 | | | 366 | gap: var(--pad); |
| b69ab31 | | | 367 | align-items: center; |
| b69ab31 | | | 368 | border-radius: var(--halfpad); |
| b69ab31 | | | 369 | padding: var(--halfpad); |
| b69ab31 | | | 370 | margin: calc(-1 * var(--halfpad)); |
| b69ab31 | | | 371 | cursor: pointer; |
| b69ab31 | | | 372 | } |
| b69ab31 | | | 373 | |
| b69ab31 | | | 374 | .commit-info-tokenized-field .typeahead-suggestions .suggestion:hover, |
| b69ab31 | | | 375 | .commit-info-tokenized-field .typeahead-suggestions .selected-suggestion { |
| b69ab31 | | | 376 | background-color: var(--hover-darken); |
| b69ab31 | | | 377 | } |
| b69ab31 | | | 378 | .commit-info-tokenized-field .typeahead-suggestions .suggestion-label { |
| b69ab31 | | | 379 | display: flex; |
| b69ab31 | | | 380 | flex-direction: column; |
| b69ab31 | | | 381 | overflow-wrap: break-word; |
| b69ab31 | | | 382 | max-width: calc(100% - var(--typeahead-img-size)); |
| b69ab31 | | | 383 | } |
| b69ab31 | | | 384 | |
| b69ab31 | | | 385 | .commit-info-tokenized-field .typeahead-suggestions img { |
| b69ab31 | | | 386 | width: var(--typeahead-img-size); |
| b69ab31 | | | 387 | height: var(--typeahead-img-size); |
| b69ab31 | | | 388 | min-width: var(--typeahead-img-size); |
| b69ab31 | | | 389 | border-radius: 100%; |
| b69ab31 | | | 390 | position: relative; |
| b69ab31 | | | 391 | background: linear-gradient(45deg, var(--background), var(--foreground)); |
| b69ab31 | | | 392 | } |
| b69ab31 | | | 393 | |
| b69ab31 | | | 394 | .commit-info-tokenized-field .typeahead-suggestions img::before { |
| b69ab31 | | | 395 | /* fallback if the image URL doesn't load */ |
| b69ab31 | | | 396 | content: ''; |
| b69ab31 | | | 397 | position: absolute; |
| b69ab31 | | | 398 | top: 0; |
| b69ab31 | | | 399 | left: 0; |
| b69ab31 | | | 400 | bottom: 0; |
| b69ab31 | | | 401 | right: 0; |
| b69ab31 | | | 402 | line-height: var(--typeahead-img-size); |
| b69ab31 | | | 403 | background: linear-gradient(45deg, var(--background), var(--foreground)); |
| b69ab31 | | | 404 | text-align: center; |
| b69ab31 | | | 405 | border-radius: 100%; |
| b69ab31 | | | 406 | display: block; |
| b69ab31 | | | 407 | width: var(--typeahead-img-size); |
| b69ab31 | | | 408 | height: var(--typeahead-img-size); |
| b69ab31 | | | 409 | overflow: hidden; |
| b69ab31 | | | 410 | } |
| b69ab31 | | | 411 | |
| b69ab31 | | | 412 | .upload-status { |
| b69ab31 | | | 413 | cursor: pointer; |
| b69ab31 | | | 414 | user-select: none; |
| b69ab31 | | | 415 | min-height: 22px; |
| b69ab31 | | | 416 | display: flex; |
| b69ab31 | | | 417 | } |
| b69ab31 | | | 418 | |
| b69ab31 | | | 419 | .upload-status-error { |
| b69ab31 | | | 420 | display: flex; |
| b69ab31 | | | 421 | align-items: center; |
| b69ab31 | | | 422 | gap: var(--pad); |
| b69ab31 | | | 423 | } |
| b69ab31 | | | 424 | |
| b69ab31 | | | 425 | .upload-status-error vscode-button { |
| b69ab31 | | | 426 | opacity: 0; |
| b69ab31 | | | 427 | transition: opacity 0.2s; |
| b69ab31 | | | 428 | } |
| b69ab31 | | | 429 | .upload-status-error:hover vscode-button { |
| b69ab31 | | | 430 | opacity: 1; |
| b69ab31 | | | 431 | } |
| b69ab31 | | | 432 | |
| b69ab31 | | | 433 | .image-drop-zone { |
| b69ab31 | | | 434 | position: relative; |
| b69ab31 | | | 435 | } |
| b69ab31 | | | 436 | .image-drop-zone.hovering-to-drop:before { |
| b69ab31 | | | 437 | width: 100%; |
| b69ab31 | | | 438 | height: calc(100% - 4px); |
| b69ab31 | | | 439 | display: flex; |
| b69ab31 | | | 440 | content: 'Drop here to upload'; |
| b69ab31 | | | 441 | position: absolute; |
| b69ab31 | | | 442 | left: 0; |
| b69ab31 | | | 443 | top: 0; |
| b69ab31 | | | 444 | z-index: 2; |
| b69ab31 | | | 445 | right: 0; |
| b69ab31 | | | 446 | justify-content: center; |
| b69ab31 | | | 447 | align-items: center; |
| b69ab31 | | | 448 | font-size: 120%; |
| b69ab31 | | | 449 | background-color: rgba(0, 0, 0, 0.1); |
| b69ab31 | | | 450 | } |
| b69ab31 | | | 451 | |
| b69ab31 | | | 452 | .commit-info-view-main-content > .tooltip-creator { |
| b69ab31 | | | 453 | width: 100%; |
| b69ab31 | | | 454 | } |