You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.3 KiB
71 lines
1.3 KiB
@import "~common/stylesheet/index";
|
|
|
|
.tab_container {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
position: relative;
|
|
|
|
.tab_bar {
|
|
display: flex;
|
|
align-items: stretch;
|
|
height: $line-height;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
|
|
.title {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
padding: 0 12px;
|
|
margin: 0;
|
|
border-bottom: 1px solid $theme-light;
|
|
|
|
.input_title {
|
|
input {
|
|
&:hover,
|
|
&:focus {
|
|
margin: -4px;
|
|
padding: 4px;
|
|
background-color: $theme-normal;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.selected {
|
|
border-left: 1px solid $theme-light;
|
|
border-right: 1px solid $theme-light;
|
|
margin: 0 -1px;
|
|
border-bottom: none;
|
|
background-color: $theme-dark;
|
|
}
|
|
|
|
&.fake {
|
|
pointer-events: none;
|
|
|
|
&:first-child {
|
|
flex-shrink: 0;
|
|
width: $line-height / 2;
|
|
}
|
|
|
|
&:last-child {
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
background-color: $theme-dark;
|
|
overflow: hidden;
|
|
}
|
|
}
|