barbican-reset 1.6.0 → 1.6.1
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/alert.vue
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div class="title" v-if="title.length > 0 && !toggle">{{ title }}</div>
|
|
6
6
|
<slot />
|
|
7
7
|
</span>
|
|
8
|
-
<b-button v-if="toggle" variant="
|
|
8
|
+
<b-button v-if="toggle" variant="exit" :class="getStatus" @click="$emit('close')">
|
|
9
9
|
<close-icon :status="getStatus" />
|
|
10
10
|
</b-button>
|
|
11
11
|
</div>
|
|
@@ -192,15 +192,15 @@
|
|
|
192
192
|
@mixin btn-exit {
|
|
193
193
|
@include button-link;
|
|
194
194
|
@include focus {
|
|
195
|
-
|
|
196
|
-
background-color: $white;
|
|
195
|
+
outline: 0.1875rem solid $c-grey-night;
|
|
197
196
|
border-radius: 50%;
|
|
197
|
+
box-shadow: none;
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
path.cross {
|
|
200
200
|
fill: $white;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
path.tint {
|
|
204
204
|
fill: $c-grey-night;
|
|
205
205
|
}
|
|
206
206
|
}
|
package/icons/stream/close.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg width="28" viewBox="0 0 20 20">
|
|
3
|
-
<path class="tint" fill="#
|
|
4
|
-
<path class="cross" fill="#353535" d="M10,0C4.5,0,0,4.5,0,10s4.5,10,10,10s10-4.5,10-10S15.5,0,10,0z M10,18c-4.4,0-8-3.6-8-8s3.6-8,8-
|
|
5
|
-
<path class="cross" fill="#353535" d="M12.6,6L10,8.6L7.4,6L6,7.4L8.6,10L6,12.6L7.4,14l2.6-2.6l2.6,2.6l1.4-1.4L11.4,10L14,7.4L12.6,6z" />
|
|
2
|
+
<svg width="28" height="28" viewBox="0 0 20 20">
|
|
3
|
+
<path class="tint" fill="#ffffff" d="M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4.1,9-9S14.9,1,10,1z"/>
|
|
4
|
+
<path class="cross" fill="#353535" d="M10,0C4.5,0,0,4.5,0,10s4.5,10,10,10s10-4.5,10-10S15.5,0,10,0z M10,18c-4.4,0-8-3.6-8-8s3.6-8,8-8 s8,3.6,8,8S14.4,18,10,18z M12.6,6L10,8.6L7.4,6L6,7.4L8.6,10L6,12.6L7.4,14l2.6-2.6l2.6,2.6l1.4-1.4L11.4,10L14,7.4L12.6,6z"/>
|
|
6
5
|
</svg>
|
|
7
|
-
</template>
|
|
6
|
+
</template>
|
|
7
|
+
|
package/package.json
CHANGED
package/scss/_alert.scss
CHANGED
|
@@ -115,15 +115,7 @@ $error_focus: $c-status-error, $c-status-error-fade;
|
|
|
115
115
|
display: flex;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.btn.exit {
|
|
119
|
-
border-radius: 50%;
|
|
120
|
-
border: none;
|
|
121
|
-
padding: 0;
|
|
122
|
-
|
|
123
|
-
@include focus {
|
|
124
|
-
outline: 0.1875rem solid;
|
|
125
|
-
box-shadow: none;
|
|
126
|
-
}
|
|
118
|
+
.btn.btn-exit {
|
|
127
119
|
|
|
128
120
|
&.error {
|
|
129
121
|
@include exit($error_focus...);
|