From 64ced242ea484b9f13c48fa6664a996304849398 Mon Sep 17 00:00:00 2001 From: jh245g Date: Wed, 8 Apr 2020 09:43:25 -0400 Subject: [PATCH] update and relocate the theme selector slider *update the theme selector slider to angular material slide toggle *move the slider to left menu Issue-ID: OAM-100 Signed-off-by: Jun (Nicolas) Hu Change-Id: I089a94bb5f2c0a70d1b5a96e9058176f0396e3f5 --- .../webapp-frontend/src/app/rd.component.html | 24 ++++------- .../webapp-frontend/src/app/rd.component.scss | 47 ---------------------- docs/release-notes.rst | 3 +- 3 files changed, 10 insertions(+), 64 deletions(-) diff --git a/dashboard/webapp-frontend/src/app/rd.component.html b/dashboard/webapp-frontend/src/app/rd.component.html index 61e0b458..c624bf13 100644 --- a/dashboard/webapp-frontend/src/app/rd.component.html +++ b/dashboard/webapp-frontend/src/app/rd.component.html @@ -62,15 +62,21 @@ link {{selectedInstanceName}} + + palette + +
-
-
@@ -92,21 +98,7 @@ RIC Dashboard -
- -
- -
- Light - - Dark -
-
diff --git a/dashboard/webapp-frontend/src/app/rd.component.scss b/dashboard/webapp-frontend/src/app/rd.component.scss index 35fbb1b6..fd113e7b 100644 --- a/dashboard/webapp-frontend/src/app/rd.component.scss +++ b/dashboard/webapp-frontend/src/app/rd.component.scss @@ -211,53 +211,6 @@ mat-drawer-content { color: white; } -.toggle-button__container { - cursor: pointer; - position: relative; - margin: 0 0.5rem; -} - -.mode-toggle__input { - -webkit-appearance: none; - -moz-appearance: none; -} - -.mode-toggle__bg { - height: 1rem; - width: 2rem; - border-radius: 0.5rem; - background-color: rgba(0, 0, 0, 0.5); - display: inline-block; - transition: background-color 300ms linear; -} - -.mode-toggle__circle { - height: 1.30rem; - width: 1.30rem; - background-color: #2B244D; - position: absolute; - top: -0.2rem; - border-radius: 50%; - box-shadow: 0 0 0 rgba(0, 0, 255, 0.5); - transition: left 300ms linear; - left: 0.1rem; -} - -.mode-toggle__circle-checked { - background-color: white; - left: 1.75rem; -} - -.mode-toggle__bg-checked { - background-color: #FF0070; -} - -.mode-toggle__text { - font-size: 0.75rem; - text-transform: uppercase; - letter-spacing: 0.1rem; -} - /*Content*/ .left__section { display: grid; diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 64683541..70e63056 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -5,8 +5,9 @@ RIC Dashboard Release Notes =========================== -Version 2.0.1, 17 Mar 2020 +Version 2.0.1, 8 Apr 2020 -------------------------- +* update and relocate the theme selector button * Revise controllers to use ResponseEntity * Drop AC xApp control/config screen from front-end * Drop A1 Mediator controller and tests from back-end -- 2.16.6