1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-02 22:22:15 -05:00
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: 1px 0px 5px 5px
2015-02-23 09:43:00 -05:00
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;
border-radius: 50%;
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
color: $meUsernameColor
font-size: $font-size-base
2015-02-09 10:20:28 -05:00
font-weight: $font-weight-bolder
margin-top: 3px;
2015-02-09 10:20:28 -05:00
.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-small
2015-02-09 10:20:28 -05:00
border-width: 0px
margin: 0px
padding: 0px
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