Sha256: 6c6d744fd48122cf12eb71d2dbbe68b8266e1fb663e616d8bf3c2a134397c6f8

Contents?: true

Size: 1.62 KB

Versions: 27

Compression:

Stored size: 1.62 KB

Contents

// Container widths
//
// Set the container width, and override it for fixed navbars in media queries.

.container {
  @include make-container();
  @include make-container-max-widths();

}


// Fluid container
//
// Utilizes the mixin meant for fixed width containers, but without any defined
// width for fluid, full width layouts.

.container-fluid {
  @include make-container();
}


// Row
//
// Rows contain and clear the floats of your columns.

@if $enable-grid-classes {
  .row {
    @include make-row();
  }
}


// Columns
//
// Common styles for small and large grid columns

@if $enable-grid-classes {
  @include make-grid-columns();
}


// Flex variation
//
// Custom styles for additional flex alignment options.

@if $enable-flex and $enable-grid-classes {

  // Flex column reordering

  @each $breakpoint in map-keys($grid-breakpoints) {
    @include media-breakpoint-up($breakpoint) {
      .col-#{$breakpoint}-first { order: -1; }
      .col-#{$breakpoint}-last  { order: 1; }
    }
  }

  // Alignment for every column in row

  @each $breakpoint in map-keys($grid-breakpoints) {
    @include media-breakpoint-up($breakpoint) {
      .row-#{$breakpoint}-top    { align-items: flex-start; }
      .row-#{$breakpoint}-center { align-items: center; }
      .row-#{$breakpoint}-bottom { align-items: flex-end; }
    }
  }

  // Alignment per column

  @each $breakpoint in map-keys($grid-breakpoints) {
    @include media-breakpoint-up($breakpoint) {
      .col-#{$breakpoint}-top    { align-self: flex-start; }
      .col-#{$breakpoint}-center { align-self: center; }
      .col-#{$breakpoint}-bottom { align-self: flex-end; }
    }
  }
}

Version data entries

27 entries across 27 versions & 3 rubygems

Version Path
solidus_backend-2.1.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-2.0.3 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-1.4.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-1.3.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-2.0.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-1.4.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-2.1.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-2.1.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-2.0.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
on-standards-rails-2.0.0.pre.alpha.2 vendor/assets/stylesheets/on-standards/_grid.scss
solidus_backend-2.1.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
on-standards-rails-2.0.0.pre.alpha.1 vendor/assets/stylesheets/on-standards/_grid.scss
on-standards-rails-2.0.0.pre.alpha vendor/assets/stylesheets/on-standards/_grid.scss
solidus_backend-2.0.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-1.4.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-2.0.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-1.4.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-2.0.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-1.4.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
solidus_backend-1.3.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss