OSDN Git Service

update the icon
authorZhiting Lin <zlin035@uottawa.ca>
Thu, 21 Mar 2019 09:54:42 +0000 (17:54 +0800)
committerZhiting Lin <zlin035@uottawa.ca>
Thu, 21 Mar 2019 09:54:42 +0000 (17:54 +0800)
src/assets/style.css
src/views/home.vue
src/views/welcome/creation.vue

index b01ddf0..3ef89c7 100644 (file)
@@ -399,7 +399,7 @@ hr {
   cursor: pointer;
 }
 .list-item i {
-  margin-right: 5px;
+  margin-right: 10px;
 }
 
 .form {
index bb16d85..5b1fbe7 100644 (file)
     padding: 0 10px;
     font: 12px system-ui;
     text-align: center;
-}
-
-.topbar-middle .lamp {
-    display: inline-block;
-    width: 6px;
-    height: 6px;
-    border-radius: 50%;
-    background-color: #02f823;
-    margin-right: 2px;
-    position: relative;
-    top: -2px;
+    display: flex;
+    align-items: center;
 }
 
 .content {
                     </a>
                 </div>
                 <div class="topbar-middle bg-secondary">
-                    <i class="lamp"></i>
+                    <img src="@/assets/img/icon/neticon.svg" alt="" style="margin-right: 5px;">
                     <select v-model="network" @change="networkToggle">
                         <option value="mainnet">{{ $t('main.mainNet') }}</option>
                         <option value="testnet">{{ $t('main.testNet') }}</option>
index b83a708..37a8d60 100644 (file)
     font-size: 14px;
     padding: 5px;
   }
+  .topbar a{
+    position: fixed;
+    top: 10px;
+    right: 20px;
+  }
+  .topbar a i{
+    font-size: 25px;
+    color: white;
+  }
 
 </style>
 
@@ -87,6 +96,7 @@
           <v-select  class="v-select" v-bind:colorBlack="true" :clearable="false" v-model="selected" :options="nets"></v-select>
           <img src="@/assets/img/icon/neticon.svg" alt="">
         </div>
+        <a href="http://github.com/bytom/bystore" target="_blank"><i class="iconfont icon-github"></i></a>
       </div>
       <div class="header">
         <h1>{{ $t('home.title')}}</h1>