Sha256: 1475b215f2e107e26cdcd4d30e091c0766247e65b414d6c51a9dcf34ad9459ff

Contents?: true

Size: 1.27 KB

Versions: 9

Compression:

Stored size: 1.27 KB

Contents

// stylelint-disable declaration-no-important
$list-side-margin: 18pt;

$gdoc-spacing: (
  'zero': 0,
  'small': 5pt,
  'base': 9pt,
  'large': 18pt,
);
$gdoc-align: (top, bottom, right, left);

@each $margin-type, $margin-value in $gdoc-spacing {
  @each $align in $gdoc-align {
    .u-gdoc-margin-#{$align}--#{$margin-type} {
      margin-#{$align}: $margin-value !important;
    }
    .u-gdoc-padding-#{$align}--#{$margin-type} {
      padding-#{$align}: $margin-value !important;
    }
  }
  .u-gdoc-margin-vertical--#{$margin-type} {
    margin-bottom: $margin-value;
    margin-top: $margin-value;
  }
  %u-gdoc-padding-vertical--#{$margin-type},
  .u-gdoc-padding-vertical--#{$margin-type} {
    padding-bottom: $margin-value;
    padding-top: $margin-value;
  }
  .u-gdoc-padding-horizontal--#{$margin-type} {
    padding-bottom: $margin-value;
    padding-top: $margin-value;
  }
}

.u-border--none {
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
}

.u-table-wrap {
  padding: map-get($gdoc-spacing, large);

  @include m(small) {
    padding: map-get($gdoc-spacing, base);
  }

  @include m(l2) {
    padding: 0 map-get($gdoc-spacing, large) map-get($gdoc-spacing, large);
  }
}

.u-table-padding {
  padding: 5pt;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss
lcms-engine-0.5.4 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss
lcms-engine-0.5.3 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss
lcms-engine-0.5.2 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss
lcms-engine-0.5.1 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss
lcms-engine-0.5.0 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss
lcms-engine-0.4.2 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss
lcms-engine-0.4.1 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss
lcms-engine-0.4.0 app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss