adata-ui 0.1.75 → 0.1.78
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/dist/adata-ui.common.js +35 -34
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +35 -34
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Button/AButton.vue +1 -0
- package/src/components/MailTo/MailTo.stories.js +2 -2
- package/src/components/MailTo/MailTo.vue +22 -1
package/package.json
CHANGED
|
@@ -3,12 +3,12 @@ import MailTo from "./MailTo.vue";
|
|
|
3
3
|
export default {
|
|
4
4
|
title: "MailTo",
|
|
5
5
|
component: MailTo,
|
|
6
|
-
template: "<mail-to></mail-to>",
|
|
6
|
+
template: "<a-mail-to></a-mail-to>",
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
const Template = () => ({
|
|
10
10
|
components: { MailTo },
|
|
11
|
-
template: "<mail-to></mail-to>",
|
|
11
|
+
template: "<a-mail-to></a-mail-to>",
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
export const AMailTo = Template.bind({});
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
</div>
|
|
66
66
|
<h2 class="mail__title">Интересует больше данных?</h2>
|
|
67
67
|
<p class="mail__text">
|
|
68
|
-
Мы обязательно ответим
|
|
68
|
+
Мы обязательно ответим Вам <br />
|
|
69
69
|
в кратчайшие сроки.
|
|
70
70
|
</p>
|
|
71
71
|
<form class="mail__form" novalidate>
|
|
@@ -182,6 +182,11 @@ export default {
|
|
|
182
182
|
</script>
|
|
183
183
|
|
|
184
184
|
<style lang="scss" scoped>
|
|
185
|
+
* {
|
|
186
|
+
padding: 0;
|
|
187
|
+
margin: 0;
|
|
188
|
+
box-sizing: border-box;
|
|
189
|
+
}
|
|
185
190
|
.mail {
|
|
186
191
|
padding: 50px 0px;
|
|
187
192
|
@media (max-width: 560px) {
|
|
@@ -203,11 +208,27 @@ export default {
|
|
|
203
208
|
padding: 24px;
|
|
204
209
|
display: flex;
|
|
205
210
|
justify-content: center;
|
|
211
|
+
position: relative;
|
|
212
|
+
&::before {
|
|
213
|
+
content: " ";
|
|
214
|
+
position: absolute;
|
|
215
|
+
top: 50%;
|
|
216
|
+
left: 50%;
|
|
217
|
+
z-index: 1;
|
|
218
|
+
width: 100px;
|
|
219
|
+
height: 100px;
|
|
220
|
+
transform: translate(-50%, -50%);
|
|
221
|
+
background: rgba(189, 199, 206, 0.15);
|
|
222
|
+
border-radius: 100%;
|
|
223
|
+
padding: 20px;
|
|
224
|
+
}
|
|
206
225
|
}
|
|
207
226
|
&__img {
|
|
208
227
|
width: 120px;
|
|
209
228
|
height: 120px;
|
|
210
229
|
object-fit: contain;
|
|
230
|
+
position: relative;
|
|
231
|
+
z-index: 2;
|
|
211
232
|
}
|
|
212
233
|
&__text {
|
|
213
234
|
font-size: 16px;
|