annotate 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
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 {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
2 flex: 1;
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 {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
34 flex: 1;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
35 overflow: auto;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
36 }
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
37
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
38 #paste-show-nav {
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
39 flex: none;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
40 display: flex;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
41 flex-direction: column;
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents:
diff changeset
42 }