[ Launch: sverchok site design ] cbc2d2feba7d65d8c256 by zeffii
[ Launch: zeffii's geom dailies grid html BW ] 8cc363a1bc13f6b85419 by zeffii
[ Launch: zeffii's geom dailies grid html ] 5818369 by zeffii
[ Launch: zeffii's geom dailies grid ] 5756514 by zeffii
[ Launch: zeffii's geom dailies ] 5280281 by zeffii
[ Launch: zeffii's geom dailies ] 5279252 by enjalot
[ Launch: just mine p5 ] 5020279 by zeffii
[ Launch: just mine p5 ] 4966869 by zeffii
[ Launch: just mine p3 ] 4960296 by zeffii
[ Launch: just mine p2 ] 4959904 by zeffii
[ Launch: just mine ] 4959669 by zeffii
[ Launch: crossfilter racetrack ] 4956157 by zeffii
[ Launch: crossfilter racetrack ] 4624910 by zeffii
[ Launch: Another Inlet ] 4618198 by enjalot
-
-
Save zeffii/cbc2d2feba7d65d8c256 to your computer and use it in GitHub Desktop.
sverchok site design2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"description":"sverchok site design2","endpoint":"","display":"div","public":true,"require":[{"name":"crossfilter2","url":"http://square.github.io/crossfilter/crossfilter.v1.min.js"}],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"cars.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"style.css":{"default":true,"vim":false,"emacs":false,"fontSize":12},"conf.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"recodes.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"tab":"edit","display_percent":0.46399999999999975,"ajax-caching":false,"thumbnail":"http://i.imgur.com/38VSTHI.png"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Prelim redesign of Sverchok landing page | |
-- been too long since I wrote .js and d3, | |
*/ | |
d3.select("body").style("background-color", "#ECECEC") | |
var content_display = d3.select("#display") | |
.style({background: '#545354'}) | |
var cmain = content_display.append("div") | |
.classed("content_main", true) | |
.attr({width: '289px', height: '500px'}); | |
var context = { | |
header: "Sverchok", | |
menu_items: [ | |
{name:"About", link: ""}, | |
{name:"Gallery", link: ""}, | |
{name:"Download", link: ""}, | |
{name:"Help", link: ""}, | |
{name:"Support", link: ""} | |
], | |
about: "\ | |
<h3>Lorem ipsum<h3>\ | |
droll trickatreat streaky bacon chance jeopardy dimanche fravaol ti\ | |
chinchan chipchop chumchim chobchab blert braaap rabble rabble rablerable. RaBel!" | |
} | |
function draw_content(){ | |
var div1 = cmain.append("div") | |
.classed("sv_header", true); | |
var div2 = cmain.append("div") | |
.classed("sv_menu", true) | |
div1.append('text').text(function(){ return context.header }) | |
var menu = div2.selectAll("div") | |
.data(context.menu_items) | |
.classed("menu_item", true); | |
menu.enter().append("div").classed('item', true) | |
.append("text") | |
.text(function(d, i) { return d.name }); | |
//div2.append('text').text(function(){ return context.about }) | |
} | |
draw_content() | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cm-s-lesser-dark.CodeMirror { background: #1e2426; color: #696969; } | |
.cm-s-lesser-dark div.CodeMirror-selected {background: #064968 !important;} /* 33322B*/ | |
.cm-s-lesser-dark span.cm-variable { color:#22EFFF; } | |
.cm-s-lesser-dark span.cm-variable-2 { color: #FFCCB4; } | |
.cm-s-lesser-dark span.cm-variable-3 { color: white; } | |
.cm-s-lesser-dark span.cm-string { color: Chartreuse; } | |
.cm-s-lesser-dark span.cm-string-2 {color: Chartreuse;} | |
.cm-s-lesser-dark span.cm-def {color: #FFCCB4; opacity: 1.0} | |
.cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; } | |
.cm-s-lesser-dark pre { color:#FFF; } | |
.cm-s-lesser-dark span.cm-comment { color: #AFB4B4;} | |
.cm-s-lesser-dark span.cm-property {color: #FDA676;} | |
.cm-s-lesser-dark span.cm-number { color: #FF92EE;} | |
.cm-s-lesser-dark span.cm-keyword { color: #FFFF18; } | |
.cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; } | |
.cm-s-lesser-dark .CodeMirror-gutters {background: #505050;} | |
.cm-s-lesser-dark .CodeMirror-linenumber {color: #D3D3D3;} | |
#display { | |
overflow:scroll; | |
padding-bottom: 5px; | |
} | |
div.content_main { | |
float: left; | |
font-size: 0.7em; | |
line-height: 0.95em; | |
overflow: scroll; | |
} | |
text { | |
color: #edfbed; | |
} | |
.sv_header { | |
background: #2dd8db; | |
/*display: inline-block;*/ | |
width: 902px; | |
height: 300px; | |
padding-top: 50px; | |
margin-top: 20px; | |
} | |
.sv_header text { | |
color: #ffffff; | |
font-size: 7em | |
} | |
.sv_menu { | |
background: #97d0e7; | |
/*display: inline-block;*/ | |
width: 176px; | |
height: 448px; | |
padding-top: 16px; | |
} | |
.item { | |
text-align: right; | |
padding-right: 10px; | |
padding-bottom: 10px; | |
} | |
.item text { | |
color: #4ca6ef; | |
font-size: 2em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment