Sha256: 1fca232ccefd274ee4b4726f0d3978fda5673d156c19943c7c1609e5825204d8

Contents?: true

Size: 1.87 KB

Versions: 15

Compression:

Stored size: 1.87 KB

Contents

@mixin colored_block($color, $font_colored_block) {
  background: $color !important;
  transition: opacity 0.3s ease !important;
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: $font_colored_block !important;
    font-weight: 600;
  }
  .block-mission {
    line-height: $line-height-500 !important;
  }
  p {
    color: $font_colored_block !important;
    font-weight: 200;
    line-height: $line-height-90 !important;
    letter-spacing: 0.6px !important;
    word-wrap: break-word !important;
    margin-bottom: $paragraph-colored-block-margin-bottom;
    font-size: $paragraph-80;
  }
}

@mixin farthest-corner {
  &.red {
    @include colored_block($farthest-corner_redy, $light);
  }
  &.sand {
    @include colored_block($farthest-corner_sand, $black);
  }
  &.blue {
    @include colored_block($farthest-corner_blue, $light);
  }
  &.caribean {
    @include colored_block($farthest-corner_caribean, $black);
  }
  &.light_green {
    @include colored_block($farthest-corner_light_green, $black);
    height: 100%;
  }
  &.none_ {
    @include colored_block($farthest-corner_none_, $black);
    height: 100%;
  }
  &.purple {
    @include colored_block($farthest-corner_purple, $light);
    height: 100%;
  }
  &.cold_desert {
    @include colored_block($farthest-corner_cold_desert, $black);
  }
  &.minthy {
    @include colored_block($farthest-corner_minthy, $black);
  }
  &.mint {
    @include colored_block($farthest-corner_mint, $light);
  }
  &.velour {
    @include colored_block($farthest-corner_velour, $light);
  }
  &.grey {
    @include colored_block($farthest-corner_grey, $black);
  }
  &.lovely {
    @include colored_block($farthest-corner_lovely, $light);
  }
  &.golfy {
    @include colored_block($farthest-corner_golfy, $light);
  }
  &.sandy {
    @include colored_block($farthest-corner_sandy, $dark);
  }
  &.in_love {
    @include colored_block($farthest-corner_in_love, $dark);
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
viniBaxter-spa_landing-32.0.0 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-31.0.0 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-20.0.1 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-15.0.2 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-15.0.1.alpha lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-15.0.0 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-14 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-13.8 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-13.7 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-13.6 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-13.4 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-13.3 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-13.2 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-13.1 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss
viniBaxter-spa_landing-11 lib/viniBaxter/sass/spa_landing/theme/mixins/_colored_block.scss