react-code-dataset
/
argon-dashboard-react
/src
/assets
/scss
/argon-dashboard
/custom
/utilities
/_spacing.scss
// | |
// Spacing | |
// | |
.row.row-grid > [class*="col-"] + [class*="col-"] { | |
margin-top: 3rem; | |
} | |
@include media-breakpoint-up(lg) { | |
.row.row-grid > [class*="col-lg-"] + [class*="col-lg-"] { | |
margin-top: 0; | |
} | |
} | |
@include media-breakpoint-up(md) { | |
.row.row-grid > [class*="col-md-"] + [class*="col-md-"] { | |
margin-top: 0; | |
} | |
} | |
@include media-breakpoint-up(sm) { | |
.row.row-grid > [class*="col-sm-"] + [class*="col-sm-"] { | |
margin-top: 0; | |
} | |
} | |
.row-grid + .row-grid { | |
margin-top: 3rem; | |
} | |
// Negative margins and paddings | |
@media(min-width: 992px) { | |
[class*="mt--"], | |
[class*="mr--"], | |
[class*="mb--"], | |
[class*="ml--"] { | |
} | |
// Large negative margins in pixels | |
.mt--100 { | |
margin-top: -100px ; | |
} | |
.mr--100 { | |
margin-right: -100px ; | |
} | |
.mb--100 { | |
margin-bottom: -100px ; | |
} | |
.ml--100 { | |
margin-left: -100px ; | |
} | |
.mt--150 { | |
margin-top: -150px ; | |
} | |
.mb--150 { | |
margin-bottom: -150px ; | |
} | |
.mt--200 { | |
margin-top: -200px ; | |
} | |
.mb--200 { | |
margin-bottom: -200px ; | |
} | |
.mt--300 { | |
margin-top: -300px ; | |
} | |
.mb--300 { | |
margin-bottom: -300px ; | |
} | |
// Large margins in pixels | |
.pt-100 { | |
padding-top: 100px ; | |
} | |
.pb-100 { | |
padding-bottom: 100px ; | |
} | |
.pt-150 { | |
padding-top: 150px ; | |
} | |
.pb-150 { | |
padding-bottom: 150px ; | |
} | |
.pt-200 { | |
padding-top: 200px ; | |
} | |
.pb-200 { | |
padding-bottom: 200px ; | |
} | |
.pt-250 { | |
padding-top: 250px ; | |
} | |
.pb-250 { | |
padding-bottom: 250px ; | |
} | |
.pt-300 { | |
padding-top: 300px ; | |
} | |
.pb-300 { | |
padding-bottom: 300px ; | |
} | |
} | |