annotate app/assets/stylesheets/_new-paste.scss @ 383:af27800e9a0d

As it turned out delegating with `.click` doesn't work.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:57:41 +0900
parents 2ad092e60975
children 6cd41974d4b0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
1 #new_paste {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
2 flex: 1;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
3 display: flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
4 flex-direction: column;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
5
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
6 width: 100%;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
7
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
8 #paste-form {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
9 flex: 1 0 auto;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
10 display: flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
11 flex-direction: column;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
12 margin-bottom: $spacing;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
13
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
14 textarea {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
15 flex: 1 0 auto;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
16 resize: none;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
17 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
18 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
19
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
20 #paste-control {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
21 flex: none;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
22
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
23 display: flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
24 align-items: stretch;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
25 justify-content: space-between;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
26
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
27 flex-direction: column;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
28 @media (min-width: $screen-sm) {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
29 flex-direction: row;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
30 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
31
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
32 .radio {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
33 display: inline-flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
34 align-items: center;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
35 margin-right: $spacing;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
36 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
37 .form-group {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
38 display: flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
39 flex-direction: column;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
40 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
41
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
42 .form-label {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
43 display: block;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
44 margin-bottom: $spacing/2;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
45 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
46
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
47 .inputs {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
48 display: flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
49 justify-content: space-around;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
50 > * {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
51 margin-right: $spacing;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
52 flex: 1;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
53
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
54 &:last-child {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
55 margin-right: 0px;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
56 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
57 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
58 &.right {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
59 margin-top: $spacing;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
60 min-height: $spacing * 4;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
61 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
62
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
63 @media (min-width: $screen-sm) {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
64 > * {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
65 flex: 1 1 auto;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
66 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
67
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
68 &.right {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
69 margin-top: 0px;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
70 > * {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
71 margin-left: $spacing;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
72 margin-right: 0px;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
73 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
74 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
75 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
76 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
77 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
78 }