TeaWeb/css/ts/tab.css

72 lines
1.2 KiB
CSS
Raw Normal View History

2018-02-27 17:20:49 +01:00
x-tab { display:none }
.tab {
font-family: Arial;
font-size: 12px;
/*white-space: pre;*/
line-height: 1;
padding: 2px;
height: 100%;
display: flex;
flex-direction: column;
}
.tab div * {
vertical-align: middle;
}
.tab .tab-content {
border-color: #6f6f6f;
border-radius: 0px 2px 2px 2px;
border-style: solid;
overflow-y: auto;
height: calc(100% - 2 * 18px);
padding: 2px;
}
/*
#chat .tab-content {
flex-wrap: wrap;
display: flex;
align-items: flex-start;
height: auto;
}
*/
.tab .tab-header {
max-width: 100%;
overflow: auto;
/*height: 24px;*/
overflow-y: hidden;
white-space: nowrap;
margin-bottom: -1px;
display: flex;
user-select: none;
2018-04-16 20:38:35 +02:00
flex-direction: row;
justify-content: stretch;
width: 100%;
2018-02-27 17:20:49 +01:00
}
.tab .tab-header .entry {
background: #5f5f5f5f;
display: inline-block;
border: #6f6f6f;
border-width: 1px;
border-style: solid;
border-radius: 2px 2px 0px 0px;
vertical-align: middle;
padding: 2px;
padding-left: 5px;
padding-right: 5px;
cursor: pointer;
2018-04-16 20:38:35 +02:00
flex-grow: 1;
2018-02-27 17:20:49 +01:00
}
2018-03-07 19:06:52 +01:00
.tab .tab-content-invisible {
display: none;
}
2018-02-27 17:20:49 +01:00
.tab .selected {
background: #11111111!important;
}