Sha256: a38ae47ef50b05741738a7f10c2585ffa968c80252ba4365f33d1a5a2ce183de

Contents?: true

Size: 558 Bytes

Versions: 92

Compression:

Stored size: 558 Bytes

Contents

@mixin position {
  position: absolute;
  top: -1000em;
  left: -1000em;
  white-space: nowrap;
}

@mixin focus {
  background-color: #fff;
  color: #000;
  padding: 0 .25em;
  z-index: 1000;
}

#skipLinks {
  position: absolute;
  width: 100%;
  margin: 0;
  padding: 0;

  li {
    list-style: none;
  }

  a {
    @include position;

    &:focus {
      @include focus;
      top: 150px;
      left: 8%;
    }
  }
}

a.to_top {
  @include position;

  &:focus {
    @include focus;
    top: auto;
    left: auto;
    right: 100px;
    bottom: 30px;
  }

}

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
pageflow-12.0.0.rc7 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-12.0.0.rc6 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-0.11.4 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-12.0.0.rc5 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-12.0.0.rc4 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-12.0.0.rc3 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-12.0.0.rc2 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-12.0.0.rc1 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-0.11.3 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-0.11.2 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-0.11.1 app/assets/stylesheets/pageflow/skip_links.scss
pageflow-0.11.0 app/assets/stylesheets/pageflow/skip_links.scss