view app/assets/stylesheets/_show-paste.scss @ 394:6feb8c2574a1

Newer syntax.
author nanaya <me@myconan.net>
date Mon, 08 Jun 2015 19:14:53 +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;
}