diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-02-23 14:26:10 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-02-23 15:07:53 +0200 |
| commit | 446f272819e3f610abd39b8625a93b387eb558d4 (patch) | |
| tree | ec8974ce1dfe09cb2c80af65f99c6412de52bcfa /res/client/css/by-view/graph-view.scss | |
| parent | dc3213fe3a5a107b6d7f3b4ef1b876db842c287d (diff) | |
style.scss: use 'by-view' file layout
Diffstat (limited to 'res/client/css/by-view/graph-view.scss')
| -rw-r--r-- | res/client/css/by-view/graph-view.scss | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/res/client/css/by-view/graph-view.scss b/res/client/css/by-view/graph-view.scss new file mode 100644 index 00000000..abce69a3 --- /dev/null +++ b/res/client/css/by-view/graph-view.scss @@ -0,0 +1,208 @@ +.graph-view { + width:100%; + background-color: #f5f5fa; //$light-grey + position: relative; +} + +.node { + stroke-width: 1px; + font-size: $h3-size; + z-index:100; +} + +.ghostnode{ + +} + +.circle { + z-index: 100; + pointer-events:all; + fill: $dark-grey; +} + +.nodetext { + fill: $dark-grey; + font-size: $h3-size; + z-index:3; +} + +// editor for node text +.svg-input-fo-node { + fill: $dark-grey; + z-index:3; +} + +.svg-input-fo-node input { + font-size: $h3-size; + background-color: transparent; +} + +.linklabel{ + stroke: $dark-grey; + font-size: $h4-size; + background-color: transparent; +} + +// editor for link text +.svg-input-fo-link { + stroke: $dark-grey; +} + +.svg-input-fo-link input { + font-size: $h4-size;; + background-color: transparent; +} + +.link { + fill: none; + stroke: $mid-grey; + stroke-width: 1px; + stroke-opacity: 0.5; + z-index:1; +} + +.ghostlink { + opacity: 0.0; + fill: none; + stroke-width: 15px; + z-index:2; /* higher than link, lower than node */ +} + +.circle.chosen { + stroke: $cyan; + stroke-opacity: 0.5; +} +.circle.enter { + stroke: $cyan; + stroke-opacity: 0.5; +} + +.circle.bubble { + fill: rgba(255,255,255,0.4); + pointer-events:none; +} +.circle.exit { + stroke: $cyan; + stroke-opacity: 0.5; +} +.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: $blue; +} + +.circle.club { + fill: $magenta; +} + +.circle.skill { + fill: $yellow; +} + +.circle.interest { + fill: $purple; +} + +.circle.project { + fill: $green; +} + +.circle.third-internship-proposal { + fill: $cyan; +} + +.circle.internship { + fill: $orange; +} + +.circle.empty { + fill: $mid-grey; +} + +.circle.chainlink { + fill: $dark-grey; +} + + +/* Selected parts of the graph, right now by clicking, later with search. */ + +.notselected { + opacity: 0.2; + -webkit-filter: blur(10px); +} + +.graph.link.temp_and { + stroke-dasharray: 3,3; +} + +.highlightlink { + fill: none; + stroke: $cyan; + stroke-opacity: 0.5; + stroke-width: 2px; + z-index:1; +} + +.link.enter, .link.exit, .link.selected { + fill: none; + stroke: $cyan; + stroke-opacity: 0.5; + stroke-width: 2px; + z-index:1; +} + +#editbox input{ + width:130px; +} + +.overlay { + fill:none; + pointer-events: all; + z-index:0; + +} + +.editinfo{ + position: fixed; + top:-40px; + z-index:5; +} + +.editlinkinfo{ + position: fixed; + top:-40px; + z-index:5; +} + +#editlinkname{ + width:inherit; + height:inherit; + font-size: $h3-size; + +} + +#editname{ + width:inherit; + height:inherit; + font-size: $h3-size; + +} + |
