toloframework
Version:
Javascript/HTML/CSS compiler for Firefox OS or nodewebkit apps using modules in the nodejs style.
58 lines (49 loc) • 1.47 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.flat {
margin: 0;
padding: 0;
border: none;
outline: none;
vertical-align: middle;
background: none;
text-align: center;
overflow: visible;
}
div.wdg-icon {
display: inline-block;
border-radius: 100%;
margin: .25rem;
cursor: pointer;
vertical-align: middle;
transition: all .2s;
text-align: center;
overflow: hidden;
}
.wdg-icon > svg {
margin: 0;
vertical-align: middle;
transform: translate(0, 0);
display: inline-block;
}
.wdg-icon > svg.rotate {
animation: wdg-icon-rotation 1.5s linear infinite;
-webkit-animation: wdg-icon-rotation 1.5s linear infinite;
}
div.wdg-icon.flat.hide {
display: none;
}