added zoom in and out button in editBar
[ccsdk/cds.git] / cds-ui / designer-client / src / app / modules / feature-modules / packages / designer / designer.component.css
index 7994070..64ba845 100644 (file)
@@ -1,15 +1,56 @@
 
 body{
-  background-image: linear-gradient(-45deg, #000 9%, #fff 0) !important;
-  background-size: 6px 6px !important;  
+  /* background-image: linear-gradient(-45deg, #000 9%, #fff 0) !important;
+  background-size: 6px 6px !important;   */
+  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJ2LTQiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzIGlkPSJ2LTMiPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuXzAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHJlY3QgaWQ9InYtNSIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0iI0FBQUFBQSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgaWQ9InYtNyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuXzApIi8+PC9zdmc+") !important;
+  background-color: #fff !important;
 }
 
+/*Icons*/
+.icon-info{
+  margin-left: 3px;
+}
+.icon-info::before{
+  color: #fff;
+}
+
+/*Bootstrap*/
+.controllerSidebar .nav-tabs{
+  border-bottom-width: 2px;
+}
+.controllerSidebar .nav-tabs .nav-link{
+  padding: 12px 0 !important;
+  text-align: center;
+}
+.controllerSidebar .nav-tabs .nav-link::before{
+  content: "";
+}
+
+.editNavbar .nav-tabs{
+  border-bottom-width: 0;
+}
+.editNavbar .nav-tabs .nav-link{
+  padding: 12px 28px !important;
+  text-align: center;
+}
+.editNavbar .nav-tabs .nav-link::before{
+  content: "";
+}
+.editNavbar .nav-link{
+  text-transform: initial !important;
+}
+.editNavbar .navbar,
+.editNavbar .navbar{
+  padding: 0;
+}
 
 /*Header*/
 header{
+  position: relative;
   height: 60px;
   background-color: #1B3E6F;
-  box-shadow: 0 4px 10px rgba(238, 240, 245, 1.0);
+  /* box-shadow: 0 4px 10px rgba(238, 240, 245, 1.0); */
+  z-index: 200000000 !important;
 }
 .logo{
   float: left;
@@ -43,9 +84,13 @@ header{
   padding: 4px 10px;
   background: #F4F9FE;
   border-radius: 10px;
-  color: #C3CDDB;
+  color: #1B3E6F;
   font-size: 10px;
 }
+.designer-breadcrumb .fa-angle-right::before {
+  color: #fff;
+  line-height: 38px;
+}
 .sidebar-container{
   height: calc(100vh - 60px) !important;
 }
@@ -65,10 +110,13 @@ header{
 .topology-actions .btn-group{
   margin-top: 11px;
 }
+.btn-group > .btn:not(:first-child){
+  margin-left: 0;
+}
 .btn-topology-action,
 .btn-topology-action:hover{
   margin: 0 6px;
-  padding: 6px 10px;
+  padding: 4px 8px;
   color: #fff;
   border-radius: 50%;
   border: solid .5px #fff;
@@ -86,24 +134,26 @@ header{
 .dropdown-toggle:focus ~ .dropdown-text{
   top: 7px;
   text-indent: 15px;
-  background: #1273EB;
-  border-radius: 15px;
+  background: #1273EB !important;
+  border-radius: 15px !important;
   border: 0;
   box-shadow: none;
-  color: #fff;
+  color: #fff !important;
   font-weight: bold;
   font-size: 13px;
 }
 .topology-actions .dropdown-text::after{
   right: 15px;
   top: 13px;
-  border-width: 6px 6px 0 6px;
+  border-style: solid !important;
+  border-width: 5px 5px 0 5px !important;
   border-color: #fff transparent transparent transparent;
 }
 .topology-actions .dropdown-toggle:focus ~ .dropdown-text::after{
   top: 13px;
-  border-width: 0 6px 6px 6px;
-  border-color: transparent transparent #fff transparent
+  border-style: solid !important;
+  border-width: 0 5px 5px 5px !important;
+  border-color: transparent transparent #fff transparent;
 }
 .topology-actions .dropdown-content:hover, 
 .topology-actions .dropdown-toggle:focus ~ .dropdown-content{
@@ -123,9 +173,35 @@ header{
   background: #F4F9FE;
   text-decoration: none;
 }
-
-
-
+.package-info-btn{
+  padding: 0 !important;
+}
+.package-info h3{
+  font-size: 15px;
+  font-weight: bold;
+}
+.package-info h3 span{
+  font-size: 11px;
+}
+.package-info .badge{
+  margin-right: 6px;
+  padding: 4px 10px;
+  background: #E0E8F2;
+  border-radius: 12px;
+  color: #1B3E6F;
+  font-size: 11px;
+  font-weight: normal;
+}
+.creator-pic{
+  border-radius: 50%;
+  width: 30px;
+  height: 30px;
+}
+.package-info p{
+  margin-bottom: 0;
+  font-size: 11px;
+  line-height: 20px;
+}
 
 
 
@@ -179,12 +255,29 @@ button.rotate{
 .rotate a:hover{
   text-decoration: none;
 }
-
+#board-paper svg{
+  top: 70px;
+  left: 0;
+}
+.componentsList tspan{
+  /* width:30px !important;  */
+  font: normal 13px sans-serif; 
+  fill: #1B3E6F !important; 
+  overflow-wrap: break-word;
+}
+#board-paper #name tspan{
+  /* fill: green; */
+  text-align: center;
+  
+}
+tspan#type{
+  text-align: center;
+}
 /*ACTIONS & COMPONENTS MENU*/
 .input-search-controller{
-  height: 50px;
-  padding-left: 30px;
-  background: url(src/assets/img/icon-search-light.svg) #fff 10px center no-repeat;
+  height: 40px;
+  padding-left: 42px;
+  background: url(src/assets/img/icon-search-light.svg) #fff 21px center no-repeat;
   border-radius: 0;
   border: 0;
   border-bottom: solid 1px #D7E7F9;
@@ -196,16 +289,11 @@ button.rotate{
   font-size: 11px;
 }
 .input-search-controller:focus{
-  
+  background-color: #fff !important;
   box-shadow: 0 2px 6px 0 rgba(47, 83, 151, .15);
+  text-shadow: none;
   border-color: #DEE8F3;
 }
-.actions-scroll{
-  max-height: 29vh;
-  overflow-y: auto;
-  margin-top: 12px;
-  margin-bottom: 20px;
-}
 .componentsList p{
   margin-bottom: 0;
   padding-left: 30px;
@@ -238,10 +326,37 @@ p.compType-4{
 
 .controllerSidebar{
   width: 320px;
+  padding: 0;
+  overflow: hidden !important;
   background: #F4F9FE;
   border: solid 1px #C1CDDD;
   box-shadow: 0 2px 6px rgba(47, 83, 151, .10);
 }
+.helpBox{
+  position : absolute;
+  bottom : 0;
+  width: 100%;
+  height : 40px;
+  margin-top : 24px;
+  padding-left: 20px;
+  background: #fff;
+  border-top: solid 1px #C1CDDD;
+  font-size: 13px;
+  line-height: 40px;
+  color: #0070F4;
+}
+.helpBox .icon-info{
+  margin-left: 0;
+  margin-right: 10px;
+}
+.helpBox .icon-info::before{
+  color: #0070F4 !important;
+}
+.controllerSidebar .row,
+.controllerSidebar .col{
+  margin: 0;
+  padding: 0;
+}
 .controllerSidebar h1{
   margin-bottom: 15px;
   padding: 12px 0 12px 12px;
@@ -252,39 +367,60 @@ p.compType-4{
   color: #C3CDDB;
 }
 .controllerSidebar b{
+  margin-left: 12px;
+  margin-bottom: 9px;
   font-size: 12px;
   color: #C3CDDB;
 }
+
 .actionBtns .btn{
-  margin: 0 15px 12px;
-  padding: 9px 20px;
-  border-radius: 2px !important;
-  font-size: 12px;
+  margin: 0px 15px 16px -90px;
+  /* padding: 9px 20px; */
+  border-radius: 0px;
+  font-size: 14px;
   font-weight: bold;
+  /* outline: 0 !important; */
+  float: left;
+  
 }
-.actionBtns .btn:first-child{
-  background: #1B3E6F;
-  border: solid 1px #1B3E6F;
-  color: #fff;
-}
-.actionBtns .btn:last-child{
-  padding-left: 34px;
-  background: url(src/assets/img/icon-import-blue.svg) 12px center #fff no-repeat;
-  border: solid 1px #D0DFF1;
+.new-action,
+.new-action:hover{
+  margin: 9px 0 4px 18px;
+  padding: 6px;
+  font-size: 13px;
+  font-weight: bold;
   color: #1B3E6F;
 }
-.actionsList,
+.new-action:hover{
+  background: #D7E7F9;
+}
 .componentsList{
-  padding: 0 12px 20px;
+  margin-top: 16px;
+  padding: 0 20px 10px;
 }
 .componentsList{
   padding-bottom: 0;
+  /* height: calc( 100vh - 218px)!important;
+  overflow: scroll;*/
+  background: #F4F9FE !important;
 }
 .custom-control.custom-checkbox:hover,
 .custom-control-label:hover{
   cursor: pointer;
 }
-.actionsList .custom-checkbox,
+.custom-control{
+  height: 40px;
+  font-size: 14px;
+  line-height: 40px;
+}
+.custom-control:hover{
+    background-color: white;
+}
+.actionsList,
+.componentsList{
+  height: 65vh !important;
+  overflow-y: auto;
+}
 .componentsList .list-group-item{
   margin-bottom: 10px;
   padding-left: 40px;
@@ -297,7 +433,7 @@ p.compType-4{
   padding: 6px;
   vertical-align: unset;
   color: #1B3E6F;
-  font-size: 14px;
+  font-size: 13px;
   line-height: 20px;
   border-top-right-radius: 2px;
   border-bottom-right-radius: 2px;
@@ -331,6 +467,13 @@ p.compType-4{
   background: #fff;
   border: solid 1px #D9E6F2;
   color: #C3CDDB;
+  margin-top: 14px;
+}
+.controllerSidebar .custom-control label{
+  margin-bottom: 0;
+}
+.controllerSidebar .custom-control i{
+  margin-right: 9px;
 }
 /*Components List*/
 .componentsList .list-group-item{
@@ -341,33 +484,52 @@ p.compType-4{
 }
  
 /*CANVAS*/
-.editBar{
-  width: 350px;
-  margin: 0 auto 0;
-  padding: 6px 10px;
+.source-button.editBar{
+  position: absolute;
+  z-index: 9999999;
+  top: 60px;
+  /* left: 50%; */
+}
+.editBar,
+.editBar2{
+  width: calc(100% - 320px);
+  margin: 0 auto 0 320px;
+  height: 45px;
+  padding: 0;
+  padding-right: 20px;
   background:#F4F9FE;
-  border: solid 1px #E8EFF8;
+  border-bottom: solid 1px #E8EFF8;
   box-shadow: 0 2px 6px rgba(47, 83, 151, .1);
 }
-.editBar .btn-group{
+
+.editBar .btn-group,
+.editBar2 .btn-group{
   box-shadow: 0 2px 6px rgba(47, 83, 151, .15);
 }
-.editBar .btn{
+.editBar .toggoleBtn,
+.editBar2 .toggoleBtn{
+  height: 43px;
+  margin-right: 12px;
   background-color: #fff;
   background-repeat: no-repeat;
   background-position: left center;
   border: 0;
   color: #1B3E6F;
   font-size: 10px;
+  border-top-left-radius: 0;
+  border-top-right-radius: 4px;
+  border-bottom-left-radius: 0;
+  border-bottom-right-radius: 4px;
+}
+.editBar .toggoleBtn i,
+.editBar2 .toggoleBtn i{
+  font-size: 20px;
 }
-.editBar .btn.active{
+.editBar .toggoleBtn.active,
+.editBar2 .toggoleBtn.active{
   background-color: #1B3E6F !important;
   color: #fff;
 }
-.viewBtns .btn{
-  background-position: 10px center;
-  padding-left: 30px;
-}
 .viewBtns .topologySource{
   background-image: url(src/assets/img/icon-topologyView-active.svg);
 }
@@ -427,11 +589,21 @@ p.compType-4{
 .componentContainer p{
   font-size: 12px;
 }
-
+.functionAttributeSidebar{
+  width: 440px;
+  padding: 0px;
+  margin-top: 45px;
+}
+.functionAttributeSidebar .attributesContainer{
+  background: #fff;
+  border: solid 1px #C1CDDD;
+  box-shadow: 0 2px 6px rgba(47, 83, 151, .1);
+}
 /*ATTRIBUTES SIDE BAR*/
 .attributesSideBar{
   width: 396px;
-  padding: 0;
+  padding: 0px;
+  margin-top: 50px;
 }
 .attributesSideBar .attributesContainer{
   background: #fff;
@@ -439,12 +611,13 @@ p.compType-4{
   box-shadow: 0 2px 6px rgba(47, 83, 151, .1);
 }
 .closeBar{
-  float: right;
-  width: 90%;
-  height: 40px;
+  float: left;
+  width: 50%;
+  height: 42px;
   background: url(/assets/img/icon-close.svg) center center #DCE8F4 no-repeat ;
   border: 0;
   outline: 0;
+  margin-left: -30px;
 }
 .closeBar:focus{
   outline: none;
@@ -458,6 +631,15 @@ p.compType-4{
   text-transform: uppercase;
   color: #1B3E6F;
 }
+.attributesContainer h6{
+  margin-bottom: 10px;
+  padding: 12px 0 12px 15px;
+  background: #DEE8F3;
+  font-size: 12px;
+  font-weight: bold;
+  text-transform: uppercase;
+  color: #1B3E6F;
+}
 .actionName{
   margin-bottom: 21px;
 }
@@ -508,7 +690,7 @@ p.compType-4{
   font-weight: bold;
   font-size: 13px;
   text-transform: uppercase;
-  line-height: 38px;
+  line-height: 15px;
 }
 .accordion .btn-link:hover{
   color: #103D73;
@@ -548,3 +730,116 @@ p.compType-4{
   font-size: 10px;
 
 }
+/* .source-button{
+  position: absolute;
+    z-index: 9999999;
+    top: 60px;
+    left: 50%;
+} */
+/*jointjs paper*/
+/* #board-paper {
+    position: relative;
+    border: 1px solid gray;
+    display: inline-block;
+    background: transparent;
+    overflow: hidden;
+}
+#board-paper svg {
+    background: transparent;
+}
+#board-paper svg .link {
+    z-index: 2;
+}
+.html-element {
+    position: absolute;
+    background: #F4F9FE;
+    pointer-events: none;
+    -webkit-user-select: none;
+    z-index: 2;
+} */
+.attributesContainer .dropdown-text,
+.dropdown-toggle:hover ~ .dropdown-text, 
+.dropdown-toggle:focus ~ .dropdown-text{
+  top: 7px;
+  text-indent: 15px;
+  background: #F4F9FE;
+  border-radius: 5px;
+  border: 0;
+  box-shadow: whitesmoke;
+  color: #1B3E6F;
+  font-weight: bold;
+  font-size: 13px;
+}
+.radio-btn{
+  margin-left: 12px;
+  font-weight: bold;
+}
+.function-attribute{
+  margin-right: -16px;
+}
+.trash-span{
+  margin-left: 150px;
+  font-size:15px
+}
+
+.editBar2{
+  width: 100%;
+  margin: 0;
+}
+
+.viewBtns .btn{
+  margin-top: 14px;
+  padding-left: 30px!important;
+  border: 0;
+  font-size: 12px;
+  color: #1B3E6F !important;
+  background-color: #fff !important;
+  background-repeat: no-repeat;
+  background-position: 10px center;
+}
+.viewBtns .btn.active{
+  background-color: #1B3E6F !important;
+  color: #fff !important;
+}
+
+
+.joint-paper{
+  width: 94% !important;
+  height: 100vh !important;
+  margin: 0 auto !important;
+}
+ul.templateLegend{
+  margin: 0;
+}
+.templateLegend li{
+  float: left;
+  list-style: none;
+  font-size: 11px;
+}
+.templateLegend li:not(:last-child){
+  margin-right: 24px;
+}
+.templateLegend .requirement i{
+  color: #FF6B6B;
+}
+.templateLegend .capability i{
+  color: #0ABDE3;
+}
+ul.editor{
+  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; 
+  text-align: center;
+  background-color:rgb(215, 234, 250);
+  color: white;
+  margin: 5px;
+}