1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-13 21:15:04 -05:00
kaiwa/public/css/_mixins.styl

41 lines
836 B
Stylus
Raw Normal View History

2013-09-16 05:19:07 -04:00
@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
2013-10-25 06:13:19 -04:00
transform()
-webkit-transform: arguments
-moz-transform: arguments
-ms-transform: arguments
transform: arguments
2013-09-16 05:19:07 -04:00
borderbox()
-moz-box-sizing: border-box
-webkit-box-sizing: border-box
box-sizing: border-box
// avatars
avatar()
2013-09-16 05:19:07 -04:00
width: 30px
height: 30px
roundall(50px)
2013-09-16 05:19:07 -04:00
// this if for the content flash and hardware acceleration bugs in webkit
webkit-transition-fix()
-webkit-backface-visibility: hidden
//-webkit-transform: translateZ(0)