comparison 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
comparison
equal deleted inserted replaced
388:797e351b2e2b 389:433bc70e1781
1 #paste-show {
2 flex: 1;
3 display: flex;
4 flex-direction: column;
5
6 .nav {
7 flex: none;
8 display: flex;
9 list-style: none;
10 justify-content: space-between;
11 padding: 0px;
12 margin: (-$spacing) (-$spacing) $spacing;
13
14 li {
15 flex: 1;
16
17 a {
18 display: block;
19 padding: $spacing;
20 text-align: center;
21 &:hover {
22 background-color: #ccc;
23 }
24 }
25 }
26 }
27
28 pre {
29 white-space: pre-wrap;
30 }
31 }
32
33 #paste {
34 flex: 1;
35 overflow: auto;
36 }
37
38 #paste-show-nav {
39 flex: none;
40 display: flex;
41 flex-direction: column;
42 }