barbican-reset 1.9.5 → 1.9.6

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.
@@ -80,6 +80,7 @@
80
80
  $background: $white,
81
81
  $border: 1px,
82
82
  $padding: false,
83
+ $margin: false,
83
84
  $line-height: false,
84
85
  $display: false,
85
86
  $font-size: false) {
@@ -95,6 +96,7 @@
95
96
  @if $line-height { line-height: $line-height; }
96
97
  @if $font-size { font-size: $font-size; }
97
98
  @if $padding { padding: $padding; }
99
+ @if $margin { margin: $margin; }
98
100
 
99
101
  path {
100
102
  fill: $color;
@@ -323,22 +325,28 @@
323
325
  }
324
326
  }
325
327
 
328
+ @mixin btn-menu-focus {
329
+ background-color: $white;
330
+ color: $c-brand-generic;
331
+ outline: none;
332
+
333
+ path {
334
+ fill: $c-brand-generic;
335
+ }
336
+ }
337
+
326
338
  @mixin btn-menu {
327
339
  @include button-display(flex, 0.75);
328
340
  @include button-outline(
329
341
  $color: $white,
330
342
  $background: $c-brand-generic,
331
343
  $padding: 0 0.75rem,
344
+ $margin: 0.25rem,
332
345
  $line-height: 2.375rem);
346
+ vertical-align: middle;
333
347
 
334
348
  @include focus {
335
- color: $c-brand-generic-s100-l38;
336
- background-color: $white;
337
- outline: none;
338
-
339
- svg {
340
- fill: $c-brand-generic-s100-l38;
341
- }
349
+ @include btn-menu-focus;
342
350
  }
343
351
  }
344
352
 
@@ -1,5 +1,5 @@
1
- @mixin inline-block {
2
- vertical-align: middle;
1
+ @mixin inline-block($align:middle) {
2
+ vertical-align: $align;
3
3
  display: inline-block;
4
4
  }
5
5
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- "barbican-reset@1.9.5",
4
+ "barbican-reset@1.9.6",
5
5
  "/Users/pheading/Sites/eticketing-vue"
6
6
  ]
7
7
  ],
8
- "_from": "barbican-reset@1.9.5",
9
- "_id": "barbican-reset@1.9.5",
8
+ "_from": "barbican-reset@1.9.6",
9
+ "_id": "barbican-reset@1.9.6",
10
10
  "_inBundle": false,
11
11
  "_integrity": "sha512-9QMrzuoZ/NZfFlFagC6go3ofn5hBhU9rtSPEeGH0krwY5dBKOlfs8oGIvqUaEGFKI+jQ3spuDOQoeyYK5NRiQw==",
12
12
  "_location": "/barbican-reset",
@@ -35,18 +35,18 @@
35
35
  "_requested": {
36
36
  "type": "version",
37
37
  "registry": true,
38
- "raw": "barbican-reset@1.9.5",
38
+ "raw": "barbican-reset@1.9.6",
39
39
  "name": "barbican-reset",
40
40
  "escapedName": "barbican-reset",
41
- "rawSpec": "1.9.5",
41
+ "rawSpec": "1.9.6",
42
42
  "saveSpec": null,
43
- "fetchSpec": "1.9.5"
43
+ "fetchSpec": "1.9.6"
44
44
  },
45
45
  "_requiredBy": [
46
46
  "/"
47
47
  ],
48
- "_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-1.9.5.tgz",
49
- "_spec": "1.9.5",
48
+ "_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-1.9.6.tgz",
49
+ "_spec": "1.9.6",
50
50
  "_where": "/Users/pheading/Sites/eticketing-vue",
51
51
  "author": {
52
52
  "name": "Paul Heading"
@@ -96,5 +96,5 @@
96
96
  "test": "echo \"Error: no test specified\" && exit 1"
97
97
  },
98
98
  "style": "dist/css/barbican-reset.css",
99
- "version": "1.9.5"
99
+ "version": "1.9.6"
100
100
  }