1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-26 03:02:25 -05:00

[ux] started on pulsating dot on composing

This commit is contained in:
karolinaszczur 2013-09-23 13:47:39 +02:00
parent a697590124
commit 61bf5a02ff
2 changed files with 120 additions and 21 deletions

View File

@ -32,7 +32,7 @@
a
position: relative
width: 120px
width: 130px
.button
background: $sidebarButton
@ -43,7 +43,7 @@
h1
font-size: $fontSmall
margin: 0
padding: 20px 15px 10px 15px
padding: 10px
color: white
text-transform: uppercase
@ -62,9 +62,6 @@
-webkit-transition: all .3s ease-in 0
-moz-transition: all .3s ease-in 0
&:nth-child(2n)
background: lighten($sidebarBg, 4%)
&:hover
background: $activeBlue
@ -87,7 +84,7 @@
&.offline:not(:hover)
.name
color: $textSecondary
color: darken($textSecondary, 40%)
img
opacity: .25
@ -102,11 +99,26 @@
.name
color: $baseText
&.composing, &.paused
&:after
content: ''
position: absolute
top: 50%
right: 10px
height: 8px
width: 8px
margin-top: -4px
roundall(10px)
animation: pulsate 1.5s infinite ease-in
&.composing
border-right: 4px solid orange
&:after
background: #f57900
&.paused
border-right: 4px solid #666
&:after
background: $textSecondary
img
opacity: 1
@ -150,3 +162,10 @@
font-weight: bold
background: $activeBlue
@keyframes pulsate
0%
opacity: 1.0
50%
opacity: 0.5
100%
opacity: 1.0

View File

@ -280,7 +280,7 @@ td {
}
#menu .main li a {
position: relative;
width: 120px;
width: 130px;
}
#menu .main li .button {
background: #1f2d49;
@ -291,7 +291,7 @@ td {
#menu h1 {
font-size: 12px;
margin: 0;
padding: 20px 15px 10px 15px;
padding: 10px;
color: #fff;
text-transform: uppercase;
}
@ -312,10 +312,6 @@ td {
-webkit-transition: all 0.3s ease-in 0;
-moz-transition: all 0.3s ease-in 0;
}
#roster li:nth-child(2n),
#bookmarks li:nth-child(2n) {
background: #111e23;
}
#roster li:hover,
#bookmarks li:hover {
background: #00aeef;
@ -346,7 +342,7 @@ td {
}
#roster li.offline:not(:hover) .name,
#bookmarks li.offline:not(:hover) .name {
color: #b7b7b7;
color: #6e6e6e;
}
#roster li.offline:not(:hover) img,
#bookmarks li.offline:not(:hover) img {
@ -369,13 +365,32 @@ td {
#bookmarks li.offline.activeContact .name {
color: #565656;
}
#roster li.composing,
#bookmarks li.composing {
border-right: 4px solid #ffa500;
#roster li.composing:after,
#bookmarks li.composing:after,
#roster li.paused:after,
#bookmarks li.paused:after {
content: '';
position: absolute;
top: 50%;
right: 10px;
height: 8px;
width: 8px;
margin-top: -4px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
-o-border-radius: 10px;
-border-radius: 10px;
border-radius: 10px;
animation: pulsate 1.5s infinite ease-in;
}
#roster li.paused,
#bookmarks li.paused {
border-right: 4px solid #666;
#roster li.composing:after,
#bookmarks li.composing:after {
background: #f57900;
}
#roster li.paused:after,
#bookmarks li.paused:after {
background: #b7b7b7;
}
#roster li img,
#bookmarks li img {
@ -442,6 +457,71 @@ td {
font-weight: bold;
background: #00aeef;
}
@-moz-keyframes pulsate {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes pulsate {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
@-o-keyframes pulsate {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
@-ms-keyframes pulsate {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
@keyframes pulsate {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
.page.chat {
padding-top: 0px;
height: 100%;