diff --git a/src/MistoxWebsite.Client/src/app/pages/store/admin/edititem/edit.component.html b/src/MistoxWebsite.Client/src/app/pages/store/admin/edititem/edit.component.html index c3e2432..cd15e57 100644 --- a/src/MistoxWebsite.Client/src/app/pages/store/admin/edititem/edit.component.html +++ b/src/MistoxWebsite.Client/src/app/pages/store/admin/edititem/edit.component.html @@ -1,46 +1,48 @@ -
-

Edit Item

- -
- - -
- -
- - -
- -
- - -
+
+ +

Edit Item

- - + +
-
- -
- -
- -
-
- +
+ +
-
-
    -
  • {{ msg }}
  • -
- +
+ + +
- -
-
- Image Preview +
+ + +
+ +
+
+ +
+ +
+
+ +
+
+ +
    +
  • {{ msg }}
  • +
+ + + +
+
+ + Image Preview +
\ No newline at end of file diff --git a/src/MistoxWebsite.Client/src/app/pages/store/admin/newitem/new.component.html b/src/MistoxWebsite.Client/src/app/pages/store/admin/newitem/new.component.html index 4132666..849a166 100644 --- a/src/MistoxWebsite.Client/src/app/pages/store/admin/newitem/new.component.html +++ b/src/MistoxWebsite.Client/src/app/pages/store/admin/newitem/new.component.html @@ -1,46 +1,48 @@ -
-

Create New Item

- -
- - -
- -
- - -
- -
- - -
+
+ +

Create New Item

- - + +
-
- -
- -
- -
-
- +
+ +
-
-
    -
  • {{ msg }}
  • -
- +
+ + +
- -
-
- Image Preview +
+ + +
+ +
+ +
+ +
+ +
+
+ +
+
+ +
    +
  • {{ msg }}
  • +
+ + + +
+
+ Image Preview +
\ No newline at end of file diff --git a/src/MistoxWebsite.Client/src/styles.css b/src/MistoxWebsite.Client/src/styles.css index 7e91e96..f58cb80 100644 --- a/src/MistoxWebsite.Client/src/styles.css +++ b/src/MistoxWebsite.Client/src/styles.css @@ -23,22 +23,17 @@ main { /* CSS used for the Account Activity Pages */ .center { - position: relative; - left: 50%; - top: 50vh; - transform: translateY(-50%) translateX(-50%); + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; } -.horizontal-center { - position: relative; - left: 50%; - transform: translateX(-50%); -} - -.vertical-center { - position: relative; - top: 50vh; - transform: translateY(-50%); +.text-frame { + margin: 50px !important; + max-width: 2200px !important; + padding: 10px !important; + width: auto !important; } .background-border { @@ -49,8 +44,9 @@ main { .big-frame { background-color: var(--Mistox-Black); padding: 4px; - max-width: 400px; + width: 400px; color: var(--Mistox-White); + margin: 40px; } .big-frame h3{ @@ -149,6 +145,33 @@ main { color: var(--Mistox-Bright); } +.img-frame { + width: 610px; +} + +.image-holder{ + float: left; + border: 1px solid white; + width: fit-content; + border-radius: 6px; +} + +.delete-button { + position: absolute; + width: 20px; + height: 20px; + text-align: center; + color: #000; + background-color: red; + border: none; + border-radius: 4px; + transform: translate(180px, 0); +} + + .delete-button:hover{ + background-color: #890620; + } + .submit{ position: relative; padding: 10px 20px;