Tweaks to inactive tab styles.

This commit is contained in:
Thomas Wilburn 2014-02-21 21:13:20 -08:00
parent 52f8abbdc6
commit 832e7c7f66
3 changed files with 12 additions and 5 deletions

View file

@ -14,7 +14,7 @@
max-width: 200px; max-width: 200px;
padding: 0px 0px 0px 4px; padding: 0px 0px 0px 4px;
margin-right: 3px; margin-right: 3px;
opacity: .8; opacity: .6;
background: @background; background: @background;
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
color: @foreground; color: @foreground;
@ -35,6 +35,10 @@
color: @foreground; color: @foreground;
opacity: 1; opacity: 1;
box-shadow: none; box-shadow: none;
.close {
color: @accent;
}
} }
&.dragging { &.dragging {
@ -57,7 +61,8 @@
.close { .close {
font-size: 18px; font-size: 18px;
text-align: center; text-align: center;
color: @accent; vertical-align: middle;
width: 18px;
background: @background; background: @background;
position: relative; position: relative;
margin-left: 4px; margin-left: 4px;

View file

@ -329,7 +329,6 @@ define([
editor.focus(); editor.focus();
}); });
var locationMemory = null; var locationMemory = null;
return { return {

View file

@ -6,6 +6,9 @@
title="{{fileName}}" title="{{fileName}}"
class="tab {{animation}}" class="tab {{animation}}"
> >
{{fileName}} {{#modified}}•{{/modified}} {{fileName}}
<span class="close" command="session:close-tab" argument={{index}}>&times;</span> <span class="close" command="session:close-tab" argument={{index}}>
{{#modified}}&equiv;{{/modified}}
{{^modified}}&times;{{/modified}}
</span>
</a> </a>