Sha256: 525e0bf1c901751f9a90018366aa681dd045a3a55e890510c9c0670dfb3c0de4

Contents?: true

Size: 1.3 KB

Versions: 169

Compression:

Stored size: 1.3 KB

Contents

@mixin docBandTitle($length, $fontWeight: 400, $fontFamily: null, $color: white) {
  position: relative;
  width: 25px;

  @if $fontFamily {
    font-family: unquote($fontFamily);
  }

  font-weight: $fontWeight;

  @if $length {
    height: $length;
  }

  color: $color;
  text-transform: uppercase;
  font-size: 0.9em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0;
  margin-left: 6px;
  writing-mode: tb-rl;
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	white-space: nowrap;
	display: block;
  bottom: 0;
}


@mixin docBand(
    $order,
    $textLength: null,
    $offset: 0,
	  $color: white,
    $fontWeight: 400,
    $fontFamily: null) {

  left: 0;
  top: $offset;
  height: 100%;
  position: fixed;
  display: block;

  z-index: 100 + $order;

  @if $order == 1 {
    box-shadow: -5px 0px 10px #1d1d1d;
  }

  > :first-child {
    @include docBandTitle($textLength, $fontWeight, $fontFamily, $color);
  }

  @media print {
    display: none;
  }
}


@each $key, $val in $doctype-colors-list {
  ##{$key}-band {
    background-color: #{$val};
  }
  ##{$key} {
    border-bottom: solid 3px #{$val};
  }
}


@each $key, $val in $docstage-colors-list {
  ##{$key}-band {
    background-color: #{$val};
  }
  ##{$key} {
    border-bottom: solid 3px #{$val};
  }
}

Version data entries

169 entries across 166 versions & 2 rubygems

Version Path
isodoc-2.10.1 lib/isodoc/base_style/bands.scss
isodoc-2.10.0 lib/isodoc/base_style/bands.scss
isodoc-2.9.4 lib/isodoc/base_style/bands.scss
isodoc-2.9.3 lib/isodoc/base_style/bands.scss
isodoc-2.9.2 lib/isodoc/base_style/bands.scss
isodoc-2.9.1 lib/isodoc/base_style/bands.scss
isodoc-2.9.0 lib/isodoc/base_style/bands.scss
isodoc-2.8.5 lib/isodoc/base_style/bands.scss
isodoc-2.8.4 lib/isodoc/base_style/bands.scss
isodoc-2.8.3 lib/isodoc/base_style/bands.scss
isodoc-2.8.2 lib/isodoc/base_style/bands.scss
isodoc-2.8.1 lib/isodoc/base_style/bands.scss
isodoc-2.8.0 lib/isodoc/base_style/bands.scss
isodoc-2.7.4 lib/isodoc/base_style/bands.scss
isodoc-2.7.3 lib/isodoc/base_style/bands.scss
isodoc-2.7.2 lib/isodoc/base_style/bands.scss
isodoc-2.7.1 lib/isodoc/base_style/bands.scss
isodoc-2.7.0 lib/isodoc/base_style/bands.scss
isodoc-2.6.6 lib/isodoc/base_style/bands.scss
isodoc-2.6.5 lib/isodoc/base_style/bands.scss