summaryrefslogtreecommitdiffstats
path: root/client/components/cards
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/cards')
-rw-r--r--client/components/cards/labels.jade4
-rw-r--r--client/components/cards/labels.styl6
-rw-r--r--client/components/cards/minicard.styl11
3 files changed, 8 insertions, 13 deletions
diff --git a/client/components/cards/labels.jade b/client/components/cards/labels.jade
index 5742969f..a868627c 100644
--- a/client/components/cards/labels.jade
+++ b/client/components/cards/labels.jade
@@ -30,8 +30,8 @@ template(name="cardLabelsPopup")
li
a.card-label-edit-button.fa.fa-pencil.js-edit-label
span.card-label.card-label-selectable.js-select-label(class="card-label-{{color}}"
- class="{{# if isLabelSelected ../_id }}active{{/ if }}")
+ class="{{# if isLabelSelected ../_id }}active{{/if}}")
= name
- if isLabelSelected ../_id
+ if(isLabelSelected ../_id)
i.card-label-selectable-icon.fa.fa-check
a.quiet-button.full.js-add-label {{_ 'label-create'}}
diff --git a/client/components/cards/labels.styl b/client/components/cards/labels.styl
index 0d731e33..db82fd7c 100644
--- a/client/components/cards/labels.styl
+++ b/client/components/cards/labels.styl
@@ -25,6 +25,12 @@
&.add-label
box-shadow: 0 0 0 2px darken(white, 25%) inset
+ &:hover, &.is-active
+ box-shadow: 0 0 0 2px darken(white, 60%) inset
+
+ i.fa-plus
+ margin-top: 3px
+
.palette-colors
display: flex
flex-wrap: wrap
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl
index 1cf87beb..d886cd6f 100644
--- a/client/components/cards/minicard.styl
+++ b/client/components/cards/minicard.styl
@@ -67,17 +67,6 @@
height: 100%
width: 100%
- .minicard-title
- display: block
- font-weight: 400
- overflow: hidden
- margin-bottom: 2px
- text-decoration: none
- word-wrap: break-word
-
- &::selection
- background: transparent
-
.minicard-labels
float: right
display: flex