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
5243 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
overflow: hidden;
12
}
13
14
.monaco-list.mouse-support {
15
user-select: none;
16
-webkit-user-select: none;
17
}
18
19
.monaco-list > .monaco-scrollable-element {
20
height: 100%;
21
}
22
23
.monaco-list-rows {
24
position: relative;
25
width: 100%;
26
height: 100%;
27
}
28
29
.monaco-list.horizontal-scrolling .monaco-list-rows {
30
width: auto;
31
min-width: 100%;
32
}
33
34
.monaco-list-row {
35
position: absolute;
36
box-sizing: border-box;
37
overflow: hidden;
38
width: 100%;
39
}
40
41
.monaco-list.mouse-support .monaco-list-row {
42
cursor: pointer;
43
touch-action: none;
44
}
45
46
/* Make sure the scrollbar renders above overlays (sticky scroll) */
47
.monaco-list .monaco-scrollable-element > .scrollbar.vertical,
48
.monaco-pane-view > .monaco-split-view2.vertical > .monaco-scrollable-element > .scrollbar.vertical {
49
z-index: 14;
50
}
51
52
/* for OS X ballistic scrolling */
53
.monaco-list-row.scrolling {
54
display: none !important;
55
}
56
57
/* Focus */
58
.monaco-list.element-focused,
59
.monaco-list.selection-single,
60
.monaco-list.selection-multiple {
61
outline: 0 !important;
62
}
63
64
/* Filter */
65
66
.monaco-list-type-filter-message {
67
position: absolute;
68
box-sizing: border-box;
69
width: 100%;
70
height: 100%;
71
top: 0;
72
left: 0;
73
padding: 40px 1em 1em 1em;
74
text-align: center;
75
white-space: normal;
76
opacity: 0.7;
77
pointer-events: none;
78
}
79
80
.monaco-list-type-filter-message:empty {
81
display: none;
82
}
83
84