Gerald 8 лет назад
Родитель
Сommit
9960aeae70
5 измененных файлов с 3 добавлено и 14 удалено
  1. 0 1
      icons/check.svg
  2. 0 1
      icons/remove.svg
  3. 0 1
      src/options/utils/index.js
  4. 0 5
      src/options/views/tab-installed.vue
  5. 3 6
      src/popup/style.css

+ 0 - 1
icons/check.svg

@@ -1 +0,0 @@
-<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="M186.496 63.17q0 4.464-3.125 7.589l-80.804 80.803-15.179 15.18q-3.125 3.124-7.589 3.124t-7.59-3.125l-15.178-15.179-40.402-40.401q-3.125-3.125-3.125-7.59t3.125-7.589l15.179-15.178q3.125-3.125 7.59-3.125t7.589 3.125l32.812 32.924 73.214-73.326q3.125-3.125 7.59-3.125t7.589 3.125l15.179 15.178q3.125 3.125 3.125 7.59z"/></svg>

+ 0 - 1
icons/remove.svg

@@ -1 +0,0 @@
-<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="M166.295 147.545q0 4.464-3.125 7.589l-15.179 15.179q-3.125 3.125-7.59 3.125t-7.589-3.125L100 137.5l-32.813 32.813q-3.125 3.125-7.589 3.125t-7.59-3.125l-15.178-15.18q-3.125-3.124-3.125-7.588t3.125-7.59l32.813-32.812L36.83 74.33q-3.125-3.125-3.125-7.589t3.125-7.59l15.18-15.177q3.125-3.125 7.59-3.125t7.588 3.125L100 76.786l32.812-32.813q3.125-3.125 7.59-3.125t7.59 3.125l15.178 15.179q3.125 3.125 3.125 7.59t-3.125 7.588l-32.813 32.813 32.813 32.812q3.125 3.125 3.125 7.59z"/></svg>

+ 0 - 1
src/options/utils/index.js

@@ -1,5 +1,4 @@
 import Vue from 'vue';
-import 'src/common/ui/dropdown';
 import resetFeatures from './features';
 import Message from '../views/message';
 

+ 0 - 5
src/options/views/tab-installed.vue

@@ -21,8 +21,6 @@
         <input type="text" :placeholder="i18n('labelSearchScript')" v-model="search">
         <icon name="search"></icon>
       </div>
-      <div>
-      </div>
     </header>
     <div class="scripts">
       <item v-for="script in scripts" :key="script.id"
@@ -96,9 +94,6 @@ export default {
     updateAll() {
       sendMessage({ cmd: 'CheckUpdateAll' });
     },
-    openURL(url) {
-      window.open(url);
-    },
     installFromURL() {
       new Promise((resolve, reject) => {
         showMessage({

+ 3 - 6
src/popup/style.css

@@ -1,9 +1,9 @@
 body {
-  min-width: 20em;
-  padding-top: 1em;
+  min-width: 20rem;
 }
 
 .logo {
+  margin-top: 1rem;
   text-align: center;
   img {
     width: 4em;
@@ -42,13 +42,10 @@ body {
       height: 100%;
       &-right {
         left: auto;
-        right: 1.5em;
+        right: 1.5rem;
       }
     }
   }
-  .icon-collapse {
-    transform: none;
-  }
   &.expand {
     background: #fbfbfb;
     > .submenu {