Mercurial > zeropaste
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/assets/stylesheets/_show-paste.scss Sun Jun 07 13:05:31 2015 +0900 @@ -0,0 +1,42 @@ +#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; +}