diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-20 15:54:50 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-20 15:59:00 +0200 |
commit | 8ae6abe603571839b74f3106ba53922a849d1125 (patch) | |
tree | d0ad47dffe81e10adde8752478c6ad8bca440b03 /client/components/cards | |
parent | a79599d76c808520d36aa7c19e366906cb89982c (diff) | |
download | wekan-8ae6abe603571839b74f3106ba53922a849d1125.tar.gz wekan-8ae6abe603571839b74f3106ba53922a849d1125.tar.bz2 wekan-8ae6abe603571839b74f3106ba53922a849d1125.zip |
Switch the font to roboto
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/labels.jade | 4 | ||||
-rw-r--r-- | client/components/cards/labels.styl | 6 | ||||
-rw-r--r-- | client/components/cards/minicard.styl | 11 |
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 |