Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/base/browser/ui/list/list.css
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
.monaco-list {
7
position: relative;
8
height: 100%;
9
width: 100%;
10
white-space: nowrap;
11
}
12
13
.monaco-list.mouse-support {
14
user-select: none;
15
-webkit-user-select: none;
16
}
17
18
.monaco-list > .monaco-scrollable-element {
19
height: 100%;
20
}
21
22
.monaco-list-rows {
23
position: relative;
24
width: 100%;
25
height: 100%;
26
}
27
28
.monaco-list.horizontal-scrolling .monaco-list-rows {
29
width: auto;
30
min-width: 100%;
31
}
32
33
.monaco-list-row {
34
position: absolute;
35
box-sizing: border-box;
36
overflow: hidden;
37
width: 100%;
38
}
39
40
.monaco-list.mouse-support .monaco-list-row {
41
cursor: pointer;
42
touch-action: none;
43
}
44
45
/* Make sure the scrollbar renders above overlays (sticky scroll) */
46
.monaco-list .monaco-scrollable-element > .scrollbar.vertical,
47
.monaco-pane-view > .monaco-split-view2.vertical > .monaco-scrollable-element > .scrollbar.vertical {
48
z-index: 14;
49
}
50
51
/* for OS X ballistic scrolling */
52
.monaco-list-row.scrolling {
53
display: none !important;
54
}
55
56
/* Focus */
57
.monaco-list.element-focused,
58
.monaco-list.selection-single,
59
.monaco-list.selection-multiple {
60
outline: 0 !important;
61
}
62
63
/* Filter */
64
65
.monaco-list-type-filter-message {
66
position: absolute;
67
box-sizing: border-box;
68
width: 100%;
69
height: 100%;
70
top: 0;
71
left: 0;
72
padding: 40px 1em 1em 1em;
73
text-align: center;
74
white-space: normal;
75
opacity: 0.7;
76
pointer-events: none;
77
}
78
79
.monaco-list-type-filter-message:empty {
80
display: none;
81
}
82
83