2014-07-19 20:33:48 +02:00
|
|
|
//
|
|
|
|
// Styles
|
|
|
|
// --------------------------------------------------
|
2014-05-21 19:17:39 +02:00
|
|
|
|
|
|
|
@mixin baseline {
|
|
|
|
margin: 1.6em 0;
|
2014-08-04 18:57:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// User select
|
|
|
|
// For selecting text on the page
|
|
|
|
|
|
|
|
@mixin user-select($select) {
|
|
|
|
-webkit-user-select: $select;
|
|
|
|
-moz-user-select: $select;
|
|
|
|
-ms-user-select: $select; // IE10+
|
|
|
|
user-select: $select;
|
|
|
|
}
|
|
|
|
|
|
|
|
// WebKit-style focus
|
|
|
|
|
|
|
|
@mixin tab-focus() {
|
|
|
|
// Default
|
|
|
|
outline: thin dotted;
|
|
|
|
// WebKit
|
2014-08-04 19:24:41 +03:00
|
|
|
outline: 0px auto -webkit-focus-ring-color;
|
2014-08-04 18:57:33 +03:00
|
|
|
outline-offset: -2px;
|
|
|
|
}
|