// Grid system // // Generate semantic grid columns with these mixins. // Centered container element @mixin container-fixed($gutter: $grid-gutter-width) { margin-right: auto; margin-left: auto; padding-left: ($gutter / 2); padding-right: ($gutter / 2); @include clearfix(); } // Creates a wrapper for a series of columns @mixin make-row($gutter: $grid-gutter-width) { margin-left: ($gutter / -2); margin-right: ($gutter / -2); @include clearfix(); } // Generate the extra small columns @mixin make-xs-column($columns, $gutter: $grid-gutter-width) { position: relative; float: left; width: percentage(($columns / $grid-columns)); min-height: 1px; padding-left: ($gutter / 2); padding-right: ($gutter / 2); } @mixin make-xs-column-offset($columns) { margin-left: percentage(($columns / $grid-columns)); } @mixin make-xs-column-push($columns) { left: percentage(($columns / $grid-columns)); } @mixin make-xs-column-pull($columns) { right: percentage(($columns / $grid-columns)); } // Generate the small columns @mixin make-sm-column($columns, $gutter: $grid-gutter-width) { position: relative; min-height: 1px; padding-left: ($gutter / 2); padding-right: ($gutter / 2); @media (min-width: $screen-sm-min) { float: left; width: percentage(($columns / $grid-columns)); } } @mixin make-sm-column-offset($columns) { @media (min-width: $screen-sm-min) { margin-left: percentage(($columns / $grid-columns)); } } @mixin make-sm-column-push($columns) { @media (min-width: $screen-sm-min) { left: percentage(($columns / $grid-columns)); } } @mixin make-sm-column-pull($columns) { @media (min-width: $screen-sm-min) { right: percentage(($columns / $grid-columns)); } } // Generate the medium columns @mixin make-md-column($columns, $gutter: $grid-gutter-width) { position: relative; min-height: 1px; padding-left: ($gutter / 2); padding-right: ($gutter / 2); @media (min-width: $screen-md-min) { float: left; width: percentage(($columns / $grid-columns)); } } @mixin make-md-column-offset($columns) { @media (min-width: $screen-md-min) { margin-left: percentage(($columns / $grid-columns)); } } @mixin make-md-column-push($columns) { @media (min-width: $screen-md-min) { left: percentage(($columns / $grid-columns)); } } @mixin make-md-column-pull($columns) { @media (min-width: $screen-md-min) { right: percentage(($columns / $grid-columns)); } } // Generate the large columns @mixin make-lg-column($columns, $gutter: $grid-gutter-width) { position: relative; min-height: 1px; padding-left: ($gutter / 2); padding-right: ($gutter / 2); @media (min-width: $screen-lg-min) { float: left; width: percentage(($columns / $grid-columns)); } } @mixin make-lg-column-offset($columns) { @media (min-width: $screen-lg-min) { margin-left: percentage(($columns / $grid-columns)); } } @mixin make-lg-column-push($columns) { @media (min-width: $screen-lg-min) { left: percentage(($columns / $grid-columns)); } } @mixin make-lg-column-pull($columns) { @media (min-width: $screen-lg-min) { right: percentage(($columns / $grid-columns)); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
_alerts.scss | File | 263 B | 0644 |
|
_background-variant.scss | File | 212 B | 0644 |
|
_border-radius.scss | File | 492 B | 0644 |
|
_buttons.scss | File | 1.04 KB | 0644 |
|
_center-block.scss | File | 126 B | 0644 |
|
_clearfix.scss | File | 611 B | 0644 |
|
_forms.scss | File | 2.61 KB | 0644 |
|
_gradients.scss | File | 4.29 KB | 0644 |
|
_grid-framework.scss | File | 2.29 KB | 0644 |
|
_grid.scss | File | 3.12 KB | 0644 |
|
_hide-text.scss | File | 599 B | 0644 |
|
_image.scss | File | 1.25 KB | 0644 |
|
_labels.scss | File | 169 B | 0644 |
|
_list-group.scss | File | 593 B | 0644 |
|
_nav-divider.scss | File | 209 B | 0644 |
|
_nav-vertical-align.scss | File | 370 B | 0644 |
|
_opacity.scss | File | 152 B | 0644 |
|
_pagination.scss | File | 460 B | 0644 |
|
_panels.scss | File | 543 B | 0644 |
|
_progress-bar.scss | File | 202 B | 0644 |
|
_reset-filter.scss | File | 246 B | 0644 |
|
_resize.scss | File | 202 B | 0644 |
|
_responsive-visibility.scss | File | 503 B | 0644 |
|
_size.scss | File | 147 B | 0644 |
|
_tab-focus.scss | File | 165 B | 0644 |
|
_table-row.scss | File | 715 B | 0644 |
|
_text-emphasis.scss | File | 189 B | 0644 |
|
_text-overflow.scss | File | 168 B | 0644 |
|
_vendor-prefixes.scss | File | 6.53 KB | 0644 |
|