1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-28 20:22:15 -05:00
kaiwa/public/css/pages/callbar.styl

126 lines
2.4 KiB
Stylus
Raw Normal View History

@import _mixins
@import _variables
2013-10-15 19:21:22 -04:00
$callHeight = 80px
#wrapper
transition: all 1s
2013-10-16 03:30:37 -04:00
//&.hasActiveCall
// transform: translateY($callHeight)
#calls
position: fixed
2013-10-15 19:21:22 -04:00
top: 0
left: 0px
2013-10-15 19:21:22 -04:00
transition: all 1s
width: 100%
2013-10-15 19:21:22 -04:00
height: $callHeight
z-index: 1000
2013-10-16 03:30:37 -04:00
background: #DDD
2013-10-15 19:21:22 -04:00
&:empty, &.ending
transform: translateY(-($callHeight))
2013-10-15 19:21:22 -04:00
.call
height: $callHeight
padding: 0
margin: 0
2013-10-15 19:21:22 -04:00
&.incoming
2013-10-23 13:57:46 -04:00
background: $blue
2013-10-15 19:21:22 -04:00
.callTime
display: none
.callerName:before
2013-10-15 22:16:09 -04:00
content: "Incoming Call: "
2013-10-15 19:21:22 -04:00
&.waiting
2013-10-23 13:57:46 -04:00
background: $blue
2013-10-15 19:21:22 -04:00
.spinner div
background-color: #fff
&.calling
2013-10-23 13:57:46 -04:00
background: $blue
2013-10-15 19:21:22 -04:00
.callTime
display: none
.callerName:before
content: "Calling: "
2013-10-15 22:16:09 -04:00
&.accepted
background: $sidebarActive
2013-10-15 19:21:22 -04:00
.callerName:before
content: "On Call: "
&.ending
.callerName:before
content: "Call ending with: "
2013-10-23 13:57:46 -04:00
background: lighten($gray-light, 93%)
2013-10-15 19:21:22 -04:00
.callActions
2013-10-15 19:21:22 -04:00
position: absolute
2013-10-15 22:16:09 -04:00
left: 80px
top: 38px
2013-10-15 19:21:22 -04:00
display: block
width: 100%
nav
float: left
button
min-width: auto
background-color: rgba(255,255,255,.3)
gradient(rgba(255,255,255,.5),rgba(0,0,0,.1))
border:
top: 1px solid rgba(255,255,255,.6)
bottom: 1px solid rgba(0,0,0,.1)
left: 1px solid rgba(255,255,255,.2)
right: 1px solid rgba(255,255,255,.2)
width: 100px
margin-right: 10px
font-size: $font-size-large
color: rgba(0,0,0,.75)
text_shadow(rgba(255,255,255,.5),0,1px,0)
float: left
shadow(rgba(0,0,0,.3), 0, 1px, 3)
&:hover
background-color: rgba(255,255,255,.4)
&:active
inner_shadow(rgba(0,0,0,.2),0,1px,3)
padding-top: 11px
padding-bottom: 9px
border:
bottom: 1px solid rgba(255,255,255,1)
top: 1px solid rgba(0,0,0,.2)
.callerAvatar
float: left
2013-10-15 22:16:09 -04:00
width: 60px
height: 60px
margin: 10px
roundall(30px)
2013-10-15 19:21:22 -04:00
.callerName, .callTime
font-weight: $font-weight-bold
color: #fff
text_shadow(rgba(0,0,0,.7),0,1px,0)
line-height: 1
2013-10-23 13:15:38 -04:00
font-size: $font-size-h3
.caller
2013-10-15 19:21:22 -04:00
margin: 0
2013-10-15 22:16:09 -04:00
padding: 5px 0 0 0
padding-bottom: 0px
.callerName
display: inline
.callerNumber
display: inline
margin-left: 10px
.callTime
position: absolute
top: 12px
right: 40px
margin: 0