Files
atom/static/tabs.css
2013-02-05 16:12:07 -08:00

89 lines
1.3 KiB
CSS

.tabs {
font: caption;
margin-bottom: 1px;
-webkit-user-select: none;
display: -webkit-box;
-webkit-box-align: center;
}
.tab {
cursor: default;
padding: 2px 21px 2px 9px;
-webkit-box-flex: 2;
position: relative;
width: 175px;
max-width: 175px;
min-width: 40px;
box-sizing: border-box;
}
.tab.active {
-webkit-box-flex: 1;
}
.tab.file-modified .close-icon {
border-radius: 10px;
top: 6px;
width: 5px;
height: 5px;
right: 5px;
}
.tab.file-modified .close-icon:before {
content: "";
}
.tab.active:before,
.tab.active:after {
position: absolute;
bottom: -1px;
width: 4px;
height: 4px;
content: " ";
z-index: 3;
}
.tab.active:before {
left: -4px;
}
.tab.active:after {
right: -4px;
border-width: 0 0 1px 1px;
}
.tab.active:first-child:before {
display: none;
}
.tab .file-name {
font-size: 11px;
text-shadow: 0 -1px 1px black;
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 3px 5px;
}
.tab .close-icon {
font-family: 'Octicons Regular';
font-size: 14px;
width: 14px;
height: 14px;
display: block;
cursor: pointer;
position: absolute;
right: 4px;
top: -1px;
-webkit-font-smoothing: antialiased;
}
.tab .close-icon:before {
content: "\f081";
}
.tab .close-icon:hover {
color: white;
}