zotero/scss/components/_tabsBar.scss
2021-03-02 17:39:39 -05:00

51 lines
No EOL
812 B
SCSS

#tab-bar-container {
min-height: 30px;
}
.tabs {
display: flex;
}
.tab {
-moz-appearance: none;
width: 200px;
height: 30px;
line-height: 30px;
display: flex;
justify-content: center;
align-content: center;
position: relative;
background: #f9f9f9;
border-top: 2px solid transparent;
border-left: 1px solid lightgray;
border-right: 1px solid lightgray;
border-bottom: 1px solid transparent;
margin-right: -1px;
color: #000;
&.selected {
border-top: 2px solid #CC2936;
}
.tab-name {
margin-top: -2px;
line-height: 30px;
}
.tab-close {
position: absolute;
left: 6px;
top: 7px;
width: 16px;
height: 16px;
text-align: center;
line-height: 16px;
font-size: 14px;
margin-top: -2px;
display: none;
}
&:hover:not(:first-child) .tab-close {
display: block;
}
}