You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ha...@apache.org on 2018/03/01 07:11:36 UTC

incubator-weex-site git commit: update the styles of who-is-using-weex links

Repository: incubator-weex-site
Updated Branches:
  refs/heads/master 5ebe02481 -> 72ea27d4f


update the styles of who-is-using-weex links


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/72ea27d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/72ea27d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/72ea27d4

Branch: refs/heads/master
Commit: 72ea27d4f6d26e558eb8b61e55d4d80da2de94cc
Parents: 5ebe024
Author: Hanks <zh...@gmail.com>
Authored: Thu Mar 1 15:11:22 2018 +0800
Committer: Hanks <zh...@gmail.com>
Committed: Thu Mar 1 15:11:22 2018 +0800

----------------------------------------------------------------------
 themes/weex/layout/who-is-using-weex.ejs | 10 +++-----
 themes/weex/source/css/index.scss        | 36 +++++++++++++--------------
 2 files changed, 21 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/72ea27d4/themes/weex/layout/who-is-using-weex.ejs
----------------------------------------------------------------------
diff --git a/themes/weex/layout/who-is-using-weex.ejs b/themes/weex/layout/who-is-using-weex.ejs
index 684cf42..89cb556 100644
--- a/themes/weex/layout/who-is-using-weex.ejs
+++ b/themes/weex/layout/who-is-using-weex.ejs
@@ -6,12 +6,8 @@
       <% for (var user in site.data.users) { %>
         <li>
           <div class="download-btn">
-            <a class="android" href="<%= site.data.users[user].android || '#' %>">
-
-            </a>
-            <a class="ios" href="<%= site.data.users[user].iOS || '#' %>">
-
-            </a>
+            <a class="android" target="_blank" href="<%= site.data.users[user].android || '#' %>"></a>
+            <a class="ios" target="_blank" href="<%= site.data.users[user].iOS || '#' %>"></a>
           </div>
           <div class="img" style="background-image:url(<%= site.data.users[user].icon %>)"></div>
           <div class="tooltip"><%= site.data.users[user].name %></div>
@@ -32,4 +28,4 @@
     <div class="img" style="background-image:url(<%= site.data.users[user].icon %>)"></div>
     <a class="download-btn" href="<%= site.data.users[user].android %>">Android</a>
     <a class="download-btn" href="<%= site.data.users[user].iOS %>">iOS</a>
-  </div> -->
\ No newline at end of file
+  </div> -->

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/72ea27d4/themes/weex/source/css/index.scss
----------------------------------------------------------------------
diff --git a/themes/weex/source/css/index.scss b/themes/weex/source/css/index.scss
index 323bb40..7b601f5 100644
--- a/themes/weex/source/css/index.scss
+++ b/themes/weex/source/css/index.scss
@@ -14,12 +14,12 @@
   height: calc(100% - 72px);
 
   // &:nth-child(even) {
-  //   background: $bg-blue; 
+  //   background: $bg-blue;
   //   color: $text-white;
   // }
 
   // &:nth-child(odd) {
-    
+
 
   //   background: $bg-gray;
   //   color: $text-blue;
@@ -79,7 +79,7 @@
 .header {
   height: 100%;
   position: relative;
-  background: $bg-blue; 
+  background: $bg-blue;
   color: $text-white;
 
   #slider {
@@ -118,7 +118,7 @@
     max-width: $content-max-width;
     margin: auto;
     height: 100%;
-    
+
     .page-title {
       font-size: 2.3em;
       font-family: "Gill Sans";
@@ -153,12 +153,12 @@
 
   .left {
     left: -40px;
-  } 
+  }
 
   .right {
     top: 55%;
     right: -110px;
-  } 
+  }
 }
 
 .edge {
@@ -179,7 +179,7 @@
       padding: 2em 7em;
       display: flex;
       flex: 5;
-      flex-direction: row; 
+      flex-direction: row;
       align-items: flex-start;
     }
   }
@@ -217,7 +217,7 @@
 }
 
 .feature {
-  background: $bg-blue; 
+  background: $bg-blue;
   color: $text-white;
   .feature-content {
     height: 100%;
@@ -343,7 +343,7 @@
 }
 
 .supporting-vue {
-  background: $bg-blue; 
+  background: $bg-blue;
   color: $text-white;
 
   .sketch-content.imgbox {
@@ -359,7 +359,7 @@
       top: -50px;
       left: 0;
       right: 0;
-    } 
+    }
   }
 }
 
@@ -385,7 +385,7 @@
   }
   .download-btn {
     width: 90px;
-    height: 30px;
+    height: 40px;
     position: absolute;
     border-radius: 0 0 15px 15px;
     bottom: 30px;
@@ -401,11 +401,11 @@
     }
     .android {
       background: url(../images/android-icon.png) center center no-repeat;
-      background-size: 24px 24px;
+      background-size: 28px 28px;
     }
     .ios {
       background: url(../images/ios-icon.png) center center no-repeat;
-      background-size: 24px 24px;
+      background-size: 28px 28px;
     }
   }
   .addmore {
@@ -493,7 +493,7 @@
         background-position: center center;
         cursor: pointer;
       }
-      
+
     }
   }
   .user-info {
@@ -522,7 +522,7 @@
   }
 
   .more {
-    flex: 1;    
+    flex: 1;
     display: flex;
     justify-content: center;
     align-items: center;
@@ -556,7 +556,7 @@
       width: 66px;
       height: 66px;
       border-radius: 100%;
-    } 
+    }
 
     .user-name {
       font-weight: bold;
@@ -576,7 +576,7 @@
   }
 
   .scene-container .go-2-doc {
-    flex: 1;    
+    flex: 1;
     display: flex;
     justify-content: center;
     align-items: flex-start;
@@ -602,4 +602,4 @@
     background: #FF3E33;
     color: #fff;
   }
-}
\ No newline at end of file
+}