kaiwa/public/css/pages/me.styl

65 lines
1.1 KiB
Stylus
Raw Normal View History

2015-02-09 10:20:28 -05:00
@import '../_variables'
@import '../_mixins'
2015-02-23 09:43:00 -05:00
#topbar
2015-02-09 10:20:28 -05:00
#me
2015-02-23 09:43:00 -05:00
display: none
position: fixed
right: 0
padding: 8px 5px 5px 5px
width: 175px
2015-02-09 10:20:28 -05:00
.avatar
2015-02-23 09:43:00 -05:00
float:right
width: 35px
height: 35px
2015-02-09 10:20:28 -05:00
background: rgba(0,0,0,0)
background-color: transparent
vertical-align: middle
2015-02-23 09:43:00 -05:00
margin: 3px 0.5rem 0px 0px;
2015-02-09 10:20:28 -05:00
.name,
.status
display: block
2015-02-23 09:43:00 -05:00
width: 120px
2015-02-09 10:20:28 -05:00
overflow: hidden
text-overflow: ellipsis
2015-02-23 09:43:00 -05:00
text-align: right
2015-02-09 10:20:28 -05:00
.name
2015-02-23 09:43:00 -05:00
color: $gray-dark
2015-02-09 10:20:28 -05:00
font-size: $font-size-large
font-weight: $font-weight-bolder
.status
2015-02-23 09:43:00 -05:00
color: $gray
2015-02-09 10:20:28 -05:00
font-weight: normal
font-size: $font-size-base
line-height: $font-size-base
border-width: 0px
margin: 0px
padding: 0px
line-height: 18px
height: 18px
white-space: nowrap
transition: all .25s
allowselect()
&:focus
border-radius: 0.25rem
2015-02-23 09:43:00 -05:00
border: 1px solid $gray
2015-02-09 10:20:28 -05:00
outline: none
padding: 2px
&:empty:before
content: 'Update your status'
&:before,
&:empty:focus:before
content: ''
2015-02-23 09:43:00 -05:00
&.connected
#me
display: block