mirror of
https://github.com/wekan/wekan.git
synced 2025-12-15 23:10:13 +01:00
The idea is that by displaying card details in a sidebar stuck on the right of the screen, the mouse had to travel too much before interacting with it. I also don’t want to use the Trello solution (modal) on big screens, because I like the ability to interact with the selected card and with the board at the same time (like in a e-mail client). The solution introduced in this commit consist of opening the card detail in a column next to the minicard list. This commit also fix right sidebar members and labels drag and drop.
34 lines
755 B
Stylus
34 lines
755 B
Stylus
// We define a set of six board colors that we took from the FlatUI palette.
|
|
// http://flatuicolors.com
|
|
|
|
setBoardColor(color)
|
|
&#header,
|
|
&.sk-spinner div,
|
|
.board-backgrounds-list &.background-box,
|
|
&.pop-over .pop-over-list li a:hover,
|
|
.board-list & a
|
|
background-color: color
|
|
|
|
& .minicard.is-selected .minicard-details
|
|
border-left: 3px solid color
|
|
|
|
button[type=submit].primary, input[type=submit].primary
|
|
background-color: darken(color, 20%)
|
|
|
|
.board-color-nephritis
|
|
setBoardColor(#27AE60)
|
|
|
|
.board-color-pomegranate
|
|
setBoardColor(#C0392B)
|
|
|
|
.board-color-belize
|
|
setBoardColor(#2980B9)
|
|
|
|
.board-color-wisteria
|
|
setBoardColor(#8E44AD)
|
|
|
|
.board-color-midnight
|
|
setBoardColor(#2C3E50)
|
|
|
|
.board-color-pumpkin
|
|
setBoardColor(#E67E22)
|