comparison app/assets/stylesheets/_show-paste.scss @ 390:91dabc034389

Improved styling for show.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 19:38:42 +0900
parents 433bc70e1781
children
comparison
equal deleted inserted replaced
389:433bc70e1781 390:91dabc034389
1 #paste-show { 1 #paste-show {
2 flex: 1; 2 flex: 1 0 auto;
3 display: flex; 3 display: flex;
4 flex-direction: column; 4 flex-direction: column;
5 5
6 .nav { 6 .nav {
7 flex: none; 7 flex: none;
29 white-space: pre-wrap; 29 white-space: pre-wrap;
30 } 30 }
31 } 31 }
32 32
33 #paste { 33 #paste {
34 flex: 1; 34 flex: 1 0 auto;
35 overflow: auto; 35
36 font-family: $monospace;
37 ol {
38 background-color: #eee;
39 }
40 li {
41 background-color: #fff;
42 &:hover {
43 background-color: $info;
44 }
45
46 &:target {
47 background-color: $info;
48 }
49 }
36 } 50 }
37 51
38 #paste-show-nav { 52 #paste-show-nav {
39 flex: none; 53 flex: none;
40 display: flex; 54 display: flex;