// SIZES // ----------------------------------------------------------------------------- .text-xs { @include font-size( 10 ); } .text-sm { @include font-size( 13 ); } .text-md { @include font-size( 16 ); } .text-lg { @include font-size( 19 ); } .text-xl { @include font-size( 22 ); } // STATES // ----------------------------------------------------------------------------- .text-muted { color: $color-muted !important; } html.dark { .text-muted { color: darken( $dark-default-text, 20% ) !important; } } // COLORs // ----------------------------------------------------------------------------- .text-dark { color: $color-dark !important; } .text-light { color: #FFF !important; } // WEIGHTS // ----------------------------------------------------------------------------- .font-weight-light { font-weight: $font-weight-light !important; } .font-weight-normal { font-weight: $font-weight-normal !important; } .font-weight-semibold { font-weight: $font-weight-semibold !important; } .font-weight-bold { font-weight: $font-weight-bold !important; } .font-weight-extra-bold { font-weight: $font-weight-extra-bold !important; } // TEXT OTHERS // ----------------------------------------------------------------------------- .text-uppercase { text-transform: uppercase !important; } .text-lowercase { text-transform: lowercase !important; } .text-capitalize { text-transform: capitalize !important; } // BORDERS // ----------------------------------------------------------------------------- .rounded { border-radius: $border-radius !important; } .b-thin { border-width: $border-thin !important; } .b-normal { border-width: $border-normal !important; } .b-thick { border-width: $border-thick !important; } // SPACEMENTS // ----------------------------------------------------------------------------- /* Spacements */ /* spacement top & bottom */ .m-none { margin: 0 !important; } .m-auto { margin: 0 auto !important; } .m-xs { margin: $spacement-xs !important; } .m-sm { margin: $spacement-sm !important; } .m-md { margin: $spacement-md !important; } .m-lg { margin: $spacement-lg !important; } .m-xl { margin: $spacement-xl !important; } .m-xlg { margin: $spacement-xlg !important; } /* spacement top */ .mt-none { margin-top: 0 !important; } .mt-xs { margin-top: $spacement-xs !important; } .mt-sm { margin-top: $spacement-sm !important; } .mt-md { margin-top: $spacement-md !important; } .mt-lg { margin-top: $spacement-lg !important; } .mt-xl { margin-top: $spacement-xl !important; } .mt-xlg { margin-top: $spacement-xlg !important; } /* spacement bottom */ .mb-none { margin-bottom: 0 !important; } .mb-xs { margin-bottom: $spacement-xs !important; } .mb-sm { margin-bottom: $spacement-sm !important; } .mb-md { margin-bottom: $spacement-md !important; } .mb-lg { margin-bottom: $spacement-lg !important; } .mb-xl { margin-bottom: $spacement-xl !important; } .mb-xlg { margin-bottom: $spacement-xlg !important; } /* spacement #{$left} */ .ml-none { margin-#{$left}: 0 !important; } .ml-xs { margin-#{$left}: $spacement-xs !important; } .ml-sm { margin-#{$left}: $spacement-sm !important; } .ml-md { margin-#{$left}: $spacement-md !important; } .ml-lg { margin-#{$left}: $spacement-lg !important; } .ml-xl { margin-#{$left}: $spacement-xl !important; } .ml-xlg { margin-#{$left}: $spacement-xlg !important; } /* spacement right */ .mr-none { margin-#{$right}: 0 !important; } .mr-xs { margin-#{$right}: $spacement-xs !important; } .mr-sm { margin-#{$right}: $spacement-sm !important; } .mr-md { margin-#{$right}: $spacement-md !important; } .mr-lg { margin-#{$right}: $spacement-lg !important; } .mr-xl { margin-#{$right}: $spacement-xl !important; } .mr-xlg { margin-#{$right}: $spacement-xlg !important; } /* Spacement Padding */ .p-none { padding: 0 !important; } .p-xs { padding: $spacement-xs !important; } .p-sm { padding: $spacement-sm !important; } .p-md { padding: $spacement-md !important; } .p-lg { padding: $spacement-lg !important; } .p-xl { padding: $spacement-xl !important; } .p-xlg { padding: $spacement-xlg !important; } /* spacement top */ .pt-none { padding-top: 0 !important; } .pt-xs { padding-top: $spacement-xs !important; } .pt-sm { padding-top: $spacement-sm !important; } .pt-md { padding-top: $spacement-md !important; } .pt-lg { padding-top: $spacement-lg !important; } .pt-xl { padding-top: $spacement-xl !important; } .pt-xlg { padding-top: $spacement-xlg !important; } /* spacement bottom */ .pb-none { padding-bottom: 0 !important; } .pb-xs { padding-bottom: $spacement-xs !important; } .pb-sm { padding-bottom: $spacement-sm !important; } .pb-md { padding-bottom: $spacement-md !important; } .pb-lg { padding-bottom: $spacement-lg !important; } .pb-xl { padding-bottom: $spacement-xl !important; } .pb-xlg { padding-bottom: $spacement-xlg !important; } /* spacement left */ .pl-none { padding-#{$left}: 0 !important; } .pl-xs { padding-#{$left}: $spacement-xs !important; } .pl-sm { padding-#{$left}: $spacement-sm !important; } .pl-md { padding-#{$left}: $spacement-md !important; } .pl-lg { padding-#{$left}: $spacement-lg !important; } .pl-xl { padding-#{$left}: $spacement-xl !important; } .pl-xlg { padding-#{$left}: $spacement-xlg !important; } /* spacement right */ .pr-none { padding-#{$right}: 0 !important; } .pr-xs { padding-#{$right}: $spacement-xs !important; } .pr-sm { padding-#{$right}: $spacement-sm !important; } .pr-md { padding-#{$right}: $spacement-md !important; } .pr-lg { padding-#{$right}: $spacement-lg !important; } .pr-xl { padding-#{$right}: $spacement-xl !important; } .pr-xlg { padding-#{$right}: $spacement-xlg !important; } // HELPERS // ----------------------------------------------------------------------------- .ib { display: inline-block; vertical-align: top; } .va-middle { vertical-align: middle; } .ws-nowrap { white-space: nowrap; } .ws-normal { white-space: normal; } // GRID // ----------------------------------------------------------------------------- // 5 Equal Columns .col-xs-1-5, .col-sm-1-5, .col-md-1-5, .col-lg-1-5, .col-xs-2-5, .col-sm-2-5, .col-md-2-5, .col-lg-2-5, .col-xs-3-5, .col-sm-3-5, .col-md-3-5, .col-lg-3-5, .col-xs-4-5, .col-sm-4-5, .col-md-4-5, .col-lg-4-5 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; } .col-xs-1-5 { width: 20%; float: $left; } .col-xs-2-5 { width: 40%; float: $left; } .col-xs-3-5 { width: 60%; float: $left; } .col-xs-4-5 { width: 80%; float: $left; } @media (min-width: 768px) { .col-sm-1-5 { width: 20%; float: $left; } col-sm-2-5 { width: 40%; float: $left; } col-sm-3-5 { width: 60%; float: $left; } col-sm-4-5 { width: 80%; float: $left; } } @media (min-width: 992px) { .col-md-1-5 { width: 20%; float: $left; } .col-md-2-5 { width: 40%; float: $left; } .col-md-3-5 { width: 60%; float: $left; } .col-md-4-5 { width: 80%; float: $left; } } @media (min-width: 1200px) { .col-lg-1-5 { width: 20%; float: $left; } .col-lg-2-5 { width: 40%; float: $left; } .col-lg-3-5 { width: 60%; float: $left; } .col-lg-4-5 { width: 80%; float: $left; } } // Grid + Sidebar @media (max-width: 991px) { .col-md-3 .sidebar { clear: both; } }