mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-07 15:49:23 +03:00
66 lines
1.0 KiB
CSS
66 lines
1.0 KiB
CSS
.tabs {
|
|
font: caption;
|
|
-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;
|
|
text-shadow: 0 -1px 1px black;
|
|
}
|
|
|
|
.tab.active {
|
|
-webkit-box-flex: 1;
|
|
}
|
|
|
|
.tab .file-name {
|
|
font-size: 11px;
|
|
display: block;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
padding: 3px 5px;
|
|
}
|
|
|
|
.tab .close-icon {
|
|
font-family: 'Octicons Regular';
|
|
font-size: 12px;
|
|
width: 12px;
|
|
height: 12px;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
right: 5px;
|
|
top: 4px;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.tab .close-icon:before {
|
|
content: "\f081";
|
|
}
|
|
|
|
.tab .close-icon:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.tab.file-modified .close-icon {
|
|
top: 10px;
|
|
width: 5px;
|
|
height: 5px;
|
|
right: 6px;
|
|
border: 2px solid #66a6ff;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.tab.file-modified .close-icon:before {
|
|
content: "";
|
|
}
|