Merge "adding template selection from function attribute"
[ccsdk/cds.git] / cds-ui / designer-client / src / app / modules / feature-modules / packages / designer / designer.component.css
index 64ba845..6d590dc 100644 (file)
@@ -87,6 +87,14 @@ header{
   color: #1B3E6F;
   font-size: 10px;
 }
+.template-list.active {
+  display: inline;
+  padding: 4px 10px;
+  background: #F4F9FE;
+  border-radius: 10px;
+  color: #1B3E6F;
+  font-size: 10px;
+}
 .designer-breadcrumb .fa-angle-right::before {
   color: #fff;
   line-height: 38px;
@@ -116,7 +124,7 @@ header{
 .btn-topology-action,
 .btn-topology-action:hover{
   margin: 0 6px;
-  padding: 4px 8px;
+  padding: 3px 8px;
   color: #fff;
   border-radius: 50%;
   border: solid .5px #fff;
@@ -125,9 +133,10 @@ header{
   margin-right: 0;
 }
 .btn-topology-action .fa{
-  width: 16px;
-  height: 16px;
+  /* width: 16px;
+  height: 16px; */
   text-align: center;
+  font-size: 14px;
 }
 .topology-actions .dropdown-text,
 .dropdown-toggle:hover ~ .dropdown-text, 
@@ -177,7 +186,7 @@ header{
   padding: 0 !important;
 }
 .package-info h3{
-  font-size: 15px;
+  font-size: 13px;
   font-weight: bold;
 }
 .package-info h3 span{
@@ -202,7 +211,9 @@ header{
   font-size: 11px;
   line-height: 20px;
 }
-
+.save-blueprint li:hover{
+  cursor: pointer;
+}
 
 
 
@@ -256,8 +267,9 @@ button.rotate{
   text-decoration: none;
 }
 #board-paper svg{
-  top: 70px;
+  top: 30px;
   left: 0;
+  height: 95%;
 }
 .componentsList tspan{
   /* width:30px !important;  */
@@ -276,8 +288,9 @@ tspan#type{
 /*ACTIONS & COMPONENTS MENU*/
 .input-search-controller{
   height: 40px;
-  padding-left: 42px;
-  background: url(src/assets/img/icon-search-light.svg) #fff 21px center no-repeat;
+  padding-left: 36px;
+  background: url(src/assets/img/icon-search-light.svg) #fff 15px center no-repeat;
+  background-size: 4.5%;
   border-radius: 0;
   border: 0;
   border-bottom: solid 1px #D7E7F9;
@@ -286,7 +299,7 @@ tspan#type{
 }
 .input-search-controller::placeholder{
   color: #D0D7E4;
-  font-size: 11px;
+  font-size: 12px;
 }
 .input-search-controller:focus{
   background-color: #fff !important;
@@ -372,7 +385,11 @@ p.compType-4{
   font-size: 12px;
   color: #C3CDDB;
 }
-
+.controllerSidebar .joint-paper{
+  width: 98% !important;
+  height: 72vh !important;
+  margin: 0 !important;
+}
 .actionBtns .btn{
   margin: 0px 15px 16px -90px;
   /* padding: 9px 20px; */
@@ -385,7 +402,7 @@ p.compType-4{
 }
 .new-action,
 .new-action:hover{
-  margin: 9px 0 4px 18px;
+  margin: 9px 0 4px 3px;
   padding: 6px;
   font-size: 13px;
   font-weight: bold;
@@ -421,6 +438,12 @@ p.compType-4{
   height: 65vh !important;
   overflow-y: auto;
 }
+.actionsList ul{
+  padding-left: 0;
+}
+.actionsList li{
+  list-style: none;
+}
 .componentsList .list-group-item{
   margin-bottom: 10px;
   padding-left: 40px;
@@ -486,7 +509,7 @@ p.compType-4{
 /*CANVAS*/
 .source-button.editBar{
   position: absolute;
-  z-index: 9999999;
+  z-index: 1000 /*9999999*/;
   top: 60px;
   /* left: 50%; */
 }
@@ -527,6 +550,7 @@ p.compType-4{
 }
 .editBar .toggoleBtn.active,
 .editBar2 .toggoleBtn.active{
+  padding: 0 10px !important;
   background-color: #1B3E6F !important;
   color: #fff;
 }
@@ -589,39 +613,69 @@ p.compType-4{
 .componentContainer p{
   font-size: 12px;
 }
-.functionAttributeSidebar{
+.attributeSidebar{
   width: 440px;
   padding: 0px;
   margin-top: 45px;
 }
-.functionAttributeSidebar .attributesContainer{
+.attributesContainer{
+  padding: 0;
   background: #fff;
   border: solid 1px #C1CDDD;
   box-shadow: 0 2px 6px rgba(47, 83, 151, .1);
 }
 /*ATTRIBUTES SIDE BAR*/
 .attributesSideBar{
-  width: 396px;
+  width: 358px;
   padding: 0px;
-  margin-top: 50px;
+  margin-top: 45px;
 }
 .attributesSideBar .attributesContainer{
+  height: 85.9vh;
+  overflow-y: hidden;
+  padding-bottom: 20px;
   background: #fff;
   border: solid 1px #C1CDDD;
   box-shadow: 0 2px 6px rgba(47, 83, 151, .1);
 }
 .closeBar{
   float: left;
-  width: 50%;
-  height: 42px;
-  background: url(/assets/img/icon-close.svg) center center #DCE8F4 no-repeat ;
+  padding: 0 !important;
+  width: 38px;
+  height: 35px;
+  background:#D9E3EE;
   border: 0;
   outline: 0;
-  margin-left: -30px;
 }
 .closeBar:focus{
   outline: none;
 }
+.attributesContainer .scrollWrapper{
+  overflow-y: auto;
+  height: 79vh;
+}
+.attributesContainer .nav-link{
+  padding-top: 7px !important;
+  padding-bottom: 7px !important;
+  color: #1B3E6F !important;
+  text-transform: capitalize !important;
+  border: solid 1px #ECEDF2 !important;
+  border-radius: 0 !important;
+}
+.attributesContainer .nav-item:first-child a{
+  border-top-left-radius: 4px !important;
+  border-bottom-left-radius: 4px !important;
+  border-right-width: 0 !important;
+}
+.attributesContainer .nav-item:last-child a{
+  border-top-right-radius: 4px !important;
+  border-bottom-right-radius: 4px !important;
+  border-left-width: 0 !important;
+}
+.nav-pills .nav-link.active{
+  background-color: #1B3E6F;
+  color: #fff !important;
+}
 .attributesContainer h1{
   margin-bottom: 10px;
   padding: 12px 0 12px 15px;
@@ -631,23 +685,95 @@ p.compType-4{
   text-transform: uppercase;
   color: #1B3E6F;
 }
+.attributesContainertTitle{
+  height: 35px;
+  margin-bottom: 9px !important;
+  padding: 0;
+  background: #DEE8F3;
+  font-size: 12px;
+}
+.add-attribute{
+  margin: 15px 0;
+  padding: 15px 9px;
+  background-color: #F4F9FE;
+}
+.add-attribute h5{
+  padding: 0;
+  margin-bottom: 12px;
+  font-size: 12px;
+  font-weight: bold;
+  text-transform: uppercase;
+  color: #1B3E6F;
+}
+.add-attribute .btn{
+  width: 100%;
+  background-color: #fff;
+  border: solid 1px #C1CDDD;
+  color: #1B3E6F;
+  line-height: 18px;
+  border-radius: 4px;
+}
+.add-attribute .btn:hover{
+  background-color: #1B3E6F;
+}
+.add-attribute .btn:hover i::before{
+  color: #fff;
+}
+.add-attribute .btn:focus{
+  box-shadow: none;
+}
+.icon-function-attribute{
+  font-size: 18px;
+}
+.add-attribute span{ 
+  font-size: 11px;
+  line-height: 16px;
+}
+.attributesContainertTitle .btn-group{
+  margin-top: 3px;
+}
+.attributesContainertTitle .btn{
+  margin-left: 8px !important;
+  padding: 1px 9px !important;
+  border-radius: 4px !important;
+}
 .attributesContainer h6{
-  margin-bottom: 10px;
-  padding: 12px 0 12px 15px;
+  padding: 0;
+  margin-bottom: 0;
   background: #DEE8F3;
+  line-height: 35px !important;
   font-size: 12px;
   font-weight: bold;
   text-transform: uppercase;
   color: #1B3E6F;
 }
-.actionName{
-  margin-bottom: 21px;
+.view-source,
+.view-source:hover{
+  background: #103D73;
+  border-color: #D0DFF1;
+  color: #fff;
+  font-size: 11px;
+}
+.trash-item,
+.trash-item:hover{
+  background: #fff;
+  border-color: #D0DFF1;
+  color: #103D73;
+}
+.trash-item{
+  font-size: 14px;
 }
 .attributesContainer label{
+  margin-bottom: 0;
   color: #1B3E6F;
-  text-transform: uppercase;
-  font-size: 11px;
+  /* text-transform: uppercase; */
+  font-size: 12px;
   font-weight: bold;
+  line-height: 32px;
+}
+.attributesContainer label.custom-control-label{
+  text-transform: unset;
+  font-weight: normal;
 }
 .attributesContainer .form-group{
   margin-bottom: 9px;
@@ -666,23 +792,119 @@ p.compType-4{
 .attributesContainer .form-control::placeholder{
   color: #CFD7E5;
 }
-.scrolll{
-  max-height: 88.75vh;
-  overflow-y: auto;
+.attributesContainer .attribute-value{
+  text-transform: unset;
+  display: block;
+  width: 100%;
+  padding: 0 .75rem .375rem 0;
+  font-size: 12px;
+  font-weight: normal;
+}
+.attributesContainer textarea{
+  height: 60px;
+}
+.icon-required-star{
+  font-size: 10px;
+}
+.optional-attribute::before{
+  color: #CAD3E0;
+}
+.attributeOptions{
+  display: none;
+  border: 0;
+}
+.attributeOptions a:not(:first-child){
+  margin-left: 14px;
+}
+.attributeOptions i{
+  color: #103D73 !important;
+  font-size: 16px;
+}
+.editAttribute i{
+  font-size: 14px;
+}
+.action-attributes .form-group{
+  display: inline-block;
+  width: 100%;
+  padding-left: 12px;
+  /* line-height: 30px; */
+}
+.action-attributes .form-group:hover{
+  cursor: pointer !important;
+  background-color: #F5FAFF;
+}
+.action-attributes .form-group:hover label{
+  cursor: pointer !important;
+  /* padding-left: 12px; */
+}
+.action-attributes .form-group:hover .attributeOptions{
+  display: inline-block;
+  position: relative;
+  left: 8%;
+  top: 3px;
+}
+
+.btn-select-template{
+  background-color: #C3CDDB;
+  border-radius: 2px;
+  color: #1B3E6F;
+  font-size: 12px;
+}
+.btn-select-template i{
+  font-size: 16px;
+  vertical-align: text-bottom;
+}
+.attribute-wrap{
+  padding-bottom: 15px;
+  margin-bottom: 9px;
+  border-bottom: solid 1px #F4F9FE;
+}
+.attribute-wrap .form-group{
+  margin-bottom: 0;
+}
+.template-mapping-list{
+  margin-bottom: 15px;
+  font-size: 13px;
+}
+.template-mapping-list p{
+  width: 56%;
+}
+.deleteTemplate{
+  right: 30px;
+  top: -8px;
+}
+.deleteTemplate i{
+  color: #103D73 !important;
+}
+.icon-close::before{
+  color: #103D73;
+  font-size: 10px !important;
+}
+.accordion{
+  margin-top: 12px;
 }
 .accordion > .card{
   margin-bottom: 0 !important;
   border: 0;
+  box-shadow: none;
+}
+.card-header .btn-link,
+.accordion .card-header .btn-link[aria-expanded="true"], 
+.accordion .card-header .btn-link[aria-expanded="false"]{
+  padding-left: 15px !important;
+  padding-right: 15px !important;
 }
 .accordion > .card .card-header{
   margin: 0;
-  padding: 0;
+  padding: 0 !important;
   background-color: #F4F9FE;
   border: 0;
   border-radius: 0;
 }
+
 .accordion > .card .card-body{
-  padding-bottom: 10px !important; 
+  padding-top: 20px !important;
+  padding-bottom: 0 !important; 
 }
 .accordion .btn-link{
   padding: 0;
@@ -692,6 +914,9 @@ p.compType-4{
   text-transform: uppercase;
   line-height: 15px;
 }
+.btn-link::before{
+  font-size: 15px !important;
+}
 .accordion .btn-link:hover{
   color: #103D73;
   text-decoration: unset;
@@ -704,12 +929,12 @@ p.compType-4{
   font-weight: normal;
   font-size: 12px;
 }
-.accordion .card-header .btn-link[aria-expanded="true"]:after{
+/* .accordion .card-header .btn-link[aria-expanded="true"]:after{
   content: "\f078";    
 }
 .accordion .card-header .btn-link[aria-expanded="false"]:after{    
   content: "\f054";    
-}
+} */
 .btn-addAttribute{
   width: 20px;
   height: 20px;
@@ -774,11 +999,7 @@ p.compType-4{
   margin-left: 12px;
   font-weight: bold;
 }
-.function-attribute{
-  margin-right: -16px;
-}
 .trash-span{
-  margin-left: 150px;
   font-size:15px
 }
 
@@ -791,7 +1012,7 @@ p.compType-4{
   margin-top: 14px;
   padding-left: 30px!important;
   border: 0;
-  font-size: 12px;
+  font-size: 11px;
   color: #1B3E6F !important;
   background-color: #fff !important;
   background-repeat: no-repeat;
@@ -804,9 +1025,9 @@ p.compType-4{
 
 
 .joint-paper{
-  width: 94% !important;
-  height: 100vh !important;
-  margin: 0 auto !important;
+  width: 96.4% !important;
+  height: 80vh !important;
+  margin: 60px auto 0 !important;
 }
 ul.templateLegend{
   margin: 0;
@@ -826,20 +1047,121 @@ ul.templateLegend{
   color: #0ABDE3;
 }
 ul.editor{
-  margin-right: -40px;
+  /* margin-right: -40px; */
   margin-top: 16px;
 }
 .editor li{
   list-style: none;
 }
-.roundBtn .btn{
-  width: 15px; 
-  height: 15px; 
-  padding: 0px; 
-  border-radius: 15px; 
-  font-size: 10px; 
+.editor .btn {
+  padding: 0 8px !important;
+  box-shadow: none;
+}
+.ace_editor{
+  top: 5.4vh;
+  height: 92vh !important;
+}
+.dsl-editor {
+  height: 500px;  
+}
+.vertical_line{
+    border-left: 1px solid rgba(66, 169, 192, 0.1);
+    height: 45px;
+    margin-left: 12px;
+    margin-right: 12px;
+} 
+.zoom-percent{
+  font-size: 12px;
+}
+/*Modal*/
+.modal{
+  top: 60px;
+}
+.modal-backdrop{
+  z-index: 0 !important;
+  opacity: 0 !important;
+}
+/* .modal-holder.modal-backdrop{z-index: 100}
+.modal-holder + .modal-dialog {z-index: 1000} */
+.modal-dialog{
+  max-width: 50%;
+}
+.modal-body{
+  font-size: 14px;
+}
+.createAttributeTabs .nav-link{
+  padding-top: 0 !important;
+}
+.createAttributeTabs .nav-item a,
+.createAttributeTabs .nav-item a.active{
+  border-radius: 0 !important;
+}
+.createAttributeTabs .nav-link{
+  text-transform: uppercase !important;
+  border-radius: 0 !important;
+  border: 0 !important;
+}
+.createAttributeTabs .nav-link.active{
+  border-radius: 0 !important;
+  border-bottom: solid 1px #1B3E6F !important;
+}
+.createAttributeTabs .nav-item{
+  margin-left: 50px;
+}
+.createAttributeTabs .tab-content{
+  margin-top: 20px;
+  padding: 20px 50px;
+  border: solid 1px #F4F9FE;
+}
+/*FORM*/
+.create-form .col-form-label{
+  color: #1B3E6F;
+  font-size: 12px;
+  font-weight: bold;
+}
+.create-form .col-form-label span{
+  color: #FF6469;
+}
+.create-form .form-control{
+  margin-bottom: 9px;
+  padding-left: 0;
+  padding-right: 0;
+  border-radius: 0;
+  border: 0;
+  border-bottom: solid 1px #EFEFF4;
+  font-size: 13px;
+  box-shadow: none !important;
+  color: #1B3E6F;
+}
+.create-form .form-control::placeholder{
+  color: #C3CDDB;
+}
+.create-form .form-control:focus{
+  border-bottom-color: #1B3E6F;
+  -webkit-box-shadow: 0 4px 6px -6px rgba(18, 115, 235, .6) !important;
+  -moz-box-shadow: 0 4px 6px -6px rgba(18, 115, 235, .6) !important;
+  box-shadow: 0 4px 6px -6px rgba(18, 115, 235, .6) !important;
+  background-color: transparent !important;
+  text-shadow: none;
+}
+.list-group-item{
+  margin-bottom: 9px;
+  padding: 9px 1.25rem;
+  border-color: #E6EDF5;
+  font-size: 11px;
+  color: #1B3E6F;
+  font-weight: bold;
   text-align: center;
-  background-color:rgb(215, 234, 250);
-  color: white;
-  margin: 5px;
+}
+.list-group-item.active{
+  color: #1B3E6F;
+  background-color: #C3CDDB;
+  border-color: #C3CDDB;
+}
+.list-group-horizontal .list-group-item + .list-group-item{
+  border-left-width: 1px;
+}
+.create-form .custom-control-input:checked ~ .custom-control-label{
+  background-color: transparent !important;
+  color: #1B3E6F;
 }