barbican-reset 3.6.0 → 3.8.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.
- package/components/BrContainer/Component.vue +84 -0
- package/components/BrFormRow.vue +46 -11
- package/components/BrFormUpdate.vue +1 -1
- package/css/index.css +138 -146
- package/css/lists.css +12 -0
- package/css/reset.css +19 -0
- package/css/supreme.css +37 -0
- package/css/typography.css +55 -0
- package/index.js +44 -79
- package/package.json +5 -1
- package/scss/_br-button.scss +4 -0
- package/scss/_br-container.scss +6 -1
- package/scss/_br-form-row.scss +3 -4
- package/scss/_footer.scss +0 -9
- package/scss/_header.scss +0 -13
- package/scss/helpers/mixins/_br-alert.scss +0 -4
- package/scss/helpers/mixins/_br-form-row.scss +4 -2
- package/scss/helpers/mixins/buttons/_custom.scss +7 -0
- package/scss/helpers/variables/colors/_grey.scss +0 -2
- package/scss/helpers/variables/index.scss +4 -0
- package/scss/index.scss +6 -71
- package/scss/reset.scss +20 -0
- package/scss/typography.scss +47 -0
- package/components/BrContainer.vue +0 -118
- /package/scss/{_list.scss → lists.scss} +0 -0
- /package/scss/{_font.scss → supreme.scss} +0 -0
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="styleOuter">
|
|
3
|
-
<div :class="styleInner">
|
|
4
|
-
<slot />
|
|
5
|
-
</div>
|
|
6
|
-
</div>
|
|
7
|
-
</template>
|
|
8
|
-
|
|
9
|
-
<script>
|
|
10
|
-
export default {
|
|
11
|
-
props: {
|
|
12
|
-
splash: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
default: false,
|
|
15
|
-
},
|
|
16
|
-
masthead: {
|
|
17
|
-
type: Boolean,
|
|
18
|
-
default: false,
|
|
19
|
-
},
|
|
20
|
-
thin: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: false,
|
|
23
|
-
},
|
|
24
|
-
header: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: false,
|
|
27
|
-
},
|
|
28
|
-
footer: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: false,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
computed: {
|
|
34
|
-
styleOuter() {
|
|
35
|
-
const style = this.$style;
|
|
36
|
-
let output = [style.outer];
|
|
37
|
-
if (this.masthead) {
|
|
38
|
-
output.push(style.masthead);
|
|
39
|
-
}
|
|
40
|
-
if (this.splash) {
|
|
41
|
-
output.push(style.splash);
|
|
42
|
-
}
|
|
43
|
-
return output;
|
|
44
|
-
},
|
|
45
|
-
styleInner() {
|
|
46
|
-
const style = this.$style;
|
|
47
|
-
let output = [style.inner];
|
|
48
|
-
if (this.masthead) {
|
|
49
|
-
output.push(style.masthead);
|
|
50
|
-
}
|
|
51
|
-
if (this.thin) {
|
|
52
|
-
output.push(style.thin);
|
|
53
|
-
}
|
|
54
|
-
if (this.header) {
|
|
55
|
-
output.push(style.header);
|
|
56
|
-
}
|
|
57
|
-
if (this.footer) {
|
|
58
|
-
output.push(style.footer);
|
|
59
|
-
}
|
|
60
|
-
return output;
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<style lang="scss" module>
|
|
67
|
-
@use "#styles/helpers" as *;
|
|
68
|
-
|
|
69
|
-
.outer {
|
|
70
|
-
padding-right: 5%;
|
|
71
|
-
padding-left: 5%;
|
|
72
|
-
|
|
73
|
-
&.splash {
|
|
74
|
-
padding-right: 10%;
|
|
75
|
-
padding-left: 10%;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&.masthead {
|
|
79
|
-
box-shadow: 0 0.375rem 0.375rem rgba($black, 0.1);
|
|
80
|
-
background-color: white;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.inner {
|
|
85
|
-
max-width: $layout-width-lg;
|
|
86
|
-
margin: 0 auto;
|
|
87
|
-
|
|
88
|
-
&:not(.footer) {
|
|
89
|
-
padding-bottom: 1.5rem;
|
|
90
|
-
padding-top: 1.5rem;
|
|
91
|
-
|
|
92
|
-
@include small-up {
|
|
93
|
-
padding-bottom: 2.5rem;
|
|
94
|
-
padding-top: 2.5rem;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.header {
|
|
99
|
-
padding-bottom: 1.875rem;
|
|
100
|
-
padding-top: 1.875rem;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&.thin {
|
|
104
|
-
max-width: $layout-width-sm;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.masthead {
|
|
108
|
-
@include small-up {
|
|
109
|
-
padding-bottom: 3rem;
|
|
110
|
-
padding-top: 3rem;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
h1 {
|
|
114
|
-
margin: 0;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
</style>
|
|
File without changes
|
|
File without changes
|