barbican-reset 1.9.9 → 2.0.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.
@@ -1,4 +1,10 @@
1
1
 
2
+ @mixin disabled {
3
+ &:disabled, &.disabled {
4
+ @content;
5
+ }
6
+ }
7
+
2
8
  @mixin button-setup {
3
9
  -webkit-font-smoothing: antialiased;
4
10
  -moz-osx-font-smoothing: grayscale;
@@ -19,6 +25,10 @@
19
25
  padding-top: 0.9375rem;
20
26
  font-size: 1.125rem;
21
27
  }
28
+
29
+ @include disabled {
30
+ opacity: 1; // override bootstrap
31
+ }
22
32
  }
23
33
 
24
34
  @mixin button-display($display:'ib',$gap:1) {
@@ -146,6 +156,10 @@
146
156
  $padding: 0.75em,
147
157
  $font-size: $font-size-sm
148
158
  );
159
+
160
+ @include disabled {
161
+ @include btn-outline-secondary;
162
+ }
149
163
  }
150
164
 
151
165
  @mixin btn-outline-primary {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- "barbican-reset@1.9.9",
4
+ "barbican-reset@2.0.0",
5
5
  "/Users/pheading/Sites/eticketing-vue"
6
6
  ]
7
7
  ],
8
- "_from": "barbican-reset@1.9.9",
9
- "_id": "barbican-reset@1.9.9",
8
+ "_from": "barbican-reset@2.0.0",
9
+ "_id": "barbican-reset@2.0.0",
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.9",
38
+ "raw": "barbican-reset@2.0.0",
39
39
  "name": "barbican-reset",
40
40
  "escapedName": "barbican-reset",
41
- "rawSpec": "1.9.9",
41
+ "rawSpec": "2.0.0",
42
42
  "saveSpec": null,
43
- "fetchSpec": "1.9.9"
43
+ "fetchSpec": "2.0.0"
44
44
  },
45
45
  "_requiredBy": [
46
46
  "/"
47
47
  ],
48
- "_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-1.9.9.tgz",
49
- "_spec": "1.9.9",
48
+ "_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-2.0.0.tgz",
49
+ "_spec": "2.0.0",
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.9"
99
+ "version": "2.0.0"
100
100
  }