annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
389
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
1 #paste-show {
390
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
2 flex: 1 0 auto;
389
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
3 display: flex;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
4 flex-direction: column;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
5
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
6 .nav {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
7 flex: none;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
8 display: flex;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
9 list-style: none;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
10 justify-content: space-between;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
11 padding: 0px;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
12 margin: (-$spacing) (-$spacing) $spacing;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
13
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
14 li {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
15 flex: 1;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
16
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
17 a {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
18 display: block;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
19 padding: $spacing;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
20 text-align: center;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
21 &:hover {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
22 background-color: #ccc;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
23 }
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
24 }
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
25 }
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
26 }
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
27
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
28 pre {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
29 white-space: pre-wrap;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
30 }
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
31 }
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
32
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
33 #paste {
390
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
34 flex: 1 0 auto;
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
35
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
36 font-family: $monospace;
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
37 ol {
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
38 background-color: #eee;
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
39 }
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
40 li {
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
41 background-color: #fff;
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
42 &:hover {
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
43 background-color: $info;
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
44 }
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
45
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
46 &:target {
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
47 background-color: $info;
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
48 }
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 389
diff changeset
49 }
389
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
50 }
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
51
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
52 #paste-show-nav {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
53 flex: none;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
54 display: flex;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
55 flex-direction: column;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
56 }