.fourk-icon { text-align: center; display: inline-block; vertical-align: top; position: relative; z-index: 2; cursor: default; } .fourk-icon, .fourk-icon *, .fourk-icon + .back, .fourk-icon:before, .fourk-icon:after { -webkit-box-sizing: content-box !important; -moz-box-sizing: content-box !important; -ms-box-sizing: content-box !important; -o-box-sizing: content-box !important; box-sizing: content-box !important; } .fourk-icon, .fourk-icon i, .fourk-icon:before, .fourk-icon:after, .fourk-icon + .back, .fourk-icon .swipe-down, .fourk-icon .swipe-up, .fourk-icon .swipe-left, .fourk-icon .swipe-right, .fourk-icon .swipe, .fourk-icon .swipe i { -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } .fourk-icon i { position: relative; } .fourk-icon.circle { border-radius: 100%; } .fourk-icon.circle:before { border-radius: 100%; } .fourk-icon.faint-circle:before { z-index: 1; border: 4px solid #fff; content: ''; top: -8px; left: -8px; padding: 4px; height: 100%; width: 100%; position: absolute; opacity: 0; -webkit-transform: scale(.8); -moz-transform: scale(.8); -ms-transform: scale(.8); -o-transform: scale(.8); transform: scale(.8); } .fourk-icon.faint-circle.hovered:before { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } .fourk-icon.solid-outline { background: transparent !important; } .fourk-icon.solid-outline:before { z-index: 0; content: ''; top: 0; left: 0; height: 100%; width: 100%; position: absolute; opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } .fourk-icon.solid-outline.hovered:before { opacity: 0; -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0); } .fourk-icon.solid-outline:after { z-index: 1; box-shadow: inset 0 0 0 3px red; content: ''; top: 0; left: 0; height: 100%; width: 100%; position: absolute; } .fourk-icon.flip-vertical, .fourk-icon.flip-horizontal, .fourk-icon.flip-vertical + .back, .fourk-icon.flip-horizontal + .back { -webkit-perspective: 1000; -moz-perspective: 1000; -o-perspective: 1000; perspective: 1000; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; -o-transform-style: preserve-3d; -ms-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -o-backface-visibility: hidden; backface-visibility: hidden; } .fourk-flip-container { position: relative; } .fourk-flip-container .back { position: absolute; top: 0; left: 50%; } .fourk-icon.flip-vertical.hovered { -webkit-transform: rotateX(-180deg); -moz-transform: rotateX(-180deg); -ms-transform: rotateX(-180deg); -o-transform: rotateX(-180deg); transform: rotateX(-180deg); } .fourk-icon.flip-horizontal.hovered { -webkit-transform: rotateY(-180deg); -moz-transform: rotateY(-180deg); -ms-transform: rotateY(-180deg); -o-transform: rotateY(-180deg); transform: rotateY(-180deg); } .fourk-icon.swipe-down, .fourk-icon.swipe-up, .fourk-icon.swipe-left, .fourk-icon.swipe-right { overflow: hidden; } .fourk-icon.swipe-down .swipe, .fourk-icon.swipe-up .swipe, .fourk-icon.swipe-left .swipe, .fourk-icon.swipe-right .swipe { position: absolute; top: 0; } .fourk-icon.fill-up { background: transparent !important; overflow: hidden; } .fourk-icon.fill-up:before { z-index: 0; content: ''; top: 0; left: 0; height: 100%; width: 100%; border-radius: 0; position: absolute; opacity: 0; } .fourk-icon.fill-up.hovered:before { opacity: 1; } .fourk-icon.fill-up:after { z-index: 1; box-shadow: inset 0 0 0 3px red; content: ''; top: 0; left: 0; height: 100%; width: 100%; position: absolute; } .fourk-icon.border-solid i { z-index: 1; } .fourk-icon.border-solid { background: transparent !important; overflow: hidden; } .fourk-icon.border-solid:after { z-index: 0; box-shadow: inset 0 0 0 3px red; content: ''; top: 0; left: 0; height: 100%; width: 100%; position: absolute; } .fourk-icon.border-thick i { z-index: 1; } .fourk-icon.border-thick { background: transparent !important; overflow: visible; } .fourk-icon.border-thick:before { z-index: 0; box-shadow: inset 0 0 0 4px red; content: ''; top: 0; left: 0; height: 100%; width: 100%; position: absolute; background: transparent !important; opacity: 0; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } .fourk-icon.border-thick:after { z-index: 0; box-shadow: inset 0 0 0 3px red; content: ''; top: 0; left: 0; height: 100%; width: 100%; position: absolute; opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } .fourk-icon.border-thick.hovered:after { opacity: .6; -webkit-transform: scale(.9); -moz-transform: scale(.9); -ms-transform: scale(.9); -o-transform: scale(.9); transform: scale(.9); } .fourk-icon.border-thick.hovered:before { opacity: 1; -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -ms-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1); }