|
35 | 35 | cursor: pointer; |
36 | 36 | display: inline-block; |
37 | 37 | font: inherit; |
38 | | - font-weight: 500; |
| 38 | + font-size: 0.875rem; |
| 39 | + font-weight: 700; // bold |
39 | 40 | line-height: 1; |
40 | 41 | margin: 0; |
41 | 42 | padding: 0; |
|
87 | 88 |
|
88 | 89 | @mixin hxButton--primary { |
89 | 90 | background-color: $blue-500; |
| 91 | + border: none; |
90 | 92 | color: $gray-0; |
91 | 93 |
|
92 | 94 | &:hover { |
|
119 | 121 | } |
120 | 122 |
|
121 | 123 | @mixin hxButton-focus--primary { |
122 | | - box-shadow: $focus-glow; |
| 124 | + box-shadow: 0 0 4px rgba($blue-700, 0.5); |
123 | 125 | outline: none; |
124 | 126 | } |
125 | 127 |
|
|
134 | 136 | /// -------------------------------------- /// |
135 | 137 |
|
136 | 138 | @mixin hxButton--secondary { |
137 | | - border: 1px solid $blue-900; |
138 | | - color: $blue-900; |
| 139 | + background-color: transparent; |
| 140 | + border: 1px solid $blue-500; |
| 141 | + color: $blue-500; |
139 | 142 |
|
140 | 143 | &:hover { |
141 | 144 | @include hxButton-hover--secondary; |
|
155 | 158 | } |
156 | 159 |
|
157 | 160 | @mixin hxButton-active--secondary { |
158 | | - background-color: $blue-900; |
159 | | - border-color: transparent; |
160 | | - color: $gray-0; |
| 161 | + background-color: transparent; |
| 162 | + border: 1px solid $blue-900; |
| 163 | + color: $blue-900; |
161 | 164 | } |
162 | 165 |
|
163 | 166 | @mixin hxButton-disabled--secondary { |
|
167 | 170 | } |
168 | 171 |
|
169 | 172 | @mixin hxButton-focus--secondary { |
170 | | - box-shadow: $focus-glow; |
| 173 | + box-shadow: 0 0 4px rgba($blue-700, 0.5); |
171 | 174 | } |
172 | 175 |
|
173 | 176 | @mixin hxButton-hover--secondary { |
174 | | - background-color: $blue-700; |
175 | | - border-color: transparent; |
176 | | - color: $gray-0; |
| 177 | + background-color: transparent; |
| 178 | + border: 1px solid $blue-700; |
| 179 | + color: $blue-700; |
177 | 180 | } |
178 | 181 |
|
179 | 182 |
|
|
183 | 186 |
|
184 | 187 | @mixin hxButton--tertiary { |
185 | 188 | background-color: transparent; |
186 | | - border: 0; |
| 189 | + border: none; |
187 | 190 | color: $blue-500; |
188 | 191 |
|
189 | | - // This class will be removed in HelixUI-v1.0.0. |
| 192 | + // TODO: deprecated Button and Button Bar styles |
190 | 193 | &.hxDeprecated { |
191 | 194 | padding-left: 0; |
192 | 195 | padding-right: 0; |
|
222 | 225 | } |
223 | 226 |
|
224 | 227 | @mixin hxButton-focus--tertiary { |
225 | | - box-shadow: $focus-glow; |
| 228 | + box-shadow: 0 0 4px rgba($blue-700, 0.5); |
| 229 | + outline: none; |
226 | 230 | } |
227 | 231 |
|
228 | 232 | @mixin hxButton-hover--tertiary { |
|
0 commit comments