view app/assets/stylesheets/_show-paste.scss @ 389:433bc70e1781

Style up Pastes#show a bit.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 13:05:31 +0900
parents
children 91dabc034389
line wrap: on
line source

#paste-show {
  flex: 1;
  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;
  overflow: auto;
}

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