1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-13 13:05:00 -05:00
kaiwa/public/css/app/roster.styl

136 lines
2.2 KiB
Stylus
Raw Normal View History

2013-09-16 05:19:07 -04:00
@import '../_variables'
@import '../_mixins'
#menu
position: fixed
top: 0px
bottom: 0px
left: 0px
width: 180px
background-color: $sidebarBg
2013-09-16 05:19:07 -04:00
z-index: 300
overflow-y: auto;
overflow-x: hidden;
webkit-transition-fix()
noselect()
.main
li
list-style-type: none
padding: 5px
line-height: 12px
&:hover
background: $sidebarActive
2013-09-16 05:19:07 -04:00
a
color: #666
a
text-decoration: none
font-size: 12px
color: #777
h1
font-size: $fontMedium
margin: 0
padding: 10px
color: white
border-top: 1px solid lighten($sidebarBg, 15%)
border-bottom: 1px solid lighten($sidebarBg, 15%)
2013-09-16 05:19:07 -04:00
2013-09-16 19:12:00 -04:00
#roster,
#bookmarks
2013-09-16 05:19:07 -04:00
li
list-style-type: none
padding: 11px
margin: 0px
position: relative
min-height: 20px
font-size: 11px
color: #fff
2013-09-19 10:39:07 -04:00
cursor: pointer
2013-09-16 05:19:07 -04:00
&:nth-child(2n)
2013-09-19 10:39:07 -04:00
background: #1e252f
2013-09-16 05:19:07 -04:00
&:hover
2013-09-19 10:39:07 -04:00
background: #2a323f
2013-09-16 05:19:07 -04:00
&.hasUnread .unread
display: block
&.online,
&.chat
border-left: 2px solid green
&.dnd
border-left: 2px solid red
&.away,
&.xa
border-left: 2px solid orange
&.offline
border-left: 2px solid #222
color: #aaa
img
opacity: .25
.status
color: #777
&.activeContact
background: $activeBlue
color: white
2013-09-16 05:19:07 -04:00
&.composing
border-right: 4px solid orange
&.paused
border-right: 4px solid #666
img
opacity: 1
.avatar
vertical-align: top
margin-right: 5px
position: absolute
left: 5px
top: 5px
width: 30px
height: 30px
roundall(3px)
2013-09-16 05:19:07 -04:00
noselect()
.name
margin-left: 40px
font-weight: bold
line-height: 20px
2013-09-16 05:19:07 -04:00
.status
color: #ccc
font-size: 10px
font-style: italic
font-weight: 600
margin: 0px
margin-left: 40px
.unread
display: none
color: white
padding-left: 5px
padding-right: 5px
roundall: 11px
position: absolute
top: 20px
left: 20px
text-align: center
font-weight: bold
background-color: red
border: 1px solid white