diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index 744d8ee..b52f574 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -1,6 +1,6 @@ { "extName": { - "message": "IITC-Кнопка" + "message": "IITC-Button" }, "extDescription": { "message": "Запускайте Ingress Intel с IITC в один клик." diff --git a/_locales/uk/messages.json b/_locales/uk/messages.json index 531a14f..adeaa0c 100644 --- a/_locales/uk/messages.json +++ b/_locales/uk/messages.json @@ -1,6 +1,6 @@ { "extName": { - "message": "IITC-Кнопка" + "message": "IITC-Button" }, "extDescription": { "message": "Запускай Ingress Intel с IITC в один клік." diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index aa89dee..f3b01d5 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -1,11 +1,9 @@ { "extName": { - "message": "IITC-按键", - "description": "Main title on the Chrome Web Store" + "message": "IITC-Button" }, "extDescription": { - "message": "启动IITC为进入英特尔轻松.", - "description": "Short description on the Chrome Web Store" + "message": "启动IITC为进入英特尔轻松." }, "lang": { "message": "zh_cn" diff --git a/app/jsview/jsview.css b/app/jsview/jsview.css index 0b1975b..1f92208 100644 --- a/app/jsview/jsview.css +++ b/app/jsview/jsview.css @@ -1,7 +1,6 @@ body { background: #F0F0F0; margin: 0; - font-family: system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue; } .row { diff --git a/app/jsview/main.html b/app/jsview/main.html index 1e1694a..6ecf0c0 100644 --- a/app/jsview/main.html +++ b/app/jsview/main.html @@ -5,6 +5,7 @@ IITC-Button + diff --git a/app/main/main.css b/app/main/main.css index bb84549..8c9406b 100644 --- a/app/main/main.css +++ b/app/main/main.css @@ -5,7 +5,6 @@ body { background: #E8E9EC; color: #222; font-size: 18px; - font-family: system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue; overflow: hidden; } @@ -83,7 +82,10 @@ body { top: 0; bottom: 0; right: 0; + line-height: 26px; padding: 2px 15px; + border: 1px solid #cdc7c2; + border-left: 0; border-radius: 0 2px 2px 0; font-size: 1.2em; color: #00000000; diff --git a/app/main/main.html b/app/main/main.html index 0245d62..e93dc19 100644 --- a/app/main/main.html +++ b/app/main/main.html @@ -2,6 +2,7 @@ + IITC-Button diff --git a/app/popup/components/section-main-menu.js b/app/popup/components/section-main-menu.js index bcb9e77..54a19be 100644 --- a/app/popup/components/section-main-menu.js +++ b/app/popup/components/section-main-menu.js @@ -13,12 +13,44 @@ let ComponentMainMenu = Vue.component('section-main-menu', { }, 'openOptions': function () { document.body.id = "options"; - checkStatusLocalServer(this.localServerHost); + checkStatusLocalServer(app.$data.localServerHost); }, 'openCategory': function (category_name) { document.body.id = "plugins"; this.$root.$data.category_name = category_name; this.$root.$data.plugins = this.categories[category_name]['plugins']; + }, + 'sortCategories': function(obj) { + + let arr = Object.keys(obj).map(function(key){ + return obj[key]; + }); + + for (let i=0;i this.__('name', arr[j]).toLowerCase()) { + let swap = arr[i]; + arr[i] = arr[j]; + arr[j] = swap; + } + } + } + + // Move "External" to top + let el_external = null; + for (let i=0;i { - console.log(data); let plugin = data[this.$root.channel+"_plugins_user"][id]; saveJS(plugin['code'], plugin['filename']); }); diff --git a/app/popup/popup.css b/app/popup/popup.css index 33f8b4b..bcadd11 100644 --- a/app/popup/popup.css +++ b/app/popup/popup.css @@ -6,7 +6,6 @@ body { margin: 0; color: #222; font-size: 12px; - font-family: var(--font-system); } .material-icons { @@ -243,7 +242,7 @@ body#options .section.options, body#plugins .section.plugins { * h2 */ h2 { - font-size: 1.2em; + font-size: 1em; margin: 0; padding: 2px 12px 3px 10px; } @@ -315,7 +314,7 @@ h2:first-letter { } .update-check__label-wrapper { display: flex; - justify-content: right; + justify-content: flex-end; align-items: center; width: 30%; float: left; @@ -445,8 +444,6 @@ h2:first-letter { :root { - --font-system:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue; - --font-monospace:Menlo,Consolas,"DejaVu Sans Mono",monospace; --color-white:#fff; --color-blue:#0074d9; --color-olive:#48a77c; diff --git a/app/popup/popup.html b/app/popup/popup.html index 57917df..389981c 100644 --- a/app/popup/popup.html +++ b/app/popup/popup.html @@ -6,6 +6,7 @@ + @@ -27,7 +28,7 @@
-