barbican-reset 2.15.0 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,11 +88,13 @@
88
88
  fill: currentColor;
89
89
  }
90
90
 
91
- @include focus {
92
- @include double-box($color, $background);
93
- border: $border solid $background;
94
- background-color: $background;
95
- color: $color;
91
+ &:not(:disabled) {
92
+ @include focus {
93
+ @include double-box($color, $background);
94
+ border: $border solid $background;
95
+ background-color: $background;
96
+ color: $color;
97
+ }
96
98
  }
97
99
 
98
100
  &.hide {
@@ -130,15 +132,17 @@
130
132
  fill: currentColor;
131
133
  }
132
134
 
133
- @include focus {
134
- border: $border solid $color;
135
- background-color: $color;
136
- color: $background;
137
- box-shadow: none;
138
- outline: none;
139
-
140
- path {
141
- fill: $background;
135
+ &:not(:disabled) {
136
+ @include focus {
137
+ border: $border solid $color;
138
+ background-color: $color;
139
+ color: $background;
140
+ box-shadow: none;
141
+ outline: none;
142
+
143
+ path {
144
+ fill: $background;
145
+ }
142
146
  }
143
147
  }
144
148
  }
@@ -169,7 +173,7 @@
169
173
  @include solid-button;
170
174
  min-width: 8rem;
171
175
 
172
- &[disabled='disabled'] {
176
+ @include disabled {
173
177
  @include solid-button($c-grey-l21);
174
178
  cursor: not-allowed;
175
179
  }
package/package.json CHANGED
@@ -54,5 +54,5 @@
54
54
  "watch:patterns": "cd patterns && gulp watch"
55
55
  },
56
56
  "style": "dist/css/barbican-reset.css",
57
- "version": "2.15.0"
57
+ "version": "2.16.0"
58
58
  }