toloframework
Version:
Javascript/HTML/CSS compiler for Firefox OS or nodewebkit apps using modules in the nodejs style.
49 lines (41 loc) • 1.23 kB
CSS
@-webkit-keyframes wdg-icon-rotation {
from { -webkit-transform: rotate(0); transform: rotate(0) }
to { -webkit-transform: rotate(360deg); transform: rotate(360deg) }
}
@-moz-keyframes wdg-icon-rotation {
from { -webkit-transform: rotate(0); transform: rotate(0) }
to { -webkit-transform: rotate(360deg); transform: rotate(360deg) }
}
@-o-keyframes wdg-icon-rotation {
from { -webkit-transform: rotate(0); transform: rotate(0) }
to { -webkit-transform: rotate(360deg); transform: rotate(360deg) }
}
@keyframes wdg-icon-rotation {
from { -webkit-transform: rotate(0); transform: rotate(0) }
to { -webkit-transform: rotate(360deg); transform: rotate(360deg) }
}
div.wdg-icon {
display: inline-block;
margin: 0;
padding: 0;
background: none;
border: none;
outline: none;
vertical-align: middle;
}
div.wdg-icon.button {
background: #fff;
border-radius: 100%;
margin: .25rem;
cursor: pointer;
vertical-align: middle;
transition: all .2s;
}
.wdg-icon > svg {
margin: 0;
vertical-align: middle;
}
.wdg-icon > svg.rotate {
animation: wdg-icon-rotation 1.5s linear infinite;
-webkit-animation: wdg-icon-rotation 1.5s linear infinite;
}