chatlocal / static /css /tabs.css
MGLDZM's picture
Update
dd520e9
.tabs {
scrollbar-color: #34373d #ffffff00;
scrollbar-width: thin;
overflow-x: scroll;
padding-bottom: 5px;
user-select: none;
display: -webkit-inline-box;
overflow-y: hidden;
}
.tabs::-webkit-scrollbar {
height: 5px;
}
.tabs::-webkit-scrollbar-track {
background: #ffffff00;
}
.tabs::-webkit-scrollbar-thumb {
background-color: #34373d;
border: none;
}
.tab {
display: none;
}
.tab.active{
display: grid;
}
.tab-switch, .tab-add {
display: none;
}
.tab-label, .tab-label-add {
display: flex;
height: 20px;
float: left;
margin-right: 4px;
border-radius: 0px 0px 10px 10px;
transition: 0.2s background-color;
background: #7d9dbd;
}
.tab-label-add {
background: #3b74ad;
width: 20px;
color: #fff;
border-radius: 20px;
text-align: center;
display: block;
line-height: 20px;
height: 20px;
font-size: 20px;
}
.tab-label > .tab-name, .tab-label-add > .tab-name{
display: flex;
align-items: center;
margin: 0 10px;
text-wrap: nowrap;
width: 64px;
overflow: hidden;
background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.tab-label:has(.tab-switch:checked) {
background: #fff;
}
.template{
display: none;
}