Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
layout bug-fix
Browse files Browse the repository at this point in the history
update cursor in menu and graph
  • Loading branch information
chepilot committed Mar 30, 2016
1 parent 4393262 commit 2ad9a14
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
2 changes: 2 additions & 0 deletions assets/css/dropdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
}

.dropdown-menu {
cursor: pointer !important;
font-size: 12px !important;
border:0 !important;
background-clip: border-box !important;
Expand All @@ -16,6 +17,7 @@


.dropdown-submenu{
cursor: pointer !important;
position:relative;
}

Expand Down
32 changes: 29 additions & 3 deletions assets/css/flowchart/graph.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,151 +10,172 @@ CSS For ui-flowchart [left pane graph area]
stroke: #aaaaaa;
stroke-width: 1;
border-radius: 0 !important;
cursor: default !important;
}

.mouseover-node-rect {
stroke: #777777;
stroke-width: 1;
cursor: default !important;
}

.selected-node-rect {
fill:white;
stroke: #3F98F3;
stroke-width: 1;
cursor: default !important;
}

.disabled-node-rect {
fill:#cccccc;
stroke: #aaaaaa;
border-radius: 0 !important;
stroke-width: 1;
cursor: default !important;
}

.mouseover-disabled-node-rect {
fill:#cccccc;
stroke: #777777;
stroke-width: 1;
border-radius: 0 !important;
cursor: default !important;
}

.selected-disabled-node-rect {
fill:#cccccc;
stroke: #3F98F3;
stroke-width: 1;
border-radius: 0 !important;
cursor: default !important;
}

.connector-circle {
fill: white;
stroke: #777777;
stroke-width: 1;
cursor: default !important;
}

.func-connector-circle {
fill: white;
stroke: #777777;
stroke-width: 1;
stroke-dasharray:5,1;
cursor: default !important;
}

.mouseover-func-connector-circle {
fill: white;
stroke: #777777;
stroke-width: 2;
stroke-dasharray:5,1;
cursor: default !important;
}

.selected-func-connector-circle {
fill: white;
stroke: red;
stroke-width: 1;
stroke-dasharray:5,1;
cursor: default !important;
}


.mouseover-connector-circle {
fill: white;
stroke: #777777;
stroke-width: 2;
cursor: default !important;
}
.connector-text{
visibility: hidden;
font-size: 8px;
font-weight: 300;
cursor: default !important;
}
.connector:hover > .connector-text {
visibility: visible;
font-size: 8px;
font-weight: 300;
cursor: default !important;
}


.selected-connector-circle {
fill: white;
stroke: red;
stroke-width: 1;
cursor: default !important;
}




/*
Style for connections.
*/

.connection {
cursor: default !important;
}

.connection-line {
stroke: #555555;
stroke-width: 1;
fill: transparent;
cursor: default !important;
}

.func-connection-line {
stroke: #555555;
stroke-width: 1;
fill: transparent;
stroke-dasharray:3,1;

cursor: default !important;
}

.mouseover-connection-line {
stroke: gray;
stroke-width: 2;
fill: transparent;
cursor: default !important;
}

.mouseover-func-connection-line {
stroke: gray;
stroke-width: 2;
fill: transparent;
stroke-dasharray:3,1;
cursor: default !important;
}

.selected-connection-line {
stroke: red;
stroke-width: 2;
fill: transparent;
cursor: default !important;
}

.selected-func-connection-line {
stroke: red;
stroke-width: 2;
fill: transparent;
stroke-dasharray:3,1;
cursor: default !important;
}

.connection-endpoint {
fill: #555555;
cursor: default !important;
}

.selected-connection-endpoint {
fill: red;
cursor: default !important;
}

.mouseover-connection-endpoint {
fill: gray;
cursor: default !important;
}

/*
Expand All @@ -163,16 +184,19 @@ Style for the connection being dragged out.

.dragging-connection {
pointer-events: none;
cursor: default !important;
}

.dragging-connection-line {
stroke: gray;
stroke-width: 2;
fill: transparent;
cursor: default !important;
}

.dragging-connection-endpoint {
fill: gray;
cursor: default !important;
}

/*
Expand All @@ -194,6 +218,7 @@ Drag selection rectangle.
stroke-dasharray:3,3;
fill: transparent;
border-radius: 0 !important;
cursor: default !important;
}

/*canvas background*/
Expand All @@ -206,4 +231,5 @@ Drag selection rectangle.

#node-creator{
width:180px;
cursor: default !important;
}
1 change: 1 addition & 0 deletions assets/css/ui-layout/ui-layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
text-align: center;
font-size: 12px;
color: #ccc;
display: none;
}

.ui-layout-column > .ui-splitbar > a:nth-child(2){
Expand Down
2 changes: 1 addition & 1 deletion mobius/layout/ui-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ angular.module('ui.layout', [])
});

scope.$on('$destroy', function() {
htmlElement.off('mouseup touchend mousemove touchmove');
htmlElement.off('mousemove touchmove');
});

//Add splitbar to layout container list
Expand Down

0 comments on commit 2ad9a14

Please sign in to comment.