54 lines
1001 B
SCSS
54 lines
1001 B
SCSS
[data-component=playground-file-selector].tab{
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 1px;
|
|
padding: 10px 20px 0 20px;
|
|
|
|
.tab-item {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 30px;
|
|
padding: 0 20px;
|
|
border: 1px solid #f0f0f0;
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
border-radius: 6px 6px 0 0;
|
|
cursor: pointer;
|
|
|
|
.tab-item-input {
|
|
position: relative;
|
|
min-width: 40px;
|
|
transform: translateY(1px);
|
|
|
|
.tab-item-input-mask {
|
|
display: inline-block;
|
|
color: transparent;
|
|
}
|
|
input {
|
|
position: absolute;
|
|
background-color: transparent;
|
|
width: 100%;
|
|
font-size: 1em;
|
|
}
|
|
}
|
|
|
|
.tab-item-close {
|
|
transform: translateX(10px);
|
|
|
|
:hover {
|
|
fill: #888;
|
|
}
|
|
|
|
svg {
|
|
height: 8px;
|
|
fill: #666;
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
background-color: white;
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
} |