From: jh245g Date: Wed, 8 Apr 2020 13:43:25 +0000 (-0400) Subject: update and relocate the theme selector slider X-Git-Tag: 2.0.2~11 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=64ced242ea484b9f13c48fa6664a996304849398;hp=a92875cd922a39d0480cde84c325261592e1a872;p=portal%2Fric-dashboard.git 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 --- 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