Replace the existing mapping table with MatTable
[ccsdk/cds.git] / cds-ui / designer-client / src / styles.css
index fb200de..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;
@@ -974,6 +1002,11 @@ height: 40px;
   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;
 }
@@ -990,7 +1023,7 @@ height: 40px;
   padding: 6px;
 }
 .helpMenu .dropdown-content a{
-  padding: 0 12px;
+  padding: 5px 12px !important;
   text-align: left;
   text-indent: 0;
   font-size: 14px;
@@ -1049,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); */
 }
@@ -1916,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;
 }
@@ -1984,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); */
 }
 
@@ -2009,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,
@@ -2033,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); */
 }
 
@@ -2069,30 +2103,33 @@ 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: #C3CDDB !important;
   border: solid 1px #C3CDDB;
-  border-radius: 3px !important;
-  border-top-left-radius: 0 !important;
+  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 {
+.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 {
+.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 {
+.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 {
+.bs-tooltip-auto[x-placement^=left] .arrow::before, 
+.bs-tooltip-left .arrow::before {
   border-left-color: #C3CDDB !important;
 }
 
@@ -2105,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;
@@ -2892,9 +2929,6 @@ animation: glowing 1500ms infinite;
   position: absolute;
   top: 13px;
 }
-.ace_scroller{
-  overflow: auto !important;
-}
 .ace_print-margin{
   left: 100% !important;
   background: #eee !important;
@@ -3004,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;
@@ -3016,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; */
@@ -3167,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{
@@ -3233,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;