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

View file

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

View file

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