From 57e432ae057173ba04ee54fbcb7a152f8c2df301 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 29 Aug 2019 15:56:17 +0800 Subject: style: home page optimization Change-Id: Ifc03d49fa02ef80c47fbea56cf7d894ea9633826 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../src/app/views/home/home.component.html | 10 ++- .../src/app/views/home/home.component.less | 95 ++++++++++------------ 2 files changed, 48 insertions(+), 57 deletions(-) (limited to 'usecaseui-portal/src/app') diff --git a/usecaseui-portal/src/app/views/home/home.component.html b/usecaseui-portal/src/app/views/home/home.component.html index 5f956827..0946b587 100644 --- a/usecaseui-portal/src/app/views/home/home.component.html +++ b/usecaseui-portal/src/app/views/home/home.component.html @@ -15,6 +15,7 @@ -->
+

{{"i18nTextDefine_SERVICES" | translate}}

@@ -25,7 +26,7 @@ {{"i18nTextDefine_service_instance" | translate}}

- {{"i18nTextDefine_ViewDetails" | translate}} + {{"i18nTextDefine_ViewDetails" | translate}}

@@ -60,11 +61,12 @@

- {{"i18nTextDefine_ViewDetails" | translate}} + {{"i18nTextDefine_ViewDetails" | translate}}

-
+ +

{{"i18nTextDefine_ALARM" | translate}}

@@ -75,7 +77,7 @@

{{"i18nTextDefine_VM_Alarm" | translate}}

- {{"i18nTextDefine_ViewDetails" | translate}} + {{"i18nTextDefine_ViewDetails" | translate}}

diff --git a/usecaseui-portal/src/app/views/home/home.component.less b/usecaseui-portal/src/app/views/home/home.component.less index affe4765..dc736f18 100644 --- a/usecaseui-portal/src/app/views/home/home.component.less +++ b/usecaseui-portal/src/app/views/home/home.component.less @@ -20,7 +20,6 @@ .left-content{ float: left; width:30%; - // height:96vh; .services,.PACKAGE{ width: 100%; background:rgba(255,255,255,1); @@ -31,6 +30,9 @@ font: 600 16px/16px "Arial Bold"; color: #0DA9E2; } + p { + font: 400 14px/14px "Arial"; + } .tip { float: right; width: 110px; @@ -40,7 +42,11 @@ font-size: 16px; color: #3C4F8C; margin-top: 20px; - margin-bottom: 0!important; + margin-bottom: 0; + text-align: center; + span{ + color: #3C4F8C; + } } } .services{ @@ -111,33 +117,31 @@ } } - .services,.PACKAGE{ - h3 { - font: 400 48px/48px "Arial"; - color: #3fa8eb; - text-align: center; - span { - font-size: 14px; - } - } - - p { - font: 400 14px/14px "Arial"; - color: #54657e; - text-align: center; - margin-bottom: 48px; - } - } - .rightcontent { + .right-content { float: left; - padding-left: 15px; width: 70%; + height: 96vh; + padding-left: 15px; .rt-content { height: 40%; margin-bottom: 18px; background:rgba(255,255,255,1); box-shadow:0px 10px 10px 2px rgba(222,222,222,0.5); border-radius:6px; + .alarm { + float: left; + background-color: #fff; + height: 100%; + width: 48%; + border-radius: 5px; + position: relative; + padding: 28px 26px; + h4 { + position: absolute; + font: 600 16px/16px "Arial Bold"; + color: #0DA9E2; + } + } .poerformance { float: left; background-color: #fff; @@ -149,13 +153,7 @@ h3 { color:#BD57E5; } - } - h4 { - font: 600 16px/16px "Arial Bold"; - color: #0DA9E2; - margin-bottom: 34px; - } - + } div { height: 57px; position: relative; @@ -178,37 +176,28 @@ left: 0; } } - } - .alarm { - float: left; - background-color: #fff; - height: 100%; - width: 48%; - border-radius: 5px; - position: relative; - padding: 28px 26px; - h4 { - position: absolute; - font: 600 16px/16px "Arial Bold"; - color: #0DA9E2; + .tip{ + width: 110px; + background-color: #eceff4; + color: #3C4F8C; + font-size: 16px; + float: right; + margin-top: 20px; + margin-bottom: 0!important; + line-height: 35px; + border-radius: 5px; + text-align: center; + a{ + color:#3C4F8C; + } } } + .alarm-name{ text-align: center; margin-top: 15px; } - .tip{ - width: 110px; - background-color: #eceff4; - color: #3C4F8C; - font-size: 16px; - float: right; - margin-top: 20px; - margin-bottom: 0!important; - line-height: 35px; - border-radius: 5px; - text-align: center; - } + } .rb-content { position: relative; -- cgit 1.2.3-korg From ccb53ef320d2a26f2ea1804993047bb00140d8d8 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 29 Aug 2019 16:47:50 +0800 Subject: style: management page style optimization Change-Id: I7aec6473ab0a0d33646896e8655497a5f185ee1b Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../src/app/views/management/management.component.html | 11 +++++------ .../src/app/views/management/management.component.less | 8 +++++++- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'usecaseui-portal/src/app') diff --git a/usecaseui-portal/src/app/views/management/management.component.html b/usecaseui-portal/src/app/views/management/management.component.html index c96f0253..4e0ac36f 100644 --- a/usecaseui-portal/src/app/views/management/management.component.html +++ b/usecaseui-portal/src/app/views/management/management.component.html @@ -13,15 +13,14 @@ See the License for the specific language governing permissions and limitations under the License. --> -
+

{{"i18nTextDefine_Create_initial_customer" | translate}}

{{"i18nTextDefine_Customer_not_in_ONAP" | translate}} {{"i18nTextDefine_CreateCustomer" | translate}} - - + +
@@ -30,10 +29,10 @@
- +
-
+
\ No newline at end of file diff --git a/usecaseui-portal/src/app/views/management/management.component.less b/usecaseui-portal/src/app/views/management/management.component.less index 5a3a0f42..1044c4d2 100644 --- a/usecaseui-portal/src/app/views/management/management.component.less +++ b/usecaseui-portal/src/app/views/management/management.component.less @@ -14,6 +14,8 @@ limitations under the License. */ .content { + padding: 20px 20px; + height: 100vh; .management { width: 100%; .title { @@ -38,10 +40,11 @@ margin-bottom: 5%; } input { + display: block; width: 50%; + height: 50px; margin: 0 auto; margin-bottom: 5%; - display: block; } .action{ @@ -75,5 +78,8 @@ } } } + div:last-child{ + height: 100%; + } } \ No newline at end of file -- cgit 1.2.3-korg