blob: 215cb9b9fccc35e752fa4ccb4bf52a993ce3c075 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-workbench .workbench-hover {
position: relative;
font-size: 13px;
line-height: 19px;
/* Must be higher than sash's z-index and terminal canvases */
z-index: 40;
overflow: hidden;
max-width: 700px;
}
.monaco-workbench .workbench-hover:not(.skip-fade-in) {
animation: fadein 100ms linear;
}
.monaco-workbench .workbench-hover.compact {
font-size: 12px;
}
.monaco-workbench .workbench-hover.compact .hover-contents {
padding: 2px 8px;
}
.monaco-workbench .workbench-hover-pointer {
position: absolute;
/* Must be higher than workbench hover z-index */
z-index: 41;
pointer-events: none;
}
.monaco-workbench .workbench-hover-pointer:after {
content: '';
position: absolute;
width: 5px;
height: 5px;
}
.monaco-workbench .workbench-hover-pointer.left { left: -3px; }
.monaco-workbench .workbench-hover-pointer.right { right: 3px; }
.monaco-workbench .workbench-hover-pointer.top { top: -3px; }
.monaco-workbench .workbench-hover-pointer.bottom { bottom: 3px; }
.monaco-workbench .workbench-hover-pointer.left:after {
-moz-transform: rotate(135deg);
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
.monaco-workbench .workbench-hover-pointer.right:after {
-moz-transform: rotate(315deg);
-webkit-transform: rotate(315deg);
transform: rotate(315deg);
}
.monaco-workbench .workbench-hover-pointer.top:after {
-moz-transform: rotate(225deg);
-webkit-transform: rotate(225deg);
transform: rotate(225deg);
}
.monaco-workbench .workbench-hover-pointer.bottom:after {
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.monaco-workbench .workbench-hover a {
color: #3794ff;
}
.monaco-workbench .workbench-hover.right-aligned {
/* The context view service wraps strangely when it's right up against the edge without this */
left: 1px;
}
.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions {
flex-direction: row-reverse;
}
.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions .action-container {
margin-right: 0;
margin-left: 16px;
}
|