0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/assets/sass/helpers/mixins.scss

28 lines
495 B
SCSS
Raw Normal View History

//
// Styles
// --------------------------------------------------
@mixin baseline {
margin: 1.6em 0;
}
// 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 11:24:41 -05:00
outline: 0px auto -webkit-focus-ring-color;
outline-offset: -2px;
}