blob: 46b11d7eedfe8247f31b29745bacc767dbc2ce3c (
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
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-workbench .simple-find-part-wrapper {
overflow: hidden;
z-index: 10;
position: absolute;
top: 0;
right: 18px;
width: 220px;
max-width: calc(100% - 28px - 28px - 8px);
pointer-events: none;
padding: 0 10px 10px;
}
.simple-find-part .monaco-inputbox > .ibwrapper > input {
text-overflow: clip;
}
.monaco-workbench .simple-find-part {
visibility: hidden; /* Use visibility to maintain flex layout while hidden otherwise interferes with transition */
z-index: 10;
position: relative;
top: -45px;
display: flex;
padding: 4px;
align-items: center;
pointer-events: all;
transition: top 200ms linear;
}
.monaco-workbench.reduce-motion .monaco-editor .find-widget {
transition: top 0ms linear;
}
.monaco-workbench .simple-find-part.visible {
visibility: visible;
}
.monaco-workbench .simple-find-part.visible-transition {
top: 0;
}
.monaco-workbench .simple-find-part .monaco-findInput {
flex: 1;
}
.monaco-workbench .simple-find-part .button {
min-width: 20px;
width: 20px;
height: 20px;
line-height: 20px;
display: flex;
flex: initial;
justify-content: center;
margin-left: 3px;
background-position: center center;
background-repeat: no-repeat;
cursor: pointer;
}
.monaco-workbench div.simple-find-part div.button.disabled {
opacity: 0.3 !important;
cursor: default;
}
div.simple-find-part-wrapper div.button {
border-radius: 5px;
}
|