2019-01-18 21:43:17 +01:00
|
|
|
/*
|
|
|
|
Copyright 2017 Travis Ralston
|
2019-01-18 23:07:11 +01:00
|
|
|
Copyright 2019 New Vector Ltd
|
2019-01-18 21:43:17 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_TabbedView {
|
2019-01-30 07:11:16 +01:00
|
|
|
margin: 0;
|
2020-10-06 15:48:43 +02:00
|
|
|
padding: 0 0 0 16px;
|
2019-01-30 07:11:16 +01:00
|
|
|
display: flex;
|
2019-01-30 05:45:15 +01:00
|
|
|
flex-direction: column;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-10-06 15:48:43 +02:00
|
|
|
margin-top: 8px;
|
2019-01-18 21:43:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_TabbedView_tabLabels {
|
2019-02-08 23:23:14 +01:00
|
|
|
width: 170px;
|
|
|
|
max-width: 170px;
|
2019-01-30 07:11:16 +01:00
|
|
|
color: $tab-label-fg-color;
|
2019-01-30 05:45:15 +01:00
|
|
|
position: fixed;
|
2019-01-18 21:43:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_TabbedView_tabLabel {
|
2020-10-06 15:48:43 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-01-30 07:11:16 +01:00
|
|
|
vertical-align: text-top;
|
|
|
|
cursor: pointer;
|
2020-10-06 15:48:43 +02:00
|
|
|
padding: 8px 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
font-size: $font-13px;
|
2019-01-30 07:11:16 +01:00
|
|
|
position: relative;
|
2019-01-18 21:43:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_TabbedView_tabLabel_active {
|
2019-01-30 07:11:16 +01:00
|
|
|
background-color: $tab-label-active-bg-color;
|
|
|
|
color: $tab-label-active-fg-color;
|
2019-01-18 21:43:17 +01:00
|
|
|
}
|
|
|
|
|
2019-04-09 16:03:13 +02:00
|
|
|
.mx_TabbedView_maskedIcon {
|
2020-10-06 15:48:43 +02:00
|
|
|
margin-left: 8px;
|
|
|
|
margin-right: 16px;
|
2019-02-08 23:23:14 +01:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2019-01-30 07:11:16 +01:00
|
|
|
display: inline-block;
|
2019-01-19 03:40:21 +01:00
|
|
|
}
|
|
|
|
|
2019-04-09 16:03:13 +02:00
|
|
|
.mx_TabbedView_maskedIcon::before {
|
2019-01-30 07:11:16 +01:00
|
|
|
display: inline-block;
|
|
|
|
background-color: $tab-label-icon-bg-color;
|
|
|
|
mask-repeat: no-repeat;
|
2019-02-08 23:23:14 +01:00
|
|
|
mask-size: 16px;
|
2019-02-14 17:09:07 +01:00
|
|
|
width: 16px;
|
2020-10-06 15:48:43 +02:00
|
|
|
height: 16px;
|
2019-01-30 07:11:16 +01:00
|
|
|
mask-position: center;
|
|
|
|
content: '';
|
2019-01-19 03:40:21 +01:00
|
|
|
}
|
|
|
|
|
2019-04-09 16:03:13 +02:00
|
|
|
.mx_TabbedView_tabLabel_active .mx_TabbedView_maskedIcon::before {
|
2019-01-30 07:11:16 +01:00
|
|
|
background-color: $tab-label-active-icon-bg-color;
|
2019-01-19 03:40:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_TabbedView_tabLabel_text {
|
2019-01-30 07:11:16 +01:00
|
|
|
vertical-align: middle;
|
2019-01-19 03:40:21 +01:00
|
|
|
}
|
|
|
|
|
2019-01-18 21:43:17 +01:00
|
|
|
.mx_TabbedView_tabPanel {
|
2019-02-08 23:23:14 +01:00
|
|
|
margin-left: 240px; // 170px sidebar + 70px padding
|
2019-01-30 07:11:16 +01:00
|
|
|
flex-grow: 1;
|
2019-01-30 05:45:15 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-02-06 22:11:09 +01:00
|
|
|
min-height: 0; // firefox
|
2019-01-18 21:43:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_TabbedView_tabPanelContent {
|
2019-01-30 07:11:16 +01:00
|
|
|
flex-grow: 1;
|
2019-01-30 05:45:15 +01:00
|
|
|
overflow: auto;
|
|
|
|
min-height: 0; // firefox
|
2019-04-08 17:48:42 +02:00
|
|
|
}
|