提交 51f71cf4 编写于 作者: B Benjamin Pasero

container => silo

上级 5bdc1451
......@@ -10,7 +10,7 @@
/* title styles are defined for two classes because the editor puts the title into the content */
.monaco-workbench > .part > .title,
.monaco-workbench > .part.editor > .content > .one-editor-container > .title {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title {
height: 35px;
display: flex;
box-sizing: border-box;
......
......@@ -5,29 +5,29 @@
/* Title Decoration */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-decoration {
width: 18px;
padding-left: 2px;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration.dirty {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-decoration.dirty {
background-size: 16px;
background-position: left center;
background-repeat: no-repeat;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration.dirty {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-decoration.dirty {
background: url('close-dirty.svg') center center no-repeat;
}
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration.dirty,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration.dirty {
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-decoration.dirty,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-decoration.dirty {
background: url('close-dirty-inverse.svg') center center no-repeat;
}
/* Title Label */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-label {
line-height: 35px;
overflow: hidden;
text-overflow: ellipsis;
......@@ -37,27 +37,27 @@
/* Title Description */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label span {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-label span {
margin-left: 0.5em;
font-size: 0.9em;
cursor: default;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label span {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-label span {
color: rgba(108, 108, 108, 0.7);
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label span {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-label span {
color: rgba(204, 204, 204, 0.7);
}
/* Title Actions */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-actions {
display: flex;
flex: initial;
opacity: 0.5;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .title-actions {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .title-actions {
opacity: 1;
}
\ No newline at end of file
......@@ -50,76 +50,76 @@
border-right: 1px solid #444;
}
.monaco-workbench > .editor > .content > .one-editor-container {
.monaco-workbench > .editor > .content > .one-editor-silo {
position: absolute;
box-sizing: border-box; /* use border box to be able to draw a border as separator between editors */
}
.monaco-workbench > .editor > .content > .one-editor-container.editor-left {
.monaco-workbench > .editor > .content > .one-editor-silo.editor-left {
left: 0;
}
.monaco-workbench > .editor > .content > .one-editor-container.editor-right {
.monaco-workbench > .editor > .content > .one-editor-silo.editor-right {
right: 0;
}
.monaco-workbench > .editor > .content > .one-editor-container.dragging {
.monaco-workbench > .editor > .content > .one-editor-silo.dragging {
z-index: 2000000;
}
.monaco-workbench > .editor > .content.dragging > .one-editor-container {
.monaco-workbench > .editor > .content.dragging > .one-editor-silo {
box-sizing: content-box;
}
.vs .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-left,
.vs .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-center {
.vs .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-left,
.vs .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-center {
border-right: 1px solid #E7E7E7;
}
.vs .monaco-workbench > .editor > .content > .one-editor-container.dragging {
.vs .monaco-workbench > .editor > .content > .one-editor-silo.dragging {
border-left: 1px solid #E7E7E7;
border-right: 1px solid #E7E7E7;
}
.vs .monaco-workbench > .editor > .content > .one-editor-container.editor-center,
.vs .monaco-workbench > .editor > .content > .one-editor-container.editor-right,
.vs .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-right {
.vs .monaco-workbench > .editor > .content > .one-editor-silo.editor-center,
.vs .monaco-workbench > .editor > .content > .one-editor-silo.editor-right,
.vs .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-right {
border-left: 1px solid #E7E7E7;
}
.vs-dark .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-left,
.vs-dark .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-center {
.vs-dark .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-left,
.vs-dark .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-center {
border-right: 1px solid #444;
}
.vs-dark .monaco-workbench > .editor > .content > .one-editor-container.dragging {
.vs-dark .monaco-workbench > .editor > .content > .one-editor-silo.dragging {
border-left: 1px solid #444;
border-right: 1px solid #444;
}
.vs-dark .monaco-workbench > .editor > .content > .one-editor-container.editor-center,
.vs-dark .monaco-workbench > .editor > .content > .one-editor-container.editor-right,
.vs-dark .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-right {
.vs-dark .monaco-workbench > .editor > .content > .one-editor-silo.editor-center,
.vs-dark .monaco-workbench > .editor > .content > .one-editor-silo.editor-right,
.vs-dark .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-right {
border-left: 1px solid #444;
}
.hc-black .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-left,
.hc-black .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-center {
.hc-black .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-left,
.hc-black .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-center {
border-right: 1px solid #6FC3DF;
}
.hc-black .monaco-workbench > .editor > .content > .one-editor-container.dragging {
.hc-black .monaco-workbench > .editor > .content > .one-editor-silo.dragging {
border-left: 1px solid #6FC3DF;
border-right: 1px solid #6FC3DF;
}
.hc-black .monaco-workbench > .editor > .content > .one-editor-container.editor-center,
.hc-black .monaco-workbench > .editor > .content > .one-editor-container.editor-right,
.hc-black .monaco-workbench > .editor > .content.dragging > .one-editor-container.editor-right {
.hc-black .monaco-workbench > .editor > .content > .one-editor-silo.editor-center,
.hc-black .monaco-workbench > .editor > .content > .one-editor-silo.editor-right,
.hc-black .monaco-workbench > .editor > .content.dragging > .one-editor-silo.editor-right {
border-left: 1px solid #6FC3DF;
}
.monaco-workbench > .editor > .content > .one-editor-container.draggedunder {
.monaco-workbench > .editor > .content > .one-editor-silo.draggedunder {
transition: left 200ms ease-out;
}
......
......@@ -5,15 +5,15 @@
/* Title decoration */
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title.tabs {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title.tabs {
background: #F3F3F3;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title.tabs {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title.tabs {
background: #252526;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.tabs::before {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.tabs::before {
display: block;
content: '';
position: absolute;
......@@ -22,44 +22,44 @@
z-index: 1; /* on top of tabs */
}
.monaco-workbench > .part.editor > .content.drag > .one-editor-container > .title.tabs::before {
.monaco-workbench > .part.editor > .content.drag > .one-editor-silo > .title.tabs::before {
z-index: auto;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title.tabs::before {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title.tabs::before {
border-top: 1px solid #DDDDDD;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title.tabs::before {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title.tabs::before {
border-top: 1px solid #403F3F;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.tabs > .monaco-scrollable-element {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.tabs > .monaco-scrollable-element {
flex: 1;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.tabs > .monaco-scrollable-element .scrollbar {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.tabs > .monaco-scrollable-element .scrollbar {
z-index: 3; /* on top of tabs */
}
/* Tabs Container */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container {
display: flex;
height: 35px;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container.scroll {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container.scroll {
overflow: scroll !important;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container::-webkit-scrollbar {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container::-webkit-scrollbar {
display: none;
}
/* Tab */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab {
display: flex;
width: 120px;
min-width: fit-content;
......@@ -72,59 +72,59 @@
padding-left: 10px;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.active {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.active {
z-index: 2; /* on top of the horizontal border of the title */
}
.monaco-workbench > .part.editor > .content.drag > .one-editor-container > .title .tabs-container > .tab.active {
.monaco-workbench > .part.editor > .content.drag > .one-editor-silo > .title .tabs-container > .tab.active {
z-index: auto;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab:not(.active) {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab:not(.active) {
background-color: #ECECEC;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab:not(.active) {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab:not(.active) {
background-color: #2D2D2D;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab {
border-left-color: #DDDDDD;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.active:last-child {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.active:last-child {
border-right-color: #DDDDDD;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab {
border-left-color: #403F3F;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.active:last-child {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.active:last-child {
border-right-color: #403F3F;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab:first-child,
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab:first-child {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab:first-child,
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab:first-child {
border-left-color: transparent;
}
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.active {
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.active {
border: 1px solid #f38518;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container.dropfeedback,
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dropfeedback {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container.dropfeedback,
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dropfeedback {
background-color: #DDECFF;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container.dropfeedback,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dropfeedback {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container.dropfeedback,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dropfeedback {
background-color: #383B3D;
}
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container.dropfeedback,
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dropfeedback {
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container.dropfeedback,
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dropfeedback {
background: none !important;
outline: 2px dashed #f38518;
outline-offset: -2px;
......@@ -132,54 +132,54 @@
/* Tab Label */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab .tab-label {
margin-top: auto;
margin-bottom: auto;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab .tab-label {
opacity: 0.7 !important;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab .tab-label {
opacity: 0.5 !important;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.active .tab-label,
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dropfeedback .tab-label {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.active .tab-label,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dropfeedback .tab-label {
opacity: 1 !important;
}
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label {
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab .tab-label {
opacity: 1 !important;
}
/* Tab Close */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab > .tab-close {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab > .tab-close {
margin-top: auto;
margin-bottom: auto;
width: 28px;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .tabs-container > .tab.active > .tab-close .action-label, /* always show it for active tab */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .tabs-container > .tab > .tab-close .action-label:focus, /* always show it on focus */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .tabs-container > .tab:hover > .tab-close .action-label, /* always show it on hover */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .tabs-container > .tab.active:hover > .tab-close .action-label, /* always show it on hover */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty > .tab-close .action-label { /* always show it for dirty tabs */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .tabs-container > .tab.active > .tab-close .action-label, /* always show it for active tab */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .tabs-container > .tab > .tab-close .action-label:focus, /* always show it on focus */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .tabs-container > .tab:hover > .tab-close .action-label, /* always show it on hover */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .tabs-container > .tab.active:hover > .tab-close .action-label, /* always show it on hover */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dirty > .tab-close .action-label { /* always show it for dirty tabs */
opacity: 1;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.active > .tab-close .action-label, /* show dimmed for inactive group */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.active:hover > .tab-close .action-label { /* show dimmed for inactive group */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.active > .tab-close .action-label, /* show dimmed for inactive group */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.active:hover > .tab-close .action-label { /* show dimmed for inactive group */
opacity: 0.5;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab:hover > .tab-close .action-label { /* show more dimmed for inactive group and tab */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab:hover > .tab-close .action-label { /* show more dimmed for inactive group and tab */
opacity: 0.4;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab > .tab-close .action-label {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab > .tab-close .action-label {
opacity: 0;
display: block;
height: 16px;
......@@ -190,27 +190,27 @@
margin-right: 0.5em;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dirty .close-editor-action {
background: url('close-dirty.svg') center center no-repeat;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action,
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dirty .close-editor-action,
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dirty .close-editor-action {
background: url('close-dirty-inverse.svg') center center no-repeat;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action:hover {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dirty .close-editor-action:hover {
background: url('close.svg') center center no-repeat;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action:hover,
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.dirty .close-editor-action:hover {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dirty .close-editor-action:hover,
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.dirty .close-editor-action:hover {
background: url('close-inverse.svg') center center no-repeat;
}
/* Group Actions */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .group-actions {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .group-actions {
flex: initial;
padding-left: 4px;
}
\ No newline at end of file
......@@ -5,49 +5,49 @@
/* Editor Label */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label,
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-label,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab .tab-label {
white-space: nowrap;
flex: 1;
font-style: italic;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title.pinned .title-label,
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab.pinned .tab-label {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title.pinned .title-label,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab.pinned .tab-label {
font-style: normal;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label a,
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label a {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-label a,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab .tab-label a {
text-decoration: none;
font-size: 13px;
cursor: pointer;
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label a,
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label a {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-label a,
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab .tab-label a {
color: rgba(51, 51, 51, 0.5);
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .title-label a,
.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .tabs-container > .tab .tab-label a {
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .title-label a,
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .tabs-container > .tab .tab-label a {
color: #333333;
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label a,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .tabs-container > .tab .tab-label a {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-label a,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .tabs-container > .tab .tab-label a {
color: rgba(255, 255, 255, 0.5);
}
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .title-label a,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title.active .tabs-container > .tab .tab-label a {
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .title-label a,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-silo > .title.active .tabs-container > .tab .tab-label a {
color: white;
}
/* Title Actions */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions .action-label,
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .group-actions .action-label {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-actions .action-label,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .group-actions .action-label {
display: block;
height: 35px;
line-height: 35px;
......@@ -57,29 +57,29 @@
background-repeat: no-repeat;
}
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions .action-label,
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .group-actions .action-label {
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-actions .action-label,
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .title .group-actions .action-label {
line-height: initial;
}
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .group-actions .action-label .label,
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions .action-label .label {
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .group-actions .action-label .label,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .title .title-actions .action-label .label {
display: none;
}
/* Drag Cursor */
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container > .title,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container > .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container > .title .title-label span {
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-silo > .title,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-silo > .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-silo > .title .title-label span {
cursor: -webkit-grab;
}
#monaco-workbench-editor-move-overlay,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.drag,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.drag > .title,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.drag > .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.drag > .title .title-label span,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.drag .monaco-editor .view-lines {
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-silo.drag,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-silo.drag > .title,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-silo.drag > .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-silo.drag > .title .title-label span,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-silo.drag .monaco-editor .view-lines {
cursor: -webkit-grabbing;
}
......
......@@ -195,7 +195,7 @@ export abstract class TitleControl implements ITitleAreaControl {
}
public allowDragging(element: HTMLElement): boolean {
return !DOM.findParentWithClass(element, 'monaco-action-bar', 'one-editor-container');
return !DOM.findParentWithClass(element, 'monaco-action-bar', 'one-editor-silo');
}
private initActions(): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册