Replace the existing mapping table with MatTable
[ccsdk/cds.git] / cds-ui / designer-client / src / styles.css
index 320ae13..8d4ee8e 100644 (file)
@@ -18,6 +18,9 @@ body{
   transition: 0.3s !important;
 }
 /*Bootstrap*/
+.custom-control-input:checked ~ .custom-control-label::before{
+  border-color: transparent !important;
+}
 .btn-outline-danger{
   background: #fff !important;
   border: solid 1px #ECEDF2 !important;
@@ -30,6 +33,28 @@ body{
   border: solid 1px #C3CDDB !important;
   border-radius: 0 !important;
 }
+.reuiredInput .custom-control-label::before{
+  width: 18px !important;
+  height: 18px !important;
+  border-radius: 50% !important;
+}
+
+.reuiredInput .custom-control-label::after{
+  content: "_";
+  color: #C4CEDB !important;
+  width: 18px !important;
+  height: 18px !important;
+  line-height: 6px;
+  text-align: center;
+}
+.reuiredInput .custom-control-input:checked ~ .custom-control-label::after{
+  top: 4px !important;
+  left: -24px !important; 
+  content: "";
+}
+.reuiredInput .custom-control-input:checked ~ .custom-control-label::before{
+  background: #66BB00 !important;
+}
 .custom-control-input:checked ~ .custom-control-label::before{
   background: #1B3E6F !important;
 }
@@ -53,6 +78,9 @@ body{
   width: 14px !important;
   height: 14px;
 }
+.btn[aria-expanded="true"] > .card{
+  overflow: visible;
+}
 .card-header .btn[aria-expanded="true"],
 .card-header .btn[aria-expanded="false"]{
   padding-left: 25px !important;
@@ -557,7 +585,7 @@ height: 40px;
 .packages-card [data-tooltip]:after {
   padding: 9px;
   font-size: 11px;
-  background: #fff;
+  background: #C3CDDB;
   border: solid 1px #E6EDF5;
   box-shadow: 0 0 12 rgba(0,0,0,0.8);
   border-radius: 3px;
@@ -915,6 +943,133 @@ height: 40px;
 .main-container{
   padding: 0 !important;
 }
+/*Profile & Help Area*/
+.profile-help .navbar{
+  padding: 0 !important;
+}
+.profile-help .dropdown{
+  width: 50px;
+}
+.profile-help .dropdown-text{
+  border: 0;
+  background: transparent;
+  box-shadow: none;
+  font-size: 13px;
+  /* text-indent: -999px; */
+}
+.profile-help .dropdown-text img{
+  width: 33px;
+  height: 33px;
+  border: solid 1px #fff;
+  object-fit: cover;
+  border-radius: 50%;
+}
+.profile-help .dropdown-toggle:hover ~ .dropdown-text{
+  background: #fff;
+}
+.profile-help .dropdown-toggle:hover ~ .dropdown-text img{
+  box-shadow: 0 2px 6px 6px rgba(47, 83, 151, .17);
+}
+.profile-help .dropdown-content{
+  right: 0;
+  top: 47px;
+  padding: 4px 0;
+  background-color: #fff;
+  border: 1px solid #ECEDF2;
+  border-radius: 2px;
+  box-shadow: 0 2px 6px 0 rgba(47, 83, 151, 0.12) !important;
+}
+.profile-help .dropdown-content li:hover{
+  background-color: #ECEDF2;
+}
+.profile-help .dropdown-content a{
+  padding: 3px;
+  color: #1B3E6F;
+  font-size: 13px;
+}
+.profile-help .dropdown-content a:hover{
+  text-decoration: none;
+  background-color: transparent;
+}
+.userMenu.dropdown{
+  margin-left: 9px;
+  border-left: solid 1px #ECEDF2;
+}
+.helpMenu.dropdown{
+  width: 32px !important;
+}
+.helpMenu .dropdown-text{
+  text-indent: unset;
+  text-align: center;
+}
+.helpMenu li:hover,
+.helpMenu li:hover i,
+.helpMenu li:hover p{
+  cursor: pointer;
+}
+.helpMenu li:not(:last-child){
+  margin-bottom: 9px;
+}
+.helpMenu .dropdown-text i{
+  text-align: center;
+  font-size: 19px;
+  color: #C3CDDB;
+  vertical-align: middle;
+}
+.helpMenu:hover .dropdown-text i{
+  color: #1B3E6F;
+}
+.helpMenu .dropdown-content{
+  padding: 6px;
+}
+.helpMenu .dropdown-content a{
+  padding: 5px 12px !important;
+  text-align: left;
+  text-indent: 0;
+  font-size: 14px;
+  line-height: 22px;
+}
+.helpMenu .dropdown-content p{
+  display: inline;
+  line-height: 15px;
+  font-weight: bold;
+}
+.helpMenu .dropdown-content p:hover{
+  cursor: pointer;
+}
+.helpMenu .dropdown-content p label{
+  display: inline;
+}
+.helpMenu .dropdown-content p input{
+  display: none;
+}
+.helpMenu .dropdown-content span{
+  display: inline-block;
+  padding-left: 18px;
+  font-size: 13px;
+  color: #C1CDDD;
+  font-weight: normal;
+}
+.helpMenu .dropdown-toggle:focus ~ .dropdown-text{
+  background-color: #F4F9FE;
+  border-radius: 50%;
+}
+.helpMenu .dropdown-content{
+  width: 262px;
+}
+.help-btn{
+  border-right: solid 1px #ECEDF2;
+}
+.help-btn .nav-link{
+  padding: 7px 8px 0 !important;
+}
+.help-btn i{
+  font-size: 19px;
+  color: #C3CDDB;
+}
+.help-btn a:hover i{
+  color: #1B3E6F;
+}
 .header-button-save button{
   border-radius: 50px;
 }
@@ -927,7 +1082,7 @@ height: 40px;
   -webkit-box-shadow: 0 4px 10px 0 #eef0f5;
   box-shadow: 0 4px 10px 0 #eef0f5;
   position: relative;
-  z-index: 8;
+  z-index: 300;
   /* position: fixed;
   width: calc(100% - 50px); */
 }
@@ -1443,11 +1598,22 @@ ul.package-contributers{
   box-shadow: 0 10px 20px 0 rgba(27,62,111,.1);
   transition: 0.3s !important;
 }
+.createActionModal h3.mainHead{
+  text-transform: uppercase;
+  margin-bottom: 6px;
+  font-size: 14px;
+  font-weight: bold;
+  text-align: center;
+  color: #C1CDDD;
+}
 .createActionModal h1{
   margin-bottom: 21px;
   font-size: 22px;
+  font-weight: bold;
   text-align: center;
-  font-weight: normal;
+}
+.createActionModal .carousel-inner{
+  height: 510px;
 }
 .createActionModal .skip-btn{
   float: unset;
@@ -1458,6 +1624,12 @@ ul.package-contributers{
   border: solid 1px #F1F2FA;
   border-radius: 2px;
 }
+.createActionModal .skip-btn:hover{
+  background: #1273EB;
+  color: #fff;
+  box-shadow: 0 10px 20px 0 rgba(27,62,111,.1);
+}
+
 .actionType,
 .actionType:hover{
   text-align: center;
@@ -1488,6 +1660,7 @@ ul.package-contributers{
   margin-bottom: 26px;
   width: 100px;
   height: 30px;
+  line-height: 15px;
   background: #1B3E6F;
   color: #fff;
   font-size: 12px;
@@ -1776,11 +1949,12 @@ ul.package-contributers{
 [data-tooltip]:after {
   z-index: 1000;
   padding: 8px 20px !important;
-  width: auto;
-  background-color: #fff !important;
+  width: max-content;
+  background-color: #C3CDDB !important;
   color: #1B3E6F;
   content: attr(data-tooltip);
   font-size: 12px;
+  font-weight: bold !important;
   line-height: 1.2;
   border-radius: 3px;
 }
@@ -1844,7 +2018,7 @@ ul.package-contributers{
   margin-right: -12px;
   margin-bottom: 0;
   border-top-color: transparent;
-  border-left-color: #fff;
+  border-left-color: #C3CDDB;
   /* border-left-color: hsla(0, 0%, 20%, 0.9); */
 }
 
@@ -1869,8 +2043,8 @@ ul.package-contributers{
   margin-top: -12px;
   margin-bottom: 0;
   border-top-color: transparent;
-  border-bottom-color: #DEE8F3;
-  border-bottom-color: rgba(222, 232, 243, 1.0);
+  border-bottom-color: #C3CDDB;
+  border-bottom-color: rgba(195, 205, 219, 1.0);
 }
 
 .tooltip-bottom:hover:before,
@@ -1893,7 +2067,7 @@ ul.package-contributers{
   margin-bottom: 0;
   margin-left: -12px;
   border-top-color: transparent;
-  border-right-color: #fff;
+  border-right-color: #C3CDDB;
   /* border-right-color: hsla(0, 0%, 20%, 0.9); */
 }
 
@@ -1929,29 +2103,34 @@ ul.package-contributers{
   width: 100% !important;
 }
 .tooltip .tooltip-inner{
-  width: auto !important;
-  max-width: 280px !important;
+  width: max-content !important;
   text-align: left!important;
+  /* color:#1B3E6F;
+  background-color: #fff !important; */
   color:#1B3E6F;
-  background-color: #fff !important;
-  border: solid 1px #E6EDF5;
-  border-radius: 3px !important;
-  border-top-left-radius: 0 !important;
+  background-color: #C3CDDB !important;
+  border: solid 1px #C3CDDB;
+  border-radius: 1px !important;
+  /* border-top-left-radius: 0 !important; */
   font-size: 12px;
   opacity: 1.0 !important;
 } 
 
-.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
-  border-top-color: #E6EDF5 !important;
+.bs-tooltip-auto[x-placement^=top] .arrow::before, 
+.bs-tooltip-top .arrow::before {
+  border-top-color: #C3CDDB !important;
 }
-.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before {
-  border-right-color: #E6EDF5 !important;
+.bs-tooltip-auto[x-placement^=right] .arrow::before, 
+.bs-tooltip-right .arrow::before {
+  border-right-color: #C3CDDB !important;
 }
-.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
-  border-bottom-color: #E6EDF5 !important;
+.bs-tooltip-auto[x-placement^=bottom] .arrow::before, 
+.bs-tooltip-bottom .arrow::before {
+  border-bottom-color: #C3CDDB !important;
 }
-.bs-tooltip-auto[x-placement^=left] .arrow::before, .bs-tooltip-left .arrow::before {
-  border-left-color: #E6EDF5 !important;
+.bs-tooltip-auto[x-placement^=left] .arrow::before, 
+.bs-tooltip-left .arrow::before {
+  border-left-color: #C3CDDB !important;
 }
 
 .btn{
@@ -1963,8 +2142,8 @@ padding-left: 20px !important;
   border-radius: 20px !important;
 }
 .btn-primary{
-    background-color: #1273EB !important;
-    border-color: #1273EB !important;
+  background-color: #1273EB !important;
+  border-color: #1273EB !important;
 }
 .btn-primary:hover {
   background-color: #0069d9 !important;
@@ -2324,15 +2503,55 @@ 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;
 }
-.action-button.delete i{
-  color: #BABBC3;
+/*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;
+} */
+.action-button.delete,
+.action-button.delete i,
 .action-button.delete:hover,
 .action-button.delete:hover .icon-delete-sm{
   color: #FF6469 !important;
@@ -2710,9 +2929,6 @@ hr{
   position: absolute;
   top: 13px;
 }
-.ace_scroller{
-  overflow: auto !important;
-}
 .ace_print-margin{
   left: 100% !important;
   background: #eee !important;
@@ -2732,7 +2948,7 @@ hr{
   border-right: 0px !important;
   color: #1B3E6F !important;
 }
-.ace-tm .ace_gutter-active-line{
+.ace_gutter-active-line{
   background-color: #265699 !important;
   color: #fff;
 }
@@ -2822,6 +3038,36 @@ padding: 0 10px 0 0;
 .mapping-source-load.hover-disable:hover i{
   background: transparent;
 }
+.mapping-editBar{
+  margin-bottom: 1rem;
+}
+.mapping-editBar .custom-checkbox,
+.mapping-editBar .btn{
+  margin: 0 4px !important;
+  padding: 9px !important;
+  width: 36px;
+  height: 36px;
+  background: #F4F9FE;
+  border-radius: 50% !important;
+  text-align: center;
+  line-height: 14px;
+}
+.mapping-editBar .custom-checkbox{
+  margin-left: 0 !important;
+}
+.mapping-editBar .custom-control-label{
+  top: -2px;
+  left: 16px;
+}
+.mapping-editBar .btn i{
+  color: #1B3E6F;
+  font-size: 18px;
+  opacity: .5;
+}
+.mapping-editBar .custom-checkbox:hover,
+.mapping-editBar .btn:hover i{
+  opacity: 1;
+}
 .template-mapping-list{
   background: #F4F9FE;
   border: 1px solid #E9F3FF;
@@ -2834,6 +3080,7 @@ padding: 0 10px 0 0;
 }
 .template-mapping-list:hover, 
 .template-mapping-list.active {
+  cursor: pointer;
   /* background: #1B3E6F;  */
   text-decoration: none;
   /* color: #fff !important; */
@@ -2985,8 +3232,8 @@ margin-right: 5px;
   font-size: 13px;
 }
 .template-mapping-action .btn-primary{
-  background:#5DBDBA !important ;
-  border-color:#5DBDBA !important ;
+  background:#66BB00 !important ;
+  border-color:#66BB00 !important ;
   color: #fff !important ;
 }
 .template-mapping-action .btn-outline-secondary{
@@ -3051,7 +3298,7 @@ margin-right: 5px;
 .mapping-table th{
   padding-top: 10px !important;
   padding-bottom: 10px !important;
-  background: #F4F9FE;
+  /* background: #F4F9FE; */
 }
 .mapping-table td{
   border-top: 0 !important;
@@ -3166,14 +3413,113 @@ table.dataTable.no-footer{
 
 
 
+/* Package Wizard panel */
+.packageWizard.panel-wrap{
+  position: fixed;
+  top: 100px;
+  bottom: 0;
+  right: 0;
+  width: 350px;
+  height: 200px;
+  transform: translateX(100%);
+  transition: .3s ease-out;
+  z-index: 2000;
+}
+.packageWizard .panel{
+  position: absolute;
+  top: 0;
+  bottom: 0;
+  left: 0;
+  right: 0;
+  overflow: auto;
+  padding: 20px;
+  padding-top: 9px;
+  background: #1B3E6F;
+  color: #fff;
+  border-top: solid 6px #1273EB;
+  box-shadow: 0 2px 13px 6px rgba(47, 83, 151, .17) !important;
+  border-radius: 3px !important;
+  /* border-top-right-radius: 0 !important;
+  border-bottom-right-radius: 0 !important; */
+  text-align: center;
+}
 
-
-
-
-
-
-
-
+/* 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%);
+}
+.packageWizard h3{
+  margin-bottom: 15px;
+  font-weight: bold !important;
+  font-size: 16px;
+}
+.packageWizard p{
+  margin-bottom: 12px;
+  font-size: 14px;
+}
+.packageWizard span{
+  font-size: 13px;
+  color: #C3CDDB;
+}
+.startTour{
+  margin-top: 15px;
+  padding: 9px 21px;
+  font-weight: bold;
+  font-size: 12px;
+  border: 0;
+  border-radius: 18px;
+  background-color: #1273EB;
+  color: #fff;
+}
+.closeWizard{
+  margin-top: 12px;
+  border: 0;
+  background: none;
+  font-weight: normal;
+  color: #E0E8F2;
+  font-size: 12px;
+}
+/*Wizard Content*/
+.mat-menu-panel{
+  box-shadow: 0 2px 13px 6px rgba(47, 83, 151, .17) !important;
+  border-radius: 3px !important;
+  border-top: solid 3px #1273EB;
+}
+.mat-menu-panel::after {
+  content: '';
+  display: block;
+  width: 0;
+  height: 0;
+  position: absolute;
+  border-left: 8px solid transparent;
+  border-right: 8px solid transparent;
+  border-bottom: 8px solid #1273EB;
+  left: 9px;
+  top: -8px;
+}
+.mat-card{
+  background: #1B3E6F !important;
+  color: #fff !important;
+  font-family: inherit !important;
+  border-radius: 0 !important;
+}
+.mat-card-content, 
+.mat-card-subtitle{
+  font-size: 13px;
+}
+.mat-card-title{
+  margin-bottom: 9px !important;
+  font-weight: bold !important;
+  font-size: 16px !important;
+}
+.mat-icon-button[disabled]{
+  color: rgba(224, 232, 242, .5) !important;
+}