barbican-reset 1.9.2 → 1.9.5
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.
- package/components/br_confirm_done.vue +1 -8
- package/helpers/mixins/_buttons.scss +19 -0
- package/helpers/mixins/_table.scss +2 -11
- package/helpers/mixins/table/_details.scss +6 -0
- package/helpers/mixins/table/row/_disabled.scss +21 -0
- package/helpers/variables/_columns.scss +9 -0
- package/helpers/variables/index.scss +2 -1
- package/package.json +9 -9
- package/scss/_btn.scss +4 -0
- package/scss/_custom-checkbox.scss +15 -1
- package/scss/_table.scss +6 -0
|
@@ -14,14 +14,7 @@ import { DoneIcon } from 'barbican-reset/icons/confirm'
|
|
|
14
14
|
|
|
15
15
|
export default {
|
|
16
16
|
mixins: [Animations],
|
|
17
|
-
components: {
|
|
18
|
-
DoneIcon,
|
|
19
|
-
},
|
|
20
|
-
props: {
|
|
21
|
-
type: {
|
|
22
|
-
type: String
|
|
23
|
-
},
|
|
24
|
-
},
|
|
17
|
+
components: { DoneIcon },
|
|
25
18
|
mounted() {
|
|
26
19
|
this.animateDone();
|
|
27
20
|
},
|
|
@@ -323,6 +323,25 @@
|
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
+
@mixin btn-menu {
|
|
327
|
+
@include button-display(flex, 0.75);
|
|
328
|
+
@include button-outline(
|
|
329
|
+
$color: $white,
|
|
330
|
+
$background: $c-brand-generic,
|
|
331
|
+
$padding: 0 0.75rem,
|
|
332
|
+
$line-height: 2.375rem);
|
|
333
|
+
|
|
334
|
+
@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
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
326
345
|
@mixin btn-invisible {
|
|
327
346
|
color: inherit;
|
|
328
347
|
padding: 0;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
@mixin table-label($mq:md) {
|
|
15
15
|
font-size: $font-size-lg;
|
|
16
|
+
margin-bottom: 0.25rem;
|
|
16
17
|
|
|
17
18
|
@include media-breakpoint-up($mq) {
|
|
18
19
|
@include sr-only;
|
|
@@ -33,15 +34,6 @@
|
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
|
|
36
|
-
$columns-orders: 10rem 8rem auto 8rem;
|
|
37
|
-
$columns-details--header: auto 10rem 8rem;
|
|
38
|
-
$columns-details--checkbox: 2.75rem auto 10rem 8rem;
|
|
39
|
-
$columns-etickets: 8rem auto 8rem;
|
|
40
|
-
$columns-gifts: 3fr 5fr 5fr 2fr 2fr;
|
|
41
|
-
$columns-membership: auto 10rem 10rem 8rem;
|
|
42
|
-
$columns-preferences: auto repeat(2, 5rem);
|
|
43
|
-
$columns-tickets: 2fr 5fr 5fr 2fr;
|
|
44
|
-
|
|
45
37
|
@import "table/basket";
|
|
46
38
|
@import "table/details";
|
|
47
39
|
@import "table/etickets";
|
|
@@ -53,5 +45,4 @@ $columns-tickets: 2fr 5fr 5fr 2fr;
|
|
|
53
45
|
@import "table/section";
|
|
54
46
|
@import "table/tickets";
|
|
55
47
|
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
@import "table/row/disabled";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
@mixin disabled-row {
|
|
3
|
+
background-color: $c-grey-l96;
|
|
4
|
+
pointer-events: none;
|
|
5
|
+
color: $c-grey-l44;
|
|
6
|
+
user-select: none;
|
|
7
|
+
|
|
8
|
+
strike {
|
|
9
|
+
color: $c-grey-l44;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
button {
|
|
13
|
+
background-color: transparent;
|
|
14
|
+
border-color: $c-grey-l44;
|
|
15
|
+
color: $c-grey-l44;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
a {
|
|
19
|
+
color: $c-grey-l44;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
$columns-orders: 10rem 8rem auto 8rem;
|
|
3
|
+
$columns-details--header: auto 10rem 8rem;
|
|
4
|
+
$columns-details--checkbox: 2.75rem auto 10rem 8rem;
|
|
5
|
+
$columns-etickets: 8rem auto 8rem;
|
|
6
|
+
$columns-gifts: 3fr 5fr 5fr 2fr 2fr;
|
|
7
|
+
$columns-membership: auto 10rem 10rem 8rem;
|
|
8
|
+
$columns-preferences: auto repeat(2, 5rem);
|
|
9
|
+
$columns-tickets: 2fr 5fr 5fr 2fr;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_args": [
|
|
3
3
|
[
|
|
4
|
-
"barbican-reset@1.9.
|
|
4
|
+
"barbican-reset@1.9.5",
|
|
5
5
|
"/Users/pheading/Sites/eticketing-vue"
|
|
6
6
|
]
|
|
7
7
|
],
|
|
8
|
-
"_from": "barbican-reset@1.9.
|
|
9
|
-
"_id": "barbican-reset@1.9.
|
|
8
|
+
"_from": "barbican-reset@1.9.5",
|
|
9
|
+
"_id": "barbican-reset@1.9.5",
|
|
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.
|
|
38
|
+
"raw": "barbican-reset@1.9.5",
|
|
39
39
|
"name": "barbican-reset",
|
|
40
40
|
"escapedName": "barbican-reset",
|
|
41
|
-
"rawSpec": "1.9.
|
|
41
|
+
"rawSpec": "1.9.5",
|
|
42
42
|
"saveSpec": null,
|
|
43
|
-
"fetchSpec": "1.9.
|
|
43
|
+
"fetchSpec": "1.9.5"
|
|
44
44
|
},
|
|
45
45
|
"_requiredBy": [
|
|
46
46
|
"/"
|
|
47
47
|
],
|
|
48
|
-
"_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-1.9.
|
|
49
|
-
"_spec": "1.9.
|
|
48
|
+
"_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-1.9.5.tgz",
|
|
49
|
+
"_spec": "1.9.5",
|
|
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.
|
|
99
|
+
"version": "1.9.5"
|
|
100
100
|
}
|
package/scss/_btn.scss
CHANGED
|
@@ -3,14 +3,28 @@
|
|
|
3
3
|
|
|
4
4
|
input[table][type="checkbox"] {
|
|
5
5
|
@include inset;
|
|
6
|
-
margin-top: 0.
|
|
6
|
+
margin-top: 0.25rem;
|
|
7
7
|
position: relative;
|
|
8
8
|
display: block;
|
|
9
9
|
z-index: 1;
|
|
10
10
|
|
|
11
|
+
@include media-breakpoint-up(md) {
|
|
12
|
+
margin-top: 0.625rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
11
15
|
+ label {
|
|
12
16
|
@include sr-only;
|
|
13
17
|
}
|
|
18
|
+
|
|
19
|
+
@include focus {
|
|
20
|
+
outline: 1px solid $c-grey-l65;
|
|
21
|
+
outline-offset: 0.125rem;
|
|
22
|
+
|
|
23
|
+
~ label {
|
|
24
|
+
box-shadow: none;
|
|
25
|
+
border: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
14
28
|
}
|
|
15
29
|
|
|
16
30
|
&:not(:last-of-type) {
|