FloatButton_wev8.css 1.43 KB
.wev-comp-FloatButton {
	width: 44px;
    height: 44px;
    border-radius: 2.25em;
    background-color: #fff;
    box-shadow: 0px 0px 8px rgba(0,0,0,.2);
    position: absolute;
    z-index: 999;
	text-align: center;
	-webkit-overflow-scrolling: touch;
	visibility: hidden;
}

.wev-comp-FloatButton > img{
    width: 24px;
    height: 24px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.wev-comp-FloatButton > div{
	line-height: 44px;
	font-size: 12px;
}
.wev-comp-FloatButton .wev-badge {
    position: absolute;
    right: 0px;
    top: 0px;
    transform: translate(20%,-20%);
    -webkit-transform: translate(20%,-20%);
}
.wev-comp-FloatButton .fourletters {
    line-height: 18px;
    font-size: 12px;
    letter-spacing: 3px;
    padding-left: 3px;
    padding-top: 4px;
}
.wev-comp-FloatButton .wordsLoop {
    color: #000;
    display: inline-block;
    white-space: nowrap;
    animation: 5s wordsLoop linear infinite normal;
}

@keyframes wordsLoop {
    0% {
        transform: translateX(40px);
        -webkit-transform: translateX(40px);
    }
    100% {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }
}

@-webkit-keyframes wordsLoop {
    0% {
        transform: translateX(40px);
        -webkit-transform: translateX(40px);
    }
    100% {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }
}