2021-02-12 18:53:46 -08:00
|
|
|
/*
|
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.split-view {
|
|
|
|
display: flex;
|
|
|
|
flex: auto;
|
2021-02-19 07:25:08 -08:00
|
|
|
position: relative;
|
2021-02-12 18:53:46 -08:00
|
|
|
}
|
|
|
|
|
2021-04-06 11:27:57 +08:00
|
|
|
.split-view.vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.split-view.vertical.sidebar-first {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
2021-03-11 11:22:59 -08:00
|
|
|
.split-view.horizontal {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
2021-04-06 11:27:57 +08:00
|
|
|
.split-view.horizontal.sidebar-first {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
|
2021-02-12 18:53:46 -08:00
|
|
|
.split-view-main {
|
|
|
|
display: flex;
|
|
|
|
flex: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.split-view-sidebar {
|
|
|
|
display: flex;
|
|
|
|
flex: none;
|
|
|
|
}
|
|
|
|
|
2021-08-31 16:34:52 -07:00
|
|
|
.split-view.vertical:not(.sidebar-first) > .split-view-sidebar {
|
2022-10-27 16:50:41 -07:00
|
|
|
border-top: 1px solid var(--vscode-panel-border);
|
2021-03-11 11:22:59 -08:00
|
|
|
}
|
|
|
|
|
2021-08-31 16:34:52 -07:00
|
|
|
.split-view.horizontal:not(.sidebar-first) > .split-view-sidebar {
|
2022-10-27 16:50:41 -07:00
|
|
|
border-left: 1px solid var(--vscode-panel-border);
|
2021-03-11 11:22:59 -08:00
|
|
|
}
|
|
|
|
|
2021-04-06 11:27:57 +08:00
|
|
|
.split-view.vertical.sidebar-first > .split-view-sidebar {
|
2022-10-27 16:50:41 -07:00
|
|
|
border-bottom: 1px solid var(--vscode-panel-border);
|
2021-04-06 11:27:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.split-view.horizontal.sidebar-first > .split-view-sidebar {
|
2022-10-27 16:50:41 -07:00
|
|
|
border-right: 1px solid var(--vscode-panel-border);
|
2021-04-06 11:27:57 +08:00
|
|
|
}
|
|
|
|
|
2021-02-12 18:53:46 -08:00
|
|
|
.split-view-resizer {
|
|
|
|
position: absolute;
|
2021-03-11 11:22:59 -08:00
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
.split-view.vertical > .split-view-resizer {
|
2021-02-12 18:53:46 -08:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 12px;
|
|
|
|
cursor: ns-resize;
|
2021-03-11 11:22:59 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.split-view.horizontal > .split-view-resizer {
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 12px;
|
|
|
|
cursor: ew-resize;
|
2021-02-12 18:53:46 -08:00
|
|
|
}
|