2013-02-04 20:52:39 +04:00
|
|
|
.tabs {
|
|
|
|
font: caption;
|
2013-02-15 04:07:36 +04:00
|
|
|
display: -webkit-flex;
|
2013-02-06 04:12:07 +04:00
|
|
|
-webkit-box-align: center;
|
2013-02-04 20:52:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab {
|
2013-02-08 22:04:54 +04:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-webkit-user-drag: element;
|
2013-02-04 20:52:39 +04:00
|
|
|
cursor: default;
|
2013-02-15 04:07:36 +04:00
|
|
|
-webkit-flex: 1;
|
2013-02-06 04:12:07 +04:00
|
|
|
width: 175px;
|
|
|
|
max-width: 175px;
|
|
|
|
min-width: 40px;
|
|
|
|
box-sizing: border-box;
|
2013-02-06 08:33:16 +04:00
|
|
|
text-shadow: -1px -1px 0 #000;
|
|
|
|
font-size: 11px;
|
2013-02-06 20:54:49 +04:00
|
|
|
padding: 5px 10px;
|
2013-02-08 22:04:54 +04:00
|
|
|
position: relative;
|
2013-02-04 20:52:39 +04:00
|
|
|
}
|
|
|
|
|
2013-02-06 04:12:07 +04:00
|
|
|
.tab.active {
|
2013-02-15 04:07:36 +04:00
|
|
|
-webkit-flex: 2;
|
2013-02-06 04:12:07 +04:00
|
|
|
}
|
|
|
|
|
2013-02-04 20:52:39 +04:00
|
|
|
.tab .file-name {
|
2013-02-06 04:12:07 +04:00
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2013-02-16 05:34:51 +04:00
|
|
|
padding: 3px 10px 3px 0;
|
2013-02-04 20:52:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab .close-icon {
|
|
|
|
font-family: 'Octicons Regular';
|
2013-02-06 05:14:27 +04:00
|
|
|
font-size: 12px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2013-02-04 20:52:39 +04:00
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
2013-02-06 08:19:07 +04:00
|
|
|
color: rgba(255, 255, 255, 0.5);
|
2013-02-16 05:34:51 +04:00
|
|
|
right: 8px;
|
2013-02-16 07:05:53 +04:00
|
|
|
top: 5px;
|
2013-02-04 20:52:39 +04:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab .close-icon:before {
|
|
|
|
content: "\f081";
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab .close-icon:hover {
|
2013-02-06 08:19:07 +04:00
|
|
|
color: #fff;
|
2013-02-06 05:14:27 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab.file-modified .close-icon {
|
2013-02-16 07:05:53 +04:00
|
|
|
top: 11px;
|
2013-02-06 05:14:27 +04:00
|
|
|
width: 5px;
|
|
|
|
height: 5px;
|
2013-02-16 05:34:51 +04:00
|
|
|
right: 9px;
|
2013-02-06 08:19:07 +04:00
|
|
|
border: 2px solid #66a6ff;
|
2013-02-06 05:29:42 +04:00
|
|
|
border-radius: 12px;
|
2013-02-06 05:14:27 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab.file-modified .close-icon:before {
|
|
|
|
content: "";
|
2013-02-06 09:29:40 +04:00
|
|
|
}
|
2013-02-06 08:28:17 +04:00
|
|
|
|
|
|
|
.tab.file-modified:hover .close-icon {
|
|
|
|
border: none;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2013-02-16 05:34:51 +04:00
|
|
|
right: 8px;
|
2013-02-16 07:05:53 +04:00
|
|
|
top: 5px;
|
2013-02-06 08:28:17 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab.file-modified:hover .close-icon:before {
|
|
|
|
content: "\f081";
|
|
|
|
color: #66a6ff;
|
2013-02-09 21:08:46 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Drag and Drop */
|
|
|
|
.tab.is-dragging {
|
|
|
|
|
2013-02-10 03:34:35 +04:00
|
|
|
}
|
2013-02-09 23:47:12 +04:00
|
|
|
|
2013-02-12 20:34:46 +04:00
|
|
|
.tab.is-drop-target:after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: -2px;
|
|
|
|
content: "";
|
|
|
|
z-index: 999;
|
|
|
|
display: inline-block;
|
|
|
|
width: 2px;
|
|
|
|
height: 30px;
|
|
|
|
display: inline-block;
|
|
|
|
background: #0098ff;
|
|
|
|
}
|
|
|
|
|
2013-02-12 01:10:59 +04:00
|
|
|
.tab.is-drop-target:before {
|
2013-02-12 20:34:46 +04:00
|
|
|
content: "";
|
2013-02-12 01:10:59 +04:00
|
|
|
position: absolute;
|
2013-02-12 20:34:46 +04:00
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
|
|
|
background: #0098ff;
|
|
|
|
right: -4px;
|
|
|
|
top: 30px;
|
|
|
|
border-radius: 4px;
|
2013-02-12 01:10:59 +04:00
|
|
|
z-index: 9999;
|
2013-02-12 20:34:46 +04:00
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|