@ozdao/prometheus-framework 0.2.30 → 0.2.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/addMembersQuantity-3505b6f3.mjs +98 -0
- package/dist/addMembersQuantity-fb552ca0.js +97 -0
- package/dist/auth.server.js +6 -9
- package/dist/auth.server.mjs +6 -9
- package/dist/community.server.js +28 -21
- package/dist/community.server.mjs +28 -21
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +114 -111
- package/dist/files.server.mjs +114 -111
- package/dist/gallery.server.js +3 -3
- package/dist/gallery.server.mjs +3 -3
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/index-a8dffc0c.js +213 -0
- package/dist/index-d769324d.mjs +214 -0
- package/dist/mailing-37c2ba41.mjs +68 -0
- package/dist/mailing-fe16a26a.js +67 -0
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/organizations.server.js +125 -25
- package/dist/organizations.server.mjs +125 -25
- package/dist/prometheus-framework.cjs.js +30 -29
- package/dist/prometheus-framework.es.js +2478 -2282
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/users.server.js +1 -1
- package/dist/users.server.mjs +1 -1
- package/package.json +4 -2
- package/src/assets/images/logo.svg +7 -7
- package/src/components/Block/Block.vue +77 -0
- package/src/components/Breadcrumbs/Breadcrumbs.vue +2 -2
- package/src/components/Button/Button.vue +32 -227
- package/src/components/Checkbox/Checkbox.vue +1 -1
- package/src/components/Chips/Chips.vue +8 -8
- package/src/components/DatePicker/DatePicker.vue +3 -4
- package/src/components/EditImages/EditImages.vue +32 -14
- package/src/{modules/globals/components/sections → components/Feed}/Feed.vue +60 -45
- package/src/components/FieldBig/FieldBig.vue +16 -5
- package/src/components/FieldPhone/FieldPhone.vue +2 -1
- package/src/components/Footer/Footer.vue +36 -27
- package/src/components/Header/Header.vue +161 -166
- package/src/components/Loader/Loader.vue +9 -2
- package/src/components/LocationMarker/LocationMarker.vue +38 -12
- package/src/components/LocationSelection/LocationSelection.vue +67 -75
- package/src/components/Magnifier/Magnifier.vue +3 -3
- package/src/components/Navigation/Navigation.vue +16 -16
- package/src/components/Popup/Popup.vue +8 -6
- package/src/components/Select/Select.vue +35 -6
- package/src/components/SelectMulti/SelectMulti.vue +5 -13
- package/src/components/Shader/Shader.vue +128 -0
- package/src/components/Sidebar/Sidebar.vue +71 -35
- package/src/components/Spoiler/Spoiler.vue +1 -1
- package/src/components/Tab/Tab.vue +1 -1
- package/src/components/Tooltip/Tooltip.vue +1 -1
- package/src/components/UploadImage/UploadImage.vue +4 -4
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +54 -10
- package/src/modules/applications/controllers/applications.controller.js +0 -1
- package/src/modules/auth/components/pages/EnterCode.vue +1 -1
- package/src/modules/auth/components/pages/EnterPassword.vue +3 -3
- package/src/modules/auth/components/pages/ResetPassword.vue +1 -2
- package/src/modules/auth/components/pages/SignIn.vue +26 -10
- package/src/modules/auth/components/pages/SignUp.vue +1 -2
- package/src/modules/auth/controllers/twofa.controller.js +4 -4
- package/src/modules/auth/localization/EnterCode.json +2 -2
- package/src/modules/auth/localization/EnterPassword.json +2 -2
- package/src/modules/auth/localization/ResetPassword.json +2 -2
- package/src/modules/auth/localization/SignIn.json +3 -3
- package/src/modules/auth/localization/SignUp.json +3 -3
- package/src/modules/auth/utils/server/verifyAppleIdToken.js +0 -1
- package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +171 -120
- package/src/modules/backoffice/router/backoffice.js +119 -129
- package/src/modules/chats/components/blocks/ChatMessage.vue +25 -0
- package/src/modules/chats/components/pages/ChatPage.vue +50 -0
- package/src/modules/chats/components/sections/ChatWindow.vue +38 -0
- package/src/modules/chats/controllers/chats.controller.js +32 -0
- package/src/modules/chats/models/chat.model.js +26 -0
- package/src/modules/chats/routes/chats.routes.js +53 -0
- package/src/modules/chats/store/chat.store.js +61 -0
- package/src/modules/community/components/blocks/CardBlogpost.vue +19 -4
- package/src/modules/community/components/layouts/Community.vue +96 -39
- package/src/modules/community/components/pages/Blog.vue +4 -3
- package/src/modules/community/components/pages/BlogPost.vue +10 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +36 -17
- package/src/modules/community/components/sections/HotPosts.vue +3 -3
- package/src/modules/community/components/sections/JoinUs.vue +19 -13
- package/src/modules/community/controllers/blog.controller.js +3 -4
- package/src/modules/community/controllers/utils/queryProcessor.js +16 -17
- package/src/modules/community/models/blogpost.model.js +6 -3
- package/src/modules/community/store/blogposts.js +1 -0
- package/src/modules/constructor/components/elements/Embed.vue +12 -1
- package/src/modules/constructor/components/elements/ImageUpload.vue +2 -2
- package/src/modules/constructor/components/elements/Textarea.vue +6 -1
- package/src/modules/constructor/components/elements/Video.vue +79 -0
- package/src/modules/constructor/components/elements/VideoPlayer.vue +59 -0
- package/src/modules/constructor/components/elements/Youtube.vue +52 -0
- package/src/modules/constructor/components/sections/Constructor.vue +27 -3
- package/src/modules/events/components/layouts/layoutEvents.vue +7 -28
- package/src/modules/files/controllers/files.controller.js +9 -22
- package/src/modules/files/middlewares/server/index.js +2 -2
- package/src/modules/files/middlewares/server/middlewareBusboy.js +137 -0
- package/src/modules/files/routes/files.routes.js +9 -9
- package/src/modules/globals/localization/vue-i18n.js +8 -1
- package/src/modules/globals/mixins/mixins.js +23 -13
- package/src/modules/globals/router/routerGuards.js +2 -2
- package/src/modules/globals/store/globals.js +86 -9
- package/src/modules/globals/utils/mailing.js +24 -3
- package/src/modules/icons/entities/IconCommunity.vue +4 -4
- package/src/modules/icons/entities/IconEvents.vue +1 -1
- package/src/modules/icons/entities/IconGroups.vue +1 -1
- package/src/modules/icons/entities/IconPrice.vue +5 -0
- package/src/modules/icons/entities/IconProfile.vue +5 -0
- package/src/modules/icons/entities/IconShopcart.vue +5 -0
- package/src/modules/icons/entities/IconTime.vue +5 -0
- package/src/modules/icons/icons.client.js +4 -0
- package/src/modules/icons/labels/LabelAppStore.vue +24 -24
- package/src/modules/icons/labels/LabelGooglePlay.vue +9 -9
- package/src/modules/icons/logos/Logotype.vue +20 -0
- package/src/modules/icons/navigation/IconAdd.vue +17 -0
- package/src/modules/icons/navigation/IconChevronBottom.vue +18 -0
- package/src/modules/icons/navigation/IconChevronRight.vue +3 -3
- package/src/modules/icons/navigation/IconDelete.vue +19 -0
- package/src/modules/icons/navigation/IconMinus.vue +15 -0
- package/src/modules/icons/navigation/IconSearch.vue +17 -0
- package/src/modules/icons/navigation/IconUpload.vue +16 -0
- package/src/modules/icons/placeholders/PlaceholderImage.vue +5 -0
- package/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue +20 -0
- package/src/modules/icons/placeholders/PlaceholderUserpic.vue +4 -18
- package/src/modules/icons/socials/instagram.vue +1 -1
- package/src/modules/icons/socials/line.vue +1 -1
- package/src/modules/icons/socials/reddit.vue +1 -1
- package/src/modules/icons/socials/telegram.vue +1 -1
- package/src/modules/icons/socials/twitter.vue +1 -1
- package/src/modules/icons/socials/youtube.vue +1 -1
- package/src/modules/landing/components/sections/Guide.vue +92 -0
- package/src/modules/landing/components/sections/MobileApp.vue +23 -12
- package/src/modules/marketplace/components/layouts/Marketplace.vue +76 -188
- package/src/modules/marketplace/components/pages/Catalog.vue +65 -119
- package/src/modules/marketplace/components/sections/Filters.vue +195 -0
- package/src/modules/marketplace/store/marketplace.js +2 -2
- package/src/modules/middlewares/client/auth.validation.js +0 -6
- package/src/modules/middlewares/client/states.validation.js +2 -8
- package/src/modules/middlewares/server/authJwt.js +1 -1
- package/src/modules/mobile/components/Menu/MenuItem.vue +3 -6
- package/src/modules/openai/controllers/openai.controller.js +0 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +166 -0
- package/src/modules/orders/components/blocks/CardOrderItem.vue +59 -66
- package/src/modules/orders/components/blocks/Positions.vue +4 -4
- package/src/modules/orders/components/pages/EditOrder.vue +78 -142
- package/src/modules/orders/components/pages/FormOrder.vue +192 -0
- package/src/modules/orders/components/pages/Order.vue +326 -120
- package/src/modules/orders/components/pages/Orders.vue +13 -9
- package/src/modules/orders/components/pages/{ViewOrder.vue → Orders_refact.vue} +13 -10
- package/src/modules/orders/components/partials/ShopCart.vue +22 -13
- package/src/modules/orders/components/sections/EmptyState.vue +1 -1
- package/src/modules/orders/components/sections/{Form.vue → FormOrderDetails.vue} +38 -106
- package/src/modules/orders/controllers/orders.controller.js +37 -28
- package/src/modules/orders/models/order.model.js +39 -9
- package/src/modules/orders/router/orders.router.js +23 -2
- package/src/modules/orders/routes/orders.routes.js +14 -17
- package/src/modules/orders/store/orders.js +24 -9
- package/src/modules/orders/store/shopcart.js +20 -19
- package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +98 -46
- package/src/modules/organizations/components/blocks/Rating.vue +1 -1
- package/src/modules/organizations/components/blocks/Socials.vue +11 -3
- package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +4 -4
- package/src/modules/organizations/components/pages/Members.vue +6 -4
- package/src/modules/organizations/components/pages/Organization.vue +120 -49
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +8 -1
- package/src/modules/organizations/components/pages/Organizations.vue +27 -6
- package/src/modules/organizations/components/sections/DetailsTab.vue +11 -9
- package/src/modules/organizations/components/sections/Feed.vue +0 -3
- package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
- package/src/modules/organizations/controllers/organizations.controller.js +126 -15
- package/src/modules/organizations/controllers/utils/addMembersQuantity.js +19 -9
- package/src/modules/organizations/models/organization.model.js +5 -2
- package/src/modules/organizations/router/members.router.js +1 -3
- package/src/modules/organizations/router/organizations.js +8 -6
- package/src/modules/organizations/router/products.router.js +36 -2
- package/src/modules/organizations/store/organizations.js +38 -84
- package/src/modules/pages/controllers/pages.controller.js +0 -4
- package/src/modules/payments/controller/payments.controller.js +1 -1
- package/src/modules/products/components/blocks/CardLeftover.vue +17 -22
- package/src/modules/products/components/blocks/CardPosition.vue +96 -49
- package/src/modules/products/components/blocks/CardProduct.vue +24 -53
- package/src/modules/products/components/blocks/Images360.vue +4 -4
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +2 -7
- package/src/modules/products/components/blocks/ListPositions.vue +74 -0
- package/src/modules/products/components/elements/Price.vue +11 -5
- package/src/modules/products/components/elements/THC.vue +6 -6
- package/src/modules/products/components/pages/{LeftoverAdd.vue → EditLeftover.vue} +93 -79
- package/src/modules/products/components/pages/Leftovers.vue +74 -70
- package/src/modules/products/components/pages/Product.vue +4 -7
- package/src/modules/products/components/pages/ProductEdit.vue +230 -88
- package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +6 -3
- package/src/modules/products/components/pages/ProductsBackoffice.vue +3 -5
- package/src/modules/products/components/sections/EditModifications.vue +3 -3
- package/src/modules/products/components/sections/EditProductInfo.vue +40 -50
- package/src/modules/products/components/sections/FilterProducts.vue +57 -18
- package/src/modules/products/components/sections/HeroRecommendation.vue +233 -99
- package/src/modules/products/components/sections/MenuSection.vue +127 -0
- package/src/modules/products/components/sections/PopularProducts.vue +81 -37
- package/src/modules/products/components/sections/SectionProduct.vue +21 -23
- package/src/modules/products/controllers/leftovers.controller.js +11 -1
- package/src/modules/products/controllers/products.controller.js +100 -97
- package/src/modules/products/models/leftover.model.js +6 -4
- package/src/modules/products/models/product.model.js +13 -1
- package/src/modules/products/routes/products.routes.js +4 -4
- package/src/modules/products/store/leftovers.js +4 -24
- package/src/modules/products/store/products.js +44 -30
- package/src/modules/spots/components/blocks/CardSpot.vue +43 -72
- package/src/modules/spots/components/layouts/Spots.vue +9 -91
- package/src/modules/spots/components/pages/Map.vue +171 -62
- package/src/modules/spots/components/pages/Spot.vue +1 -1
- package/src/modules/spots/components/pages/SpotEdit.vue +131 -174
- package/src/modules/spots/controllers/spots.controller.js +1 -0
- package/src/modules/spots/models/spot.model.js +6 -3
- package/src/modules/spots/store/spots.js +42 -48
- package/src/modules/users/components/pages/Profile.vue +6 -28
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +1 -1
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/components/pages/ProfileOrganizations.vue +1 -1
- package/src/modules/users/router/users.js +1 -1
- package/src/modules/wallet/components/pages/Wallet.vue +105 -109
- package/src/modules/wallet/controllers/crypto.controller.js +129 -0
- package/src/modules/wallet/models/reward.model.js +53 -0
- package/src/modules/wallet/routes/crypto.routes.js +36 -0
- package/src/modules/wallet/store/wallet.js +52 -49
- package/src/styles/base/all.scss +143 -11
- package/src/styles/base/backgrounds.scss +2 -34
- package/src/styles/base/borders.scss +18 -23
- package/src/styles/base/scrolling.scss +97 -29
- package/src/styles/base/{shadows.scss → shadow_transitions_hover_refactor.scss} +55 -2
- package/src/styles/config.scss +69 -17
- package/src/styles/layout.scss +12 -182
- package/src/styles/reset.scss +20 -21
- package/src/styles/responsive.scss +4 -67
- package/src/styles/theme.scss +3 -4
- package/src/styles/typography.scss +15 -17
- package/src/assets/fonts/AvenirNext-Bold.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-DemiBold.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Heavy.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Medium.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Regular.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-UltraLight.woff2 +0 -0
- package/src/modules/files/middlewares/server/md.js +0 -152
- package/src/modules/files/middlewares/server/middlewareMulter.js +0 -121
- package/src/modules/organizations/controllers/organizations.new.controller.js +0 -372
- package/src/modules/products/components/blocks/EditCategories.vue +0 -68
- package/src/modules/products/components/sections/EditParameters.vue +0 -58
- package/src/modules/products/components/sections/EditProductImages.vue +0 -67
- package/src/modules/spots/components/sections/Feed.vue +0 -64
- package/src/styles/base/border-radius.scss +0 -47
- package/src/styles/base/cursors.scss +0 -23
- package/src/styles/base/height.scss +0 -60
- package/src/styles/base/hovers.scss +0 -110
- package/src/styles/base/positions.scss +0 -192
- package/src/styles/base/transitions.scss +0 -137
- package/src/styles/base/width.scss +0 -2
- package/src/styles/components/block.scss +0 -18
- package/src/styles/components/breadcrumbs.scss +0 -0
- package/src/styles/components/input.scss +0 -319
package/src/styles/base/all.scss
CHANGED
@@ -1,15 +1,39 @@
|
|
1
1
|
@import './backgrounds';
|
2
2
|
@import './borders';
|
3
|
-
@import './border-radius';
|
4
|
-
@import './cursors';
|
5
|
-
@import './hovers';
|
6
|
-
@import './positions';
|
7
3
|
@import './scrolling';
|
8
|
-
@import './
|
9
|
-
|
4
|
+
@import './shadow_transitions_hover_refactor';
|
5
|
+
|
6
|
+
*[disabled] {
|
7
|
+
opacity: 0.75;
|
8
|
+
pointer-events: none;
|
9
|
+
cursor: default;
|
10
|
+
}
|
11
|
+
|
12
|
+
.disabled {
|
13
|
+
opacity: 0.75;
|
14
|
+
pointer-events: none;
|
15
|
+
cursor: default;
|
16
|
+
}
|
17
|
+
|
18
|
+
.unactive { opacity: 0.0; }
|
19
|
+
.hide { display: block; position: absolute; opacity: 0; pointer-events: none; }
|
20
|
+
|
21
|
+
.t-truncate {
|
22
|
+
overflow: hidden; /* Скрывает все, что выходит за пределы блока */
|
23
|
+
text-overflow: ellipsis; /* Добавляет многоточие, если текст обрезается */
|
24
|
+
display: -webkit-box; /* Устанавливает элемент как блочный контейнер */
|
25
|
+
-webkit-line-clamp: 1; /* Ограничивает количество строк до 3 */
|
26
|
+
-webkit-box-orient: vertical; /* Устанавливает вертикальное направление расположения строк */
|
27
|
+
}
|
28
|
+
|
29
|
+
.t-trimmed {
|
30
|
+
overflow: hidden; /* Скрывает все, что выходит за пределы блока */
|
31
|
+
text-overflow: ellipsis clip;
|
32
|
+
display: -webkit-box; /* Устанавливает элемент как блочный контейнер */
|
33
|
+
-webkit-line-clamp: 1; /* Ограничивает количество строк до 3 */
|
34
|
+
-webkit-box-orient: vertical; /* Устанавливает вертикальное направление расположения строк */
|
35
|
+
}
|
10
36
|
|
11
|
-
// GENERIC NEED TO CREATE GENERATOR
|
12
|
-
@import './height';
|
13
37
|
|
14
38
|
body {
|
15
39
|
.w-auto { width: auto !important; }
|
@@ -36,6 +60,40 @@ body {
|
|
36
60
|
.w-m-2r { width: min(100%, 2rem); }
|
37
61
|
}
|
38
62
|
|
63
|
+
body {
|
64
|
+
.rotate-90 {
|
65
|
+
transform: rotate(90deg)
|
66
|
+
}
|
67
|
+
|
68
|
+
.rotate-180 {
|
69
|
+
transform: rotate(180deg)
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
body {
|
74
|
+
.cursor-pointer {cursor: pointer; }
|
75
|
+
.cursor-move {cursor: move; }
|
76
|
+
.cursor-text {cursor: text; }
|
77
|
+
.cursor-help {cursor: help; }
|
78
|
+
.cursor-wait {cursor: wait; }
|
79
|
+
.cursor-crosshair {cursor: crosshair; }
|
80
|
+
.cursor-not-allowed {cursor: not-allowed; }
|
81
|
+
.cursor-grab {cursor: grab; }
|
82
|
+
.cursor-grabbing {cursor: grabbing; }
|
83
|
+
|
84
|
+
.cursor-ns-resize {cursor: ns-resize; }
|
85
|
+
.cursor-ew-resize {cursor: ew-resize; }
|
86
|
+
.cursor-ne-resize {cursor: ne-resize; }
|
87
|
+
.cursor-nw-resize {cursor: nw-resize; }
|
88
|
+
.cursor-se-resize {cursor: se-resize; }
|
89
|
+
.cursor-sw-resize {cursor: sw-resize; }
|
90
|
+
|
91
|
+
.cursor-n-resize {cursor: n-resize; }
|
92
|
+
.cursor-e-resize {cursor: e-resize; }
|
93
|
+
.cursor-s-resize {cursor: s-resize; }
|
94
|
+
.cursor-w-resize {cursor: w-resize; }
|
95
|
+
}
|
96
|
+
|
39
97
|
body {
|
40
98
|
// Text Brands
|
41
99
|
.t-youtube { color: rgba(var(--youtube), 1); }
|
@@ -92,6 +150,13 @@ body {
|
|
92
150
|
// ////////////////////////////////////////
|
93
151
|
// Layout
|
94
152
|
// ////////////////////////////////////////
|
153
|
+
// Positions
|
154
|
+
.pos-relative { position: relative; }
|
155
|
+
.pos-absolute { position: absolute; }
|
156
|
+
.pos-fixed { position: fixed; }
|
157
|
+
.pos-sticky { position: sticky; }
|
158
|
+
.pos-static { position: static; }
|
159
|
+
// Overflow
|
95
160
|
.o-hidden {overflow: hidden; }
|
96
161
|
.o-scroll {overflow: scroll; }
|
97
162
|
.o-y-scroll {overflow-y: scroll; }
|
@@ -102,12 +167,10 @@ body {
|
|
102
167
|
.d-flex {display: flex; }
|
103
168
|
.d-block {display: block; }
|
104
169
|
.d-inline-block {display: inline-block; }
|
105
|
-
.d-grid {display: grid; }
|
170
|
+
.d-grid {display: grid; }
|
106
171
|
// Flex
|
107
172
|
.flex {
|
108
173
|
display: flex;
|
109
|
-
position: relative;
|
110
|
-
flex-wrap: wrap;
|
111
174
|
&-row { flex-direction: row; }
|
112
175
|
&-column { flex-direction: column; }
|
113
176
|
&-h-center { justify-content: center; }
|
@@ -155,9 +218,78 @@ body {
|
|
155
218
|
&-order-last { order: 9999; }
|
156
219
|
}
|
157
220
|
|
221
|
+
.grid {
|
222
|
+
display: grid;
|
223
|
+
}
|
224
|
+
|
225
|
+
.cols {
|
226
|
+
grid-template-columns: repeat(var(--cols), 1fr);
|
227
|
+
}
|
228
|
+
|
229
|
+
.col-1-1fr {
|
230
|
+
--col-width: 1fr;
|
231
|
+
}
|
232
|
+
|
233
|
+
.col-2-1fr {
|
234
|
+
--col-width: 1fr;
|
235
|
+
}
|
236
|
+
|
237
|
+
.col-3-1fr {
|
238
|
+
--col-width: 1fr;
|
239
|
+
}
|
240
|
+
|
241
|
+
.col-1-2fr {
|
242
|
+
--col-width: 2fr;
|
243
|
+
}
|
244
|
+
|
245
|
+
.col-2-2fr {
|
246
|
+
--col-width: 2fr;
|
247
|
+
}
|
248
|
+
|
249
|
+
.col-3-2fr {
|
250
|
+
--col-width: 2fr;
|
251
|
+
}
|
252
|
+
|
253
|
+
.col-1-3fr {
|
254
|
+
--col-width: 3fr;
|
255
|
+
}
|
256
|
+
|
257
|
+
.col-2-3fr {
|
258
|
+
--col-width: 3fr;
|
259
|
+
}
|
260
|
+
|
261
|
+
.col-3-3fr {
|
262
|
+
--col-width: 3fr;
|
263
|
+
}
|
264
|
+
|
265
|
+
.cols-1 {
|
266
|
+
--cols: 1;
|
267
|
+
}
|
268
|
+
|
269
|
+
.cols-2 {
|
270
|
+
--cols: 2;
|
271
|
+
}
|
272
|
+
|
273
|
+
.cols-3 {
|
274
|
+
--cols: 3;
|
275
|
+
}
|
276
|
+
|
277
|
+
.cols-1 .col {
|
278
|
+
width: var(--col-width);
|
279
|
+
}
|
280
|
+
|
281
|
+
.cols-2 .col {
|
282
|
+
width: var(--col-width);
|
283
|
+
}
|
284
|
+
|
285
|
+
.cols-3 .col {
|
286
|
+
width: var(--col-width);
|
287
|
+
}
|
288
|
+
|
158
289
|
// COLUMNS AND ROWS
|
159
290
|
.cols-1 {display: grid; grid-template-columns: 1fr; }
|
160
291
|
.cols-2 {display: grid; grid-template-columns: 1fr 1fr; }
|
292
|
+
.cols-2-fit-content {display: grid; grid-template-columns: fit-content(100%) 1fr; }
|
161
293
|
.cols-3 {display: grid; grid-template-columns: 1fr 1fr 1fr; }
|
162
294
|
.cols-4 {display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; }
|
163
295
|
.cols-5 {display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
|
@@ -1,36 +1,4 @@
|
|
1
1
|
body {
|
2
|
-
@mixin generate-bg-classes($base-class-name, $base-var-name) {
|
3
|
-
.#{$base-class-name} { background: rgb(var(--#{$base-var-name})); }
|
4
|
-
.#{$base-class-name}-extra { background: var(--#{$base-var-name}-extra); }
|
5
|
-
.#{$base-class-name}-big { background: var(--#{$base-var-name}-big); }
|
6
|
-
.#{$base-class-name}-semi { background: var(--#{$base-var-name}-semi); }
|
7
|
-
.#{$base-class-name}-medium { background: var(--#{$base-var-name}-medium); }
|
8
|
-
.#{$base-class-name}-regular { background: var(--#{$base-var-name}-regular);}
|
9
|
-
.#{$base-class-name}-small { background: var(--#{$base-var-name}-small); }
|
10
|
-
.#{$base-class-name}-thin { background: var(--#{$base-var-name}-thin); }
|
11
|
-
.#{$base-class-name}-micro { background: var(--#{$base-var-name}-micro); }
|
12
|
-
.#{$base-class-name}-nano { background: var(--#{$base-var-name}-nano); }
|
13
|
-
|
14
|
-
@for $i from 1 through 20 {
|
15
|
-
$percentage: $i * 5;
|
16
|
-
|
17
|
-
.#{$base-class-name}-transp-#{$percentage} {
|
18
|
-
background: rgba(var(--#{$base-var-name}), $percentage * 0.01);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
@include generate-bg-classes('bg-main', 'main');
|
24
|
-
@include generate-bg-classes('bg-second', 'second');
|
25
|
-
@include generate-bg-classes('bg-third', 'third');
|
26
|
-
@include generate-bg-classes('bg-fourth', 'fourth');
|
27
|
-
@include generate-bg-classes('bg-fifth', 'fifth');
|
28
|
-
|
29
|
-
@include generate-bg-classes('bg-black', 'black');
|
30
|
-
@include generate-bg-classes('bg-dark', 'dark');
|
31
|
-
@include generate-bg-classes('bg-grey', 'grey');
|
32
|
-
@include generate-bg-classes('bg-light', 'light');
|
33
|
-
@include generate-bg-classes('bg-white', 'white');
|
34
2
|
// Colors
|
35
3
|
.bg-red { background: rgb(var(--red)); }
|
36
4
|
.bg-red-nice { background: rgb(var(--red-nice)); }
|
@@ -48,10 +16,10 @@ body {
|
|
48
16
|
.bg-instagram { background: rgba(var(--instagram), 1); }
|
49
17
|
// BG Blur
|
50
18
|
.bg-blur-extra { backdrop-filter: blur(var(--extra)) }
|
51
|
-
.bg-blur-big
|
19
|
+
.bg-blur-big { backdrop-filter: blur(var(--big)) }
|
52
20
|
.bg-blur-semi { backdrop-filter: blur(var(--semi)) }
|
53
21
|
.bg-blur-medium { backdrop-filter: blur(var(--medium)) }
|
54
|
-
.bg-blur-regular { backdrop-filter: blur(var(--regular))
|
22
|
+
.bg-blur-regular { backdrop-filter: blur(var(--regular)) }
|
55
23
|
.bg-blur-small { backdrop-filter: blur(var(--small)) }
|
56
24
|
.bg-blur-thin { backdrop-filter: blur(var(--thin)) }
|
57
25
|
// Other
|
@@ -73,10 +73,7 @@ body {
|
|
73
73
|
/* Inset borders */
|
74
74
|
.br-inset-2px-black { box-shadow: inset 0 0 0 2px rgba(var(--black),1); }
|
75
75
|
// Border anim
|
76
|
-
.br-anim {
|
77
|
-
border-style: dashed;
|
78
|
-
animation: dash-animation 1s linear infinite;
|
79
|
-
}
|
76
|
+
.br-anim { border-style: dashed; animation: dash-animation 1s linear infinite;}
|
80
77
|
|
81
78
|
@keyframes dash-animation {
|
82
79
|
0% {
|
@@ -93,10 +90,25 @@ body {
|
|
93
90
|
}
|
94
91
|
|
95
92
|
.br-glow {
|
96
|
-
border: 2px solid
|
97
|
-
box-shadow: 0px 0px 5px
|
93
|
+
border: 2px solid rgb(var(--white));
|
94
|
+
box-shadow: 0px 0px 5px rgb(var(--white)), 0px 0px 10px rgb(var(--white)), 0px 0px 15px rgb(var(--white));
|
95
|
+
}
|
96
|
+
|
97
|
+
.br-glow-animation {
|
98
|
+
animation: glow-animation 2s ease-in-out infinite;
|
98
99
|
}
|
99
100
|
|
101
|
+
@keyframes glow-animation {
|
102
|
+
0%, 100% {
|
103
|
+
box-shadow: 0px 0px 5px rgba(var(--white), 0.5), 0px 0px 10px rgba(var(--white), 0.5), 0px 0px 15px rgba(var(--white), 0.5);
|
104
|
+
}
|
105
|
+
50% {
|
106
|
+
box-shadow: 0px 0px 10px rgba(var(--white), 1), 0px 0px 20px rgba(var(--white), 1), 0px 0px 30px rgba(var(--white), 1);
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
|
111
|
+
|
100
112
|
.br-double-line {
|
101
113
|
border: double 4px #ffffff;
|
102
114
|
box-shadow: 10px 10px 30px #d1d1d1, -10px -10px 30px #ffffff;
|
@@ -139,23 +151,6 @@ body {
|
|
139
151
|
box-shadow: 10px 10px 30px #d1d1d1, -10px -10px 30px #ffffff;
|
140
152
|
}
|
141
153
|
|
142
|
-
.br-glow-animation {
|
143
|
-
border: 2px solid #00ff00;
|
144
|
-
animation: glow 2s linear infinite;
|
145
|
-
}
|
146
|
-
|
147
|
-
@keyframes glow {
|
148
|
-
0% {
|
149
|
-
box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff00;
|
150
|
-
}
|
151
|
-
50% {
|
152
|
-
box-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff00, 0 0 50px #00ff00;
|
153
|
-
}
|
154
|
-
100% {
|
155
|
-
box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff00;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
|
159
154
|
.br-border-flip {
|
160
155
|
border: 2px solid #ffffff;
|
161
156
|
animation: border-flip 3s linear infinite;
|
@@ -1,24 +1,16 @@
|
|
1
1
|
body {
|
2
|
-
.scroll-snap-type-x-mandatory { scroll-snap-type: x mandatory; }
|
3
|
-
.scroll-snap-type-y-mandatory { scroll-snap-type: y mandatory; }
|
4
|
-
// Scroll pd
|
5
|
-
.scroll-pd-auto { scroll-padding: auto; }
|
6
|
-
.scroll-pd-top-auto { scroll-pd-top: auto; }
|
7
|
-
.scroll-pd-right-auto { scroll-pd-right: auto; }
|
8
|
-
.scroll-pd-bottom-auto { scroll-pd-bottom: auto; }
|
9
|
-
.scroll-pd-left-auto { scroll-pd-left: auto; }
|
10
|
-
// Scroll mn
|
11
|
-
.scroll-mn-auto { scroll-margin: auto; }
|
12
|
-
.scroll-mn-top-auto { scroll-mn-top: auto; }
|
13
|
-
.scroll-mn-right-auto { scroll-mn-right: auto; }
|
14
|
-
.scroll-mn-bottom-auto { scroll-mn-bottom: auto; }
|
15
|
-
.scroll-mn-left-auto { scroll-mn-left: auto; }
|
16
2
|
// Overflow Anchor
|
17
3
|
.overflow-anchor-auto { overflow-anchor: auto; }
|
18
4
|
.overflow-anchor-none { overflow-anchor: none; }
|
19
|
-
//
|
20
|
-
.
|
21
|
-
.
|
5
|
+
// Overscroll Behavior
|
6
|
+
.overscroll-behavior-auto { overscroll-behavior: auto; }
|
7
|
+
.overscroll-behavior-contain { overscroll-behavior: contain; }
|
8
|
+
.overscroll-behavior-none { overscroll-behavior: none; }
|
9
|
+
.overscroll-behavior-x-auto { overscroll-behavior-x: auto; }
|
10
|
+
.overscroll-behavior-y-auto { overscroll-behavior-y: auto; }
|
11
|
+
// Scroll
|
12
|
+
.scroll-snap-type-x-mandatory { scroll-snap-type: x mandatory; }
|
13
|
+
.scroll-snap-type-y-mandatory { scroll-snap-type: y mandatory; }
|
22
14
|
// Scroll Snap Align
|
23
15
|
.scroll-snap-align-start { scroll-snap-align: start; }
|
24
16
|
.scroll-snap-align-end { scroll-snap-align: end; }
|
@@ -26,18 +18,16 @@ body {
|
|
26
18
|
// Scroll Snap Stop
|
27
19
|
.scroll-snap-stop-normal { scroll-snap-stop: normal; }
|
28
20
|
.scroll-snap-stop-always { scroll-snap-stop: always; }
|
29
|
-
//
|
30
|
-
.
|
31
|
-
.
|
32
|
-
|
33
|
-
.
|
34
|
-
.
|
35
|
-
|
36
|
-
.
|
37
|
-
|
38
|
-
|
39
|
-
.scrollbar-width-thin { scrollbar-width: thin; }
|
40
|
-
.scrollbar-width-none { scrollbar-width: none; }
|
21
|
+
// Scroll Behavior
|
22
|
+
.scroll-behavior-auto { scroll-behavior: auto; }
|
23
|
+
.scroll-behavior-smooth { scroll-behavior: smooth; }
|
24
|
+
// Scroll mn
|
25
|
+
.scroll-mn-auto { scroll-margin: auto; }
|
26
|
+
.scroll-mn-top-auto { scroll-mn-top: auto; }
|
27
|
+
.scroll-mn-right-auto { scroll-mn-right: auto; }
|
28
|
+
.scroll-mn-bottom-auto { scroll-mn-bottom: auto; }
|
29
|
+
.scroll-mn-left-auto { scroll-mn-left: auto; }
|
30
|
+
// Scroll mn Variables
|
41
31
|
.scroll-mn-b-extra { scroll-margin: var(--extra); }
|
42
32
|
.scroll-mn-b-big { scroll-margin: var(--big); }
|
43
33
|
.scroll-mn-b-semi { scroll-margin: var(--semi); }
|
@@ -46,6 +36,12 @@ body {
|
|
46
36
|
.scroll-mn-b-small { scroll-margin: var(--small); }
|
47
37
|
.scroll-mn-b-thin { scroll-margin: var(--thin); }
|
48
38
|
.scroll-mn-b-micro { scroll-margin: var(--micro); }
|
39
|
+
// Scroll pd
|
40
|
+
.scroll-pd-auto { scroll-padding: auto; }
|
41
|
+
.scroll-pd-top-auto { scroll-pd-top: auto; }
|
42
|
+
.scroll-pd-right-auto { scroll-pd-right: auto; }
|
43
|
+
.scroll-pd-bottom-auto { scroll-pd-bottom: auto; }
|
44
|
+
.scroll-pd-left-auto { scroll-pd-left: auto; }
|
49
45
|
// Scroll pd with Variables
|
50
46
|
.scroll-pd-extra { scroll-padding: var(--extra); }
|
51
47
|
.scroll-pd-big { scroll-padding: var(--big); }
|
@@ -55,4 +51,76 @@ body {
|
|
55
51
|
.scroll-pd-small { scroll-padding: var(--small); }
|
56
52
|
.scroll-pd-thin { scroll-padding: var(--thin); }
|
57
53
|
.scroll-pd-micro { scroll-padding: var(--micro); }
|
54
|
+
|
55
|
+
.scroll-hide::-webkit-scrollbar {
|
56
|
+
width: 0;
|
57
|
+
height: 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Главный трек scrollbar */
|
61
|
+
.scroll-hide::-webkit-scrollbar-track {
|
62
|
+
background: red;
|
63
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
64
|
+
}
|
65
|
+
|
66
|
+
/* Ползунок scrollbar */
|
67
|
+
.scroll-hide::-webkit-scrollbar-thumb {
|
68
|
+
background-color: red;
|
69
|
+
outline: 1px solid slategrey;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Горизонтальный scrollbar */
|
73
|
+
.scroll-hide::-webkit-scrollbar:horizontal {
|
74
|
+
height: 0;
|
75
|
+
}
|
76
|
+
|
77
|
+
/* Вертикальный scrollbar */
|
78
|
+
.scroll-hide::-webkit-scrollbar:vertical {
|
79
|
+
width: 0;
|
80
|
+
}
|
81
|
+
|
82
|
+
/* Кнопка уменьшения (decrement) */
|
83
|
+
.scroll-hide::-webkit-scrollbar-button:decrement {
|
84
|
+
display: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
/* Кнопка увеличения (increment) */
|
88
|
+
.scroll-hide::-webkit-scrollbar-button:increment {
|
89
|
+
display: none;
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Кнопка уменьшения (decrement) - отдельная */
|
93
|
+
.scroll-hide::-webkit-scrollbar-button:start {
|
94
|
+
display: none;
|
95
|
+
}
|
96
|
+
|
97
|
+
/* Кнопка увеличения (increment) - отдельная */
|
98
|
+
.scroll-hide::-webkit-scrollbar-button:end {
|
99
|
+
display: none;
|
100
|
+
}
|
101
|
+
|
102
|
+
/* Двойная кнопка */
|
103
|
+
.scroll-hide::-webkit-scrollbar-button:double-button {
|
104
|
+
display: none;
|
105
|
+
}
|
106
|
+
|
107
|
+
/* Одиночная кнопка */
|
108
|
+
.scroll-hide::-webkit-scrollbar-button:single-button {
|
109
|
+
display: none;
|
110
|
+
}
|
111
|
+
|
112
|
+
/* Нет кнопок */
|
113
|
+
.scroll-hide::-webkit-scrollbar-button:no-button {
|
114
|
+
display: none;
|
115
|
+
}
|
116
|
+
|
117
|
+
/* Угол scrollbar */
|
118
|
+
.scroll-hide::-webkit-scrollbar-corner:corner-present {
|
119
|
+
background: red;
|
120
|
+
}
|
121
|
+
|
122
|
+
/* scrollbar в неактивном окне */
|
123
|
+
.scroll-hide::-webkit-scrollbar:window-inactive {
|
124
|
+
background: red;
|
125
|
+
}
|
58
126
|
}
|
@@ -1,9 +1,62 @@
|
|
1
1
|
body {
|
2
|
-
|
2
|
+
.hover-scale-0 {&:hover {transform: scale(1.015); } }
|
3
|
+
.hover-scale-1 {&:hover {transform: scale(1.05); } }
|
4
|
+
.hover-scale-2 {&:hover {transform: scale(1.1); } }
|
5
|
+
.hover-scale-3 {&:hover {transform: scale(1.2); } }
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
.hover-bg-main {&:hover {background: rgb(var(--main), 1);; } }
|
10
|
+
.hover-bg-white {&:hover {background: rgb(var(--white), 1);; } }
|
11
|
+
.hover-bg-black {&:hover {background: rgb(var(--black), 1);; } }
|
12
|
+
.hover-t-white {&:hover {color: rgba(var(--white), 1);; } }
|
13
|
+
.hover-t-black {&:hover {color: rgba(var(--black), 1);; } }
|
14
|
+
.hover-br-transp {&:hover {background: rgba(var(--white),0); } }
|
15
|
+
.hover-br-l-dark {&:hover {border: 1px solid rgba(var(--dark), 0.2) } }
|
16
|
+
|
17
|
+
|
18
|
+
.hover-translate-1 {&:hover {transform: translateY(-10px); } }
|
19
|
+
.hover-rotate-1 {&:hover {transform: rotate(-10deg); } }
|
20
|
+
.hover-translateX-1 {&:hover {transform: translateX(20px); } }
|
21
|
+
.hover-combined-1 {&:hover {transform: translateY(-10px) rotate(-10deg); } }
|
22
|
+
.hover-easeInOut-1 {&:hover {transform: translateY(-10px) scale(1.1); } }
|
23
|
+
.hover-arc-1 {&:hover {transform: translateX(20px) translateY(-10px) rotate(-10deg); } }
|
24
|
+
.hover-timing-1 {&:hover {transition: transform 0.2s ease-in-out; transform: translateY(-10px); } }
|
25
|
+
.hover-exaggeration-1 {&:hover {transform: scale(1.5); } }
|
26
|
+
.hover-solid-drawing-1 {&:hover {transform: translateY(-10px) scale(1.1) rotate(-10deg); } }
|
27
|
+
.hover-appeal-1 {&:hover {transform: translateY(-10px) scale(1.1) rotate(-5deg); } }
|
28
|
+
|
29
|
+
.transition-linear {transition: all 0.33s linear; }
|
30
|
+
.transition-ease-in {transition: all 0.33s cubic-bezier(0.42, 0, 1, 1); }
|
31
|
+
.transition-ease-out {transition: all 0.33s cubic-bezier(0, 0, 0.58, 1); }
|
32
|
+
.transition-ease-in-out {transition: all 0.33s cubic-bezier(0.42, 0, 0.58, 1); }
|
33
|
+
.transition-staggered {transition: all 0.33s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
|
34
|
+
.transition-bounce {transition: all 0.33s cubic-bezier(0.71, -0.46, 0.88, 0.6); }
|
35
|
+
.transition-elastic {transition: all 0.33s cubic-bezier(0.17, 0.67, 0.33, 0.94); }
|
36
|
+
.transition-spring {transition: all 0.33s cubic-bezier(0.23, 1, 0.32, 1.01); }
|
37
|
+
.transition-boomerang {transition: all 0.66s cubic-bezier(0.42, 0, 0.58, 1); }
|
38
|
+
.transition-slow-motion {transition: all 1.33s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
|
39
|
+
.transition-zoom {transition: all 0.33s cubic-bezier(0.71, -0.46, 0.88, 0.6); }
|
40
|
+
.transition-fly-away {transition: all 0.33s cubic-bezier(0.17, 0.67, 0.33, 0.94); }
|
41
|
+
.transition-squeeze {transition: all 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000); transform-origin: center; }
|
42
|
+
|
43
|
+
.transition-timing-1 {
|
44
|
+
transition-duration: 0.15s;
|
45
|
+
}
|
46
|
+
.transition-timing-2 {
|
47
|
+
transition-duration: 0.25s;
|
48
|
+
}
|
49
|
+
.transition-timing-3 {
|
50
|
+
transition-duration: 0.35s;
|
51
|
+
}
|
52
|
+
.transition-timing-4 {
|
53
|
+
transition-duration: 0.45s;
|
54
|
+
}
|
55
|
+
|
3
56
|
// Shadows
|
4
57
|
.bs-red { box-shadow: 0 0 5px red; }
|
5
58
|
|
6
|
-
.bs-black { box-shadow: 0
|
59
|
+
.bs-black { box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
|
7
60
|
|
8
61
|
|
9
62
|
.bs-tilt {
|
package/src/styles/config.scss
CHANGED
@@ -11,6 +11,28 @@
|
|
11
11
|
--#{$base-var-name}-nano: color-mix(in srgb, rgb(var(--#{$base-var-name})) 10%, white 80%);
|
12
12
|
}
|
13
13
|
|
14
|
+
@mixin generate-bg-classes($base-class-name, $base-var-name) {
|
15
|
+
.#{$base-class-name} { background: rgb(var(--#{$base-var-name})); }
|
16
|
+
.#{$base-class-name}-extra { background: var(--#{$base-var-name}-extra); }
|
17
|
+
.#{$base-class-name}-big { background: var(--#{$base-var-name}-big); }
|
18
|
+
.#{$base-class-name}-semi { background: var(--#{$base-var-name}-semi); }
|
19
|
+
.#{$base-class-name}-medium { background: var(--#{$base-var-name}-medium); }
|
20
|
+
.#{$base-class-name}-regular{ background: var(--#{$base-var-name}-regular);}
|
21
|
+
.#{$base-class-name}-small { background: var(--#{$base-var-name}-small); }
|
22
|
+
.#{$base-class-name}-thin { background: var(--#{$base-var-name}-thin); }
|
23
|
+
.#{$base-class-name}-micro { background: var(--#{$base-var-name}-micro); }
|
24
|
+
.#{$base-class-name}-nano { background: var(--#{$base-var-name}-nano); }
|
25
|
+
|
26
|
+
@for $i from 1 through 20 {
|
27
|
+
$percentage: $i * 5;
|
28
|
+
|
29
|
+
.#{$base-class-name}-transp-#{$percentage} {
|
30
|
+
background: rgba(var(--#{$base-var-name}), $percentage * 0.01);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
|
14
36
|
@mixin generate-utility-classes($class-name, $css-property, $modifiers, $values) {
|
15
37
|
@each $value-key, $value in $values {
|
16
38
|
// Генерация классов без модификаторов
|
@@ -19,7 +41,7 @@
|
|
19
41
|
}
|
20
42
|
// Генерация отрицательных классов без модификаторов
|
21
43
|
.#{$class-name}-#{$value-key}-negative {
|
22
|
-
#{$css-property}:
|
44
|
+
#{$css-property}: calc(#{$value} * -1);
|
23
45
|
}
|
24
46
|
|
25
47
|
// Генерация классов с модификаторами
|
@@ -30,14 +52,17 @@
|
|
30
52
|
}
|
31
53
|
// Генерация отрицательных классов с модификаторами
|
32
54
|
.#{$class-name}-#{$modifier}-#{$value-key}-negative {
|
33
|
-
#{$css-property}-#{$css-modifier}:
|
55
|
+
#{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
|
34
56
|
}
|
35
57
|
}
|
36
58
|
}
|
37
59
|
}
|
38
60
|
}
|
39
61
|
|
62
|
+
|
40
63
|
:root {
|
64
|
+
// THEME
|
65
|
+
color-scheme: light dark;
|
41
66
|
////////////////////////////////////////
|
42
67
|
// 1.COLORS VARIABLES
|
43
68
|
///////////////////////////////////////
|
@@ -110,7 +135,12 @@
|
|
110
135
|
--xl-desktop-max: 1920px;
|
111
136
|
--xxl-desktop-min: 1921px;
|
112
137
|
}
|
113
|
-
|
138
|
+
$modifiers: (
|
139
|
+
't': 'top',
|
140
|
+
'r': 'right',
|
141
|
+
'b': 'bottom',
|
142
|
+
'l': 'left'
|
143
|
+
);
|
114
144
|
|
115
145
|
$variables: (
|
116
146
|
'extra': var(--extra),
|
@@ -128,6 +158,7 @@ $rem: (
|
|
128
158
|
'50r': 50rem,
|
129
159
|
'30r': 30rem,
|
130
160
|
'20r': 20rem,
|
161
|
+
'15r': 15rem,
|
131
162
|
'10r': 10rem,
|
132
163
|
'8r': 8rem,
|
133
164
|
'5r': 5rem,
|
@@ -155,6 +186,7 @@ $percent: (
|
|
155
186
|
'100': 100%,
|
156
187
|
'80': 80%,
|
157
188
|
'75': 75%,
|
189
|
+
'70': 70%,
|
158
190
|
'66': 66%,
|
159
191
|
'50': 50%,
|
160
192
|
'40': 40%,
|
@@ -163,6 +195,7 @@ $percent: (
|
|
163
195
|
'20': 20%,
|
164
196
|
'15': 15%,
|
165
197
|
'10': 10%,
|
198
|
+
'0': 0%,
|
166
199
|
);
|
167
200
|
|
168
201
|
$base: (
|
@@ -170,23 +203,42 @@ $base: (
|
|
170
203
|
'zero': 0,
|
171
204
|
);
|
172
205
|
|
173
|
-
|
174
|
-
|
175
206
|
$combined: map-merge($vh, $rem);
|
176
207
|
$combined: map-merge($combined, $percent);
|
177
208
|
$combined: map-merge($combined, $variables);
|
178
209
|
$combined: map-merge($combined, $base);
|
179
210
|
|
180
|
-
$modifiers: (
|
181
|
-
't': 'top',
|
182
|
-
'r': 'right',
|
183
|
-
'b': 'bottom',
|
184
|
-
'l': 'left'
|
185
|
-
);
|
186
|
-
|
187
211
|
body {
|
188
|
-
@include generate-utility-classes('pd',
|
189
|
-
@include generate-utility-classes('mn', 'margin',
|
190
|
-
|
191
|
-
@include generate-utility-classes('
|
192
|
-
|
212
|
+
@include generate-utility-classes('pd', 'padding', $modifiers, $combined);
|
213
|
+
@include generate-utility-classes('mn', 'margin', $modifiers, $combined);
|
214
|
+
|
215
|
+
@include generate-utility-classes('w', 'width', null, $combined);
|
216
|
+
@include generate-utility-classes('h', 'height', null, $combined);
|
217
|
+
|
218
|
+
@include generate-utility-classes('pos-t', 'top', null, $combined);
|
219
|
+
@include generate-utility-classes('pos-r', 'right', null, $combined);
|
220
|
+
@include generate-utility-classes('pos-b', 'bottom', null, $combined);
|
221
|
+
@include generate-utility-classes('pos-l', 'left', null, $combined);
|
222
|
+
|
223
|
+
@include generate-utility-classes('h-max', 'max-height', null, $combined);
|
224
|
+
@include generate-utility-classes('h-min', 'min-height', null, $combined);
|
225
|
+
|
226
|
+
@include generate-utility-classes('radius', 'border-radius', null, $combined);
|
227
|
+
|
228
|
+
@include generate-utility-classes('radius-tl', 'border-top-left-radius', null, $combined);
|
229
|
+
@include generate-utility-classes('radius-br', 'border-top-right-radius-radius', null, $combined);
|
230
|
+
@include generate-utility-classes('radius-tr', 'border-bottom-right-radius', null, $combined);
|
231
|
+
@include generate-utility-classes('radius-bl', 'border-bottom-left-radius-radius', null, $combined);
|
232
|
+
|
233
|
+
@include generate-bg-classes('bg-main', 'main');
|
234
|
+
@include generate-bg-classes('bg-second', 'second');
|
235
|
+
@include generate-bg-classes('bg-third', 'third');
|
236
|
+
@include generate-bg-classes('bg-fourth', 'fourth');
|
237
|
+
@include generate-bg-classes('bg-fifth', 'fifth');
|
238
|
+
|
239
|
+
@include generate-bg-classes('bg-black', 'black');
|
240
|
+
@include generate-bg-classes('bg-dark', 'dark');
|
241
|
+
@include generate-bg-classes('bg-grey', 'grey');
|
242
|
+
@include generate-bg-classes('bg-light', 'light');
|
243
|
+
@include generate-bg-classes('bg-white', 'white');
|
244
|
+
}
|