Skip to content

Commit

Permalink
updates to the toolkit's defaults css
Browse files Browse the repository at this point in the history
  • Loading branch information
sporritt committed Feb 2, 2018
1 parent bc06fe0 commit fba7c40
Showing 1 changed file with 10 additions and 32 deletions.
42 changes: 10 additions & 32 deletions css/jsplumbtoolkit-defaults.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Default styles for jsPlumb Toolkit
Copyright 2017 https://jsplumbtoolkit.com
Copyright 2018 https://jsplumbtoolkit.com
*/

/* --------------------------------------------------------------------------------------------- */
Expand Down Expand Up @@ -48,6 +48,15 @@
/*-webkit-backface-visibility: hidden;*/
}

/*
Suppresses the pointer events on an element that was created by Katavorio in response to a drag in which the element
should first be cloned. Having this clone ignore pointer events means there is less chance that any other
mouse activity (such as click) on the original element will not be consumed by katavorio.
*/
.katavorio-clone-drag {
pointer-events:none;
}

/*
Assigned to an element that is the `Container` in a `render` call.
Elements that are acting as Surface widgets should have overflow:hidden set to prevent libs from
Expand Down Expand Up @@ -591,34 +600,3 @@ Assigned to tile images in a tiled background
-ms-user-select: none;
user-select: none;
}

.jtk-bezier-handle {
width:15px;
height:15px;
border-radius:50%;
background-color:darkcyan;
cursor:move;
z-index:10;
}

.jtk-bezier-handle-secondary {
cursor:default;
background-color:lightgreen;
}

.jtk-bezier-handle-secondary-source {
background-color: lavenderblush;
}

.jtk-bezier-guideline {
position:absolute;
}

.jtk-bezier-guideline path {
stroke:darkcyan;
stroke-linewidth:3;
}

.jtk-connection-edit path {
stroke-dasharray:2 2;
}

0 comments on commit fba7c40

Please sign in to comment.