view app/assets/stylesheets/_show-paste.scss @ 391:45fef9116924

Forgot to remove unused helper.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 19:39:15 +0900
parents 91dabc034389
children
line wrap: on
line source

#paste-show {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;

  .nav {
    flex: none;
    display: flex;
    list-style: none;
    justify-content: space-between;
    padding: 0px;
    margin: (-$spacing) (-$spacing) $spacing;

    li {
      flex: 1;

      a {
        display: block;
        padding: $spacing;
        text-align: center;
        &:hover {
          background-color: #ccc;
        }
      }
    }
  }

  pre {
    white-space: pre-wrap;
  }
}

#paste {
  flex: 1 0 auto;

  font-family: $monospace;
  ol {
    background-color: #eee;
  }
  li {
    background-color: #fff;
    &:hover {
      background-color: $info;
    }

    &:target {
      background-color: $info;
    }
  }
}

#paste-show-nav {
  flex: none;
  display: flex;
  flex-direction: column;
}