diff options
| author | Loic GUEGAN <loic@Manzerbredes.home> | 2016-04-27 17:02:19 +0200 |
|---|---|---|
| committer | Loic GUEGAN <loic@Manzerbredes.home> | 2016-04-27 17:02:19 +0200 |
| commit | 3c72415dcda4ca43a2adf9a0254d51cc6ce196c3 (patch) | |
| tree | ff9bcf3429aa63b733663c8954b3dce1ea0d74e8 /client/css/graph.css | |
| parent | 02f8eb801fcf7a12b32e4231e5db4e57e649c6ab (diff) | |
| parent | 49b4b20a1e966d5203fd851480149d9e88a0f681 (diff) | |
Merge branch 'develop' into loic
Diffstat (limited to 'client/css/graph.css')
| -rw-r--r-- | client/css/graph.css | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/client/css/graph.css b/client/css/graph.css new file mode 100644 index 0000000..62056eb --- /dev/null +++ b/client/css/graph.css @@ -0,0 +1,62 @@ +#paper { + position: relative; + border: 1px solid gray; + display: inline-block; + background: transparent; + overflow: hidden; +} +#paper svg { + background: transparent; +} +#paper svg .link { + z-index: 2; +} +.html-element { + position: absolute; + background: #3498DB; + /* Make sure events are propagated to the JointJS element so, e.g. dragging works.*/ + pointer-events: none; + -webkit-user-select: none; + border-radius: 4px; + border: 2px solid #2980B9; + padding: 5px; + box-sizing: border-box; + z-index: 2; + display: flex; + justify-content: center; + align-items: center; +} +.html-element select, +.html-element input, +.html-element button { + /* Enable interacting with inputs only. */ + pointer-events: auto; +} +.html-element input.config { + width: 22px; + height: 22px; + position: absolute; + top: 1px; + left: 102px; + padding: 0; + margin: 0; + font-weight: bold; + cursor: pointer; +} +.html-element img { + margin: 8px; +} +.html-element input.config:hover { + width: 25px; + height: 25px; + margin: -1px; +} + +.html-element label { + color: #333; + text-align: center; + margin: auto; + font-weight: bold; + font-size: 12px; + float: right; +}
\ No newline at end of file |
