Sha256: cbe9a80666c26609e92d6a5a357921748254f484c97eff56729d157a07ad5f87

Contents?: true

Size: 1.64 KB

Versions: 9

Compression:

Stored size: 1.64 KB

Contents

// Width Helper
@each $size, $percentage in $widths {
  .w-#{$size} {
    width: $percentage;
    & > tbody > tr > td {
      width: $percentage;
    }
  }
}

@each $size, $percentage in $widths {
  .w-lg-#{$size} {
    width: $percentage;
    & > tbody > tr > td {
      width: $percentage;
    }
  }
}

// Padding Helper
@each $size, $length in $spacers {
  .p-#{$size} {
    & > tbody > tr > td {
      padding: $length;
    }
  }
  .pt-#{$size},
  .py-#{$size} {
    & > tbody > tr > td {
      padding-top: $length;
    }
  }
  .pr-#{$size},
  .px-#{$size} {
    & > tbody > tr > td {
      padding-right: $length;
    }
  }
  .pb-#{$size},
  .py-#{$size} {
    & > tbody > tr > td {
      padding-bottom: $length;
    }
  }
  .pl-#{$size},
  .px-#{$size} {
    & > tbody > tr > td {
      padding-left: $length;
    }
  }
}

@each $size, $length in $spacers {
  .p-lg-#{$size} {
    & > tbody > tr > td {
      padding: $length;
    }
  }
  .pt-lg-#{$size},
  .py-lg-#{$size} {
    & > tbody > tr > td {
      padding-top: $length;
    }
  }
  .pr-lg-#{$size},
  .px-lg-#{$size} {
    & > tbody > tr > td {
      padding-right: $length;
    }
  }
  .pb-lg-#{$size},
  .py-lg-#{$size} {
    & > tbody > tr > td {
      padding-bottom: $length;
    }
  }
  .pl-lg-#{$size},
  .px-lg-#{$size} {
    & > tbody > tr > td {
      padding-left: $length;
    }
  }
}

// Spacing Helper
@each $size, $length in $spacers {
  .s-#{$size} > tbody > tr > td {
    font-size: $length;
    line-height: $length;
    height: $length;
  }
}

@each $size, $length in $spacers {
  .s-lg-#{$size} > tbody > tr > td {
    font-size: $length;
    line-height: $length;
    height: $length;
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bootstrap-email-0.3.4 core/sass/_spacing.scss
bootstrap-email-0.3.3 core/sass/_spacing.scss
bootstrap-email-0.3.2 core/sass/_spacing.scss
bootstrap-email-0.3.1 core/sass/_spacing.scss
bootstrap-email-0.3.0 core/sass/_spacing.scss
bootstrap-email-0.2.6 core/sass/_spacing.scss
bootstrap-email-0.2.5 core/sass/_spacing.scss
bootstrap-email-0.2.4 core/sass/_spacing.scss
bootstrap-email-0.2.3 core/sass/_spacing.scss