2013-09-16 05:19:07 -04:00
|
|
|
@import '../_variables'
|
|
|
|
@import '../_mixins'
|
|
|
|
|
|
|
|
#menu
|
|
|
|
position: fixed
|
|
|
|
top: 0px
|
|
|
|
bottom: 0px
|
|
|
|
left: 0px
|
2013-09-19 10:14:54 -04:00
|
|
|
width: 180px
|
2013-09-19 09:53:35 -04:00
|
|
|
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
|
2013-09-23 14:06:42 -04:00
|
|
|
margin-bottom: 10px
|
2013-09-16 05:19:07 -04:00
|
|
|
li
|
|
|
|
list-style-type: none
|
2013-09-23 04:37:02 -04:00
|
|
|
margin: 10px 0 5px 0
|
|
|
|
text-align: center
|
|
|
|
|
|
|
|
&:last-child
|
|
|
|
margin: 0
|
2013-09-16 05:19:07 -04:00
|
|
|
|
2013-09-20 07:16:35 -04:00
|
|
|
svg
|
2013-09-20 07:39:04 -04:00
|
|
|
position: absolute
|
|
|
|
top: 50%
|
|
|
|
left: 10px
|
|
|
|
margin-top: -13px
|
2013-09-20 07:16:35 -04:00
|
|
|
fill: white
|
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
a
|
2013-09-20 07:39:04 -04:00
|
|
|
position: relative
|
2013-09-23 07:47:39 -04:00
|
|
|
width: 130px
|
2013-09-23 04:37:02 -04:00
|
|
|
|
|
|
|
.button
|
2013-09-23 14:06:42 -04:00
|
|
|
background: $sidebarActive
|
2013-09-16 05:19:07 -04:00
|
|
|
|
2013-09-23 04:37:02 -04:00
|
|
|
&:hover
|
2013-09-23 14:06:42 -04:00
|
|
|
background: lighten($sidebarActive, 10%)
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
h1
|
2013-09-23 14:06:42 -04:00
|
|
|
font-size: 10px
|
2013-09-19 09:53:35 -04:00
|
|
|
margin: 0
|
2013-09-23 14:06:42 -04:00
|
|
|
padding: 20px 10px
|
2013-09-21 12:16:53 -04:00
|
|
|
color: white
|
|
|
|
text-transform: uppercase
|
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
|
2013-09-25 03:18:37 -04:00
|
|
|
padding: 7px 35px 7px 10px
|
2013-09-16 05:19:07 -04:00
|
|
|
margin: 0px
|
|
|
|
position: relative
|
2013-09-25 03:18:37 -04:00
|
|
|
min-height: 30px
|
2013-09-19 14:37:01 -04:00
|
|
|
font-size: $fontSmall
|
2013-09-16 05:19:07 -04:00
|
|
|
color: #fff
|
2013-09-19 10:39:07 -04:00
|
|
|
cursor: pointer
|
2013-09-21 12:16:53 -04:00
|
|
|
transition: all .3s ease-in 0
|
|
|
|
-webkit-transition: all .3s ease-in 0
|
|
|
|
-moz-transition: all .3s ease-in 0
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
&:hover
|
2013-09-23 14:06:42 -04:00
|
|
|
background: $sidebarActive
|
2013-09-16 05:19:07 -04:00
|
|
|
|
2013-09-25 03:18:37 -04:00
|
|
|
&.hasUnread .unread
|
|
|
|
display: block
|
2013-09-16 05:19:07 -04:00
|
|
|
|
2013-09-25 02:57:46 -04:00
|
|
|
&.online, &.chat, &.dnd, &.away, &.xa
|
|
|
|
|
|
|
|
&:after
|
|
|
|
content: ''
|
|
|
|
position: absolute
|
|
|
|
top: 50%
|
|
|
|
right: 15px
|
|
|
|
height: 8px
|
|
|
|
width: 8px
|
|
|
|
margin-top: -4px
|
|
|
|
roundall(10px)
|
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
&.online,
|
|
|
|
&.chat
|
2013-09-25 02:57:46 -04:00
|
|
|
&:after
|
|
|
|
background: #427a00
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
&.dnd
|
2013-09-25 02:57:46 -04:00
|
|
|
&:after
|
|
|
|
background: #c50041
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
&.away,
|
|
|
|
&.xa
|
2013-09-25 02:57:46 -04:00
|
|
|
&:after
|
|
|
|
background: #f57900
|
2013-09-21 12:16:53 -04:00
|
|
|
|
|
|
|
&.offline:not(:hover)
|
|
|
|
.name
|
2013-09-23 07:47:39 -04:00
|
|
|
color: darken($textSecondary, 40%)
|
2013-09-16 05:19:07 -04:00
|
|
|
|
2013-09-23 14:06:42 -04:00
|
|
|
.status
|
|
|
|
color: darken($textSecondary, 65%)
|
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
img
|
|
|
|
opacity: .25
|
|
|
|
|
2013-09-21 12:16:53 -04:00
|
|
|
&.activeContact, &.offline.activeContact
|
2013-09-21 11:38:35 -04:00
|
|
|
background: white
|
2013-09-20 07:16:35 -04:00
|
|
|
font-weight: bold
|
2013-09-16 05:19:07 -04:00
|
|
|
|
2013-09-21 12:16:53 -04:00
|
|
|
.name
|
|
|
|
color: $baseText
|
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
&.composing
|
2013-09-23 07:47:39 -04:00
|
|
|
&:after
|
2013-09-23 08:10:21 -04:00
|
|
|
animation: pulsate 1.5s infinite ease-in
|
|
|
|
-webkit-animation: pulsate 1.5s infinite ease-in
|
|
|
|
-moz-animation: pulsate 1.5s infinite ease-in
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
&.paused
|
2013-09-23 07:47:39 -04:00
|
|
|
&:after
|
|
|
|
background: $textSecondary
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
img
|
|
|
|
opacity: 1
|
|
|
|
|
|
|
|
.avatar
|
|
|
|
vertical-align: top
|
|
|
|
margin-right: 5px
|
2013-09-25 03:18:37 -04:00
|
|
|
margin-top: -15px
|
2013-09-16 05:19:07 -04:00
|
|
|
position: absolute
|
2013-09-20 04:30:22 -04:00
|
|
|
left: 10px
|
|
|
|
top: 50%
|
2013-09-25 03:18:37 -04:00
|
|
|
avatar()
|
2013-09-16 05:19:07 -04:00
|
|
|
noselect()
|
|
|
|
|
|
|
|
.name
|
2013-09-25 03:18:37 -04:00
|
|
|
margin-left: 40px
|
|
|
|
line-height: 30px
|
2013-09-21 12:16:53 -04:00
|
|
|
color: white
|
2013-09-21 12:47:44 -04:00
|
|
|
text-overflow: ellipsis
|
|
|
|
overflow: hidden
|
|
|
|
width: 70%
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
.status
|
2013-09-21 12:47:44 -04:00
|
|
|
color: $textSecondary
|
2013-09-23 08:10:21 -04:00
|
|
|
font-size: 10px
|
|
|
|
line-height: 12px
|
2013-09-21 12:47:44 -04:00
|
|
|
margin: 0
|
|
|
|
margin-left: 30px
|
|
|
|
|
|
|
|
&:not(:empty)
|
2013-09-23 08:10:21 -04:00
|
|
|
margin-top: -2px
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
.unread
|
|
|
|
display: none
|
|
|
|
color: white
|
2013-09-25 03:18:37 -04:00
|
|
|
height: 22px
|
|
|
|
width: 30px
|
|
|
|
padding-top: 8px
|
|
|
|
roundall(30px)
|
2013-09-16 05:19:07 -04:00
|
|
|
position: absolute
|
2013-09-25 03:18:37 -04:00
|
|
|
top: 7px
|
|
|
|
left: 10px
|
2013-09-23 14:06:42 -04:00
|
|
|
font-size: 10px
|
2013-09-25 03:18:37 -04:00
|
|
|
font-weight: bold
|
2013-09-16 05:19:07 -04:00
|
|
|
text-align: center
|
2013-09-25 03:18:37 -04:00
|
|
|
background: rgba(0, 174, 239, .8)
|
2013-09-19 09:56:10 -04:00
|
|
|
|
2013-09-23 07:47:39 -04:00
|
|
|
@keyframes pulsate
|
|
|
|
0%
|
|
|
|
opacity: 1.0
|
|
|
|
50%
|
|
|
|
opacity: 0.5
|
|
|
|
100%
|
|
|
|
opacity: 1.0
|