Maintain a visual indication of the popup openerElement

This commit is contained in:
Maxime Quandalle 2015-06-06 10:15:54 +02:00
parent dea52907bd
commit 56a240a643
4 changed files with 15 additions and 6 deletions

View file

@ -6,7 +6,7 @@ template(name="headerBoard")
.board-header-btns.left
unless isSandstorm
if currentUser
a.board-header-btn.js-star-board(class="{{#if isStarred}}is-hovered{{/if}}"
a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}"
title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}")
i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}")
if showStarCounter

View file

@ -120,7 +120,7 @@
.board-header-btn,
h1.is-clickable
&.is-hovered,
&.is-active,
&:hover
background: rgba(0, 0, 0, .15)