From 247c5f6ec45c7ceb4a2dcfbe633a76928fb10a82 Mon Sep 17 00:00:00 2001 From: Ognjen Cirkovic Date: Tue, 26 Apr 2022 23:53:53 +0200 Subject: Ispravljen dizajn na profile stranici. Promenje boje kod alert dialoga. --- .../alert-dialog/alert-dialog.component.css | 3 + .../alert-dialog/alert-dialog.component.html | 16 +++--- .../src/app/_pages/profile/profile.component.css | 51 +++++------------ .../src/app/_pages/profile/profile.component.html | 66 +++++++++++++--------- 4 files changed, 66 insertions(+), 70 deletions(-) (limited to 'frontend/src/app') diff --git a/frontend/src/app/_modals/alert-dialog/alert-dialog.component.css b/frontend/src/app/_modals/alert-dialog/alert-dialog.component.css index e69de29b..bdfd06c9 100644 --- a/frontend/src/app/_modals/alert-dialog/alert-dialog.component.css +++ b/frontend/src/app/_modals/alert-dialog/alert-dialog.component.css @@ -0,0 +1,3 @@ +mat-dialog-container{ + background: var(ns-bg-dark-50) !important; +} \ No newline at end of file diff --git a/frontend/src/app/_modals/alert-dialog/alert-dialog.component.html b/frontend/src/app/_modals/alert-dialog/alert-dialog.component.html index 82365193..2d7e4d86 100644 --- a/frontend/src/app/_modals/alert-dialog/alert-dialog.component.html +++ b/frontend/src/app/_modals/alert-dialog/alert-dialog.component.html @@ -1,7 +1,9 @@ -

{{data.title}}

-
- {{data.message}} -
-
- -
\ No newline at end of file + + +

{{data.title}}

+
+ {{data.message}} +
+
+ +
\ No newline at end of file diff --git a/frontend/src/app/_pages/profile/profile.component.css b/frontend/src/app/_pages/profile/profile.component.css index 5565d105..428870da 100644 --- a/frontend/src/app/_pages/profile/profile.component.css +++ b/frontend/src/app/_pages/profile/profile.component.css @@ -1,44 +1,21 @@ -body{margin-top:20px; -background-color:#f2f6fc; -color:#69707a; +.card{ + background-color: transparent; + color:var(--offwhite) } -.img-account-profile { - height: 10rem; - border: 1px solid lightgray; -} -.rounded-circle { - border-radius: 50% !important; -} -.card .card-header { - font-weight: 500; -} -.card-header:first-child { - border-radius: 0.35rem 0.35rem 0 0; + +.card-header{ + background-color: var(--ns-primary-50); + color:var(--offwhite) } -.card-header { - padding: 1rem 1.35rem; - margin-bottom: 0; - background-color: rgba(33, 40, 50, 0.03); - border-bottom: 1px solid rgba(33, 40, 50, 0.125); +.card-body{ + background-color: var(--ns-bg-dark-50); } -.form-control, .dataTable-input { - display: block; + +mat-form-field{ width: 100%; - padding: 0.875rem 1.125rem; - font-size: 0.875rem; - font-weight: 400; - line-height: 1; - color: #69707a; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #c5ccd6; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border-radius: 0.35rem; - transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } -.selectedPicture { - border: 2px solid darkgray; +.danger-Text{ + color:var(--ns-warn) } + diff --git a/frontend/src/app/_pages/profile/profile.component.html b/frontend/src/app/_pages/profile/profile.component.html index 557d69fd..37df4f14 100644 --- a/frontend/src/app/_pages/profile/profile.component.html +++ b/frontend/src/app/_pages/profile/profile.component.html @@ -27,17 +27,21 @@
- - - Neispravna lozinka. - Pogrešan format. + Neispravna lozinka. + + Važeća lozinka + + + Pogrešan format.
- - - Lozinke se ne podudaraju. - Pogrešan format. + + Nova lozinka + + + Lozinke se ne podudaraju. + Pogrešan format.
@@ -46,15 +50,17 @@
- +
- - - Lozinke se ne podudaraju. - Pogrešan format. + + Ponovo nova lozinka + + + Lozinke se ne podudaraju. + Pogrešan format.
@@ -74,15 +80,19 @@
- - - Pogrešan format. + + Korisničko ime (kako će ostali korisnici videti tvoje ime) + + + Pogrešan format.
- - - Pogrešan format. + + Email adresa + + + Pogrešan format.
@@ -90,15 +100,19 @@
- - - Pogrešan format. + + Ime + + + Pogrešan format.
- - - Pogrešan format. + + Prezime + + + Pogrešan format.
@@ -121,7 +135,7 @@
- +
-- cgit v1.2.3