1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-29 04:32:15 -05:00
kaiwa/public/css/pages/header.styl

91 lines
1.5 KiB
Stylus
Raw Normal View History

2013-12-20 06:39:06 -05:00
@import '../_variables'
@import '../_mixins'
#me
position: fixed
left: 200px
top: 0px
height: 40px
width: 100%
background-color: #fff
border-bottom: 1px solid darken($gray-lighter, 10%)
z-index: 100
noselect()
color: #fff
.avatar
width: 30px
height: 30px
vertical-align: middle
margin-right: 5px
roundall(15px)
h1
font-size: 13px
line-height: 12px
margin: 5px
padding: 0px
white-space: nowrap
max-width: 75%
.status
font-weight: normal
font-size: 12px
line-height: 12px
border-width: 0px
margin: 0px
padding: 0px
line-height: 20px
height: 20px
max-width: 75%
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
2013-12-20 14:17:21 -05:00
transition: all .25s
2013-12-20 16:34:56 -05:00
allowselect()
2013-12-20 14:17:21 -05:00
2013-12-20 16:34:56 -05:00
&:empty:before
content: '- Update your status'
&:before,
&:empty:focus:before
2013-12-20 06:39:06 -05:00
content: '-'
padding-left: 5px
padding-right: 5px
2013-12-20 14:17:21 -05:00
&:empty
font-style: italic
2013-12-20 06:39:06 -05:00
.name,
.status
&:focus
background-color: #fffcea
border: 1px solid #efe391
color: #d2bd2d
2013-12-20 15:59:53 -05:00
.settings
position: fixed
padding-left: 30px
line-height: 30px
height: 30px
right: 5px
top: 5px
background-color: #fff
color: #12acef
transition: none
svg
position: absolute
top: 50%
left: 5px
margin: 0px
margin-top: -13px
fill: #12acef
&:hover
background-color: #12acef
color: #fff
svg
fill: #fff