|
3 | 3 | * Licensed under the MIT License. See License.txt in the project root for license information.
|
4 | 4 | *--------------------------------------------------------------------------------------------*/
|
5 | 5 |
|
| 6 | +.monaco-diff-editor .diff-review { |
| 7 | + position: absolute; |
| 8 | + |
| 9 | +} |
| 10 | + |
6 | 11 | .monaco-component.diff-review {
|
7 | 12 | user-select: none;
|
8 | 13 | -webkit-user-select: none;
|
9 | 14 | z-index: 99;
|
10 |
| -} |
11 | 15 |
|
12 |
| -.monaco-diff-editor .diff-review { |
13 |
| - position: absolute; |
14 | 16 |
|
15 |
| -} |
| 17 | + .diff-review-line-number { |
| 18 | + text-align: right; |
| 19 | + display: inline-block; |
| 20 | + color: var(--vscode-editorLineNumber-foreground); |
| 21 | + } |
16 | 22 |
|
17 |
| -.monaco-component.diff-review .diff-review-line-number { |
18 |
| - text-align: right; |
19 |
| - display: inline-block; |
20 |
| - color: var(--vscode-editorLineNumber-foreground); |
21 |
| -} |
| 23 | + .diff-review-summary { |
| 24 | + padding-left: 10px; |
| 25 | + } |
22 | 26 |
|
23 |
| -.monaco-component.diff-review .diff-review-summary { |
24 |
| - padding-left: 10px; |
25 |
| -} |
| 27 | + .diff-review-shadow { |
| 28 | + position: absolute; |
| 29 | + box-shadow: var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset; |
| 30 | + } |
26 | 31 |
|
27 |
| -.monaco-component.diff-review .diff-review-shadow { |
28 |
| - position: absolute; |
29 |
| - box-shadow: var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset; |
30 |
| -} |
| 32 | + .diff-review-row { |
| 33 | + white-space: pre; |
| 34 | + } |
31 | 35 |
|
32 |
| -.monaco-component.diff-review .diff-review-row { |
33 |
| - white-space: pre; |
34 |
| -} |
| 36 | + .diff-review-table { |
| 37 | + display: table; |
| 38 | + min-width: 100%; |
| 39 | + } |
35 | 40 |
|
36 |
| -.monaco-component.diff-review .diff-review-table { |
37 |
| - display: table; |
38 |
| - min-width: 100%; |
39 |
| -} |
| 41 | + .diff-review-row { |
| 42 | + display: table-row; |
| 43 | + width: 100%; |
| 44 | + } |
40 | 45 |
|
41 |
| -.monaco-component.diff-review .diff-review-row { |
42 |
| - display: table-row; |
43 |
| - width: 100%; |
44 |
| -} |
| 46 | + .diff-review-spacer { |
| 47 | + display: inline-block; |
| 48 | + width: 10px; |
| 49 | + vertical-align: middle; |
| 50 | + } |
45 | 51 |
|
46 |
| -.monaco-component.diff-review .diff-review-spacer { |
47 |
| - display: inline-block; |
48 |
| - width: 10px; |
49 |
| - vertical-align: middle; |
50 |
| -} |
| 52 | + .diff-review-spacer > .codicon { |
| 53 | + font-size: 9px !important; |
| 54 | + } |
51 | 55 |
|
52 |
| -.monaco-component.diff-review .diff-review-spacer > .codicon { |
53 |
| - font-size: 9px !important; |
54 |
| -} |
| 56 | + .diff-review-actions { |
| 57 | + display: inline-block; |
| 58 | + position: absolute; |
| 59 | + right: 10px; |
| 60 | + top: 2px; |
| 61 | + z-index: 100; |
| 62 | + } |
55 | 63 |
|
56 |
| -.monaco-component.diff-review .diff-review-actions { |
57 |
| - display: inline-block; |
58 |
| - position: absolute; |
59 |
| - right: 10px; |
60 |
| - top: 2px; |
61 |
| - z-index: 100; |
62 |
| -} |
| 64 | + .diff-review-actions .action-label { |
| 65 | + width: 16px; |
| 66 | + height: 16px; |
| 67 | + margin: 2px 0; |
| 68 | + } |
63 | 69 |
|
64 |
| -.monaco-component.diff-review .diff-review-actions .action-label { |
65 |
| - width: 16px; |
66 |
| - height: 16px; |
67 |
| - margin: 2px 0; |
68 |
| -} |
| 70 | + .revertButton { |
| 71 | + cursor: pointer; |
| 72 | + } |
69 | 73 |
|
70 |
| -.monaco-component.diff-review .revertButton { |
71 |
| - cursor: pointer; |
| 74 | + .action-label { |
| 75 | + background: var(--vscode-editorActionList-background); |
| 76 | + } |
72 | 77 | }
|
0 commit comments