1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-15 14:04:59 -05:00
kaiwa/public/css/_mixins.styl
2015-02-09 16:30:06 +01:00

49 lines
1.0 KiB
Stylus

@import _variables
roundall($round)
-moz-border-radius: $round
-webkit-border-radius: $round
-khtml-border-radius: $round
-o-border-radius: $round
-border-radius: $round
border-radius: $round
noselect()
-webkit-touch-callout: none
-webkit-user-select: none
-khtml-user-select: none
-moz-user-select: none
-ms-user-select: none
user-select: none
allowselect()
-webkit-touch-callout: initial
-webkit-user-select: initial
-khtml-user-select: initial
-moz-user-select: initial
-ms-user-select: initial
user-select: initial
transform()
-webkit-transform: arguments
-moz-transform: arguments
-ms-transform: arguments
transform: arguments
borderbox()
-moz-box-sizing: border-box
-webkit-box-sizing: border-box
box-sizing: border-box
// avatars
avatar()
width: 36px
height: 36px
roundall(0.2rem)
// this if for the content flash and hardware acceleration bugs in webkit
webkit-transition-fix()
-webkit-backface-visibility: hidden
//-webkit-transform: translateZ(0)