Fix .watch-thread-link

This commit is contained in:
Zixaphir 2013-08-17 23:21:12 -07:00
parent 2abb4e96d3
commit 556b2df4d1
6 changed files with 14 additions and 15 deletions

View File

@ -1,5 +1,5 @@
/* /*
* appchan x - Version 2.3.3 - 2013-08-16 * appchan x - Version 2.3.3 - 2013-08-17
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -807,7 +807,7 @@ th {
border: 0 none; border: 0 none;
padding: 0; padding: 0;
} }
.watcher-toggler { .watch-thread-link {
padding-top: 18px; padding-top: 18px;
width: 18px; width: 18px;
height: 0px; height: 0px;
@ -817,7 +817,7 @@ th {
position: relative; position: relative;
top: 1px; top: 1px;
} }
.watcher-toggler.watched { .watch-thread-link.watched {
opacity: 1; opacity: 1;
} }
/* Announcements */ /* Announcements */
@ -988,7 +988,7 @@ a.useremail:last-of-type {
clear: both; clear: both;
} }
/* OP */ /* OP */
.favicon { .watch-thread-link {
vertical-align: bottom; vertical-align: bottom;
} }
.op-background .op.post { .op-background .op.post {

View File

@ -178,7 +178,7 @@ textarea.field:focus {
#qp.dialog { #qp.dialog {
border: none; border: none;
} }
.watcher-toggler { .watch-thread-link {
background-image: url("data:image/svg+xml,<svg viewBox='0 0 26 26' preserveAspectRatio='true' xmlns='http://www.w3.org/2000/svg'><path fill='#{theme["Post Numbers"].replace '#', '%23'}' d='M24.132,7.971c-2.203-2.205-5.916-2.098-8.25,0.235L15.5,8.588l-0.382-0.382c-2.334-2.333-6.047-2.44-8.25-0.235c-2.204,2.203-2.098,5.916,0.235,8.249l8.396,8.396l8.396-8.396C26.229,13.887,26.336,10.174,24.132,7.971z'/></svg>"); background-image: url("data:image/svg+xml,<svg viewBox='0 0 26 26' preserveAspectRatio='true' xmlns='http://www.w3.org/2000/svg'><path fill='#{theme["Post Numbers"].replace '#', '%23'}' d='M24.132,7.971c-2.203-2.205-5.916-2.098-8.25,0.235L15.5,8.588l-0.382-0.382c-2.334-2.333-6.047-2.44-8.25-0.235c-2.204,2.203-2.098,5.916,0.235,8.249l8.396,8.396l8.396-8.396C26.229,13.887,26.336,10.174,24.132,7.971z'/></svg>");
} }
.deleteform::before, .deleteform::before,

View File

@ -2,11 +2,10 @@ ThreadWatcher =
init: -> init: ->
return unless Conf['Thread Watcher'] return unless Conf['Thread Watcher']
@db = new DataBoard 'watchedThreads', @refresh, true @db = new DataBoard 'watchedThreads', @refresh, true
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', """ @dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', """<%=
<%= grunt.file.read('src/General/html/Monitoring/ThreadWatcher.html').replace(/>\s+</g, '><').trim() %> grunt.file.read('src/General/html/Monitoring/ThreadWatcher.html').replace(/>\s+</g, '><').trim()
""" %>"""
@status = $ '#watcher-status', @dialog @status = $ '#watcher-status', @dialog
@list = @dialog.lastElementChild @list = @dialog.lastElementChild