From a35a29cfb607251fd7d63cb9459a672dd9fdb685 Mon Sep 17 00:00:00 2001 From: Brian Gonzalez Date: Mon, 15 May 2017 18:13:24 -0700 Subject: [PATCH] v2.12.1 - hover highlight (#76) --- app/component/tab-group.vue | 29 +++++++++++++++-------------- app/manifest.json | 2 +- package.json | 2 +- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/app/component/tab-group.vue b/app/component/tab-group.vue index f6c2cbf..c77e04c 100644 --- a/app/component/tab-group.vue +++ b/app/component/tab-group.vue @@ -5,13 +5,12 @@ {{ tabGroup.tabs.length }} {{ tabGroup.tabs.length | pluralize('tab') }} - {{ tabGroup.dateAdded | moment('ddd MM/D') }} at - {{ tabGroup.dateAdded | moment('h:mm:ssa') }} + {{ tabGroup.dateAdded | moment('ddd MM/D') }} at {{ tabGroup.dateAdded | moment('h:mm:ssa') }} - + - + - + @@ -44,29 +43,29 @@ export default { TabGroupActions }, props: [ - 'tabGroup', + 'tabGroup' ], methods: { removeTab(tab) { store.dispatch('DELETE_TAB', { tabGroup: this.tabGroup, - url: tab.url, - }); + url: tab.url + }) }, openTab(event, tab) { event.preventDefault(); - chrome.tabs.create({url: tab.url, selected: false}); + chrome.tabs.create({ url: tab.url, selected: false }) }, - openAndRemoveTab (e, tab) { - e.preventDefault(); + openAndRemoveTab(e, tab) { + e.preventDefault() this.openTab(tab) this.removeTab(tab) } }, computed: { - collapsed () { - return this.tabGroup.collapsed; + collapsed() { + return this.tabGroup.collapsed } } } @@ -77,7 +76,9 @@ export default { @import "../styles/settings"; section { + opacity: 0.65; margin-bottom: $size-unit * 2.5; + & { transition: all 250ms ease; } &:hover { opacity: 1 } } diff --git a/app/manifest.json b/app/manifest.json index dc9c259..922a492 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -2,7 +2,7 @@ "name": "__MSG_appName__", "short_name": "__MSG_appShortName__", "description": "__MSG_appDescription__", - "version": "2.12.0", + "version": "2.12.1", "manifest_version": 2, "default_locale": "en", "icons": { diff --git a/package.json b/package.json index 0f2afb3..86b787a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "TidyTab", "private": true, - "version": "2.12.0", + "version": "2.12.1", "description": "Tidy those tabs!", "scripts": { "start": "npm run dev:chrome",