1
0
mirror of https://github.com/XFox111/TabsAsideExtension.git synced 2026-04-22 07:58:01 +03:00

Patch 2.0.2 (#71)

- Fixed missing fonts
This commit is contained in:
Michael Gordeev
2021-03-05 17:39:41 +03:00
committed by GitHub
parent aa1d38eb47
commit 847baae44e
7 changed files with 20 additions and 17 deletions
+3 -3
View File
@@ -19,7 +19,7 @@
<aside class="tabsAside pane"> <aside class="tabsAside pane">
<header> <header>
<h1 loc="name">Tabs aside</h1> <h1 loc="name">Tabs aside</h1>
<button loc_alt="options" class="btn more" title="Options">&#xE10C;<span class="updateBadge"></span></button> <button loc_alt="options" class="btn more" title="Options">&#xE712;<span class="updateBadge"></span></button>
<nav> <nav>
<label class="checkbox control"> <label class="checkbox control">
@@ -64,9 +64,9 @@
</p> </p>
</nav> </nav>
<button loc_alt="closePanel" class="btn remove" title="Close panel">&#xE10A;</button> <button loc_alt="closePanel" class="btn remove" title="Close panel">&#xE711;</button>
<a class="saveTabs"> <a class="saveTabs">
<span class="iconArrowRight">&#xE0AB;</span> <span class="iconArrowRight">&#xE72A;</span>
<span loc="setAside">Set current tabs aside</span> <span loc="setAside">Set current tabs aside</span>
<span loc_alt="setMultipleTabsAsideTooltip" class="iconQuestionCircle" title="Tip : You can set aside specific tabs by selecting them (by holding CTRL or SHIFT and clicking on the tabs) before clicking on the TabsAside extension">&#xE9CE;</span> <span loc_alt="setMultipleTabsAsideTooltip" class="iconQuestionCircle" title="Tip : You can set aside specific tabs by selecting them (by holding CTRL or SHIFT and clicking on the tabs) before clicking on the TabsAside extension">&#xE9CE;</span>
</a> </a>
+2 -2
View File
@@ -127,7 +127,7 @@
width: 16px; width: 16px;
height: 16px; height: 16px;
display: inline-block; display: inline-block;
font-family: "Segoe MDL2 Assets"; font-family: "SegoeMDL2Assets";
margin: 2px; margin: 2px;
} }
.iconQuestionCircle .iconQuestionCircle
@@ -238,7 +238,7 @@
background-color: #c2c2c2; background-color: #c2c2c2;
background-image: url("chrome-extension://__MSG_@@extension_id__/images/tab_thumbnail.png"), background-image: url("chrome-extension://__MSG_@@extension_id__/images/tab_thumbnail.png"),
url("chrome-extension://__MSG_@@extension_id__/images/tab_thumbnail.png"); url("moz-extension://__MSG_@@extension_id__/images/tab_thumbnail.png");
background-size: cover; background-size: cover;
background-position-x: center; background-position-x: center;
+11 -8
View File
@@ -30,7 +30,7 @@
.tabsAside .tabsAside
{ {
font-family: "Segoe UI", "Segoe MDL2 Assets" !important; font-family: "SegoeUI", "SegoeMDL2Assets" !important;
font-size: 14px; font-size: 14px;
user-select: none; user-select: none;
} }
@@ -56,6 +56,7 @@
{ {
width: 28px; width: 28px;
height: 28px; height: 28px;
font-size: 16px;
background-color: transparent; background-color: transparent;
border: none; border: none;
cursor: pointer; cursor: pointer;
@@ -107,7 +108,7 @@
width: 100%; width: 100%;
height: 32px; height: 32px;
font-family: "Segoe UI"; font-family: "SegoeUI";
font-size: 12px; font-size: 12px;
display: grid; display: grid;
@@ -149,7 +150,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 12px; background-size: 12px;
background-position: center; background-position: center;
font-family: "Segoe UI", "Segoe MDL2 Assets"; font-family: "SegoeUI", "SegoeMDL2Assets";
} }
.control.checkbox .control.checkbox
@@ -188,7 +189,7 @@
position: absolute; position: absolute;
color: rgba(0, 0, 0, .4); color: rgba(0, 0, 0, .4);
font-family: "Segoe MDL2 Assets"; font-family: "SegoeMDL2Assets";
content: "\E001"; content: "\E001";
width: 16px; width: 16px;
@@ -210,14 +211,16 @@
@font-face @font-face
{ {
font-family: "Segoe UI"; font-family: "SegoeUI";
src: local("Segoe UI"), src: local("Segoe UI"),
url("fonts/segoeui.ttf") format("truetype"), url("../fonts/segoeui.ttf") format("truetype"),
url("../fonts/segoeui.woff") format("woff")
} }
@font-face @font-face
{ {
font-family: "Segoe MDL2 Assets"; font-family: "SegoeMDL2Assets";
src: local("Segoe MDL2 Assets"), src: local("Segoe MDL2 Assets"),
url("fonts/segoemdl2.ttf") format("truetype"), url("../fonts/segoemdl2.ttf") format("truetype"),
url("../fonts/segoemdl2.woff") format("woff")
} }
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -257,7 +257,7 @@ function AddCollection(collection, thumbnails)
"<div>" + "<div>" +
"<div" + (!thumbnails[collection.links[i]]?.iconUrl ? "" : " style='background-image: url(\"" + thumbnails[collection.links[i]].iconUrl + "\")'") + "></div>" + "<div" + (!thumbnails[collection.links[i]]?.iconUrl ? "" : " style='background-image: url(\"" + thumbnails[collection.links[i]].iconUrl + "\")'") + "></div>" +
"<span>" + collection.titles[i] + "</span>" + "<span>" + collection.titles[i] + "</span>" +
"<button loc_alt='removeTab' class='btn remove' title='Remove tab from collection'>&#xE10A;</button>" + "<button loc_alt='removeTab' class='btn remove' title='Remove tab from collection'>&#xE711;</button>" +
"</div>" + "</div>" +
"</div>"; "</div>";
@@ -267,12 +267,12 @@ function AddCollection(collection, thumbnails)
"<input type='text' value='" + (collection.name ?? new Date(collection.timestamp).toDateString()) + "'/>" + "<input type='text' value='" + (collection.name ?? new Date(collection.timestamp).toDateString()) + "'/>" +
"<a loc='restoreTabs' class='restoreCollection'>Restore tabs</a>" + "<a loc='restoreTabs' class='restoreCollection'>Restore tabs</a>" +
"<div>" + "<div>" +
"<button loc_alt='more' class='btn more' title='More...'>&#xE10C;</button>" + "<button loc_alt='more' class='btn more' title='More...'>&#xE712;</button>" +
"<nav>" + "<nav>" +
"<button loc='restoreNoRemove' class='restoreCollection noDelete'>Restore without removing</button>" + "<button loc='restoreNoRemove' class='restoreCollection noDelete'>Restore without removing</button>" +
"</nav>" + "</nav>" +
"</div>" + "</div>" +
"<button loc_alt='removeCollection' class='btn remove' title='Remove collection'>&#xE10A;</button>" + "<button loc_alt='removeCollection' class='btn remove' title='Remove collection'>&#xE711;</button>" +
"<small>" + collection.links.length + " " + chrome.i18n.getMessage("tabs") +"</small>" + "<small>" + collection.links.length + " " + chrome.i18n.getMessage("tabs") +"</small>" +
"</div>" + "</div>" +
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "__MSG_name__", "name": "__MSG_name__",
"version": "2.0.1", "version": "2.0.2",
"manifest_version": 2, "manifest_version": 2,
"description": "__MSG_description__", "description": "__MSG_description__",
"author": "__MSG_author__", "author": "__MSG_author__",