Move home & support buttons to the right

This commit is contained in:
Rob Garrison 2019-01-02 22:17:44 -06:00
parent c966cfe17e
commit e873ffd84e
2 changed files with 14 additions and 13 deletions

View File

@ -54,18 +54,6 @@
<span class="entry-labels"></span> <span class="entry-labels"></span>
</div> </div>
<div class="entry-col entry-actions"> <div class="entry-col entry-actions">
<a href="#" class="entry-homepage tt-w">
<svg class="svg-icon home" viewBox="0 0 24 24">
<path d="M20 21h-7v-6h-2v6H4v-8H0L12 2l12 11h-4v8zm-5-2h3v-8h1l-7-6-7 6h1v8h3v-6h6v6z"/>
</svg>
</a>
<a href="#" class="entry-support tt-w">
<svg class="svg-icon help" viewBox="0 0 24 24">
<path d="M11 18h2v-2h-2v2zm1-16a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8.01 8.01 0 0 1
0-16 8.01 8.01 0 0 1 0 16zm0-14a4 4 0 0 0-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3
5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4z"/>
</svg>
</a>
<a href="#" class="entry-configure-usercss tt-e" i18n-data-title="configureStyle"> <a href="#" class="entry-configure-usercss tt-e" i18n-data-title="configureStyle">
<svg class="svg-icon entry-config" viewBox="0 0 24 24"> <svg class="svg-icon entry-config" viewBox="0 0 24 24">
<path d="M19.43 12.98a7.8 7.8 0 0 0 0-1.96l2.11-1.65a.5.5 0 0 0 .12-.64l-2-3.46a.5.5 <path d="M19.43 12.98a7.8 7.8 0 0 0 0-1.96l2.11-1.65a.5.5 0 0 0 .12-.64l-2-3.46a.5.5
@ -97,6 +85,19 @@
<path d="M6 19c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4z"/> <path d="M6 19c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4z"/>
</svg> </svg>
</a> </a>
<span class="entry-updater-placeholder"></span>
<a href="#" class="entry-homepage tt-w">
<svg class="svg-icon home" viewBox="0 0 24 24">
<path d="M20 21h-7v-6h-2v6H4v-8H0L12 2l12 11h-4v8zm-5-2h3v-8h1l-7-6-7 6h1v8h3v-6h6v6z"/>
</svg>
</a>
<a href="#" class="entry-support tt-w">
<svg class="svg-icon help" viewBox="0 0 24 24">
<path d="M11 18h2v-2h-2v2zm1-16a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8.01 8.01 0 0 1
0-16 8.01 8.01 0 0 1 0 16zm0-14a4 4 0 0 0-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3
5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4z"/>
</svg>
</a>
</div> </div>
<div class="entry-col entry-sort" draggable="true"> <div class="entry-col entry-sort" draggable="true">
<svg class="svg-icon sort" viewBox="0 0 24 24"> <svg class="svg-icon sort" viewBox="0 0 24 24">

View File

@ -152,7 +152,7 @@ const UI = {
$('.entry-configure-usercss', entry).classList.toggle('invisible', !configurable); $('.entry-configure-usercss', entry).classList.toggle('invisible', !configurable);
if (style.updateUrl) { if (style.updateUrl) {
$('.entry-actions', entry).appendChild(template.updaterIcons.cloneNode(true)); $('.entry-updater-placeholder', entry).replaceWith(template.updaterIcons.cloneNode(true));
} }
$('.entry-version', entry).textContent = style.usercssData && style.usercssData.version || ''; $('.entry-version', entry).textContent = style.usercssData && style.usercssData.version || '';