From f48aec61a4829a3cefe682921d912cb70b0836e7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 9 Apr 2014 19:01:57 -0400 Subject: drawing rectangles --- assets/javascripts/environments/app.js | 2 +- assets/stylesheets/css.css | 2 + rectangles-draw.html | 95 ++++++++++++++++++++++++++++++++++ rectangles.html | 95 ++++++++++++++++++++++++++++++++++ 4 files changed, 193 insertions(+), 1 deletion(-) create mode 100644 rectangles-draw.html create mode 100644 rectangles.html diff --git a/assets/javascripts/environments/app.js b/assets/javascripts/environments/app.js index 27a5222..9070881 100644 --- a/assets/javascripts/environments/app.js +++ b/assets/javascripts/environments/app.js @@ -12,7 +12,7 @@ environment.init = function(){ "rotationX": 0.085, "rotationY": 0.025 }) - map && map.zoom(3.10) && map.recenter() + map && map.zoom(2.50) && map.recenter() // // intro floor, models, etc diff --git a/assets/stylesheets/css.css b/assets/stylesheets/css.css index e536b4c..e59793a 100644 --- a/assets/stylesheets/css.css +++ b/assets/stylesheets/css.css @@ -7,6 +7,8 @@ html, body { width: 100%; height: 100%; + background: -moz-linear-gradient(top, rgba(240,249,255,1) 0%, rgba(244,251,255,1) 59%, rgba(244,251,255,1) 59%, rgba(234,247,255,1) 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(240,249,255,1)), color-stop(59%,rgba(244,251,255,1)), color-stop(59%,rgba(244,251,255,1)), color-stop(100%,rgba(234,247,255,1))); /* Chrome,Safari4+ */ } .mx-scene { z-index: 1; diff --git a/rectangles-draw.html b/rectangles-draw.html new file mode 100644 index 0000000..c79b700 --- /dev/null +++ b/rectangles-draw.html @@ -0,0 +1,95 @@ + + + + + + + + + + + + diff --git a/rectangles.html b/rectangles.html new file mode 100644 index 0000000..c79b700 --- /dev/null +++ b/rectangles.html @@ -0,0 +1,95 @@ + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2