From 832e7c7f66dd20c294fa9fb9fa32a29dc4cf6d65 Mon Sep 17 00:00:00 2001 From: Thomas Wilburn Date: Fri, 21 Feb 2014 21:13:20 -0800 Subject: [PATCH] Tweaks to inactive tab styles. --- css/tabs.less | 9 +++++++-- js/sessions.js | 1 - templates/tab.html | 7 +++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/css/tabs.less b/css/tabs.less index 873df40..d40e71f 100644 --- a/css/tabs.less +++ b/css/tabs.less @@ -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; diff --git a/js/sessions.js b/js/sessions.js index 389b857..bb64014 100644 --- a/js/sessions.js +++ b/js/sessions.js @@ -329,7 +329,6 @@ define([ editor.focus(); }); - var locationMemory = null; return { diff --git a/templates/tab.html b/templates/tab.html index 1df60f6..fe5aa95 100644 --- a/templates/tab.html +++ b/templates/tab.html @@ -6,6 +6,9 @@ title="{{fileName}}" class="tab {{animation}}" > - {{fileName}} {{#modified}}•{{/modified}} - × + {{fileName}} + + {{#modified}}≡{{/modified}} + {{^modified}}×{{/modified}} + \ No newline at end of file