1
1
mirror of https://github.com/primer/css.git synced 2024-12-28 08:31:58 +03:00
css/scss/utilities/_layout.scss
2016-02-18 15:52:02 -05:00

29 lines
778 B
SCSS

// scss-lint:disable SpaceBeforeBrace
// position utilites
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }
// Display utilites
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.hidden, // legacy
.d-none { display: none !important; }
// Clear floats
.clearfix {
@include clearfix;
}
// Floats
.right { float: right !important; }
.left { float: left !important; }