|
8 | 8 |
|
9 | 9 | .ui-button { |
10 | 10 | &--default { |
11 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 11 | + @include ui-button(); |
12 | 12 | @include ui-button-sizes($ui-button-default); |
13 | 13 | @include ui-button-states($ui-button-default-color, $ui-button-default-background); |
14 | 14 |
|
15 | 15 | &--disabled { |
16 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 16 | + @include ui-button(); |
17 | 17 | @include ui-button-sizes($ui-button-default); |
18 | | - @include ui-button-state-disabled($ui-button-default-background); |
| 18 | + @include ui-button-state-disabled($ui-button-default-color, $ui-button-default-background); |
19 | 19 | } |
20 | 20 |
|
21 | 21 | &--focus { |
22 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 22 | + @include ui-button(); |
23 | 23 | @include ui-button-sizes($ui-button-default); |
24 | | - @include ui-button-state-focus($ui-button-default-background); |
| 24 | + @include ui-button-state-focus($ui-button-default-color, $ui-button-default-background); |
25 | 25 | } |
26 | 26 |
|
27 | 27 | &--active { |
28 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 28 | + @include ui-button(); |
29 | 29 | @include ui-button-sizes($ui-button-default); |
30 | | - @include ui-button-state-active($ui-button-default-background); |
| 30 | + @include ui-button-state-active($ui-button-default-color, $ui-button-default-background); |
31 | 31 | } |
32 | 32 |
|
33 | 33 | &--hover { |
34 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 34 | + @include ui-button(); |
35 | 35 | @include ui-button-sizes($ui-button-default); |
36 | | - @include ui-button-state-hover($ui-button-default-background); |
| 36 | + @include ui-button-state-hover($ui-button-default-color, $ui-button-default-background); |
37 | 37 | } |
38 | 38 |
|
39 | 39 | &--large { |
40 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 40 | + @include ui-button(); |
41 | 41 | @include ui-button-sizes($ui-button-large); |
42 | 42 | @include ui-button-states($ui-button-default-color, $ui-button-default-background); |
43 | 43 |
|
44 | 44 | &--disabled { |
45 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 45 | + @include ui-button(); |
46 | 46 | @include ui-button-sizes($ui-button-large); |
47 | | - @include ui-button-state-disabled($ui-button-default-background); |
| 47 | + @include ui-button-state-disabled($ui-button-default-color, $ui-button-default-background); |
48 | 48 | } |
49 | 49 |
|
50 | 50 | &--focus { |
51 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 51 | + @include ui-button(); |
52 | 52 | @include ui-button-sizes($ui-button-large); |
53 | | - @include ui-button-state-focus($ui-button-default-background); |
| 53 | + @include ui-button-state-focus($ui-button-default-color, $ui-button-default-background); |
54 | 54 | } |
55 | 55 |
|
56 | 56 | &--active { |
57 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 57 | + @include ui-button(); |
58 | 58 | @include ui-button-sizes($ui-button-large); |
59 | | - @include ui-button-state-active($ui-button-default-background); |
| 59 | + @include ui-button-state-active($ui-button-default-color, $ui-button-default-background); |
60 | 60 | } |
61 | 61 |
|
62 | 62 | &--hover { |
63 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 63 | + @include ui-button(); |
64 | 64 | @include ui-button-sizes($ui-button-large); |
65 | | - @include ui-button-state-hover($ui-button-default-background); |
| 65 | + @include ui-button-state-hover($ui-button-default-color, $ui-button-default-background); |
66 | 66 | } |
67 | 67 | } |
68 | 68 |
|
69 | 69 | &--small { |
70 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 70 | + @include ui-button(); |
71 | 71 | @include ui-button-sizes($ui-button-small); |
72 | 72 | @include ui-button-states($ui-button-default-color, $ui-button-default-background); |
73 | 73 |
|
74 | 74 | &--disabled { |
75 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 75 | + @include ui-button(); |
76 | 76 | @include ui-button-sizes($ui-button-small); |
77 | | - @include ui-button-state-disabled($ui-button-default-background); |
| 77 | + @include ui-button-state-disabled($ui-button-default-color, $ui-button-default-background); |
78 | 78 | } |
79 | 79 |
|
80 | 80 | &--focus { |
81 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 81 | + @include ui-button(); |
82 | 82 | @include ui-button-sizes($ui-button-small); |
83 | | - @include ui-button-state-focus($ui-button-default-background); |
| 83 | + @include ui-button-state-focus($ui-button-default-color, $ui-button-default-background); |
84 | 84 | } |
85 | 85 |
|
86 | 86 | &--active { |
87 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 87 | + @include ui-button(); |
88 | 88 | @include ui-button-sizes($ui-button-small); |
89 | | - @include ui-button-state-active($ui-button-default-background); |
| 89 | + @include ui-button-state-active($ui-button-default-color, $ui-button-default-background); |
90 | 90 | } |
91 | 91 |
|
92 | 92 | &--hover { |
93 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 93 | + @include ui-button(); |
94 | 94 | @include ui-button-sizes($ui-button-small); |
95 | | - @include ui-button-state-hover($ui-button-default-background); |
| 95 | + @include ui-button-state-hover($ui-button-default-color, $ui-button-default-background); |
96 | 96 | } |
97 | 97 | } |
98 | 98 |
|
99 | 99 | &--extra-small { |
100 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 100 | + @include ui-button(); |
101 | 101 | @include ui-button-sizes($ui-button-extra-small); |
102 | 102 | @include ui-button-states($ui-button-default-color, $ui-button-default-background); |
103 | 103 |
|
104 | 104 | &--disabled { |
105 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 105 | + @include ui-button(); |
106 | 106 | @include ui-button-sizes($ui-button-extra-small); |
107 | | - @include ui-button-state-disabled($ui-button-default-background); |
| 107 | + @include ui-button-state-disabled($ui-button-default-color, $ui-button-default-background); |
108 | 108 | } |
109 | 109 |
|
110 | 110 | &--focus { |
111 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 111 | + @include ui-button(); |
112 | 112 | @include ui-button-sizes($ui-button-extra-small); |
113 | | - @include ui-button-state-hover($ui-button-default-background); |
| 113 | + @include ui-button-state-hover($ui-button-default-color, $ui-button-default-background); |
114 | 114 | } |
115 | 115 |
|
116 | 116 | &--active { |
117 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 117 | + @include ui-button(); |
118 | 118 | @include ui-button-sizes($ui-button-extra-small); |
119 | | - @include ui-button-state-active($ui-button-default-background); |
| 119 | + @include ui-button-state-active($ui-button-default-color, $ui-button-default-background); |
120 | 120 | } |
121 | 121 |
|
122 | 122 | &--hover { |
123 | | - @include ui-button($ui-button-default-color, $ui-button-default-background); |
| 123 | + @include ui-button(); |
124 | 124 | @include ui-button-sizes($ui-button-extra-small); |
125 | | - @include ui-button-state-hover($ui-button-default-background); |
| 125 | + @include ui-button-state-hover($ui-button-default-color, $ui-button-default-background); |
126 | 126 | } |
127 | 127 | } |
128 | 128 | } |
129 | 129 |
|
130 | 130 | &--primary { |
131 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 131 | + @include ui-button(); |
132 | 132 | @include ui-button-sizes($ui-button-default); |
133 | 133 | @include ui-button-states($ui-button-primary-color, $ui-button-primary-background); |
134 | 134 |
|
135 | 135 | &--disabled { |
136 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 136 | + @include ui-button(); |
137 | 137 | @include ui-button-sizes($ui-button-default); |
138 | | - @include ui-button-state-disabled($ui-button-primary-background); |
| 138 | + @include ui-button-state-disabled($ui-button-primary-color, $ui-button-primary-background); |
139 | 139 | } |
140 | 140 |
|
141 | 141 | &--focus { |
142 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 142 | + @include ui-button(); |
143 | 143 | @include ui-button-sizes($ui-button-default); |
144 | | - @include ui-button-state-focus($ui-button-primary-background); |
| 144 | + @include ui-button-state-focus($ui-button-primary-color, $ui-button-primary-background); |
145 | 145 | } |
146 | 146 |
|
147 | 147 | &--active { |
148 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 148 | + @include ui-button(); |
149 | 149 | @include ui-button-sizes($ui-button-default); |
150 | | - @include ui-button-state-active($ui-button-primary-background); |
| 150 | + @include ui-button-state-active($ui-button-primary-color, $ui-button-primary-background); |
151 | 151 | } |
152 | 152 |
|
153 | 153 | &--hover { |
154 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 154 | + @include ui-button(); |
155 | 155 | @include ui-button-sizes($ui-button-default); |
156 | | - @include ui-button-state-hover($ui-button-primary-background); |
| 156 | + @include ui-button-state-hover($ui-button-primary-color, $ui-button-primary-background); |
157 | 157 | } |
158 | 158 |
|
159 | 159 | &--large { |
160 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 160 | + @include ui-button(); |
161 | 161 | @include ui-button-sizes($ui-button-large); |
162 | 162 | @include ui-button-states($ui-button-primary-color, $ui-button-primary-background); |
163 | 163 |
|
164 | 164 | &--disabled { |
165 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 165 | + @include ui-button(); |
166 | 166 | @include ui-button-sizes($ui-button-large); |
167 | | - @include ui-button-state-disabled($ui-button-primary-background); |
| 167 | + @include ui-button-state-disabled($ui-button-primary-color, $ui-button-primary-background); |
168 | 168 | } |
169 | 169 |
|
170 | 170 | &--focus { |
171 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 171 | + @include ui-button(); |
172 | 172 | @include ui-button-sizes($ui-button-large); |
173 | | - @include ui-button-state-focus($ui-button-primary-background); |
| 173 | + @include ui-button-state-focus($ui-button-primary-color, $ui-button-primary-background); |
174 | 174 | } |
175 | 175 |
|
176 | 176 | &--active { |
177 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 177 | + @include ui-button(); |
178 | 178 | @include ui-button-sizes($ui-button-large); |
179 | | - @include ui-button-state-active($ui-button-primary-background); |
| 179 | + @include ui-button-state-active($ui-button-primary-color, $ui-button-primary-background); |
180 | 180 | } |
181 | 181 |
|
182 | 182 | &--hover { |
183 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 183 | + @include ui-button(); |
184 | 184 | @include ui-button-sizes($ui-button-large); |
185 | | - @include ui-button-state-hover($ui-button-primary-background); |
| 185 | + @include ui-button-state-hover($ui-button-primary-color, $ui-button-primary-background); |
186 | 186 | } |
187 | 187 | } |
188 | 188 |
|
189 | 189 | &--small { |
190 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 190 | + @include ui-button(); |
191 | 191 | @include ui-button-sizes($ui-button-small); |
192 | 192 | @include ui-button-states($ui-button-primary-color, $ui-button-primary-background); |
193 | 193 |
|
194 | 194 | &--disabled { |
195 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 195 | + @include ui-button(); |
196 | 196 | @include ui-button-sizes($ui-button-small); |
197 | | - @include ui-button-state-disabled($ui-button-primary-background); |
| 197 | + @include ui-button-state-disabled($ui-button-primary-color, $ui-button-primary-background); |
198 | 198 | } |
199 | 199 |
|
200 | 200 | &--focus { |
201 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 201 | + @include ui-button(); |
202 | 202 | @include ui-button-sizes($ui-button-small); |
203 | | - @include ui-button-state-focus($ui-button-primary-background); |
| 203 | + @include ui-button-state-focus($ui-button-primary-color, $ui-button-primary-background); |
204 | 204 | } |
205 | 205 |
|
206 | 206 | &--active { |
207 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 207 | + @include ui-button(); |
208 | 208 | @include ui-button-sizes($ui-button-small); |
209 | | - @include ui-button-state-active($ui-button-primary-background); |
| 209 | + @include ui-button-state-active($ui-button-primary-color, $ui-button-primary-background); |
210 | 210 | } |
211 | 211 |
|
212 | 212 | &--hover { |
213 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 213 | + @include ui-button(); |
214 | 214 | @include ui-button-sizes($ui-button-small); |
215 | | - @include ui-button-state-hover($ui-button-primary-background); |
| 215 | + @include ui-button-state-hover($ui-button-primary-color, $ui-button-primary-background); |
216 | 216 | } |
217 | 217 | } |
218 | 218 |
|
219 | 219 | &--extra-small { |
220 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 220 | + @include ui-button(); |
221 | 221 | @include ui-button-sizes($ui-button-extra-small); |
222 | 222 | @include ui-button-states($ui-button-primary-color, $ui-button-primary-background); |
223 | 223 |
|
224 | 224 | &--disabled { |
225 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 225 | + @include ui-button(); |
226 | 226 | @include ui-button-sizes($ui-button-extra-small); |
227 | | - @include ui-button-state-disabled($ui-button-primary-background); |
| 227 | + @include ui-button-state-disabled($ui-button-primary-color, $ui-button-primary-background); |
228 | 228 | } |
229 | 229 |
|
230 | 230 | &--focus { |
231 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 231 | + @include ui-button(); |
232 | 232 | @include ui-button-sizes($ui-button-extra-small); |
233 | | - @include ui-button-state-focus($ui-button-primary-background); |
| 233 | + @include ui-button-state-focus($ui-button-primary-color, $ui-button-primary-background); |
234 | 234 | } |
235 | 235 |
|
236 | 236 | &--active { |
237 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 237 | + @include ui-button(); |
238 | 238 | @include ui-button-sizes($ui-button-extra-small); |
239 | | - @include ui-button-state-active($ui-button-primary-background); |
| 239 | + @include ui-button-state-active($ui-button-primary-color, $ui-button-primary-background); |
240 | 240 | } |
241 | 241 |
|
242 | 242 | &--hover { |
243 | | - @include ui-button($ui-button-primary-color, $ui-button-primary-background); |
| 243 | + @include ui-button(); |
244 | 244 | @include ui-button-sizes($ui-button-extra-small); |
245 | | - @include ui-button-state-hover($ui-button-primary-background); |
| 245 | + @include ui-button-state-hover($ui-button-primary-color, $ui-button-primary-background); |
246 | 246 | } |
247 | 247 | } |
248 | 248 | } |
|
0 commit comments