Sha256: 7ea5730aa6542d2c3f184c7b9f7cbe1115f3e2a73fbde89821886a6f32b247e9

Contents?: true

Size: 1.95 KB

Versions: 3

Compression:

Stored size: 1.95 KB

Contents

//
// Floats
//

.clearfix {
  @include clearfix();
}

.center-block {
  @include center-block();
}

@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    .pull-#{$breakpoint}-left {
      @include pull-left();
    }
    .pull-#{$breakpoint}-right {
      @include pull-right();
    }
    .pull-#{$breakpoint}-none {
      float: none !important;
    }
  }
}


//
// Screenreaders
//

.sr-only {
  @include sr-only();
}

.sr-only-focusable {
  @include sr-only-focusable();
}

.invisible {
  visibility: hidden !important;
}

.text-hide {
  @include text-hide();
}


//
// Text
//

// Alignment

.text-justify        { text-align: justify !important; }
.text-nowrap         { white-space: nowrap !important; }
.text-truncate       { @include text-truncate; }

// Responsive alignment

@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    .text-#{$breakpoint}-left   { text-align: left !important; }
    .text-#{$breakpoint}-right  { text-align: right !important; }
    .text-#{$breakpoint}-center { text-align: center !important; }
  }
}

// Transformation

.text-lowercase      { text-transform: lowercase !important; }
.text-uppercase      { text-transform: uppercase !important; }
.text-capitalize     { text-transform: capitalize !important; }

// Weight and italics

.font-weight-normal  { font-weight: $font-weight-normal; }
.font-weight-semibold{ font-weight: $font-weight-semibold; }
.font-weight-bold    { font-weight: $font-weight-bold; }
.font-weight-black   { font-weight: $font-weight-black; }
.font-italic         { font-style: italic; }

// Contextual colors

@include text-emphasis-variant('.text-muted', $text-muted);

@include text-emphasis-variant('.text-primary', $brand-primary);

@include text-emphasis-variant('.text-success', $brand-success);

@include text-emphasis-variant('.text-warning', $brand-warning);

@include text-emphasis-variant('.text-danger', $brand-danger);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
on-standards-rails-2.0.0.pre.alpha.2 vendor/assets/stylesheets/on-standards/_utilities.scss
on-standards-rails-2.0.0.pre.alpha.1 vendor/assets/stylesheets/on-standards/_utilities.scss
on-standards-rails-2.0.0.pre.alpha vendor/assets/stylesheets/on-standards/_utilities.scss