@ozdao/prometheus-framework 0.1.52 → 0.1.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
  2. package/dist/main.css +1 -1
  3. package/dist/modules/constructor/components/elements/Audio.vue.d.ts +9 -0
  4. package/dist/modules/constructor/components/elements/Embed.vue.d.ts +9 -0
  5. package/dist/modules/constructor/components/elements/H2.vue.d.ts +1 -1
  6. package/dist/modules/constructor/components/elements/Textarea.vue.d.ts +1 -1
  7. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -224
  9. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +224 -2
  11. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  13. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -72
  15. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  16. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -2
  17. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -78
  19. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  20. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +78 -2
  21. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +2 -44
  23. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  24. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
  25. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -0
  26. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +75 -0
  27. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -0
  28. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -0
  29. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
  31. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  33. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
  39. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  47. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -0
  48. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +46 -0
  49. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -0
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +48 -0
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
  52. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -61
  53. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
  54. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +61 -2
  55. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +70 -61
  57. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  63. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +12 -10
  65. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +199 -2
  69. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  73. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  75. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  77. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
  85. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +18 -18
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  95. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  99. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  103. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
  113. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  115. package/dist/prometheus-framework/src/modules/products/components/sections/EditParameters.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/sections/EditParameters.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  119. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  121. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +82 -100
  125. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  127. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  129. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  131. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +1 -1
  133. package/dist/prometheus-framework.cjs.js +19 -19
  134. package/dist/prometheus-framework.es.js +530 -522
  135. package/dist/style.css +1 -1
  136. package/package.json +1 -1
  137. package/src/components/Button/Button.vue +1 -1
  138. package/src/components/Upload/Upload.vue +28 -8
  139. package/src/modules/constructor/components/elements/Audio.vue +82 -0
  140. package/src/modules/constructor/components/elements/Embed.vue +85 -0
  141. package/src/modules/constructor/components/sections/Constructor.vue +54 -7
  142. package/src/modules/gallery/components/pages/Gallery.vue +2 -3
  143. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -24
  144. package/src/modules/globals/mixins/mixins.js +52 -0
  145. package/src/modules/globals/router/routerGuards.js +28 -0
  146. package/src/modules/marketplace/components/layouts/Marketplace.vue +0 -1
  147. package/src/modules/organizations/components/pages/Organization.vue +2 -2
  148. package/src/modules/users/components/pages/Profile.vue +5 -3
  149. package/src/styles/theme.scss +0 -1
  150. package/src/styles/components/button.scss +0 -253
@@ -1,10 +1,9 @@
1
1
  <template>
2
2
  <div class="wrapper">
3
- 12333
4
3
  <Title :text="$t('gallery.title')" class="pd-medium" />
5
4
 
6
5
  <div style="min-height: 100vh">
7
- <!-- <GalleryWithCategories/> -->
6
+ <GalleryWithCategories/>
8
7
  </div>
9
8
  </div>
10
9
  </template>
@@ -12,5 +11,5 @@
12
11
  <script setup>
13
12
  import Title from '@pf/src/modules/globals/components/sections/Title.vue';
14
13
 
15
- // import GalleryWithCategories from '@pf/src/modules/gallery/components/sections/GalleryWithCategories.vue';
14
+ import GalleryWithCategories from '@pf/src/modules/gallery/components/sections/GalleryWithCategories.vue';
16
15
  </script>
@@ -16,7 +16,6 @@
16
16
  </div>
17
17
 
18
18
  <div ref="grid" class="pd-medium cols-4 gap-thin">
19
- <!-- :class="['grid-item pd-small', item.size.value, ...item.categories]" -->
20
19
  <div
21
20
  v-for="(item, index) in filteredGallery"
22
21
  :key="item.id"
@@ -30,26 +29,6 @@
30
29
  class="w-100 h-100 o-hidden radius-medium object-fit-cover"
31
30
  @click="openModal(item.image)"
32
31
  />
33
- <!-- <div class="pd-small radius-small bg-white" v-else>
34
- <img :src="'/photos/' + item.cover" class="w-100 radius-small mn-small h-10r object-fit-cover " @click="openModal(item)" />
35
-
36
- <p class="t-black p-small mn-small">
37
- <span class="uppercase t-transp ">Size</span>
38
- <br>
39
- <span class="pd-2px radius-big d-inline-block bg-grey">{{item.size.name}}</span>
40
- </p>
41
-
42
- <p class="t-black p-small mn-small uppe">
43
- <span class="uppercase t-transp">Categories</span>
44
- <br>
45
- <span class="pd-2px radius-big d-inline-block bg-grey t-semi" v-for="category in item.categories">{{category}}</span>
46
- </p>
47
-
48
- <div class="flex-nowrap flex">
49
- <button class="mn-r-thin button-small w-100 button" @click="editPhoto(item)">Edit</button>
50
- <button class="button-small w-100 button" @click="deletePhoto(item._id)">Delete</button>
51
- </div>
52
- </div> -->
53
32
  </transition>
54
33
  </div>
55
34
 
@@ -70,6 +49,7 @@
70
49
  </transition>
71
50
 
72
51
  <transition name="modal">
52
+
73
53
  <div v-if="selectedImage.image !== false && modal === 'edit-modal'" class="flex-v-center flex m modal pd-big">
74
54
  <div class="modal-content radius-small pd-medium bg-white">
75
55
  <span class="close" @click="closeModal">&times;</span>
@@ -129,13 +109,15 @@
129
109
 
130
110
  <script setup>
131
111
  import { ref, onMounted, reactive, computed } from 'vue'
112
+ import { useRoute } from 'vue-router'
132
113
 
133
- import { Button, Field, Select, Upload } from '@ozdao/prometheus-framework'
114
+ import Field from '@pf/src/components/Field/Field.vue'
115
+ import Button from '@pf/src/components/Button/Button.vue'
116
+ import Select from '@pf/src/components/Select/Select.vue'
117
+ import Upload from '@pf/src/components/Upload/Upload.vue'
134
118
 
135
119
  import { state, actions } from '@pf/src/modules/gallery/store/gallery';
136
120
 
137
- import { useRoute } from 'vue-router'
138
-
139
121
  const route = useRoute()
140
122
 
141
123
  const isEditablePath = false
@@ -0,0 +1,52 @@
1
+ // mixins.js
2
+ export const globalMixins = {
3
+ methods: {
4
+ returnCurrency() {
5
+ const currency = '฿'
6
+ return currency
7
+ },
8
+ formatPrice(number) {
9
+ const currency = this.returnCurrency();
10
+ let formattedNumber = number.toFixed(2).replace('.', ',').replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
11
+ return `${formattedNumber} ${currency}`;
12
+ },
13
+ formatDate(d) {
14
+ var fixedDate = new Date(d);
15
+ var yyyy = fixedDate.getFullYear().toString();
16
+ var mm = (fixedDate.getMonth() + 1).toString();
17
+ var dd = fixedDate.getDate().toString();
18
+ var hh = fixedDate.getHours().toString();
19
+ var minmin = fixedDate.getMinutes().toString();
20
+
21
+ return yyyy + '.' + (mm[1] ? mm : "0" + mm[0]) + '.' + (dd[1] ? dd : "0" + dd[0]) + " в " + (hh[1] ? hh : "0" + hh[0]) + ':' + (minmin[1] ? minmin : "0" + minmin[0]);
22
+ },
23
+ normalizeUrlParam(param) {
24
+ if (!param) param = ''
25
+
26
+ return param
27
+ .toLowerCase()
28
+ .replace(/ /g, '-')
29
+ .replace(/[^a-z0-9-]/g, '');
30
+ },
31
+ getMarketplaceLink(categories, country, state, city) {
32
+ categories = []
33
+
34
+ let country_normalized = this.normalizeUrlParam(country);
35
+ let state_normalized = this.normalizeUrlParam(state);
36
+ let city_normalized = this.normalizeUrlParam(city);
37
+ let base = `/marketplace/${country_normalized || ''}${state_normalized ? `/${state_normalized}` : ''}${city_normalized ? `/${city_normalized}` : ''}`;
38
+
39
+ if (categories.length) {
40
+ base += `?categories=${categories.join(",")}`;
41
+ }
42
+
43
+ return base;
44
+ },
45
+ getSpotsLink(country, state, city) {
46
+ let country_normalized = this.normalizeUrlParam(country);
47
+ let state_normalized = this.normalizeUrlParam(state);
48
+ let city_normalized = this.normalizeUrlParam(city);
49
+ return `/spots/${country_normalized || ''}${state_normalized ? `/${state_normalized}` : ''}${city_normalized ? `/${city_normalized}` : ''}`;
50
+ },
51
+ }
52
+ }
@@ -0,0 +1,28 @@
1
+ // routerGuards.js
2
+ export function setupRouterGuards(router, store, app) {
3
+ router.beforeEach((to, from, next) => {
4
+ const { authorize } = to.meta;
5
+
6
+ if (authorize) {
7
+ if (store.auth.state.access.status === false) {
8
+ return next({ path: '/', query: { returnUrl: to.path } });
9
+ }
10
+
11
+ if (authorize.length && !authorize.some(r => store.auth.state.access.roles.includes(r))) {
12
+ return next({ path: '/' });
13
+ }
14
+ }
15
+
16
+ const locale = to.params.locale;
17
+ if (
18
+ app.config.globalProperties.$i18n.locale !== locale
19
+ && locale
20
+ && Object.keys(i18n.global.availableLocales).includes(locale)
21
+ ) {
22
+ app.config.globalProperties.$i18n.locale = locale;
23
+ return next();
24
+ }
25
+
26
+ next();
27
+ });
28
+ }
@@ -2,7 +2,6 @@
2
2
  <div class="min-h-100vh pd-thin">
3
3
 
4
4
  <div class=" br-solid br-1px br-grey bg-grey radius-big">
5
- <Breadcrumbs class=" br-b br-solid br-black-transp pd-medium"/>
6
5
 
7
6
  <header class=" pd-medium mn-r-auto flex-v-center t-left flex-nowrap flex">
8
7
  <h2 class="t-left">
@@ -49,9 +49,9 @@
49
49
  :tabs="[
50
50
 
51
51
  { name: 'Community', value: 'community' },
52
- { name: 'Products', value: 'products' },
52
+ // { name: 'Products', value: 'products' },
53
53
  { name: 'Events', value: 'events' },
54
- { name: 'Spots', value: 'spots' }
54
+ // { name: 'Spots', value: 'spots' }
55
55
  ]"
56
56
  class="mn-small o-hidden h5 radius-big bg-grey"
57
57
  />
@@ -192,11 +192,14 @@
192
192
 
193
193
 
194
194
 
195
- <Menu class="mn-regular bg-grey">
195
+ <!-- <Menu class="mn-regular bg-grey">
196
196
  <MenuItem @click="router.push({name: 'User Wallet', params: {_id: route.params._id}})" class="cursor-pointer">
197
197
  <IconGroups class="i-semi" :icon="true"/>
198
198
  <span>Wallet</span>
199
199
  </MenuItem>
200
+ </Menu> -->
201
+
202
+
200
203
 
201
204
  <!-- <MenuItem @click="router.push({name: 'User Comments', params: {_id: route.params._id}})" class="cursor-pointer">
202
205
  <span>Comments</span>
@@ -204,8 +207,7 @@
204
207
  <MenuItem @click="router.push({name: 'User Likes', params: {_id: route.params._id}})" class="cursor-pointer">
205
208
  <span>Likes</span>
206
209
  </MenuItem> -->
207
- </Menu>
208
-
210
+
209
211
  <Menu
210
212
  v-if="auth.state.user._id === route.params._id"
211
213
  class="bg-grey"
@@ -1,6 +1,5 @@
1
1
  @import './components/block';
2
2
  @import './components/breadcrumbs';
3
- @import './components/button';
4
3
  @import './components/card';
5
4
  // @import './components/input';
6
5
  @import './components/item';
@@ -1,253 +0,0 @@
1
- button[disabled] {background: grey; &:hover {background: grey; } }
2
-
3
- .button {
4
- display: flex;
5
- width: fit-content;
6
-
7
- padding: 1rem 1.75rem;
8
- border-radius: 3rem;
9
-
10
- transform: scale(1);
11
- opacity: 1;
12
-
13
- align-items: center;
14
- justify-content: center;
15
-
16
- text-align: center;
17
- text-transform: uppercase;
18
- font-size: 1rem;
19
- font-weight: 500;
20
- letter-spacing: 5%;
21
-
22
- transition: all 0.33s ease;
23
-
24
- &:hover {
25
- opacity: 1;
26
- cursor: pointer;
27
- }
28
-
29
- &:active {
30
- transform: scale(0.95);
31
- }
32
-
33
- &-small {
34
- padding: 0.5rem 0.75rem;
35
- border-radius: 0.5rem;
36
- height: fit-content;
37
- }
38
-
39
- &-square {
40
- height: 2.5rem;
41
- width: 2.5rem;
42
-
43
- padding: 1rem;
44
- border-radius: 0.5rem;
45
- font-size: 1.125rem;
46
- }
47
-
48
- &-close-popup {
49
- position: absolute;
50
-
51
- right: 0;
52
- top: 0;
53
-
54
- width: 3rem;
55
- height: 3rem;
56
-
57
- background: transparent;
58
-
59
- padding: 0;
60
-
61
- border-radius: 0;
62
-
63
- img {
64
- width: 33%;
65
- }
66
- }
67
-
68
- &-delete {
69
- &:hover {
70
- background: red;
71
- }
72
- }
73
-
74
- &-grey {
75
- background: rgba(var(--dark), 1);;
76
- background-color: #F7F7F7;
77
- }
78
-
79
- &-sort {
80
- height: 2.5rem;
81
-
82
- padding: 0.5rem 1.25rem;
83
-
84
- text-transform: none;
85
- font-size: 1rem;
86
- background: rgba(var(--dark), 1);;
87
- background-color: #F7F7F7;
88
- }
89
-
90
- &-active {
91
- background: rgb(var(--main));;
92
- color: white;
93
- &:hover {
94
- background: rgb(var(--main));;
95
- color: rgba(255,255,255,0.75);
96
-
97
- }
98
- }
99
-
100
-
101
-
102
-
103
- &-filter {
104
- height: 2.5rem;
105
-
106
- padding: 0;
107
- border-radius: 0.5rem;
108
- font-size: 1.125rem;
109
-
110
- background: rgba(var(--dark), 1);;
111
- background: white;
112
- }
113
-
114
- &-disabled {
115
- color: rgba(0,0,0,0.5);
116
-
117
- &:hover {
118
- color: rgba(0,0,0,0.5);
119
- }
120
- &:active {
121
- pointer-events: none;
122
- transform: scale(1,1);
123
- }
124
- }
125
- &-active {
126
- background: rgb(var(--main));;
127
- color: white;
128
- &:hover {
129
- background: rgb(var(--main));;
130
- color: rgba(255,255,255,0.75);
131
-
132
- }
133
- }
134
- &-reset-filter {
135
- width: 100%;
136
- text-transform: uppecase;
137
- height: 3.75rem;
138
-
139
- background: transparent;
140
-
141
- &:hover {
142
- background: rgb(var(--main));;
143
- color: black;
144
-
145
- }
146
- }
147
-
148
- &-icon {
149
- height: 1rem; width: 1rem; background: transparent; img { width: 100%; height: 100%}
150
- background: transparent;
151
- box-shadow: none;
152
- border-radius: 0;
153
- padding: 0;
154
-
155
- &:hover {
156
- cursor: pointer;
157
- }
158
- }
159
-
160
-
161
- &-link {
162
- color: rgba(0, 0, 0, 0.5);
163
- font-size: 1.125rem;
164
- display: flex;
165
- align-items: center;
166
- font-weight: 600;
167
-
168
- &-blue {color: #2495FF;}
169
-
170
- &-black{color: rgba(0, 0, 0, 0.5);}
171
-
172
- &-cream {color: #DBADAA; text-align: left; font-weight: 600; letter-spacing: 0;}
173
-
174
- }
175
-
176
- &-otr-link {
177
- display: inline-flex;
178
- margin-top: 0.25rem;
179
- align-items: center;
180
- color: #000;
181
-
182
- img { margin-right: 0.5rem;}
183
- }
184
-
185
- &-cart {
186
- display: inline-flex;
187
- color: #000;
188
- height: 3rem;
189
- width: 3rem;
190
- font-weight: 700;
191
- width: fit-content;
192
- font-size: 1.5rem;
193
- background: rgb(var(--main));;
194
- background: #FAF7F3;
195
- text-transform: none;
196
- padding: 0.75rem 1rem;
197
- border-radius: 4rem;
198
-
199
- &:hover {
200
- background: rgb(var(--main));;
201
- color: white;
202
- opacity: 1;
203
-
204
- cursor: pointer;
205
- }
206
- }
207
-
208
- &-cart-big {
209
- display: inline-flex;
210
- color: #000;
211
- font-weight: 700;
212
- width: fit-content;
213
- background: #FFE500;
214
- text-transform: none;
215
- font-size: 2rme;
216
- padding: 1.5rem 2rem;
217
- border-radius: 2rem;
218
- }
219
-
220
- &-blog {
221
- padding: 0.75rem 1rem;
222
- background-color: #2495FF;
223
- color: #fff;
224
- border-radius: 0.375rem;
225
- font-size: 1.125rem;
226
- text-transform: uppercase;
227
- width: fit-content;
228
- }
229
-
230
- &-nav-footer{
231
- color: #000;
232
- font-size: 0.875rem;
233
- font-weight: 700; display: flex;
234
- align-items: center;
235
- svg {margin-right: 0.5rem;}}
236
-
237
- &-inst {
238
- background: radial-gradient(179.06% 43.44% at -16.75% 7.2%, #3771C8 0%, #3771C8 12.8%, rgba(102, 0, 255, 0) 100%),
239
- radial-gradient(92.18% 99.11% at 26.56% 107.7%, #FFDD55 0%, #FFDD55 10%, #FF543E 50%, #C837AB 100%);
240
- color: white;
241
- font-size: 1.125rem;
242
- font-weight: 700;
243
- text-transform: uppercase;
244
- padding: 0.75rem 0.75rem;
245
- border-radius: 0.5625rem;
246
- display: flex;
247
- align-items: center;
248
- justify-content: center;
249
- width: fit-content;
250
- box-shadow: 4px 4px 24px -12px rgba(201, 163, 163, 0.5);
251
- img {margin-right: 0.5rem}
252
- }
253
- }