Files
azuredatastudio/src/sql/base/browser/ui/panel/media/panel.css
Alan Ren 589de854d5 revert the changes impacting query editor and profiler editor (#9842)
* add the panel top border back

* more changes

* min-width and line height
2020-04-02 21:35:18 -07:00

200 lines
3.7 KiB
CSS

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.tabbedPanel {
border-top-color: rgba(128, 128, 128, 0.35);
border-top-width: 1px;
border-top-style: solid;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
panel {
display: block;
height: 100%;
width: 100%;
}
.tabbedPanel .composite.title {
display: flex;
flex: 0 0 auto;
position: relative;
}
.tabbedPanel.vertical>.title {
flex: 0 0 auto;
flex-direction: column;
height: 100%;
}
.tabbedPanel .tabContainer {
flex: 1 1 auto;
overflow: hidden;
height: 100%;
}
.tabbedPanel .tabList {
display: flex;
margin: 0 auto;
padding: 0;
justify-content: flex-start;
line-height: 35px;
white-space: nowrap;
flex: 1;
height: 100%;
}
.tabbedPanel .tabList .tab {
cursor: pointer;
margin: auto;
}
.tabbedPanel.horizontal .tabList .tab .tabLabel {
font-size: 12px;
font-weight: normal;
}
.tabbedPanel.vertical .tabList .tab .tabLabel {
font-size: 12px;
padding-bottom: 0px;
font-weight: normal;
}
.tabbedPanel .tabList .tab .tabLabel {
font-size: 13px;
padding-bottom: 4px;
font-weight: 600;
}
.tabbedPanel .tabList .tab-header {
display: flex;
padding-left: 5px;
padding-right: 5px;
min-width: 65px;
}
.tabbedPanel.vertical > .title .tabList .tab-header {
display: block;
min-width: 150px;
line-height: 35px;
}
.tabbedPanel .tabList .tab .tabIcon.codicon {
background-repeat: no-repeat;
background-position: 2px center;
background-size: 16px;
padding: 2px 2px 2px 22px;
}
.tabbedPanel .tabList .actions-container {
margin-right: 8px;
}
.tabbedPanel .composite.title .title-actions .action-label {
display: block;
min-width: 28px;
background-size: 16px;
background-position: center center;
background-repeat: no-repeat;
}
.composite.title .title-actions {
flex: 0 0 auto;
}
.tab > .tabLabel.active {
border-bottom: 1px solid;
}
.tabbedPanel .title-actions .panel-actions .actions-container {
justify-content: flex-start;
}
.tabbedPanel.vertical {
display: flex;
flex-direction: row;
}
.tabbedPanel.vertical>.title {
flex: 0 0 auto;
flex-direction: column;
height: 100%;
}
.tabbedPanel>.tab-content {
flex: 1 1 auto;
position: relative;
}
.tabbedPanel.vertical>.title > .tabContainer .tabList {
flex-flow: column;
}
.tabbedPanel.horizontal > .title > .tabContainer .tabList {
flex-flow: row;
}
.tabbedPanel > .title > .tabContainer > .monaco-scrollable-element {
flex: 0 1 auto;
width: inherit;
}
.visibility.hidden {
visibility: hidden;
}
.tabBody {
width: 100%;
height: 100%;
}
.tabbedPanel .tab-group-header {
font-weight: bold;
margin: 15px 5px 3px 5px;
line-height: 35px;
height: 35px;
border-style: solid;
border-width: 0 0 1px 0;
border-color: rgb(214, 214, 214);
}
.tabbedPanel .vertical-tab-action-container {
display: flex;
flex-flow: row-reverse;
height: 35px;
padding: 0px 5px;
}
.tabbedPanel .tab-action {
width: 15px;
height: 15px;
padding: 0px;
border: 0px;
background-color: transparent;
background-position: center;
background-repeat: no-repeat;
background-size: 9px 9px;
align-self: center;
}
.vs .tabbedPanel .tab-action.collapse {
background-image: url("collapse.svg");
}
.vs-dark .tabbedPanel .tab-action.collapse,
.hc-black .tabbedPanel .tab-action.collapse {
background-image: url("collapse_inverse.svg");
}
.vs .tabbedPanel .tab-action.expand {
background-image: url("expand.svg");
}
.vs-dark .tabbedPanel .tab-action.expand,
.hc-black .tabbedPanel .tab-action.expand {
background-image: url("expand_inverse.svg");
}