Sha256: 4e206845a81ec5bc343b8d67fc3e3648a278fe09d952ad0d10be5421e5eac3c3

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

// Colors
//
// Notes
$notes-section-background-color: rgba($white, .85);
$notes-background-color: $white;

// Smoove dem fonts!
* { -webkit-font-smoothing: antialiased; }

body {
  &.open #woo-styleguide nav,
  #woo-styleguide nav.near-menu {
    .preview {
      width: 5px;
    }
  }

  &.open #woo-styleguide {
    nav {
      background-color: darken($black, 5%);
      overflow-y: auto;
      overflow-x: hidden;
      pointer-events: auto;
      top: 0;
      width: 300px;

      a { box-shadow: 0 1px 0 0 $black; }

      .menu { @include inline-icon('close'); }
      .nav-item { opacity: 1; }
      .nav-item-list{ background: $black; }
    }
  }
}

#woo-styleguide {
  background: rgba($black, .2);
  padding: 0;
  margin: 0;
  font-family: $body-font;
  box-sizing: border-box;
  position: relative;

  .location {
    background-color: rgba($white, .95);
    color: rgba($black, .45);
    cursor: pointer;
    font-style: italic;
    padding: 10px 20px;
    position: relative;

    &.show-code { color: $black; }
    &.show-code + pre { display: block; }
    &.show-code:after { @include icon('arrow-down'); }

    &:after {
      @include icon('arrow-up');
      right: 20px;
      top: 14px;
      position: absolute;
      font-style: normal;
      padding-left: 5px;
    }

    &:hover { color: $primary-color; }

    + pre {
      display: none;
      margin: 0;
    }

    + pre code {
      background-color: #f3f3f7;
      font-size: 14px;
      padding: 4em 20px 4.6em;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
woo-0.2.0 app/assets/stylesheets/woo/partials/_main.scss