annotate app/assets/stylesheets/application.scss @ 395:26f8c634052c

Complete rework.
author nanaya <me@myconan.net>
date Sat, 27 Jun 2015 14:46:01 +0900
parents 433bc70e1781
children 851432f21603
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
395
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
1 $spacing: 10px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
2 $screen-sm: 600px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
3
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
4 $bg: #fff;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
5 $gray: #eee;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
6 $gray-dark: darken($gray, 20%);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
7 $danger: scale-color(#f00, $lightness: 90%);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
8 $danger-dark: darken($danger, 60%);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
9 $info: scale-color(#0f0, $lightness: 90%);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
10 $info-dark: darken($info, 60%);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
11 $primary: scale-color(#06f, $lightness: 90%);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
12
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
13 $monospace: Consolas, monospace;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
14
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
15 *, ::before, ::after {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
16 position: relative;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
17 box-sizing: border-box;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
18 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
19
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
20 body, button, input, textarea {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
21 font-family: Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
22 font-size: 12px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
23 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
24
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
25 p, h1 {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
26 margin: 0px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
27 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
28
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
29 html {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
30 height: 100%;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
31 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
32
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
33 body {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
34 height: 100%;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
35 margin: 0px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
36 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
37 flex-direction: column;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
38 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
39
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
40 .input-url1 { display: none !important; }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
41
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
42 .monospaced {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
43 font-family: $monospace;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
44 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
45
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
46 .header {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
47 background-color: $gray;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
48 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
49 justify-content: space-between;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
50 align-items: center;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
51 padding: $spacing;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
52 flex: none;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
53 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
54
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
55 .main {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
56 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
57 flex: 1 0 auto;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
58 padding: $spacing;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
59 flex-direction: column;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
60 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
61
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
62 .main-form {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
63 flex: 1;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
64 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
65 flex-direction: column;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
66 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
67
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
68 .main-textarea-container {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
69 flex: 1 0 auto;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
70 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
71 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
72
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
73 .main-textarea {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
74 width: 100%;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
75 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
76
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
77 .settings {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
78 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
79 margin: $spacing (-$spacing/2) 0px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
80 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
81
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
82 .settings-item {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
83 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
84 flex-direction: column;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
85 flex: 1;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
86 margin: 0px $spacing/2;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
87
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
88 @media (min-width: $screen-sm) {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
89 flex: none;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
90 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
91 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
92
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
93 .settings-label {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
94 margin-bottom: $spacing/2;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
95 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
96
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
97 .actions {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
98 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
99 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
100
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
101 .action {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
102 flex: 1;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
103 @media (min-width: $screen-sm) {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
104 flex: none;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
105 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
106 margin: 0px $spacing/2;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
107 }
354
5ac923264129 css -> scss.
edogawaconan <me@myconan.net>
parents: 99
diff changeset
108
395
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
109 .alert {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
110 padding: $spacing;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
111 flex: none;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
112 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
113
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
114 .alert-danger {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
115 background-color: $danger;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
116 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
117
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
118 .alert-info {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
119 background-color: $info;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
120 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
121
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
122 .field_with_errors {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
123 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
124 width: 100%;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
125 border: 1px solid $danger-dark;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
126 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
127
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
128 .paste-content {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
129 flex: 1 0 auto;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
130 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
131 flex-direction: column;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
132 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
133
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
134 .paste-nav {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
135 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
136 justify-content: space-between;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
137 margin: 0px (-$spacing/2);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
138 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
139
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
140 .paste-nav-item {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
141 flex: 1 1 0px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
142 text-align: center;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
143 border: 1px solid $gray-dark;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
144 margin: 0px $spacing/2 $spacing;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
145 padding: $spacing;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
146
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
147 &:hover {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
148 background-color: $gray-dark;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
149 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
150 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
151
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
152 .active {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
153 background-color: $gray;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
154 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
155
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
156 .paste-plain {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
157 background-color: $gray;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
158 margin: 0px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
159 border: 1px solid $gray-dark;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
160 flex: none;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
161 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
162
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
163 .line {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
164 background-color: $bg;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
165 flex: 1;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
166 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
167
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
168 .paste-nav--bottom {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
169 margin-top: $spacing;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
170 margin-bottom: 0px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
171 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
172
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
173 .settings-item--inline {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
174 flex-direction: row;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
175 flex: 1;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
176 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
177
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
178 .action--horizontal-minimum {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
179 margin: 0px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
180 flex: none;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
181 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
182
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
183 .settings-group {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
184 display: flex;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
185 flex-direction: column;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
186 width: 100%;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
187
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
188 @media (min-width: $screen-sm) {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
189 flex-direction: row;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
190 justify-content: space-between;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
191 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
192 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
193
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
194 .btn {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
195 box-shadow: 0px -2px 0px rgba(0, 0, 0, 0.1) inset;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
196 border: 0px;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
197 background-color: $gray;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
198 cursor: pointer;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
199 padding: $spacing ($spacing*2);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
200 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
201
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
202 @mixin btn-color($color) {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
203 background-color: $color;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
204
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
205 &:hover {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
206 background-color: darken($color, 10%);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
207 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
208
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
209 &:focus {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
210 background-color: darken($color, 20%);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
211 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
212 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
213
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
214 .btn--primary {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
215 @include btn-color($primary);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
216 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
217
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
218 .btn--danger {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
219 @include btn-color($danger);
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
220 }
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
221
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
222 .btn--min-width {
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
223 flex: none;
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 389
diff changeset
224 }