Skip to content

Commit

Permalink
first version of static html gui
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed May 25, 2015
1 parent 4b132d2 commit 6ff1b82
Show file tree
Hide file tree
Showing 12 changed files with 9,401 additions and 0 deletions.
401 changes: 401 additions & 0 deletions contrib/html/css/jsplumb.css

Large diffs are not rendered by default.

112 changes: 112 additions & 0 deletions contrib/html/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
.ebus {
/* for IE10+ touch devices */
touch-action:none;
}

.ebus .circuit, .ebus .circuit .back {
background-repeat: no-repeat;
# border: 1px solid #346789;
# box-shadow: 2px 2px 19px #aaa;
# -o-box-shadow: 2px 2px 19px #aaa;
# -webkit-box-shadow: 2px 2px 19px #aaa;
# -moz-box-shadow: 2px 2px 19px #aaa;
# -moz-border-radius: 0.5em;
# border-radius: 0.5em;
opacity: 0.8;
filter: alpha(opacity=80);
width: 80px;
height: 80px;
line-height: 80px;
cursor: pointer;
text-align: center;
z-index: 20;
position: absolute;
background-color: #eeeeef;
color: black;
font-family: helvetica;
padding: 0.5em;
font-size: 0.9em;
# -webkit-transition: -webkit-box-shadow 0.15s ease-in;
# -moz-transition: -moz-box-shadow 0.15s ease-in;
# -o-transition: -o-box-shadow 0.15s ease-in;
# transition: box-shadow 0.15s ease-in;
}

.ebus .circuit.back {
padding: 0;
}

.ebus .circuit:hover {
box-shadow: 2px 2px 19px #444;
-o-box-shadow: 2px 2px 19px #444;
-webkit-box-shadow: 2px 2px 19px #444;
-moz-box-shadow: 2px 2px 19px #444;
opacity: 0.6;
filter: alpha(opacity=60);
}

.ebus .active {
border: 1px dotted green;
}

.ebus .hover {
border: 1px dotted red;
}

.ebus ._jsPlumb_connector {
z-index: 4;
}

.ebus ._jsPlumb_endpoint, .endpointTargetLabel, .endpointSourceLabel {
z-index: 21;
cursor: pointer;
}

.ebus .circuitLabel {
background-color: white;
padding: 0.2em;
font: 12px sans-serif;
color: #000;
z-index: 21;
border: 1px dotted gray;
opacity: 0.8;
filter: alpha(opacity=80);
cursor: pointer;
position: absolute;
}

.ebus .circuitLabel:hover {
background-color: #5C96BC;
color: white;
border: 1px solid white;
}

.connLabel {
background-color: white;
padding: 0.2em;
font: 12px sans-serif;
color: #000;
z-index: 21;
border: 1px dotted gray;
opacity: 0.8;
filter: alpha(opacity=80);
cursor: pointer;
}

.ebus .connLabel._jsPlumb_hover {
background-color: #5C96BC;
color: white;
border: 1px solid white;
}

.circuit._jsPlumb_connected {
# border: 2px solid green;
}

.jsplumb-drag {
# border: 4px solid pink !important;
}

path, ._jsPlumb_endpoint {
cursor: pointer;
}
31 changes: 31 additions & 0 deletions contrib/html/img/dcf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
158 changes: 158 additions & 0 deletions contrib/html/img/ehp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6ff1b82

Please sign in to comment.