Permalink
5df3d34 May 18, 2016
2 contributors

Users who have contributed to this file

@daneden @lunaroja
54 lines (43 sloc) 980 Bytes
/// Style reset for base elements, but allows them to be scooped
/// @access public
/// @group reset
/// @type bool
$DBscope-scooter-reset: false !default;
@mixin scooter-reset {
*, ::after, ::before {
position: relative;
margin: 0;
padding: 0;
box-sizing: inherit;
}
input, button, textarea, select {
font: inherit;
appearance: none;
}
input[type=checkbox] {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
appearance: checkbox;
}
input[type=radio] {
-webkit-appearance: radio;
-moz-appearance: radio;
appearance: radio;
}
ul, ol {
margin-left: double($DBbaseline);
}
p, table {
margin-bottom: $DBbaseline;
}
table {
border-collapse: collapse;
}
}
@if ($DBscope-scooter-reset == true) {
.scooter-css {
@include scooter-reset;
}
} @else {
@include scooter-reset;
}