adata-ui 0.1.7 → 0.1.11
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 +20 -13
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +20 -13
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +1 -1
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Header/Header.vue +21 -8
- package/src/components/transitions/VerticalMobileToggle.vue +0 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<header class="a-header">
|
|
2
|
+
<header class="a-header" :class="[{'bordered': isBordered}, {'fixed': isFixed}]">
|
|
3
3
|
<div class="container">
|
|
4
4
|
<div class="a-header__left">
|
|
5
5
|
<a class="logo" :href="toAdtdev('https://adata.kz')">
|
|
@@ -93,6 +93,14 @@ export default {
|
|
|
93
93
|
type: Boolean,
|
|
94
94
|
default: false
|
|
95
95
|
},
|
|
96
|
+
isBordered: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default: false
|
|
99
|
+
},
|
|
100
|
+
isFixed: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
default: false
|
|
103
|
+
},
|
|
96
104
|
requestCount: {
|
|
97
105
|
type: Number,
|
|
98
106
|
default: null
|
|
@@ -171,13 +179,6 @@ export default {
|
|
|
171
179
|
padding: 0;
|
|
172
180
|
}
|
|
173
181
|
|
|
174
|
-
.container {
|
|
175
|
-
max-width: 1180px;
|
|
176
|
-
width: 100%;
|
|
177
|
-
padding: 0 20px;
|
|
178
|
-
margin: 0 auto;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
182
|
.a-header {
|
|
182
183
|
width: 100%;
|
|
183
184
|
background: #ffffff;
|
|
@@ -190,7 +191,19 @@ export default {
|
|
|
190
191
|
height: 40px;
|
|
191
192
|
}
|
|
192
193
|
|
|
194
|
+
&.bordered {
|
|
195
|
+
border-bottom: 1px solid #2C3E5026;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&.fixed {
|
|
199
|
+
position: fixed;
|
|
200
|
+
z-index: 1000;
|
|
201
|
+
top: 0;
|
|
202
|
+
left: 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
193
205
|
& > .container {
|
|
206
|
+
width: 100%;
|
|
194
207
|
display: flex;
|
|
195
208
|
justify-content: space-between;
|
|
196
209
|
align-items: center;
|