fileactions.css 7.2 KB
Newer Older
E
Erich Gamma 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-workbench .explorer-action.new-file {
	background: url('AddFile.svg') center center no-repeat;
}

.monaco-workbench .explorer-action.save-all {
	background: url('saveall.svg') center center no-repeat;
}

14
.vs-dark .monaco-workbench .explorer-action.save-all {
E
Erich Gamma 已提交
15 16 17
	background: url('saveall_inverse.svg') center center no-repeat;
}

18
.vs-dark .monaco-workbench .explorer-action.new-file {
E
Erich Gamma 已提交
19 20 21 22 23 24 25
	background: url('AddFile_inverse.svg') center center no-repeat;
}

.monaco-workbench .explorer-action.new-folder {
	background: url('AddFolder.svg') center center no-repeat;
}

26
.vs-dark .monaco-workbench .explorer-action.new-folder {
E
Erich Gamma 已提交
27 28 29 30 31 32 33
	background: url('AddFolder_inverse.svg') center center no-repeat;
}

.monaco-workbench .explorer-action.refresh-explorer {
	background: url('Refresh.svg') center center no-repeat;
}

34
.vs-dark .monaco-workbench .explorer-action.refresh-explorer {
E
Erich Gamma 已提交
35 36 37 38 39 40 41
	background: url('Refresh_inverse.svg') center center no-repeat;
}

.monaco-workbench .explorer-action.collapse-explorer {
	background: url('CollapseAll.svg') center center no-repeat;
}

42
.vs-dark .monaco-workbench .explorer-action.collapse-explorer {
E
Erich Gamma 已提交
43 44 45 46 47 48 49
	background: url('CollapseAll_inverse.svg') center center no-repeat;
}

.monaco-workbench .quick-open-sidebyside {
	background-image: url('SplitEditor.svg');
}

50
.vs-dark .monaco-workbench .quick-open-sidebyside {
E
Erich Gamma 已提交
51 52 53 54 55 56 57
	background-image: url('SplitEditor_inverse.svg');
}

.monaco-workbench .conflict-editor-action.accept-changes {
	background: url('check.svg') center center no-repeat;
}

58
.vs-dark .monaco-workbench .conflict-editor-action.accept-changes {
E
Erich Gamma 已提交
59 60 61 62 63 64 65
	background: url('check-inverse.svg') center center no-repeat;
}

.monaco-workbench .conflict-editor-action.revert-changes {
	background: url('undo.svg') center center no-repeat;
}

66
.vs-dark .monaco-workbench .conflict-editor-action.revert-changes {
E
Erich Gamma 已提交
67 68 69 70 71 72 73
	background: url('undo-inverse.svg') center center no-repeat;
}

.monaco-workbench .file-editor-action.action-open-preview {
	background: url('Preview.svg') center center no-repeat;
}

74
.vs-dark .monaco-workbench .file-editor-action.action-open-preview {
E
Erich Gamma 已提交
75 76 77
	background: url('Preview_inverse.svg') center center no-repeat;
}

78
.monaco-workbench .iframe-editor-action.view-source {
E
Erich Gamma 已提交
79 80 81
	background: url('ViewSource.svg') center center no-repeat;
}

82
.vs-dark .monaco-workbench .iframe-editor-action.view-source {
E
Erich Gamma 已提交
83 84 85
	background: url('ViewSource_inverse.svg') center center no-repeat;
}

86
.monaco-workbench .iframe-editor-action.refresh {
E
Erich Gamma 已提交
87 88 89
	background: url('Refresh.svg') center center no-repeat;
}

90
.vs-dark .monaco-workbench .iframe-editor-action.refresh {
E
Erich Gamma 已提交
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
	background: url('Refresh_inverse.svg') center center no-repeat;
}

.explorer-viewlet .explorer-folders-view .action-add-to-workingfiles {
	background: url("add.svg") center center no-repeat;
}

.explorer-viewlet .explorer-folders-view .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-add-to-workingfiles {
	background: url("add-focus.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .action-close-dirty-file:hover,
.explorer-viewlet .explorer-working-files .action-close-file {
	background: url("action-close.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-close-dirty-file:hover,
.explorer-viewlet .explorer-working-files .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-close-file {
	background: url("action-close-focus.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .action-close-dirty-file {
	background: url("action-close-dirty.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-close-dirty-file {
	background: url("action-close-dirty-focus.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .primary-action-bar {
	background-color: transparent !important;
}

124
.vs-dark .monaco-workbench .explorer-viewlet .explorer-folders-view .action-add-to-workingfiles {
E
Erich Gamma 已提交
125 126 127
	background: url("add-inverse.svg") center center no-repeat;
}

128
.vs-dark .monaco-workbench .explorer-viewlet .explorer-folders-view .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-add-to-workingfiles {
E
Erich Gamma 已提交
129 130 131
	background: url("add-focus.svg") center center no-repeat;
}

132 133
.vs-dark .monaco-workbench .explorer-viewlet .explorer-working-files .action-close-dirty-file:hover,
.vs-dark .monaco-workbench .explorer-viewlet .explorer-working-files .action-close-file {
E
Erich Gamma 已提交
134 135 136
	background: url("action-close-dark.svg") center center no-repeat;
}

137
.vs-dark .monaco-workbench .explorer-viewlet .explorer-working-files .action-close-dirty-file {
E
Erich Gamma 已提交
138 139 140 141
	background: url("action-close-dirty-dark.svg") center center no-repeat;
}

/* High Contrast Theming */
142 143 144 145
.hc-black .monaco-workbench .explorer-action,
.hc-black .monaco-workbench .quick-open-sidebyside,
.hc-black .monaco-workbench .iframe-editor-action,
.hc-black .monaco-workbench .file-editor-action.action-open-preview {
E
Erich Gamma 已提交
146 147 148
	background: none;
}

149 150 151
.hc-black .monaco-workbench .explorer-action:before,
.hc-black .monaco-workbench .iframe-editor-action:before,
.hc-black .monaco-workbench .file-editor-action.action-open-preview:before {
E
Erich Gamma 已提交
152 153 154 155 156 157 158
	position: absolute;
	top: 12px;
	left: 8px;
	height: 16px;
	width: 16px;
}

159
.hc-black .monaco-workbench .explorer-action.save-all:before {
E
Erich Gamma 已提交
160 161 162
	content: url('saveall_inverse.svg');
}

163
.hc-black .monaco-workbench .explorer-action.action-close-all-files:before {
E
Erich Gamma 已提交
164 165 166
	content: url('closeall_inverse.svg');
}

167
.hc-black .monaco-workbench .explorer-action.new-file:before {
E
Erich Gamma 已提交
168 169 170
	content: url('AddFile_inverse.svg');
}

171
.hc-black .monaco-workbench .explorer-action.new-folder:before {
E
Erich Gamma 已提交
172 173 174
	content: url('AddFolder_inverse.svg');
}

175
.hc-black .monaco-workbench .explorer-action.refresh-explorer:before {
E
Erich Gamma 已提交
176 177 178
	content: url('Refresh_inverse.svg');
}

179
.hc-black .monaco-workbench .explorer-action.collapse-explorer:before {
E
Erich Gamma 已提交
180 181 182
	content: url('CollapseAll_inverse.svg');
}

183
.hc-black .monaco-workbench .quick-open-sidebyside:before {
E
Erich Gamma 已提交
184 185 186
	content: url('SplitEditor_inverse.svg');
}

187
.hc-black .monaco-workbench .iframe-editor-action.view-source:before {
E
Erich Gamma 已提交
188 189 190
	content: url('ViewSource_inverse.svg');
}

191
.hc-black .monaco-workbench .iframe-editor-action.refresh:before {
E
Erich Gamma 已提交
192 193 194
	content: url('Refresh_inverse.svg');
}

195
.hc-black .monaco-workbench .file-editor-action.action-open-preview:before {
E
Erich Gamma 已提交
196 197 198
	content: url('Preview_inverse.svg');
}

199
.hc-black .monaco-workbench .explorer-viewlet .explorer-working-files .action-close-file:before {
E
Erich Gamma 已提交
200 201 202 203 204 205 206 207
	content: url('action-close-dark.svg');
	position: absolute;
	top: 3px;
	left: 0;
	height: 16px;
	width: 16px;
}

208 209
.hc-black .monaco-workbench .explorer-viewlet .explorer-working-files .action-close-file,
.hc-black .monaco-workbench .explorer-viewlet .explorer-working-files .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions > .primary-action-bar .action-close-file {
E
Erich Gamma 已提交
210 211
	background: none !important;
}