text-size-adjust, tap-highlight-transparent and touch-callout mixins

This commit is contained in:
Adam Bradley
2013-11-27 08:25:12 -06:00
parent 7a4ef7b060
commit b4145e32ed

View File

@@ -152,13 +152,20 @@
}
// Text overflow
// Text Mixins
// --------------------------------------------------
@mixin text-overflow() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@mixin text-size-adjust($value: none) {
-webkit-text-size-adjust: $value;
-moz-text-size-adjust: $value;
text-size-adjust: $value;
}
@mixin tap-highlight-transparent() {
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent; // For some Androids
}
@mixin touch-callout($value: none) {
-webkit-touch-callout: $value;
}
@@ -197,7 +204,6 @@
}
// Appearance
// --------------------------------------------------
@@ -291,6 +297,11 @@
-moz-transition-timing-function: $transition-timing;
transition-timing-function: $transition-timing;
}
@mixin transition-property($property) {
-webkit-transition-property: $property;
-moz-transition-property: $property;
transition-property: $property;
}
// Animation Mixins