Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/platform/actions/browser/menuEntryActionViewItem.css
5241 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-action-bar .action-item.menu-entry .action-label.icon {
7
width: 16px;
8
height: 16px;
9
background-repeat: no-repeat;
10
background-position: 50%;
11
background-size: 16px;
12
}
13
14
.monaco-action-bar .action-item.menu-entry.text-only .action-label {
15
color: var(--vscode-descriptionForeground);
16
overflow: hidden;
17
border-radius: 2px;
18
}
19
20
.monaco-action-bar .action-item.menu-entry.text-only.use-comma:not(:last-of-type) .action-label::after {
21
content: ', ';
22
}
23
24
.monaco-action-bar .action-item.menu-entry.text-only + .action-item:not(.text-only) > .monaco-dropdown .action-label {
25
color: var(--vscode-descriptionForeground);
26
}
27
28
.monaco-dropdown-with-default {
29
display: flex !important;
30
flex-direction: row;
31
border-radius: 5px;
32
}
33
34
.monaco-dropdown-with-default > .action-container > .action-label {
35
margin-right: 0;
36
}
37
38
.monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon {
39
width: 16px;
40
height: 16px;
41
background-repeat: no-repeat;
42
background-position: 50%;
43
background-size: 16px;
44
}
45
46
.monaco-dropdown-with-default > .action-container.disabled {
47
cursor: default;
48
}
49
50
.monaco-dropdown-with-default > .action-container.disabled > .action-label {
51
opacity: 0.4;
52
pointer-events: none;
53
}
54
55
.monaco-dropdown-with-default:hover {
56
background-color: var(--vscode-toolbar-hoverBackground);
57
}
58
59
.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {
60
font-size: 12px;
61
padding-left: 0px;
62
padding-right: 0px;
63
line-height: 16px;
64
margin-left: -3px;
65
}
66
67
.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {
68
display: block;
69
background-size: 16px;
70
background-position: center center;
71
background-repeat: no-repeat;
72
}
73
74