adata-ui 0.1.6 → 0.1.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.1.6",
3
+ "version": "0.1.10",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -29,7 +29,7 @@ export default {
29
29
  }
30
30
  };
31
31
  </script>
32
- <style lang="scss" scoped>
32
+ <style lang="scss">
33
33
  .note {
34
34
  font-weight: 400;
35
35
  font-style: italic;
@@ -87,7 +87,7 @@ export default {
87
87
  }
88
88
  </script>
89
89
 
90
- <style lang="scss" scoped>
90
+ <style lang="scss">
91
91
 
92
92
  .btn {
93
93
  cursor: pointer;
@@ -55,8 +55,8 @@
55
55
 
56
56
  <script>
57
57
  export default {
58
+ name: "Footer",
58
59
  props: {
59
- name: "Footer",
60
60
  hasBottomMenu: {
61
61
  type: Boolean,
62
62
  default: false
@@ -64,7 +64,7 @@ export default {
64
64
  }
65
65
  };
66
66
  </script>
67
- <style lang="scss" scoped>
67
+ <style lang="scss">
68
68
  ul, li {
69
69
  list-style: none;
70
70
  text-decoration: none;
@@ -1,7 +1,7 @@
1
1
  <template>
2
- <header class="header">
2
+ <header class="a-header" :class="{'bordered': isBordered}">
3
3
  <div class="container">
4
- <div class="header__left">
4
+ <div class="a-header__left">
5
5
  <a class="logo" :href="toAdtdev('https://adata.kz')">
6
6
  <svg class="adata-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 166 48">
7
7
  <path d="M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"></path>
@@ -19,7 +19,7 @@
19
19
  </div>
20
20
  </div>
21
21
  </div>
22
- <div class="header__right">
22
+ <div class="a-header__right">
23
23
  <slot name="chooseCountry"></slot>
24
24
  <slot name="profile"></slot>
25
25
  <Profile
@@ -93,6 +93,10 @@ export default {
93
93
  type: Boolean,
94
94
  default: false
95
95
  },
96
+ isBordered: {
97
+ type: Boolean,
98
+ default: false
99
+ },
96
100
  requestCount: {
97
101
  type: Number,
98
102
  default: null
@@ -163,7 +167,7 @@ export default {
163
167
  };
164
168
  </script>
165
169
 
166
- <style lang="scss" scoped>
170
+ <style lang="scss">
167
171
  * {
168
172
  font-family: "Open Sans", sans-serif;
169
173
  box-sizing: border-box;
@@ -171,14 +175,7 @@ export default {
171
175
  padding: 0;
172
176
  }
173
177
 
174
- .container {
175
- max-width: 1180px;
176
- width: 100%;
177
- padding: 0 20px;
178
- margin: 0 auto;
179
- }
180
-
181
- .header {
178
+ .a-header {
182
179
  width: 100%;
183
180
  background: #ffffff;
184
181
  max-height: 62px;
@@ -190,7 +187,12 @@ export default {
190
187
  height: 40px;
191
188
  }
192
189
 
190
+ &.bordered {
191
+ border-bottom: 1px solid #2C3E5026;
192
+ }
193
+
193
194
  & > .container {
195
+ width: 100%;
194
196
  display: flex;
195
197
  justify-content: space-between;
196
198
  align-items: center;
@@ -321,7 +321,7 @@ export default {
321
321
  };
322
322
  </script>
323
323
 
324
- <style lang="scss" scoped>
324
+ <style lang="scss">
325
325
  a {
326
326
  text-decoration: none;
327
327
  background-color: transparent;
@@ -40,7 +40,7 @@ export default {
40
40
  },
41
41
  };
42
42
  </script>
43
- <style scoped>
43
+ <style>
44
44
  .slideToggleAnimation {
45
45
  transition: 0.3s all;
46
46
  }
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
  <transition
3
3
  v-on:before-enter="beforeEnter"
4
- v-on:enter="enter"
5
4
  v-on:after-enter="afterEnter"
6
5
  v-on:before-leave="beforeLeave"
7
6
  v-on:leave="leave"
@@ -65,7 +64,7 @@ export default {
65
64
  },
66
65
  };
67
66
  </script>
68
- <style scoped>
67
+ <style>
69
68
  .slideToggleAnimation {
70
69
  transition: 0.3s all;
71
70