cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [2/3] docs commit: Fixing history.
Date Fri, 21 Aug 2015 22:55:19 GMT
Fixing history.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/2b08a738
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/2b08a738
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/2b08a738

Branch: refs/heads/cordova-website
Commit: 2b08a73838ffdc500e9bcbf723e2c62fdf14677b
Parents: 2c078dc
Author: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Authored: Fri Aug 21 14:43:57 2015 -0700
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Fri Aug 21 14:51:41 2015 -0700

----------------------------------------------------------------------
 www/_includes/footer.html              |   2 +-
 www/index.html                         |  34 +++++-
 www/plugins/index.html                 | 177 +++++++++++-----------------
 www/plugins/plugins_initial.html       | 146 +++++++++++++++++++++++
 www/static/css-src/_contribute.scss    |   2 +-
 www/static/css-src/_home.scss          |  37 +++++-
 www/static/css-src/_plugins.scss       |  52 ++++++++
 www/static/css-src/main.scss           |  20 +++-
 www/static/img/copy-clipboard-icon.svg |  15 +++
 www/static/js/main.js                  |  22 ++--
 10 files changed, 379 insertions(+), 128 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/_includes/footer.html
----------------------------------------------------------------------
diff --git a/www/_includes/footer.html b/www/_includes/footer.html
index 5a41245..c694c41 100644
--- a/www/_includes/footer.html
+++ b/www/_includes/footer.html
@@ -48,7 +48,7 @@
             </div>
             <div class="col-sm-3">
                 <h1>Contribute</h1>
-                <p><strong>Help Cordova move forward!</strong></p>
+                <p style="padding-top:20px"><strong>Help Cordova move forward!</strong></p>
                 <p>Report bugs, improve the docs, or contribute to the code.</p>
                 <a href="{{ site.baseurl }}/contribute" class="btn btn-lg btn-primary">
                     Learn More

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index f8c68eb..acdcf50 100644
--- a/www/index.html
+++ b/www/index.html
@@ -39,20 +39,20 @@ permalink: /
             <div class="row">
                 <div class="col-xs-4">
                     <div class="row">
-                        <div class="col-sm-3"><div class="sprite_img" id="sprite_shared_code"></div></div>
-                        <div class="col-sm-9"><div class="value_prop"><p>100%
shared code across platforms</p></div></div>
+                        <div class="col-sm-4 col-md-3"><div class="sprite_img" id="sprite_shared_code"></div></div>
+                        <div class="col-sm-8 col-md-9"><div class="value_prop"><p>100%
shared code across platforms</p></div></div>
                     </div>
                 </div>
                 <div class="col-xs-4">
                     <div class="row">
-                        <div class="col-sm-3"><div class="sprite_img" id="sprite_offline"></div></div>
-                        <div class="col-sm-9"><div class="value_prop">Support
for offline scenarios</div></div>
+                        <div class="col-sm-4 col-md-3"><div class="sprite_img" id="sprite_offline"></div></div>
+                        <div class="col-sm-8 col-md-9"><div class="value_prop"><p>Support
for offline scenarios</p></div></div>
                     </div>
                 </div>
                 <div class="col-xs-4">
                     <div class="row">
-                        <div class="col-sm-3"><div class="sprite_img" id="sprite_apis"></div></div>
-                        <div class="col-sm-9"><div class="value_prop">Access
native Device APIs</div></div>
+                        <div class="col-sm-4 col-md-3"><div class="sprite_img" id="sprite_apis"></div></div>
+                        <div class="col-sm-8 col-md-9"><div class="value_prop"><p>Access
native Device APIs</p></div></div>
                     </div>
                 </div>
             </div>
@@ -209,3 +209,25 @@ permalink: /
 <script src="../../dist/js/bootstrap.min.js"></script>
 <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
 <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
+<script>
+        //Smooth scroll to anchor links
+    	$("#navbar ul li a[href^='/#']").on('click', function(e) { 
+		// prevent default anchor click behavior
+		console.log('Scrolled to where you asked');
+		e.preventDefault();
+
+		// store hash
+		var hash = this.hash;
+		
+		// animate
+		$('html, body').animate({
+			scrollTop: $(hash).offset().top
+			}, 300, function(){
+		
+			// when done, add hash to url
+			// (default click behaviour)
+			window.location.hash = hash;
+			});
+		
+	});
+</script>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/plugins/index.html
----------------------------------------------------------------------
diff --git a/www/plugins/index.html b/www/plugins/index.html
index a46deb5..d135328 100644
--- a/www/plugins/index.html
+++ b/www/plugins/index.html
@@ -23,124 +23,91 @@ plugins_tab: true
                         <button class="btn btn-default" type="button"><span class="glyphicon
glyphicon-search"></span></button>
                     </span>
                 </div>
-                <div class="whatisplugin_box">
-                    <img src="{{ site.baseurl }}/static/img/pluggy.png"/>
-                    <h2>What is a Cordova plugin?</h2>
-                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc
nec ante placerat, gravida ligula in, interdum mauris. Sed quis est vel erat vestibulum volutpat
in vitae.  <a href="#">Learn more...</a></p>
-                </div>
-                <div class="clearfix"></div>
-
             </div>
             <div class="plugins_links">
                     <ul class="nav nav-justified">
                     <li><a href="#"><span class="glyphicon glyphicon-plus"></span><i>&nbsp;</i>Contribute
Plugins</a></li>
                     <li><a href="#"><span class="glyphicon glyphicon-question-sign"></span><i>&nbsp;</i>Plugin
Help</a></li>
-                    <li><a href="#"><span class="glyphicon glyphicon-alert"></span><i>&nbsp;</i>Plugin
Issue Trakcer</a></li>
+                    <li><a href="#"><span class="glyphicon glyphicon-alert"></span><i>&nbsp;</i>Plugin
Issue Tracker</a></li>
                     </ul>
             </div>
             <!-- /input-group -->
         </div>
     </div>
-
-    <div class="row">
-        <div class="col-sm-6">
-            <div class="well featured-list">
-                <h2>Most Downloaded</h2>
-                <ul>
-                    <li>
-                        <div class="progress">
-                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
-                            style="width: 40%">
-                                <span class="sr-only">40% Complete (success)</span>
-                            </div>
-                        </div>
-                        <span class="plugin">Cordova Device</span>
-                        <span class="plugin-stats">2,339,658</span>
-                    </li>
-                    <li>
-                        <div class="progress">
-                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
-                            style="width: 40%">
-                                <span class="sr-only">40% Complete (success)</span>
-                            </div>
-                        </div>
-                        <span class="plugin">Cordova Device</span>
-                        <span class="plugin-stats">2,339,658</span>
-                    </li>
-                    <li>
-                        <div class="progress">
-                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
-                            style="width: 40%">
-                                <span class="sr-only">40% Complete (success)</span>
-                            </div>
-                        </div>
-                        <span class="plugin">Cordova Device</span>
-                        <span class="plugin-stats">2,339,658</span>
-                    </li>
-                    <li>
-                        <div class="progress">
-                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
-                            style="width: 40%">
-                                <span class="sr-only">40% Complete (success)</span>
-                            </div>
-                        </div>
-                        <span class="plugin">Cordova Device</span>
-                        <span class="plugin-stats">2,339,658</span>
-                    </li>
-                    <li>
-                        <div class="progress">
-                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
-                            style="width: 40%">
-                                <span class="sr-only">40% Complete (success)</span>
-                            </div>
-                        </div>
-                        <span class="plugin">Cordova Device</span>
-                        <span class="plugin-stats">2,339,658</span>
-                    </li>
-                    <li>
-                        <div class="progress">
-                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
-                            style="width: 40%">
-                                <span class="sr-only">40% Complete (success)</span>
-                            </div>
-                        </div>
-                        <span class="plugin">Cordova Device</span>
-                        <span class="plugin-stats">2,339,658</span>
-                    </li>
-                    <li>
-                        <div class="progress">
-                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
-                            style="width: 40%">
-                                <span class="sr-only">40% Complete (success)</span>
-                            </div>
-                        </div>
-                        <span class="plugin">Cordova Device</span>
-                        <span class="plugin-stats">2,339,658</span>
-                    </li>
-                </ul>
-
-            </div>
+    <div class="row filter-by-platforms">
+        <div class="filter-by-platform-label"><span>Platform:</span></div>
+        <ul class="nav nav-pills filter-by-platform-filters">
+            <li role="presentation" class="active"><a href="#"><span class="glyphicon
glyphicon-ok"></span><i>&nbsp;</i>Android</a></li>
+            <li role="presentation" class="active"><a href="#"><span class="glyphicon
glyphicon-ok"></span><i>&nbsp;</i>iOS</a></li>
+            <li role="presentation" class="active"><a href="#"><span class="glyphicon
glyphicon-ok"></span><i>&nbsp;</i>Windows 10</a></li>
+            <li role="presentation"><a href="#">Blackberry</a></li>
+            <li role="presentation"><a href="#">Ubuntu</a></li>
+            <li role="presentation"><a href="#">Firefox OS</a></li>
+            <li role="presentation"><a href="#">WebOS</a></li>
+            <li role="presentation"><a href="#">Fire OS</a></li>
+        </ul>
+    </div>
+</div>
+<div class="container plugins-results-container">
+    <div class="container plugin-results-result">
+        <img src="{{ site.baseurl }}/static/img/copy-clipboard-icon.svg" class="plugins-copy-to-clipboard"/>
+        <div class="row">
+            <div class="col-sm-9">
+                <h2><a href="">cordova-plugin-android-idfa</a></h2>
+                <p class="version_and_author">v1.04 by <strong>praves</strong></p>
+            </div>       
         </div>
-        <div class="col-sm-6">
-            <div class="well">
-                <h2 class="featured-list-header text-center">Most Downloaded</h2>
-                <ul class="featured-list">
-                    <li>
-                        <div class="progress">
-                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
-                            style="width: 40%">
-                                <span class="sr-only">40% Complete (success)</span>
-                            </div>
-                        </div>
-                        <span class="plugin">Cordova Device</span>
-                        <span class="plugin-stats">2,339,658</span>
-                    </li>
-                </ul>
-
+        <div class="row">
+            <div class="col-sm-8">
+                <p>Cordova Advertising ID (IDFA) Plugin for Android using Google Play
Services API Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
+            </div>
+            <div class="col-sm-3 col-sm-offset-1">
+                <hr class="visible-xs results-divider-line">
+                <p class="license">License</p>
+                <p class="downloads"><strong>114</strong> downloads last
month</p>
+                <p class="last-updated">Last updated <strong>21 days ago</strong></p>
             </div>
         </div>
     </div>
-
-
+    <div class="container plugin-results-result">
+        <img src="{{ site.baseurl }}/static/img/copy-clipboard-icon.svg" class="plugins-copy-to-clipboard"/>
+        <div class="row">
+            <div class="col-sm-9">
+                <h2><a href="">cordova-plugin-android-idfa</a></h2>
+                <p class="version_and_author">v1.04 by <strong>praves</strong></p>
+            </div>       
+        </div>
+        <div class="row">
+            <div class="col-sm-8">
+                <p>Cordova Advertising ID (IDFA) Plugin for Android using Google Play
Services API Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
+            </div>
+            <div class="col-sm-3 col-sm-offset-1">
+                <hr class="visible-xs results-divider-line">
+                <p class="license">License</p>
+                <p class="downloads"><strong>114</strong> downloads last
month</p>
+                <p class="last-updated">Last updated <strong>21 days ago</strong></p>
+            </div>
+        </div>
+    </div> 
+    <div class="container plugin-results-result">
+        <img src="{{ site.baseurl }}/static/img/copy-clipboard-icon.svg" class="plugins-copy-to-clipboard"/>
+        <div class="row">
+            <div class="col-sm-9">
+                <h2><a href="">cordova-plugin-android-idfa</a></h2>
+                <p class="version_and_author">v1.04 by <strong>praves</strong></p>
+            </div>       
+        </div>
+        <div class="row">
+            <div class="col-sm-8">
+                <p>Cordova Advertising ID (IDFA) Plugin for Android using Google Play
Services API Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
+            </div>
+            <div class="col-sm-3 col-sm-offset-1">
+                <hr class="visible-xs results-divider-line">
+                <p class="license">License</p>
+                <p class="downloads"><strong>114</strong> downloads last
month</p>
+                <p class="last-updated">Last updated <strong>21 days ago</strong></p>
+            </div>
+        </div>
+    </div>     
 </div>
 <!-- /container -->

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/plugins/plugins_initial.html
----------------------------------------------------------------------
diff --git a/www/plugins/plugins_initial.html b/www/plugins/plugins_initial.html
new file mode 100644
index 0000000..8db714a
--- /dev/null
+++ b/www/plugins/plugins_initial.html
@@ -0,0 +1,146 @@
+---
+layout: cordova
+title: Apache Cordova Plugins
+plugins_tab: true
+---
+
+<!-- REMOVE THIS LINK BEFORE PUBLISHING.  This is just for IntelliSense while coding -->
+<!-- <link rel="stylesheet" type="text/css" href="static/css/lib/bootstrap.css"/>
-->
+
+<!-- Main jumbotron for a primary marketing message or call to action -->
+<div class="container">
+    <div class="row">
+        <div class="col-sm-12 text-center">
+            <h1>Cordova Plugins</h1>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-sm-12">
+            <div class="plugins_search_container">
+                <div class="input-group">
+                    <input type="text" class="form-control" placeholder="Find a Plugin...">
+                    <span class="input-group-btn">
+                        <button class="btn btn-default" type="button"><span class="glyphicon
glyphicon-search"></span></button>
+                    </span>
+                </div>
+                <div class="whatisplugin_box">
+                    <img src="{{ site.baseurl }}/static/img/pluggy.png"/>
+                    <h2>What is a Cordova plugin?</h2>
+                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc
nec ante placerat, gravida ligula in, interdum mauris. Sed quis est vel erat vestibulum volutpat
in vitae.  <a href="#">Learn more...</a></p>
+                </div>
+                <div class="clearfix"></div>
+
+            </div>
+            <div class="plugins_links">
+                    <ul class="nav nav-justified">
+                    <li><a href="#"><span class="glyphicon glyphicon-plus"></span><i>&nbsp;</i>Contribute
Plugins</a></li>
+                    <li><a href="#"><span class="glyphicon glyphicon-question-sign"></span><i>&nbsp;</i>Plugin
Help</a></li>
+                    <li><a href="#"><span class="glyphicon glyphicon-alert"></span><i>&nbsp;</i>Plugin
Issue Tracker</a></li>
+                    </ul>
+            </div>
+            <!-- /input-group -->
+        </div>
+    </div>
+
+    <div class="row">
+        <div class="col-sm-6">
+            <div class="well featured-list">
+                <h2>Most Downloaded</h2>
+                <ul>
+                    <li>
+                        <div class="progress">
+                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
+                            style="width: 40%">
+                                <span class="sr-only">40% Complete (success)</span>
+                            </div>
+                        </div>
+                        <span class="plugin">Cordova Device</span>
+                        <span class="plugin-stats">2,339,658</span>
+                    </li>
+                    <li>
+                        <div class="progress">
+                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
+                            style="width: 40%">
+                                <span class="sr-only">40% Complete (success)</span>
+                            </div>
+                        </div>
+                        <span class="plugin">Cordova Device</span>
+                        <span class="plugin-stats">2,339,658</span>
+                    </li>
+                    <li>
+                        <div class="progress">
+                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
+                            style="width: 40%">
+                                <span class="sr-only">40% Complete (success)</span>
+                            </div>
+                        </div>
+                        <span class="plugin">Cordova Device</span>
+                        <span class="plugin-stats">2,339,658</span>
+                    </li>
+                    <li>
+                        <div class="progress">
+                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
+                            style="width: 40%">
+                                <span class="sr-only">40% Complete (success)</span>
+                            </div>
+                        </div>
+                        <span class="plugin">Cordova Device</span>
+                        <span class="plugin-stats">2,339,658</span>
+                    </li>
+                    <li>
+                        <div class="progress">
+                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
+                            style="width: 40%">
+                                <span class="sr-only">40% Complete (success)</span>
+                            </div>
+                        </div>
+                        <span class="plugin">Cordova Device</span>
+                        <span class="plugin-stats">2,339,658</span>
+                    </li>
+                    <li>
+                        <div class="progress">
+                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
+                            style="width: 40%">
+                                <span class="sr-only">40% Complete (success)</span>
+                            </div>
+                        </div>
+                        <span class="plugin">Cordova Device</span>
+                        <span class="plugin-stats">2,339,658</span>
+                    </li>
+                    <li>
+                        <div class="progress">
+                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
+                            style="width: 40%">
+                                <span class="sr-only">40% Complete (success)</span>
+                            </div>
+                        </div>
+                        <span class="plugin">Cordova Device</span>
+                        <span class="plugin-stats">2,339,658</span>
+                    </li>
+                </ul>
+
+            </div>
+        </div>
+        <div class="col-sm-6">
+            <div class="well">
+                <h2 class="featured-list-header text-center">Most Downloaded</h2>
+                <ul class="featured-list">
+                    <li>
+                        <div class="progress">
+                            <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
+                            style="width: 40%">
+                                <span class="sr-only">40% Complete (success)</span>
+                            </div>
+                        </div>
+                        <span class="plugin">Cordova Device</span>
+                        <span class="plugin-stats">2,339,658</span>
+                    </li>
+                </ul>
+
+            </div>
+        </div>
+    </div>
+
+
+</div>
+<!-- /container -->

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/static/css-src/_contribute.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_contribute.scss b/www/static/css-src/_contribute.scss
index a24c73d..ecf9c03 100644
--- a/www/static/css-src/_contribute.scss
+++ b/www/static/css-src/_contribute.scss
@@ -56,7 +56,7 @@ a:hover .report-bug-icon {
     width: 108px;
 }
 .platforms-list li.first a.link-apache {
-    width: 144px;
+    width: 129px;
     right: 111px;
 }
 .contribute-get-started-steps {

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/static/css-src/_home.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_home.scss b/www/static/css-src/_home.scss
index 67cbb15..9c5ffd1 100644
--- a/www/static/css-src/_home.scss
+++ b/www/static/css-src/_home.scss
@@ -43,9 +43,6 @@ body {
 		padding-bottom:20px;
 	}
 }
-@media (max-width: 767px) {
-	#hero #hero_section #hero_section_right { width:100%; }
-}
 
 #hero_bottom_strip {
     position: absolute;
@@ -71,11 +68,32 @@ body {
 		width: 85px;
    		height: 85px;
 		background-repeat: no-repeat;
-    	background-size: cover;
+    	background-size: 255px 85px;
 	}
 }
 .value_prop {
 	max-width: 146px;
+	height: 4em;
+	div, p {
+		top:50%;
+		position: relative;
+		transform: translateY(-50%);
+	}
+}
+
+@media (max-width: 767px) {
+	#hero #hero_section #hero_section_right { width:100%; }
+	#hero_bottom_strip {
+		min-height: initial;
+		.container {
+			padding-top: 10px;
+			padding-bottom: 20px;
+			font-size: 1em;
+			text-align: center;
+		}
+	}
+	.sprite_img { display:inline-block }
+	.value_prop { max-width:initial }
 }
 
 @mixin sprite-img($a, $b) {
@@ -83,8 +101,8 @@ body {
 }
 
 #sprite_shared_code { @include sprite-img(0px, 0) }
-#sprite_offline { @include sprite-img(-84px, 0) }
-#sprite_apis { @include sprite-img(-84px*2, 0) }
+#sprite_offline { @include sprite-img(50%, 0) }
+#sprite_apis { @include sprite-img(100%, 0) }
 
 .navbar-brand {
 	padding:0;
@@ -166,9 +184,16 @@ img#logo_top {
 /*
 ********* Showcase Section ***********
 */
+
 .dark {
 	background-color: $gray-90;
 }
+.dark, .dark .container-fluid { /* Fixes an overflow problem in the showcase sections */
+	margin-left:0;
+	margin-right:0;
+	padding-left:0;
+	padding-right:0;
+}
 .showcase_section_intro {
     margin: auto;
 	float:none;

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/static/css-src/_plugins.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_plugins.scss b/www/static/css-src/_plugins.scss
index 6814431..afeb4e6 100644
--- a/www/static/css-src/_plugins.scss
+++ b/www/static/css-src/_plugins.scss
@@ -53,3 +53,55 @@ button.btn {
 	right:0;
 	width:100px;
 }
+.filter-by-platforms {
+	margin-top:40px;
+	margin-bottom:10px;
+}
+
+.filter-by-platform-label {
+	line-height:40px;
+	display: inline-block;
+	vertical-align: top;
+}
+
+.filter-by-platform-filters {
+	display: inline-block;
+}
+
+/***
+****	Plugins Results	
+****	
+*/
+
+.plugins-results-container {
+	margin-bottom:40px;
+	padding:0;
+}
+.plugin-results-result {
+	margin-bottom:20px;
+	background-color:$gray-5;
+	position: relative;
+}
+.version_and_author {
+	display: inline-block;
+}
+
+.plugins-copy-to-clipboard {
+	width:15px;
+	position:absolute;
+	right:0;
+	top:20px;
+	margin-right:10px;
+}
+
+@media (min-width: 767px) {
+	.version_and_author {
+	float:right;
+	margin-top:20px;
+	}
+	h2 { display: inline-block }
+}
+.license { font-weight: bold }
+hr.results-divider-line {
+	border-color:$gray-20;
+}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/static/css-src/main.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/main.scss b/www/static/css-src/main.scss
index 5bd3ee9..1f01116 100644
--- a/www/static/css-src/main.scss
+++ b/www/static/css-src/main.scss
@@ -31,6 +31,7 @@ $gray-50: lighten($gray-base, 50%);
 $gray-40: lighten($gray-base, 60%);
 $gray-20: lighten($gray-base, 80%);
 $gray-10: lighten($gray-base, 90%);
+$gray-5: lighten($gray-base, 95%);
 $brand-primary: #4CC2E4;
 
 /* Grid size (mirrors Bootstraps) */
@@ -166,11 +167,26 @@ $scree-md-max: $screen-lg - 1;
 
 /* footer */
 footer {
-    background-color: white;
+    background-color: $gray-5;
     position: relative;
+	strong { color:inherit; }
+	h1 {
+		font-size:2.5em;
+		color:$brand-primary-darker;
+	}
+  	h2 {
+    text-transform: uppercase;
+    color:$gray-50;
+    font-size: 1em;
+    font-weight: bold;
+    }
 }
 footer ul.nav li > a {
-    padding-left: 0px;
+	font-size:1em;
+	margin-left: -15px;
+}
+footer ul.nav li > a:hover {
+	background-color: $gray-20;
 }
 footer .copyright_text {
     margin-top: 25px;

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/static/img/copy-clipboard-icon.svg
----------------------------------------------------------------------
diff --git a/www/static/img/copy-clipboard-icon.svg b/www/static/img/copy-clipboard-icon.svg
new file mode 100644
index 0000000..dce4a0d
--- /dev/null
+++ b/www/static/img/copy-clipboard-icon.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build
0)  -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
x="0px" y="0px"
+	 viewBox="0 0 17 19" style="enable-background:new 0 0 17 19;" xml:space="preserve">
+<style type="text/css">
+	.st0{fill:#3993AC;}
+</style>
+<g>
+	<path class="st0" d="M13,4V0H0v15h4v4h13V4H13z M1,14V1h11v3h-2V3H3v1h1v2H3v1h1v2H3v1h1v2H3v1h1v1H1z
M16,18H5V5h11V18z"/>
+	<rect x="7" y="7" class="st0" width="7" height="1"/>
+	<rect x="7" y="10" class="st0" width="7" height="1"/>
+	<rect x="7" y="13" class="st0" width="7" height="1"/>
+	<rect x="7" y="16" class="st0" width="7" height="1"/>
+</g>
+</svg>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b08a738/www/static/js/main.js
----------------------------------------------------------------------
diff --git a/www/static/js/main.js b/www/static/js/main.js
index 2473c56..dd06684 100644
--- a/www/static/js/main.js
+++ b/www/static/js/main.js
@@ -1,9 +1,17 @@
-$(function(){ // resize the hero to the innerWidth of the window
-	var window_height = window.innerHeight;
-	var navbar_spacer = $('#_fixed_navbar_spacer').height();
-	var adjusted_window_height = window_height - navbar_spacer;
-	if (adjusted_window_height > 800) { // do not resize on small devices
-		$('#hero').height(adjusted_window_height);
-		console.log('new height ' + adjusted_window_height)
+$(function(){
+	
+	function setHeroHeight() {
+		console.log('IT works!');
+		// resize the hero to the innerWidth of the window
+		var window_height = window.innerHeight;
+		var navbar_spacer = $('#_fixed_navbar_spacer').height();
+		var adjusted_window_height = window_height - navbar_spacer;
+		if (adjusted_window_height > 549) { // do not resize on small devices
+			$('#hero').height(adjusted_window_height);
+			console.log('new height ' + adjusted_window_height)
+		}
 	}
+	setHeroHeight();
+	$(window).resize(function() { setHeroHeight() });
+	
  });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message