2015-02-03 16:17:15 +01:00
|
|
|
@import '../angular-material/src/core/style/mixins.scss';
|
|
|
|
|
2015-01-16 13:52:29 +01:00
|
|
|
@mixin margin-selectors($before:1em, $after:1em, $start:0px, $end:0px) {
|
|
|
|
-webkit-margin-before: $before;
|
|
|
|
-webkit-margin-after: $after;
|
|
|
|
-webkit-margin-start: $start;
|
|
|
|
-webkit-margin-end: $end;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin not-selectable($value:none) {
|
|
|
|
user-select: $value;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin input-placeholder-color($color) {
|
|
|
|
&::-webkit-input-placeholder,
|
|
|
|
&::-moz-placeholder, /* Firefox 19+ */
|
|
|
|
&:-moz-placeholder, /* Firefox 18- */
|
|
|
|
&:-ms-input-placeholder {
|
|
|
|
color: $color;
|
|
|
|
}
|
|
|
|
}
|
2015-01-28 02:57:24 +01:00
|
|
|
// Utility to compensate for the the xml mandatory attribute values
|
|
|
|
// Creates classes extending layout attributes with no values
|
|
|
|
// ----------------------------------------------------------------
|
|
|
|
@mixin attributesToClasses($selectors) {
|
|
|
|
@each $selector in $selectors {
|
|
|
|
.md-#{$selector} {
|
|
|
|
// no syntax error here
|
2015-01-28 09:24:53 +01:00
|
|
|
@extend #{'['$selector']'} !optional
|
2015-01-28 02:57:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|