diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-18 11:38:16 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-18 18:47:34 +0200 |
| commit | c80243ce285d672e82c2556f9dd68e81665e4dae (patch) | |
| tree | 78e91d641aa9f4e72448b4e7ff2985a58a49448a /res/css/style.css | |
| parent | 1757ccb0bc203beec155a94dde6a7870d4aa93e7 (diff) | |
rz_core: move styling to css for easy skinning
So now you can change for instance:
$('.perm').each(function(i,x) { x.style.opacity=0.1; })
Diffstat (limited to 'res/css/style.css')
| -rw-r--r-- | res/css/style.css | 97 |
1 files changed, 81 insertions, 16 deletions
diff --git a/res/css/style.css b/res/css/style.css index 14a33d77..5b9607b8 100644 --- a/res/css/style.css +++ b/res/css/style.css @@ -101,11 +101,11 @@ input:focus { } .circle { - stroke: #fff; stroke-width: 1.5px; z-index: 100; pointer-events:all; + box-shadow: 0 0 0px #FFFF8F; } .nodetext { @@ -139,6 +139,82 @@ input:focus { z-index:2; // higher than link, lower than node } +.circle.chosen { + stroke: #EDE275; +} +.circle.enter { + stroke: #EDE275; +} +.circle.bubble { + stroke: #101010; +} +.circle.exit { + stroke: #EDE275; +} +.circle.chainlink { + stroke: #AAA; +} + +.circle.temp { + box-shadow: 0 0 40px #FFFF8F; +} + +.circle.temp, .circle.chosen { + stroke-width: 3px; +} + +.circle.temp.empty { + stroke-width: 1.5px; +} + +/* Per node and edge type (type is a property of nodes and links) styling + * note that this should be automatically generated somehow for user settings. + */ + +.circle.person { + fill: #FCB924; +} + + +.circle.project { + fill: #009DDC; +} + +.circle.skill { + fill: #62BB47; +} + +.circle.deliverable { + fill: #202020; +} + +.circle.objective { + fill: #933E99; +} + +.circle.empty { + fill: #080808; +} + +.circle.chainlink { + fill: #fff; +} + +.circle.bubble { + fill: rgba(0,0,0,0.2); +} + + +// Selected parts of the graph, right now by clicking, later with search. + +.graph.link.selected { + fill: #EDE275; +} + +.graph.link.temp_and { + stroke-dasharray: 3,3; +} + .highlightlink { fill: none; stroke: #EDE275; @@ -147,18 +223,18 @@ input:focus { pointer-events: none; } -.enterlink { +.link.enter { fill: none; stroke: #EDE275; - stroke-width: 2px; + stroke-width: 4px; z-index:1; pointer-events: none; } -.exitlink { +.link.exit { fill: none; stroke: #EDE275; - stroke-width: 2px; + stroke-width: 4px; z-index:1; pointer-events: none; } @@ -221,16 +297,6 @@ input:focus { display:none; } -/* -.typeselection{ - position:fixed; - right:20px; - top:200px; - font-size:16px; - text-align:right; - -}*/ - .typeselection{ position:fixed; left:0; @@ -485,4 +551,3 @@ input:focus { .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch { right: 0px; } - |
