Fix Action position in Designer Canvas
[ccsdk/cds.git] / cds-ui / designer-client / src / styles.css
index b215dd4..c9ebd56 100644 (file)
@@ -2,7 +2,7 @@ html, body{
   height: 100%;
 }
 body{
-  background: #FAFAFA !important;
+  background: #FAFAFA !important; /*FDFDFD*/
   /* background-image: linear-gradient(-45deg, #000 10%, #fff 0);
   background-size: 6px 6px; */
   margin: 0;
@@ -17,18 +17,37 @@ body{
 :hover{
   transition: 0.3s !important;
 }
+button:focus{
+  outline: 0 !important;
+}
 /*Bootstrap*/
 .custom-control-input:checked ~ .custom-control-label::before{
   border-color: transparent !important;
 }
+.btn{
+  transition: all .2s ease-out !important;
+}
 .btn-outline-danger{
   background: #fff !important;
   border: solid 1px #ECEDF2 !important;
   color: #FF6469 !important;
 }
+.btn-secondary:not(:disabled):not(.disabled).active, 
+.btn-secondary:not(:disabled):not(.disabled):active{
+  border-color: transparent !important;
+}
+.btn-secondary:not(:disabled):not(.disabled).active:focus, 
+.btn-secondary:not(:disabled):not(.disabled):active:focus{
+  box-shadow: none !important;
+  border-color: transparent !important;
+}
 .btn:disabled:hover{
   cursor: default;
 }
+.btn.disabled, 
+.btn:disabled{
+  opacity: .5 !important;
+}
 .custom-control-label::before{
   border: solid 1px #C3CDDB !important;
   border-radius: 0 !important;
@@ -38,7 +57,10 @@ body{
   height: 18px !important;
   border-radius: 50% !important;
 }
-
+.readonlyTxt{
+  color: #BABBC3; 
+  font-size: 11px;
+}
 .reuiredInput .custom-control-label::after{
   content: "_";
   color: #C4CEDB !important;
@@ -78,6 +100,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;
@@ -455,6 +480,7 @@ height: 40px;
   background: none !important;
   text-decoration: none;
   color: #1B3E6F;
+  cursor: pointer;
 }
 .tags-filter-list{
   max-height: 260px;
@@ -582,7 +608,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;
@@ -1152,6 +1178,14 @@ height: 40px;
   border-bottom-left-radius: 2px;
   border-bottom-right-radius: 2px;
 }
+.packagesFilter .dropdown-content ul{
+  max-height: 200px;
+  overflow-y: auto;
+  padding-left: 0;
+}
+.packagesFilter .dropdown-content li{
+  list-style: none;
+}
 .packagesFilter .dropdown-content li:hover .custom-checkbox{
   cursor: pointer;
 }
@@ -1559,6 +1593,9 @@ ul.package-contributers{
   font-size: 14px;
   font-weight: bold;
 }
+.icon-action-close::before{
+  font-size: 13px;
+}
 .createActionModal .modal-body{
   padding-top: 0 !important;
   padding-bottom: 10px !important;
@@ -1946,8 +1983,8 @@ 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;
@@ -2015,7 +2052,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); */
 }
 
@@ -2040,8 +2077,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,
@@ -2064,7 +2101,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); */
 }
 
@@ -2100,8 +2137,7 @@ 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; */
@@ -2140,8 +2176,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;
@@ -2402,7 +2438,6 @@ padding-left: 20px !important;
 }
 .single-custom-key{
   width: 100%;
-  margin-bottom: 21px;
 }
 .single-line-custom-key{
   width: 45%;
@@ -2507,8 +2542,16 @@ hr{
 .action-button.save:hover{
   opacity: .9;
 } */
-
-
+.action-button.save:disabled{
+  color: #C3CDDB !important;
+}
+.action-button.save:disabled i{
+  background-color: #C3CDDB;
+  animation: none;
+}
+.action-button.save:disabled i::before{
+  color: #fff;
+}
 .action-button.save{
   color: #66BB00 !important;
 }
@@ -2927,8 +2970,10 @@ animation: glowing 1500ms infinite;
   position: absolute;
   top: 13px;
 }
-.ace_scroller{
-  /* overflow: auto !important; */
+/* -------- ace editor style -------- */
+.editor-container{
+  height: 55vh !important;
+  overflow: scroll;
 }
 .ace_print-margin{
   left: 100% !important;
@@ -2938,7 +2983,7 @@ animation: glowing 1500ms infinite;
   width: 100% !important;
 }
 .ace_editor{
-  height: 55vh !important;
+  /* height: 55vh !important; */
   line-height: 25px;
   border: 1px solid #ECEDF2;
   background-color: #fff;
@@ -2959,6 +3004,20 @@ animation: glowing 1500ms infinite;
 .ace-tm .ace_marker-layer .ace_active-line{
   background: #F4F9FE !important;
 }
+.ace_dark .ace_fold-widget,
+.ace_dark .ace_fold-widget.ace_closed{
+  background-position: center center !important;
+  background-size: 7px;
+  background-repeat: no-repeat !important;
+}
+.ace_dark .ace_fold-widget{
+  background-image: url(/assets/img/icon-codeOpen.svg) !important;
+}
+.ace_dark .ace_fold-widget.ace_closed{
+  background-image: url(/assets/img/icon-codeClosed.svg) !important;
+  background-size: 4px;
+}
+/* -------- end of ace editor style -------- */
 .breadcrumb-header{
   padding: 0px;
   margin: 0px;
@@ -3040,7 +3099,16 @@ padding: 0 10px 0 0;
   background: transparent;
 }
 .mapping-editBar{
-  margin-bottom: 1rem;
+  margin-top: 6px;
+}
+.mapping-editBar .selectedAttributes{
+  margin-left: 6px;
+  line-height: 35px;
+  font-size: 10px;
+  font-weight: bold;
+}
+.selectedAttributes .totalAtt{
+  color: #C4CEDB;
 }
 .mapping-editBar .custom-checkbox,
 .mapping-editBar .btn{
@@ -3063,11 +3131,11 @@ padding: 0 10px 0 0;
 .mapping-editBar .btn i{
   color: #1B3E6F;
   font-size: 18px;
-  opacity: .5;
+  /* opacity: .5; */
 }
 .mapping-editBar .custom-checkbox:hover,
 .mapping-editBar .btn:hover i{
-  opacity: 1;
+  opacity: .8;
 }
 .template-mapping-list{
   background: #F4F9FE;
@@ -3232,6 +3300,11 @@ margin-right: 5px;
   padding: 4px 20px;
   font-size: 13px;
 }
+.template-mapping-action .btn-primary:disabled{
+  background:#C3CDDB !important ;
+  border-color:#C3CDDB !important ;
+  color: #fff !important ;
+}
 .template-mapping-action .btn-primary{
   background:#66BB00 !important ;
   border-color:#66BB00 !important ;
@@ -3240,10 +3313,7 @@ margin-right: 5px;
 .template-mapping-action .btn-outline-secondary{
   background:#fff !important ;
   border-color:#ECEDF2 !important ;
-  color: #C3CDDB !important ;
-}
-.template-mapping-action .btn-outline-secondary:hover{
-  color: #1B3E6F !important;
+  color: #1B3E6F !important ;
 }
 .table-container{
   width: 100%;
@@ -3268,14 +3338,69 @@ margin-right: 5px;
   font-size: 13px;
   /* font-weight: bold; */
 }
-
+/*Mat Table*/
+.mat-elevation-z8{
+  box-shadow: none !important;
+}
+.mat-table,
+.mat-paginator{
+  background: #fff !important;
+  color: #1B3E6F !important;
+}
+.mat-table{
+  border-top: solid 1px #ECEDF2;
+}
+.mat-paginator{
+  /* display: inline-block; */
+  width: 36%;
+  float: right;
+}
+.mat-input-element{
+  font-size: 13px !important;
+  line-height: 20px !important;
+}
+tr.mat-header-row{
+  background: #f4f9fe;
+  border-bottom: 1px solid #ecedf2;
+}
+.mat-sort-header-button{
+  text-align: left;
+}
+.mat-cell, .mat-footer-cell{
+  color: #1B3E6F !important;
+}
+.mat-form-field-appearance-legacy .mat-form-field-wrapper{
+  padding-bottom: 0;
+}
+.mat-paginator-page-size-select{
+  margin-top: 12px;
+}
+.mat-paginator-page-size-select .mat-form-field-wrapper{
+  padding-bottom: 14px;
+}
+.mat-paginator-range-label{
+  margin-right: 8px;
+}
+.mat-form-field-infix,
 .dataTables_filter input{
   color: #1B3E6F;
-  background: url(../src/assets/img/icon-search.svg) 9px center no-repeat;
-  padding: 4px 9px 4px 24px !important;
-  border: solid 1px #ECEDF2;
+  padding: 4px 9px !important;
+  border: solid 1px #ECEDF2 !important;
   border-radius: 4px;
 }
+.mat-focused .mat-form-field-infix{
+  border-bottom: 0 !important;
+}
+.tableFilter{
+  margin-top: 12px;
+}
+.tableFilter .mat-form-field-wrapper{
+  padding-bottom: 0 !important;
+}
+.tableFilter .mat-form-field-infix{
+  background: url(../src/assets/img/icon-search.svg) 9px center no-repeat;
+  padding-left: 24px !important;
+}
 .dataTables_filter input:focus{
   box-shadow: 0 2px 6px 0 rgba(47, 83, 151, 0.1);
 }
@@ -3291,15 +3416,29 @@ margin-right: 5px;
   padding-left: 20px !important;
 }
 .mapping-table thead th{
+  padding: 4px 20px 4px 0 !important;
   border-bottom-color: #ECEDF2 !important;
+  color: #1B3E6F;
+  font-weight: bold;
+  font-size: 12px;
 }
 .mapping-table tbody tr:hover{
   background-color: #F4F9FE !important;
 }
+.mat-form-field-label{
+  color: #1B3E6F !important;
+  font-size: 13px !important;
+  padding-left: 26px;
+  line-height: 20px !important;
+}
+.mat-select-value,
+.mat-select-arrow{
+  color: #1B3E6F !important;
+}
 .mapping-table th{
   padding-top: 10px !important;
   padding-bottom: 10px !important;
-  background: #F4F9FE;
+  /* background: #F4F9FE; */
 }
 .mapping-table td{
   border-top: 0 !important;
@@ -3308,6 +3447,14 @@ table.dataTable.no-footer{
   margin-bottom: 9px;
   border-bottom: solid 1px #ECEDF2 !important;
 }
+.mat-paginator-container{
+  padding-right: 0;
+}
+.mappingSelectedAtt{
+  padding-left: 3px;
+  line-height: 35px;
+  font-size: 10px;
+}
 .dataTables_info{
   padding-top: 12px;
   color: #1B3E6F !important;
@@ -3521,11 +3668,3 @@ for simplicity
 .mat-icon-button[disabled]{
   color: rgba(224, 232, 242, .5) !important;
 }
-
-
-
-
-
-
-
-