annotate app/assets/stylesheets/_components.scss @ 389:433bc70e1781

Style up Pastes#show a bit.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 13:05:31 +0900
parents 6cd41974d4b0
children
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 .input-url1 { display: none; }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
2
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
3 input[type=radio] {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
4 margin-right: $spacing/2;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
5 }
386
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
6
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
7 .alert {
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
8 padding: $spacing;
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
9 }
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
10
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
11 .alert-danger {
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
12 background-color: $danger;
387
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
13
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
14 strong { color: $danger-dark; }
386
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
15 }
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
16
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
17 .alert-info {
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
18 background-color: $info;
387
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
19
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
20 strong { color: $info-dark; }
386
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
21 }
387
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
22
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
23 .field_with_errors {
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
24 display: flex;
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
25 border: 2px solid $danger-dark;
6cd41974d4b0 Style up form error.
nanaya <me@myconan.net>
parents: 386
diff changeset
26 }