blob: 8a387c00f71bb4be2d9ce9e7649355f3629dc976 (
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-workbench .part.statusbar {
box-sizing: border-box;
cursor: default;
width: 100%;
height: 22px;
font-size: 12px;
display: flex;
overflow: visible;
transition: background-color 0.35s ease-out;
}
.monaco-workbench .part.statusbar.status-border-top::after {
content: '';
position: absolute;
top: 0;
left: 0;
z-index: 5;
pointer-events: none;
background-color: var(--status-border-top-color);
width: 100%;
height: 1px;
}
.monaco-workbench .part.statusbar > .left-items,
.monaco-workbench .part.statusbar > .right-items {
display: flex;
}
.monaco-workbench .part.statusbar > .right-items {
flex-direction: row-reverse;
flex-wrap: wrap /* ensures that the most right elements wrap last when space is little */;
}
.monaco-workbench .part.statusbar > .left-items {
flex-grow: 1; /* left items push right items to the far right end */
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item {
display: inline-block;
line-height: 22px;
height: 100%;
vertical-align: top;
max-width: 40vw;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.has-beak {
position: relative;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.has-beak:before {
content: '';
position: absolute;
left: 10px;
top: -5px;
border-bottom-width: 5px;
border-bottom-style: solid;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item > :first-child {
margin-right: 3px;
margin-left: 3px;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.compact-left > :first-child {
margin-right: 3px;
margin-left: 0;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.compact-right > :first-child {
margin-right: 0;
margin-left: 3px;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.left.first-visible-item {
padding-left: 7px; /* Add padding to the most left status bar item */
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.right.last-visible-item {
padding-right: 7px; /* Add padding to the most right status bar item */
}
/* Tweak appearance for items with background to improve hover feedback */
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.has-background-color.left.first-visible-item,
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.has-background-color.right.last-visible-item {
padding-right: 0;
padding-left: 0;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.has-background-color > :first-child {
margin-right: 0;
margin-left: 0;
padding-left: 10px;
padding-right: 10px;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.compact-left.has-background-color > :first-child {
padding-left: 3px;
padding-right: 10px;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.compact-right.has-background-color > :first-child {
padding-left: 10px;
padding-right: 3px;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item > a {
cursor: pointer;
display: flex;
height: 100%;
padding: 0 5px 0 5px;
white-space: pre; /* gives some degree of styling */
align-items: center;
text-overflow: ellipsis;
overflow: hidden;
outline-width: 0px; /* do not render focus outline, we already have background */
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.compact-left > a {
padding: 0 5px 0 3px;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.compact-right > a {
padding: 0 3px 0 5px;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item > a:hover:not(.disabled) {
text-decoration: none;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item > a.disabled {
cursor: default;
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item span.codicon {
text-align: center;
font-size: 14px;
color: inherit;
}
|