mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
255 lines
4.3 KiB
Stylus
255 lines
4.3 KiB
Stylus
@import 'nib'
|
|
|
|
#header
|
|
color: white
|
|
transition: background-color 0.4s
|
|
background: #2980B9
|
|
z-index: 17
|
|
|
|
#header-main-bar
|
|
height: 40px
|
|
padding: 7px 10px 0
|
|
|
|
h1
|
|
font-size: 20px
|
|
line-height: 1.7em
|
|
padding: 0 10px
|
|
margin: 0
|
|
margin-right: 10px
|
|
float: left
|
|
border-radius: 3px
|
|
|
|
.board-header-watch-icon
|
|
padding-left: 7px
|
|
|
|
a.fa, a i.fa
|
|
color: white
|
|
|
|
.back-btn
|
|
font-size: 0.9em
|
|
margin-right: 10px
|
|
|
|
.wekan-logo
|
|
margin: 3px auto auto
|
|
width: 97px
|
|
opacity: 0.6
|
|
transition: opacity 0.15s
|
|
float: right
|
|
|
|
&:hover
|
|
opacity: 0.9
|
|
|
|
.board-header-btns
|
|
display: block
|
|
margin-top: 3px
|
|
width: auto
|
|
|
|
// XXX Use a flexbox instead of floats?
|
|
&.left
|
|
float: left
|
|
|
|
&.right
|
|
float: right
|
|
|
|
.board-header-btn
|
|
border-radius: 3px
|
|
color: darken(white, 5%)
|
|
padding: 0
|
|
height: 28px
|
|
font-size: 13px
|
|
float: left
|
|
overflow: hidden
|
|
line-height: @height
|
|
margin: 0 2px
|
|
|
|
i.fa
|
|
float: left
|
|
display: block
|
|
line-height: 28px
|
|
color: darken(white, 5%)
|
|
margin: 0 10px
|
|
|
|
+ span
|
|
display: inline-block
|
|
margin-top: 1px
|
|
margin-right: 10px
|
|
|
|
.board-header-btn-close
|
|
float: right
|
|
|
|
i.fa
|
|
margin: 0 6px
|
|
|
|
.board-header-btn,
|
|
h1.is-clickable
|
|
&.is-active,
|
|
&:hover:not(.is-disabled)
|
|
background: rgba(0, 0, 0, .15)
|
|
|
|
.separator
|
|
margin: 2px 4px
|
|
border-left: 1px solid rgba(255, 255, 255, .3)
|
|
height: 24px
|
|
float: left
|
|
|
|
#header-quick-access
|
|
color: white
|
|
transition: background-color 0.4s
|
|
background: #2573a7
|
|
height: 28px
|
|
font-size: 12px
|
|
display: flex
|
|
z-index: 21
|
|
padding: 10px 0px
|
|
|
|
.allBoards
|
|
padding: 0 0 0 10px
|
|
|
|
#header-user-bar,
|
|
#header-new-board-icon,
|
|
ul li
|
|
color: darken(white, 17%)
|
|
|
|
.fa
|
|
color: inherit
|
|
|
|
a:hover, a.is-active
|
|
color: white
|
|
|
|
ul.header-quick-access-list
|
|
transition: opacity 0.2s
|
|
overflow-x: auto
|
|
overflow-y: hidden
|
|
white-space: nowrap
|
|
padding: 10px
|
|
margin: -10px
|
|
|
|
li
|
|
display: inline
|
|
width: auto
|
|
color: darken(white, 15%)
|
|
padding: 12px 0px
|
|
margin: -10px 0px
|
|
|
|
a
|
|
padding: 12px 10px
|
|
margin: -10px 0px
|
|
|
|
.viewer
|
|
display: inline
|
|
white-space: nowrap
|
|
|
|
p
|
|
display: inline
|
|
white-space: nowrap
|
|
|
|
&.current
|
|
color: darken(white, 5%)
|
|
|
|
&.current.empty
|
|
padding: 12px 10px 12px 10px
|
|
|
|
&:first-child .fa-home,&:nth-child(3) .fa-globe
|
|
margin-right: 5px
|
|
|
|
a.js-create-board
|
|
margin-left: 5px
|
|
|
|
#header-user-bar,
|
|
#header-new-board-icon
|
|
flex-shrink: 0
|
|
|
|
#header-user-bar
|
|
margin: 2px 0
|
|
|
|
.header-user-bar-avatar
|
|
float: left
|
|
position: relative
|
|
top: -5px
|
|
margin-right: 5px
|
|
|
|
.member
|
|
width: 24px
|
|
height: @width
|
|
margin: 0
|
|
margin-top: 1px
|
|
|
|
.header-user-bar-name
|
|
margin: 4px 8px 0 0
|
|
float: left
|
|
|
|
i.fa-chevron-down
|
|
margin-right: 4px
|
|
|
|
#header-new-board-icon
|
|
flex-grow: 1
|
|
margin: 6px 5px 0
|
|
width: 12px
|
|
|
|
@media screen and (max-width: 800px)
|
|
#header
|
|
#header-main-bar
|
|
height: 40px
|
|
|
|
.board-header-btns
|
|
margin-top: 0px
|
|
|
|
.board-header-btn
|
|
height: 32px
|
|
line-height: @height
|
|
font-size: 15px
|
|
|
|
i.fa
|
|
line-height: 32px
|
|
|
|
+ span
|
|
display: none
|
|
|
|
#header-quick-access
|
|
transition: background-color 0.4s
|
|
width: 100%
|
|
z-index: 30
|
|
|
|
ul
|
|
width: calc(100% - 60px)
|
|
margin-right: 10px
|
|
|
|
li
|
|
height: 100%
|
|
|
|
a
|
|
height: 100%
|
|
|
|
span
|
|
.fa-home
|
|
font-size: 26px
|
|
margin-top: -2px
|
|
margin-right: 10px
|
|
margin-left: 10px
|
|
|
|
#header-new-board-icon
|
|
display: none
|
|
|
|
#header-user-bar
|
|
right: 0px
|
|
padding: 10px
|
|
margin: -8px 0 -10px -10px
|
|
|
|
.announcement .viewer
|
|
display: inline-block
|
|
|
|
.announcement,
|
|
.offline-warning
|
|
width: 100%
|
|
text-align: center
|
|
padding: 0
|
|
margin: 0
|
|
background: #F8ECBD
|
|
clear: both
|
|
|
|
p
|
|
margin: 7px
|
|
padding: 0
|
|
|
|
#headerIsSettingDatabaseCallDone
|
|
display: none;
|