Skip to content

Commit

Permalink
A few fixes for #watcher
Browse files Browse the repository at this point in the history
Add a tip to the empty non-slideout watcher describing how to watch
threads.
Move the slideout globalmessage to the right instead of leaving gap.
Reduce the watcher width when using SS-like Sidebar.
  • Loading branch information
seaweedchan committed Nov 5, 2012
1 parent 34e6d8e commit 1107b74
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OneeChan.user.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions changelog
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ v4.3.5:
-Fix issue with #stats and #updater in some cases covering up icons. -Fix issue with #stats and #updater in some cases covering up icons.
-Fix incorrect not-autohide watcher positioning. -Fix incorrect not-autohide watcher positioning.
-Add options for menu / hide button content that accepts text or a URL -Add options for menu / hide button content that accepts text or a URL
[Post-Update]
-Add tip to empty watcher when auto-hide is disabled
-Remove gap from former watcher position when auto-hide disabled


v4.3.4: v4.3.4:
-New option: Icon Position -New option: Icon Position
Expand Down
22 changes: 20 additions & 2 deletions style.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -813,6 +813,24 @@ div.post > blockquote .spoiler a
{ {
top: " + (20 + (($SS.conf["Icon Position"] === 2 ? ($SS.conf["Show Logo"] ? 104 : 19) : 0))) + "px !important; top: " + (20 + (($SS.conf["Icon Position"] === 2 ? ($SS.conf["Show Logo"] ? 104 : 19) : 0))) + "px !important;
} }
#watcher>.move
{
text-decoration: none !important;
cursor: auto !important;
}
#watcher>.move:only-child
{
height: 16px !important;
text-align: center !important;
}
#watcher>.move:only-child::after
{
content: 'Click the hearts to watch threads: ' url('"+$SS.theme[$SS.theme.bgColor.isLight ? "lightIcons" + ($SS.conf['Icon Theme']) + "" : "darkIcons" + ($SS.conf['Icon Theme']) + ""].watcher+"') !important;
font-size: 12px !important;
color: " + $SS.theme.textColor.hex + " !important;
text-decoration: none !important;
opacity: 0.4;
}
") + " ") + "
#watcher #watcher
{ {
Expand Down Expand Up @@ -865,7 +883,7 @@ div.post > blockquote .spoiler a
right: auto !important; right: auto !important;
left: 2px !important; left: 2px !important;
") + " ") + "
width: 258px !important; width: 25" + ($SS.conf["SS-like Sidebar"] ? 5 : 8) + "px !important;
padding-bottom: 4px !important; padding-bottom: 4px !important;
} }
#watcher:hover #watcher:hover
Expand Down Expand Up @@ -2870,7 +2888,7 @@ margin-bottom: 20px !important;
{ {
height: 9px !important; height: 9px !important;
position: fixed !important; position: fixed !important;
" + $SS.conf["Sidebar Position String"] + ": 85px !important; " + $SS.conf["Sidebar Position String"] + ": " + (85 - ($SS.conf["Auto Hide Thread Watcher"] ? 0 : 18)) + "px !important;
" + $SS.conf["Sidebar Position oString"] + ": auto !important; " + $SS.conf["Sidebar Position oString"] + ": auto !important;
min-width: 15px !important; min-width: 15px !important;
max-width: 15px !important; max-width: 15px !important;
Expand Down

0 comments on commit 1107b74

Please sign in to comment.