Redo FontAwesome stuff, I guess.
This commit is contained in:
parent
4abb226e53
commit
3ad1c6040c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3,9 +3,10 @@ Index =
|
|||||||
return if g.VIEW isnt 'index' or g.BOARD.ID is 'f'
|
return if g.VIEW isnt 'index' or g.BOARD.ID is 'f'
|
||||||
|
|
||||||
@button = $.el 'a',
|
@button = $.el 'a',
|
||||||
className: 'index-refresh-shortcut fa fa-refresh'
|
className: 'index-refresh-shortcut fa'
|
||||||
title: 'Refresh Index'
|
title: 'Refresh Index'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
|
textContent: "\uf021"
|
||||||
$.on @button, 'click', @update
|
$.on @button, 'click', @update
|
||||||
Header.addShortcut @button, 1
|
Header.addShortcut @button, 1
|
||||||
|
|
||||||
|
|||||||
2
src/General/css/font-awesome.css
vendored
2
src/General/css/font-awesome.css
vendored
File diff suppressed because one or more lines are too long
@ -838,7 +838,13 @@ th {
|
|||||||
z-index: 18;
|
z-index: 18;
|
||||||
border-width: 1px 0 0 1px;
|
border-width: 1px 0 0 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
content: '✖';
|
content: '\uf00d';
|
||||||
|
font-family: FontAwesome;
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
text-decoration: inherit;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
font-size:14px !important;
|
||||||
display: block;
|
display: block;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@ -1301,7 +1307,7 @@ a.useremail:last-of-type {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
.focused .submenu {
|
.focused > .submenu {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* Stubs */
|
/* Stubs */
|
||||||
@ -2449,7 +2455,13 @@ article li {
|
|||||||
content: '?';
|
content: '?';
|
||||||
}
|
}
|
||||||
.closeIcon::after {
|
.closeIcon::after {
|
||||||
content: '✖';
|
content: '\uf00d';
|
||||||
|
font-family: FontAwesome;
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
text-decoration: inherit;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
font-size:14px !important;
|
||||||
}
|
}
|
||||||
/* Front Page */
|
/* Front Page */
|
||||||
#logo {
|
#logo {
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
[<a href="./catalog">Catalog</a>]
|
[<a href="./catalog">Catalog</a>]
|
||||||
[<time id="index-last-refresh" title="Last index refresh">...</time>]
|
[<time id="index-last-refresh" title="Last index refresh">...</time>]
|
||||||
<input type="search" id="index-search" class="field" placeholder="Search">
|
<input type="search" id="index-search" class="field" placeholder="Search">
|
||||||
<a id="index-search-clear" class="fa fa-times-circle" href="javascript:;"></a>
|
<a id="index-search-clear" class="fa" href="javascript:;">\uf057</a>
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
<option value=new>New thread</option>
|
<option value=new>New thread</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<a href=javascript:; class=close title=Close>✖</a>
|
<a href=javascript:; class='close fa' title=Close>\uf00d</a>
|
||||||
</div>
|
</div>
|
||||||
<form>
|
<form>
|
||||||
<div class=persona>
|
<div class=persona>
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<span class=description>Spoiler</span>
|
<span class=description>Spoiler</span>
|
||||||
<a id=dump-button title='Dump list'>+</a>
|
<a id=dump-button title='Dump list'>+</a>
|
||||||
<span class=description>Dump</span>
|
<span class=description>Dump</span>
|
||||||
<a id=qr-filerm href=javascript:; title='Remove file'>✖</a>
|
<a id=qr-filerm href=javascript:; title='Remove file' class=fa>\uf00d</a>
|
||||||
<span class=description>Remove File</span>
|
<span class=description>Remove File</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<a href='<%= meta.page %>' target=_blank><%= meta.name %></a> |
|
<a href='<%= meta.page %>' target=_blank><%= meta.name %></a> |
|
||||||
<a href='<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md' target=_blank>#{g.VERSION}</a> |
|
<a href='<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md' target=_blank>#{g.VERSION}</a> |
|
||||||
<a href='<%= meta.repo %>blob/<%= meta.mainBranch %>/README.md#reporting-bugs-and-suggestions' target=_blank>Issues</a> |
|
<a href='<%= meta.repo %>blob/<%= meta.mainBranch %>/README.md#reporting-bugs-and-suggestions' target=_blank>Issues</a> |
|
||||||
<a href=javascript:; class=close title=Close>✖</a>
|
<a href=javascript:; class='close fa' title=Close>\uf00d</a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<hr>
|
<hr>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
class Notice
|
class Notice
|
||||||
constructor: (type, content, @timeout) ->
|
constructor: (type, content, @timeout) ->
|
||||||
@el = $.el 'div',
|
@el = $.el 'div',
|
||||||
innerHTML: '<a href=javascript:; class="close fa fa-times" title=Close></a><div class=message></div>'
|
innerHTML: '<a href=javascript:; class="close fa" title=Close>\uf00d</a><div class=message></div>'
|
||||||
@el.style.opacity = 0
|
@el.style.opacity = 0
|
||||||
@setType type
|
@setType type
|
||||||
$.on @el.firstElementChild, 'click', @close
|
$.on @el.firstElementChild, 'click', @close
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Gallery =
|
|||||||
<div class=gal-viewport>
|
<div class=gal-viewport>
|
||||||
<span class=gal-buttons>
|
<span class=gal-buttons>
|
||||||
<a class="menu-button" href="javascript:;"><i class=drop-marker></i></a>
|
<a class="menu-button" href="javascript:;"><i class=drop-marker></i></a>
|
||||||
<a href=javascript:; class=gal-close>✖</a>
|
<a href=javascript:; class='gal-close fa'>\uf00d</a>
|
||||||
</span>
|
</span>
|
||||||
<a class=gal-name target="_blank"></a>
|
<a class=gal-name target="_blank"></a>
|
||||||
<span class=gal-count>
|
<span class=gal-count>
|
||||||
|
|||||||
@ -146,8 +146,9 @@ ThreadWatcher =
|
|||||||
|
|
||||||
makeLine: (boardID, threadID, data) ->
|
makeLine: (boardID, threadID, data) ->
|
||||||
x = $.el 'a',
|
x = $.el 'a',
|
||||||
className: 'fa fa-times'
|
className: 'fa'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
|
textContent: '\uf00d'
|
||||||
$.on x, 'click', ThreadWatcher.cb.rm
|
$.on x, 'click', ThreadWatcher.cb.rm
|
||||||
|
|
||||||
if data.isDead
|
if data.isDead
|
||||||
|
|||||||
@ -509,7 +509,7 @@ QR =
|
|||||||
className: 'qr-preview'
|
className: 'qr-preview'
|
||||||
draggable: true
|
draggable: true
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
innerHTML: '<a class="remove fa fa-times-circle" title=Remove></a><label hidden><input type=checkbox> Spoiler</label><span></span>'
|
innerHTML: '<a class="remove fa" title=Remove>\uf057</a><label hidden><input type=checkbox> Spoiler</label><span></span>'
|
||||||
|
|
||||||
@nodes =
|
@nodes =
|
||||||
el: el
|
el: el
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user