mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-12 04:25:05 -05:00
136 lines
2.2 KiB
Stylus
136 lines
2.2 KiB
Stylus
@import '../_variables'
|
|
@import '../_mixins'
|
|
|
|
#menu
|
|
position: fixed
|
|
top: 0px
|
|
bottom: 0px
|
|
left: 0px
|
|
width: 180px
|
|
background-color: $sidebarBg
|
|
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
|
|
|
|
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%)
|
|
|
|
#roster,
|
|
#bookmarks
|
|
li
|
|
list-style-type: none
|
|
padding: 11px
|
|
margin: 0px
|
|
position: relative
|
|
min-height: 20px
|
|
font-size: 11px
|
|
color: #fff
|
|
cursor: pointer
|
|
|
|
&:nth-child(2n)
|
|
background: #1e252f
|
|
|
|
&:hover
|
|
background: #2a323f
|
|
|
|
&.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
|
|
|
|
&.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)
|
|
noselect()
|
|
|
|
.name
|
|
margin-left: 40px
|
|
font-weight: bold
|
|
line-height: 20px
|
|
|
|
.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
|
|
|