wekan/client/components/boards/boardBody.styl
Maxime Quandalle 91cfcf7b12 Yet another iteration on the user interface
* Automatically display the overlay when the card details is opened
  (previously we waited for the mouse to enter the card details panel)
* Improve the design of the minicards badges
* Change the minicard background when it is hovered or selected
* Removes unimplemented features links from the UI
* Fix the board canvas position when the sidebar is open (was hidden
  behind)

Fixes #215
2015-08-28 06:07:21 +02:00

45 lines
791 B
Stylus

@import 'nib'
position()
if arguments[0] == cover
position: absolute
left: 0
right: 0
top: 0
bottom: 0
else
position: arguments
.board-wrapper
position: cover
.board-canvas
position: cover
transition: margin .1s
.board-overlay
position: cover
top: -100px
right: -400px
background: black
opacity: 0.33
animation: fadeIn 0.2s
z-index: 16
&.is-sibling-sidebar-open
margin-right: 248px
&.is-dragging-active
.open-minicard-composer,
.minicard-wrapper.is-checked
display: none
.lists
align-items: flex-start
display: flex
flex-direction: row
margin: 0 10px 10px
padding: 0 25px 5px 0
overflow-x: auto
overflow-y: hidden
position: cover