statusbarpart.css 2.5 KB
Newer Older
E
Erich Gamma 已提交
1 2 3 4 5
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

6
.monaco-workbench .part.statusbar {
E
Erich Gamma 已提交
7
	box-sizing: border-box;
8
	cursor: default;
E
Erich Gamma 已提交
9 10 11 12 13
	width: 100%;
	height: 22px;
	font-size: 12px;
}

14
.monaco-workbench  .part.statusbar > .statusbar-item {
E
Erich Gamma 已提交
15 16 17 18 19 20
	display: inline-block;
	line-height: 22px;
	height: 100%;
	vertical-align: top;
}

21
.monaco-workbench .part.statusbar > .statusbar-item.has-beak {
22 23 24
	position: relative;
}

25
.monaco-workbench .part.statusbar > .statusbar-item.has-beak:before {
26 27 28 29 30 31 32 33 34 35
	content: '';
	position: absolute;
	left: 11px;
	top: -5px;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}

36
.monaco-workbench .part.statusbar > .statusbar-item > :first-child {
37 38
	margin-right: 3px;
	margin-left: 3px;
E
Erich Gamma 已提交
39 40
}

41
.monaco-workbench .part.statusbar > .statusbar-item.right {
E
Erich Gamma 已提交
42
	float: right;
J
Joao Moreno 已提交
43 44
}

45 46
.monaco-workbench .part.statusbar > .statusbar-item.left.first-visible-item {
	padding-left: 7px; /* Add padding to the most left status bar item */
47
}
48

49 50
.monaco-workbench .part.statusbar > .statusbar-item.right.last-visible-item {
	padding-right: 7px; /* Add padding to the most right status bar item */
51
}
52 53

/* tweak appearance for items with background to improve hover feedback */
54 55
.monaco-workbench .part.statusbar > .statusbar-item.has-background-color.left.first-visible-item,
.monaco-workbench .part.statusbar > .statusbar-item.has-background-color.right.last-visible-item {
56 57 58 59
	padding-right: 0;
	padding-left: 0;
}

60
.monaco-workbench .part.statusbar > .statusbar-item.has-background-color > :first-child {
61 62 63 64
	margin-right: 0;
	margin-left: 0;
	padding-left: 10px;
	padding-right: 10px;
65
}
66

67
.monaco-workbench .part.statusbar > .statusbar-item a {
E
Erich Gamma 已提交
68 69
	cursor: pointer;
	display: inline-block;
70
	height: 100%;
E
Erich Gamma 已提交
71 72
}

73
.monaco-workbench .part.statusbar > .statusbar-entry > span {
74
	height: 100%;
75 76
}

77 78
.monaco-workbench .part.statusbar > .statusbar-entry > span,
.monaco-workbench .part.statusbar > .statusbar-entry > a {
E
Erich Gamma 已提交
79 80 81 82
	padding: 0 5px 0 5px;
	white-space: pre; /* gives some degree of styling */
}

83
.monaco-workbench .part.statusbar > .statusbar-entry span.octicon {
E
Erich Gamma 已提交
84 85 86 87
	text-align: center;
	font-size: 14px;
}

88
.monaco-workbench .part.statusbar > .statusbar-item a:hover {
E
Erich Gamma 已提交
89
	text-decoration: none;
B
Benjamin Pasero 已提交
90
}