From 65a445a2afd3ca2d1022d2e7c7fc71ec12698e87 Mon Sep 17 00:00:00 2001 From: Sarah Abouzainah Date: Thu, 27 Aug 2020 21:38:23 +0200 Subject: CDS Tour Issue-ID: CCSDK-2705 Signed-off-by: Sarah Abouzainah Change-Id: I7968420980cfb0b20c76f66cd640fd9a655372ee --- .../packages-dashboard.component.html | 28 +++++--- cds-ui/designer-client/src/styles.css | 74 +++++++++++++++++++++- 2 files changed, 92 insertions(+), 10 deletions(-) (limited to 'cds-ui/designer-client/src') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.html index 7928f2d91..a632568c8 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.html @@ -4,22 +4,32 @@
+ + + + +
+
+ +

Welcome to CDS

+

Want a tour? Our helpful guide will introduce you to new CDS Designer UI.

+ +
+
+
- + \ No newline at end of file diff --git a/cds-ui/designer-client/src/styles.css b/cds-ui/designer-client/src/styles.css index d4f56c3b0..a482660a8 100644 --- a/cds-ui/designer-client/src/styles.css +++ b/cds-ui/designer-client/src/styles.css @@ -2404,12 +2404,50 @@ hr{ font-size: 11px; color: #C3CDDB; } -.action-button.save{ +/* .action-button.save{ color: #1273EB !important; } .action-button.save:hover{ opacity: .9; +} */ + + +.action-button.save{ + color: #66BB00 !important; +} +/*Flash Glowing button style*/ +.action-button.save i{ +background-color: #66BB00; +-webkit-animation: glowing 1500ms infinite; +-moz-animation: glowing 1500ms infinite; +-o-animation: glowing 1500ms infinite; +animation: glowing 1500ms infinite; } +@-webkit-keyframes glowing { + 0% { background-color: #66BB00; -webkit-box-shadow: 0 0 3px #66BB00; } + 50% { background-color: #7CD116; -webkit-box-shadow: 0 0 40px #7CD116; } + 100% { background-color: #66BB00; -webkit-box-shadow: 0 0 3px #66BB00; } +} + +@-moz-keyframes glowing { + 0% { background-color: #66BB00; -moz-box-shadow: 0 0 3px #66BB00; } + 50% { background-color: #7CD116; -moz-box-shadow: 0 0 40px #7CD116; } + 100% { background-color: #66BB00; -moz-box-shadow: 0 0 3px #66BB00; } +} + +@-o-keyframes glowing { + 0% { background-color: #66BB00; box-shadow: 0 0 3px #66BB00; } + 50% { background-color: #7CD116; box-shadow: 0 0 40px #7CD116; } + 100% { background-color: #66BB00; box-shadow: 0 0 3px #66BB00; } +} + +@keyframes glowing { + 0% { background-color: #66BB00; box-shadow: 0 0 3px #66BB00; } + 50% { background-color: #7CD116; box-shadow: 0 0 40px #7CD116; } + 100% { background-color: #66BB00; box-shadow: 0 0 3px #66BB00; } +} + + .action-button.delete i{ color: #BABBC3; } @@ -3246,6 +3284,40 @@ table.dataTable.no-footer{ +/* panel layout mechanics */ +.panel-wrap { + position: fixed; + top: 100px; + bottom: 0; + right: 0; + width: 300px; + height: 180px; + transform: translateX(100%); + transition: .3s ease-out; + z-index: 2000; +} +.panel { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: #333; + color: #eee; + overflow: auto; + padding: 1em; + font-size: 13px; +} + +/* simulate panel state control -- +this can also be triggered by a +class name added to the body tag. +Just using a checkbox sibling here +for simplicity +*/ +[type="checkbox"]:checked ~ .panel-wrap { + transform: translateX(0%); +} -- cgit 1.2.3-korg