cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [03/10] docs commit: Fixed hover state of "report bug" icon in Contribute
Date Thu, 20 Aug 2015 01:33:19 GMT
Fixed hover state of "report bug" icon in Contribute


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

Branch: refs/heads/cordova-website
Commit: 437071acbaf32164c8e908cd8d4b907b08d8ebbb
Parents: 97c8f3f
Author: Brad Gashler <bgashler1@users.noreply.github.com>
Authored: Wed Aug 19 12:40:18 2015 -0700
Committer: Brad Gashler <bgashler1@users.noreply.github.com>
Committed: Wed Aug 19 12:40:18 2015 -0700

----------------------------------------------------------------------
 www/contribute/index.html           |  2 +-
 www/static/css-src/_contribute.scss | 22 +++++++++++++++++++++-
 www/static/img/bug_icon.svg         | 22 ++++++++++++++++------
 3 files changed, 38 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/437071ac/www/contribute/index.html
----------------------------------------------------------------------
diff --git a/www/contribute/index.html b/www/contribute/index.html
index 6dca197..9482d4b 100644
--- a/www/contribute/index.html
+++ b/www/contribute/index.html
@@ -37,7 +37,7 @@ title: Apache Cordova Plugins
                     </div>
                     <ul class="nav">
                         <li><a href="#"><span class="glyphicon glyphicon-warning-sign"></span><i>&nbsp;</i>View
All Issues</a></li>
-                        <li><a href="#"><img src="{{ site.baseurl }}/static/img/bug_icon.svg"
class="report-bug-icon">Report a Bug</a></li>
+                        <li><a href="#"><div class="report-bug-icon"></div><i>&nbsp;</i>Report
a Bug</a></li>
                         <li><a href="#"><span class="glyphicon glyphicon-user"></span><i>&nbsp;</i>View
Committers / Non-Committers</a></li>
                     </ul>
             </div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/437071ac/www/static/css-src/_contribute.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_contribute.scss b/www/static/css-src/_contribute.scss
index d8d599c..a24c73d 100644
--- a/www/static/css-src/_contribute.scss
+++ b/www/static/css-src/_contribute.scss
@@ -1,6 +1,26 @@
+.sprite_img {
+    position:relative;
+    left: 0px;
+    margin: 0;
+    padding: 0;
+    top:0;
+    width: 85px;
+    height: 85px;
+    background-repeat: no-repeat;
+    background-size: cover;
+}
+
 .report-bug-icon {
+    @extend .sprite_img;
     height:1em;
-    width:1em;   
+    width:1em;
+    background-image: url("{{ site.baseurl }}/static/img/bug_icon.svg");
+    background-size: 2em 1em;
+    display: inline-block;   
+}
+
+a:hover .report-bug-icon {
+    background-position: -1em 0;
 }
 
 .list {

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/437071ac/www/static/img/bug_icon.svg
----------------------------------------------------------------------
diff --git a/www/static/img/bug_icon.svg b/www/static/img/bug_icon.svg
index 798e423..cd28dcb 100644
--- a/www/static/img/bug_icon.svg
+++ b/www/static/img/bug_icon.svg
@@ -1,14 +1,24 @@
 <?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="-292 381.9 27 31.1" style="enable-background:new -292 381.9 27 31.1;" xml:space="preserve">
+	 viewBox="0 0 64 32" style="enable-background:new 0 0 64 32;" xml:space="preserve">
 <style type="text/css">
-	.st0{fill:#3992AB;}
+	.st0{fill:none;}
+	.st1{fill:#3892AB;}
+	.st2{fill:#276172;}
 </style>
+<rect x="0" y="0" class="st0" width="32" height="32"/>
+<rect x="32" y="0" class="st0" width="32" height="32"/>
 <g>
-	<polygon class="st0" points="-271,406.1 -271,408.1 -269.8,408.1 -266.9,413 -265.2,412
-268.6,406.1 	"/>
-	<path class="st0" d="M-271,400.1v-4h2.4l3.4-5.9l-1.7-1l-2.8,4.9h-1.3v-5h-3v-4.6c0,0-0.1-2.6-4-2.6s-4,2.6-4,2.6v4.6h-4v5h-1.2
-		l-2.9-4.9l-1.7,1l3.4,5.9h2.4v4h-6v2h6v3c0,0,0.2,5.5,7.5,5.5s7.5-5.5,7.5-5.5v-3h6v-2H-271z"/>
-	<polygon class="st0" points="-291.8,412 -290.1,413 -287.2,408.1 -286,408.1 -286,406.1
-288.4,406.1 	"/>
+	<polygon class="st1" points="21,24.7 21,26.7 22.2,26.7 25.1,31.5 26.8,30.5 23.4,24.7
	"/>
+	<path class="st1" d="M21,18.7v-4h2.4l3.4-5.9l-1.7-1l-2.8,4.9H21v-5h-3V3.1c0,0-0.1-2.6-4-2.6s-4,2.6-4,2.6v4.6H6v5H4.8L1.9,7.8
+		l-1.7,1l3.4,5.9H6v4H0v2h6v3c0,0,0.2,5.5,7.5,5.5s7.5-5.5,7.5-5.5v-3h6v-2H21z"/>
+	<polygon class="st1" points="0.2,30.5 1.9,31.5 4.8,26.7 6,26.7 6,24.7 3.6,24.7 	"/>
+</g>
+<g>
+	<polygon class="st2" points="53,24.7 53,26.7 54.2,26.7 57.1,31.5 58.8,30.5 55.4,24.7
	"/>
+	<path class="st2" d="M53,18.7v-4h2.4l3.4-5.9l-1.7-1l-2.8,4.9H53v-5h-3V3.1c0,0-0.1-2.6-4-2.6s-4,2.6-4,2.6v4.6h-4v5h-1.2l-2.8-4.9
+		l-1.7,1l3.4,5.9H38v4h-6v2h6v3c0,0,0.2,5.5,7.5,5.5s7.5-5.5,7.5-5.5v-3h6v-2H53z"/>
+	<polygon class="st2" points="32.2,30.5 33.9,31.5 36.8,26.7 38,26.7 38,24.7 35.6,24.7
	"/>
 </g>
 </svg>


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


Mime
View raw message