diff --git a/package.json b/package.json
index 2260e4a3..3f30400f 100644
--- a/package.json
+++ b/package.json
@@ -49,7 +49,7 @@
"sass": "^1.42.1",
"sass-loader": "^12.1.0",
"source-map-loader": "^3.0.0",
- "webpack": "^5.54.0",
+ "webpack": "^5.61.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.3.0"
},
diff --git a/src/components/modals/Modals.jsx b/src/components/modals/Modals.jsx
index 2c543304..f093fcc0 100644
--- a/src/components/modals/Modals.jsx
+++ b/src/components/modals/Modals.jsx
@@ -58,6 +58,7 @@ export default class Modals extends PureComponent {
previewWelcome() {
localStorage.setItem('showWelcome', false);
+ localStorage.setItem('welcomePreview', true);
this.setState({
welcomeModal: false,
preview: true
diff --git a/src/components/modals/main/scss/marketplace/_main.scss b/src/components/modals/main/scss/marketplace/_main.scss
index ca55385a..eee052f6 100644
--- a/src/components/modals/main/scss/marketplace/_main.scss
+++ b/src/components/modals/main/scss/marketplace/_main.scss
@@ -14,11 +14,9 @@
height: 80px;
width: 260px;
background: var(--sidebar);
- transition: 0.5s;
cursor: pointer;
margin-right: 20px;
margin-top: 20px;
- box-shadow: 0 0 6px rgb(0 0 0 / 30%);
img {
height: 80px;
@@ -55,7 +53,7 @@
}
&:hover {
- transform: scale(1.1);
+ background: var(--tab-active);
}
}
}
diff --git a/src/components/modals/main/scss/modules/_navbar.scss b/src/components/modals/main/scss/modules/_navbar.scss
index c0c6f5bd..8a7cf0cf 100644
--- a/src/components/modals/main/scss/modules/_navbar.scss
+++ b/src/components/modals/main/scss/modules/_navbar.scss
@@ -1,11 +1,17 @@
.navbar-item {
font-size: 22px;
font-weight: 500;
- display: inline-flex;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ color: var(--photo-info);
&:hover {
- color: grey;
- background: none;
+ svg {
+ background: var(--tab-active);
+ }
+
+ color: var(--modal-text)
}
span,
@@ -15,6 +21,10 @@
svg {
font-size: 1.2em !important;
+ width: 60px;
+ padding: 5px;
+ border-radius: 20px;
+ color: var(--photo-info);
}
}
@@ -30,6 +40,7 @@
left: 20rem;
top: 1rem;
justify-content: center;
+ display: flex;
svg {
margin-right: 0.5rem;
@@ -53,19 +64,9 @@
}
.navbar-item-active {
- background: map-get($theme-colours, 'gradient');
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
+ color: var(--modal-text);
svg {
- color: orange;
- }
-
- &:hover {
- background: map-get($theme-colours, 'gradient');
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
+ background: var(--sidebar);
}
}
diff --git a/src/components/modals/main/scss/modules/_sidebar.scss b/src/components/modals/main/scss/modules/_sidebar.scss
index 55c35140..35670a29 100644
--- a/src/components/modals/main/scss/modules/_sidebar.scss
+++ b/src/components/modals/main/scss/modules/_sidebar.scss
@@ -8,7 +8,7 @@ ul.sidebar {
border-radius: 12px 0 0 12px;
text-align: left;
font-size: 24px;
- min-height: 100vh;
+ min-height: 110vh;
h1 {
text-align: center;
diff --git a/src/components/modals/main/scss/modules/_tab-content.scss b/src/components/modals/main/scss/modules/_tab-content.scss
index 42f26e98..b15659a5 100644
--- a/src/components/modals/main/scss/modules/_tab-content.scss
+++ b/src/components/modals/main/scss/modules/_tab-content.scss
@@ -17,14 +17,14 @@
@media only screen and (max-width: 1920px) {
.tab-content {
left: 120px;
- top: 50px;
+ top: 60px;
}
}
@media only screen and (min-width: 1920px) {
.tab-content {
left: 350px;
- top: 7%;
+ top: 9%;
}
}
@@ -38,6 +38,6 @@
@media only screen and (max-width: 1200px) {
.tab-content {
left: 125px;
- top: 75px;
+ top: 90px;
}
}
diff --git a/src/components/modals/main/scss/settings/_buttons.scss b/src/components/modals/main/scss/settings/_buttons.scss
index c444d533..7d6beee9 100644
--- a/src/components/modals/main/scss/settings/_buttons.scss
+++ b/src/components/modals/main/scss/settings/_buttons.scss
@@ -24,7 +24,8 @@
}
}
-.add, .close {
+.add,
+.close {
@extend %settingsButton;
background-color: map-get($button-colours, 'other');
@@ -43,16 +44,15 @@
.export,
.uploadbg,
.import {
- @extend %settingsButton;
-
- background-color: map-get($button-colours, 'other');
- color: map-get($theme-colours, 'primary');
- border: 2px solid map-get($button-colours, 'other');
-
- &:hover {
- color: map-get($button-colours, 'other');
- border: 2px solid map-get($button-colours, 'other');
- }
+ width: 440px;
+ height: 60px;
+ background-color: var(--sidebar);
+ border: none;
+ outline: none;
+ color: var(--modal-text);
+ border-radius: 12px;
+ margin-right: 25px;
+ width: 220px;
}
.export,
@@ -64,3 +64,29 @@
height: 10px !important;
width: 10px !important;
}
+
+.data-buttons-row {
+ width: 350px;
+ display: flex;
+ flex-direction: row;
+
+ button {
+ background: var(--sidebar);
+ text-align: center;
+ border-radius: 20px;
+ padding: 20px;
+ border: 3px solid var(--tab-active);
+ height: 40px;
+ font-size: 1rem;
+ margin: 0 10px 10px 0;
+ display: flex;
+ flex-direction: column-reverse;
+ align-items: center;
+ color: var(--modal-text);
+
+ &:hover {
+ background: var(--tab-active);
+ cursor: pointer;
+ }
+ }
+}
diff --git a/src/components/modals/main/scss/settings/_main.scss b/src/components/modals/main/scss/settings/_main.scss
index 1428844c..f241fa89 100644
--- a/src/components/modals/main/scss/settings/_main.scss
+++ b/src/components/modals/main/scss/settings/_main.scss
@@ -54,7 +54,7 @@ input {
width: 280px;
color: var(--modal-text);
background: var(--background);
- border: solid white 1px;
+ border: solid var(--modal-text) 1px;
padding: 15px 20px;
border-radius: 4px;
display: flex !important;
diff --git a/src/components/modals/main/scss/settings/modules/_material-ui.scss b/src/components/modals/main/scss/settings/modules/_material-ui.scss
index 18dd75ce..4b6eff43 100644
--- a/src/components/modals/main/scss/settings/modules/_material-ui.scss
+++ b/src/components/modals/main/scss/settings/modules/_material-ui.scss
@@ -37,13 +37,11 @@ legend {
}
.radio-title {
- text-transform: uppercase;
font-weight: bold;
font-size: 1.17rem;
}
.radio-title-small {
- text-transform: uppercase;
font-weight: bold;
font-size: 1rem;
}
diff --git a/src/components/modals/main/scss/settings/modules/tabs/_order.scss b/src/components/modals/main/scss/settings/modules/tabs/_order.scss
index 14c887e6..42af1508 100644
--- a/src/components/modals/main/scss/settings/modules/tabs/_order.scss
+++ b/src/components/modals/main/scss/settings/modules/tabs/_order.scss
@@ -27,3 +27,28 @@ ul {
vertical-align: middle;
}
}
+
+.images-row {
+ display: flex;
+ flex-wrap: wrap;
+ width: 500px;
+
+ div {
+ width: 100px;
+ height: 100px;
+ background-repeat: no-repeat;
+ background-size: cover;
+ background-position: center;
+ background-color: var(--sidebar);
+ border: 20px solid var(--sidebar);
+ border-radius: 20px;
+ margin: 0 20px 20px 0;
+ display: flex;
+ align-items: flex-end;
+ justify-content: center;
+
+ svg {
+ font-size: 1.9em;
+ }
+ }
+}
diff --git a/src/components/modals/main/settings/Text.jsx b/src/components/modals/main/settings/Text.jsx
index b3d488ba..0a66a36c 100644
--- a/src/components/modals/main/settings/Text.jsx
+++ b/src/components/modals/main/settings/Text.jsx
@@ -49,7 +49,7 @@ export default class Text extends PureComponent {
return (
<>
{(this.props.textarea === true) ?
-
{this.getMessage('modals.main.settings.sections.background.source.custom_background')} {this.getMessage('modals.main.settings.buttons.reset')}
- {this.state.customBackground.map((_url, index) => ( -