From a4d0efe6c0f4e673007a3fd1e6ec292f66b2c608 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Thu, 18 Jul 2019 12:22:27 +0300 Subject: [PATCH] Styling changes & improvements --- Mohem/src/app/app.scss | 7 +++---- Mohem/src/app/home/home.page.scss | 1 + Mohem/src/app/uI-elements/date-time.input.ts | 2 +- Mohem/src/app/uI-elements/date.input.ts | 2 +- Mohem/src/app/uI-elements/number.input.ts | 2 +- Mohem/src/app/uI-elements/text-area.input.ts | 2 +- Mohem/src/app/uI-elements/text.input.ts | 4 ++-- Mohem/src/app/uI-elements/time.input.ts | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Mohem/src/app/app.scss b/Mohem/src/app/app.scss index 0afca4c2..7c229875 100644 --- a/Mohem/src/app/app.scss +++ b/Mohem/src/app/app.scss @@ -17,11 +17,10 @@ .main-badge{ position: absolute; right: 16px; - border-radius: 50% !important; - line-height: 2; + border-radius: 60% !important; + line-height: 1.7; margin: auto; top: 0; bottom: 0; - - height: 32px; + height: 28px; } \ No newline at end of file diff --git a/Mohem/src/app/home/home.page.scss b/Mohem/src/app/home/home.page.scss index 018f5f17..ef3085ba 100644 --- a/Mohem/src/app/home/home.page.scss +++ b/Mohem/src/app/home/home.page.scss @@ -23,6 +23,7 @@ line-height: 2; min-width: auto; min-height: auto; + left: 25px; } .header-div{ background:var(--primary); diff --git a/Mohem/src/app/uI-elements/date-time.input.ts b/Mohem/src/app/uI-elements/date-time.input.ts index 03d48ee4..4b623765 100644 --- a/Mohem/src/app/uI-elements/date-time.input.ts +++ b/Mohem/src/app/uI-elements/date-time.input.ts @@ -43,7 +43,7 @@ export class DateTimeInput extends UiElement { // } const template = "" + - " " + this.label + "" + + " " + this.label + "" + // "
" + this.value + "
" + "" + // " "+ diff --git a/Mohem/src/app/uI-elements/date.input.ts b/Mohem/src/app/uI-elements/date.input.ts index 1d8cbcb0..630fa6ac 100644 --- a/Mohem/src/app/uI-elements/date.input.ts +++ b/Mohem/src/app/uI-elements/date.input.ts @@ -42,7 +42,7 @@ export class DateInput extends UiElement { // " "; "" + - " " + this.label + "" + + " " + this.label + "" + // "
" + this.value + "
" + "" + // " "+ diff --git a/Mohem/src/app/uI-elements/number.input.ts b/Mohem/src/app/uI-elements/number.input.ts index 346f2e07..da23b7c8 100644 --- a/Mohem/src/app/uI-elements/number.input.ts +++ b/Mohem/src/app/uI-elements/number.input.ts @@ -27,7 +27,7 @@ export class NumberInput extends UiElement { // " "; "" + - "" + this.label + "" + + "" + this.label + "" + " " + " "; diff --git a/Mohem/src/app/uI-elements/text-area.input.ts b/Mohem/src/app/uI-elements/text-area.input.ts index 86a60bea..6f724b74 100644 --- a/Mohem/src/app/uI-elements/text-area.input.ts +++ b/Mohem/src/app/uI-elements/text-area.input.ts @@ -27,7 +27,7 @@ export class TextAreaInput extends UiElement { // " "; "" + - "" + this.label + "" + + "" + this.label + "" + "" + this.value + "" + ""; diff --git a/Mohem/src/app/uI-elements/text.input.ts b/Mohem/src/app/uI-elements/text.input.ts index 86d218ce..5a31a96c 100644 --- a/Mohem/src/app/uI-elements/text.input.ts +++ b/Mohem/src/app/uI-elements/text.input.ts @@ -25,8 +25,8 @@ export class TextInput extends UiElement { const template = // "
" + "" + - " " + this.label + "" + - " " + + " " + this.label + "" + + " " + " "; return template; diff --git a/Mohem/src/app/uI-elements/time.input.ts b/Mohem/src/app/uI-elements/time.input.ts index 33fec9f1..ca6c7d00 100644 --- a/Mohem/src/app/uI-elements/time.input.ts +++ b/Mohem/src/app/uI-elements/time.input.ts @@ -38,7 +38,7 @@ export class TimeInput extends UiElement { // "
"; "" + - " " + this.label + "" + + " " + this.label + "" + // "
" + this.value + "
" + "" + // " "+