lists-color: only colorize the bottom border

And make the background clearer to visually separate the header from
the list of cards
reviewable/pr2130/r1
Benjamin Tissoires 6 years ago
parent 5d6203f5f9
commit 33977b2282
  1. 12
      client/components/lists/list.styl
  2. 3
      client/components/lists/listHeader.jade
  3. 2
      client/components/swimlanes/swimlanes.jade

@ -46,11 +46,19 @@
.list-header-card-count
height: 35px
.list-header-add
flex: 0 0 auto
padding: 20px 12px 4px
position: relative
min-height: 20px
.list-header
flex: 0 0 auto
padding: 20px 12px 4px
position: relative
min-height: 20px
background-color: #e4e4e4;
border-bottom: 6px solid #e4e4e4;
&.ui-sortable-handle
@ -204,9 +212,7 @@
overflow: hidden
list-header-color(background, color...)
background: background !important
if color
color: color !important //overwrite text for better visibility
border-bottom: 6px solid background
.list-header-white
list-header-color(#ffffff, #4d4d4d) //Black text for better visibility

@ -120,7 +120,8 @@ template(name="wipLimitErrorPopup")
template(name="setListColorPopup")
form.edit-label
.palette-colors: each colors
span.card-label.palette-color.js-palette-color(class="list-header-{{color}}")
// note: we use the swimlane palette to have more than just the border
span.card-label.palette-color.js-palette-color(class="swimlane-{{color}}")
if(isSelected color)
i.fa.fa-check
button.primary.confirm.js-submit {{_ 'save'}}

@ -38,7 +38,7 @@ template(name="listsGroup")
template(name="addListForm")
.list.list-composer.js-list-composer
.list-header
.list-header-add
+inlinedForm(autoclose=false)
input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"
autocomplete="off" autofocus)

Loading…
Cancel
Save