mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
lists-color: only colorize the bottom border
And make the background clearer to visually separate the header from the list of cards
This commit is contained in:
parent
5d6203f5f9
commit
33977b2282
3 changed files with 12 additions and 5 deletions
|
|
@ -46,11 +46,19 @@
|
||||||
.list-header-card-count
|
.list-header-card-count
|
||||||
height: 35px
|
height: 35px
|
||||||
|
|
||||||
|
.list-header-add
|
||||||
|
flex: 0 0 auto
|
||||||
|
padding: 20px 12px 4px
|
||||||
|
position: relative
|
||||||
|
min-height: 20px
|
||||||
|
|
||||||
.list-header
|
.list-header
|
||||||
flex: 0 0 auto
|
flex: 0 0 auto
|
||||||
padding: 20px 12px 4px
|
padding: 20px 12px 4px
|
||||||
position: relative
|
position: relative
|
||||||
min-height: 20px
|
min-height: 20px
|
||||||
|
background-color: #e4e4e4;
|
||||||
|
border-bottom: 6px solid #e4e4e4;
|
||||||
|
|
||||||
|
|
||||||
&.ui-sortable-handle
|
&.ui-sortable-handle
|
||||||
|
|
@ -204,9 +212,7 @@
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
|
|
||||||
list-header-color(background, color...)
|
list-header-color(background, color...)
|
||||||
background: background !important
|
border-bottom: 6px solid background
|
||||||
if color
|
|
||||||
color: color !important //overwrite text for better visibility
|
|
||||||
|
|
||||||
.list-header-white
|
.list-header-white
|
||||||
list-header-color(#ffffff, #4d4d4d) //Black text for better visibility
|
list-header-color(#ffffff, #4d4d4d) //Black text for better visibility
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,8 @@ template(name="wipLimitErrorPopup")
|
||||||
template(name="setListColorPopup")
|
template(name="setListColorPopup")
|
||||||
form.edit-label
|
form.edit-label
|
||||||
.palette-colors: each colors
|
.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)
|
if(isSelected color)
|
||||||
i.fa.fa-check
|
i.fa.fa-check
|
||||||
button.primary.confirm.js-submit {{_ 'save'}}
|
button.primary.confirm.js-submit {{_ 'save'}}
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ template(name="listsGroup")
|
||||||
|
|
||||||
template(name="addListForm")
|
template(name="addListForm")
|
||||||
.list.list-composer.js-list-composer
|
.list.list-composer.js-list-composer
|
||||||
.list-header
|
.list-header-add
|
||||||
+inlinedForm(autoclose=false)
|
+inlinedForm(autoclose=false)
|
||||||
input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"
|
input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"
|
||||||
autocomplete="off" autofocus)
|
autocomplete="off" autofocus)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue