2013-10-15 15:15:25 -04:00
|
|
|
@import _mixins
|
|
|
|
@import _variables
|
|
|
|
|
2013-10-15 19:21:22 -04:00
|
|
|
$callHeight = 80px
|
|
|
|
|
|
|
|
#wrapper
|
2013-10-15 15:15:25 -04:00
|
|
|
position: relative !important
|
2013-10-15 19:21:22 -04:00
|
|
|
transition: all 1s
|
2013-10-15 15:15:25 -04:00
|
|
|
|
2013-10-16 03:30:37 -04:00
|
|
|
//&.hasActiveCall
|
|
|
|
// transform: translateY($callHeight)
|
2013-10-15 15:15:25 -04:00
|
|
|
|
|
|
|
#calls
|
|
|
|
position: fixed
|
2013-10-15 19:21:22 -04:00
|
|
|
top: 0
|
2013-10-15 15:15:25 -04:00
|
|
|
left: 0px
|
2013-10-15 19:21:22 -04:00
|
|
|
transition: all 1s
|
2013-10-15 15:15:25 -04:00
|
|
|
width: 100%
|
2013-10-15 19:21:22 -04:00
|
|
|
height: $callHeight
|
2013-10-15 15:15:25 -04:00
|
|
|
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 15:15:25 -04:00
|
|
|
|
2013-10-15 19:21:22 -04:00
|
|
|
.call
|
|
|
|
height: $callHeight
|
|
|
|
padding: 0
|
|
|
|
margin: 0
|
2013-10-15 15:15:25 -04:00
|
|
|
|
2013-10-15 19:21:22 -04:00
|
|
|
&.incoming
|
|
|
|
background: $activeBlue
|
|
|
|
.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
|
|
|
|
background: $activeBlue
|
|
|
|
|
|
|
|
.spinner div
|
|
|
|
background-color: #fff
|
|
|
|
|
|
|
|
&.calling
|
2013-10-15 22:16:09 -04:00
|
|
|
background: $activeBlue
|
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-15 22:16:09 -04:00
|
|
|
background: $grayBackground
|
2013-10-15 19:21:22 -04:00
|
|
|
|
2013-10-15 15:15:25 -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%
|
2013-10-15 15:15:25 -04:00
|
|
|
|
|
|
|
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
|
2013-10-23 11:15:02 -04:00
|
|
|
font-size: $font-size-large
|
2013-10-15 15:15:25 -04:00
|
|
|
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
|
2013-10-23 11:15:02 -04:00
|
|
|
font-weight: $font-weight-bold
|
2013-10-15 15:15:25 -04:00
|
|
|
color: #fff
|
|
|
|
text_shadow(rgba(0,0,0,.7),0,1px,0)
|
|
|
|
line-height: 1
|
|
|
|
|
|
|
|
.caller
|
2013-10-15 19:21:22 -04:00
|
|
|
margin: 0
|
2013-10-15 22:16:09 -04:00
|
|
|
padding: 5px 0 0 0
|
2013-10-15 15:15:25 -04:00
|
|
|
font-size: 20px
|
|
|
|
padding-bottom: 0px
|
|
|
|
|
|
|
|
.callerName
|
|
|
|
display: inline
|
|
|
|
.callerNumber
|
|
|
|
display: inline
|
|
|
|
margin-left: 10px
|
|
|
|
|
|
|
|
.callTime
|
|
|
|
position: absolute
|
|
|
|
top: 12px
|
|
|
|
right: 40px
|
|
|
|
font-size: 20px
|
|
|
|
margin: 0
|