Skip to content

Commit

Permalink
Patch 2.0.2 (#71)
Browse files Browse the repository at this point in the history
- Fixed missing fonts
  • Loading branch information
Michael Gordeev authored Mar 5, 2021
1 parent aa1d38e commit 847baae
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 17 deletions.
6 changes: 3 additions & 3 deletions TabsAside.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<aside class="tabsAside pane">
<header>
<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>
<label class="checkbox control">
Expand Down Expand Up @@ -64,9 +64,9 @@ <h1 loc="name">Tabs aside</h1>
</p>
</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">
<span class="iconArrowRight">&#xE0AB;</span>
<span class="iconArrowRight">&#xE72A;</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>
</a>
Expand Down
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
width: 16px;
height: 16px;
display: inline-block;
font-family: "Segoe MDL2 Assets";
font-family: "SegoeMDL2Assets";
margin: 2px;
}
.iconQuestionCircle
Expand Down Expand Up @@ -238,7 +238,7 @@

background-color: #c2c2c2;
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-position-x: center;

Expand Down
19 changes: 11 additions & 8 deletions css/style.generic.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

.tabsAside
{
font-family: "Segoe UI", "Segoe MDL2 Assets" !important;
font-family: "SegoeUI", "SegoeMDL2Assets" !important;
font-size: 14px;
user-select: none;
}
Expand All @@ -56,6 +56,7 @@
{
width: 28px;
height: 28px;
font-size: 16px;
background-color: transparent;
border: none;
cursor: pointer;
Expand Down Expand Up @@ -107,7 +108,7 @@
width: 100%;

height: 32px;
font-family: "Segoe UI";
font-family: "SegoeUI";
font-size: 12px;

display: grid;
Expand Down Expand Up @@ -149,7 +150,7 @@
background-repeat: no-repeat;
background-size: 12px;
background-position: center;
font-family: "Segoe UI", "Segoe MDL2 Assets";
font-family: "SegoeUI", "SegoeMDL2Assets";
}

.control.checkbox
Expand Down Expand Up @@ -188,7 +189,7 @@
position: absolute;
color: rgba(0, 0, 0, .4);

font-family: "Segoe MDL2 Assets";
font-family: "SegoeMDL2Assets";
content: "\E001";

width: 16px;
Expand All @@ -210,14 +211,16 @@

@font-face
{
font-family: "Segoe UI";
font-family: "SegoeUI";
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-family: "Segoe MDL2 Assets";
font-family: "SegoeMDL2Assets";
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 added fonts/segoemdl2.woff
Binary file not shown.
Binary file added fonts/segoeui.woff
Binary file not shown.
6 changes: 3 additions & 3 deletions js/aside-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function AddCollection(collection, thumbnails)
"<div>" +
"<div" + (!thumbnails[collection.links[i]]?.iconUrl ? "" : " style='background-image: url(\"" + thumbnails[collection.links[i]].iconUrl + "\")'") + "></div>" +
"<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>";

Expand All @@ -267,12 +267,12 @@ function AddCollection(collection, thumbnails)
"<input type='text' value='" + (collection.name ?? new Date(collection.timestamp).toDateString()) + "'/>" +
"<a loc='restoreTabs' class='restoreCollection'>Restore tabs</a>" +
"<div>" +
"<button loc_alt='more' class='btn more' title='More...'>&#xE10C;</button>" +
"<button loc_alt='more' class='btn more' title='More...'>&#xE712;</button>" +
"<nav>" +
"<button loc='restoreNoRemove' class='restoreCollection noDelete'>Restore without removing</button>" +
"</nav>" +
"</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>" +
"</div>" +

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "__MSG_name__",
"version": "2.0.1",
"version": "2.0.2",
"manifest_version": 2,
"description": "__MSG_description__",
"author": "__MSG_author__",
Expand Down

0 comments on commit 847baae

Please sign in to comment.