From 1132a4ce7919bbeba1bd98836f7e7316fe7830e9 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Tue, 23 Jul 2013 09:38:42 -0400 Subject: Option to use font-awesome for sticky/lock icons, etc. --- stylesheets/style.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stylesheets/style.css') diff --git a/stylesheets/style.css b/stylesheets/style.css index 2facbdfe..12cc54d5 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -145,6 +145,10 @@ div.post img.icon { margin: 0 5px; padding: 0; } +div.post i.icon { + margin: 0 4px; + font-size: 16px; +} div.post.op { margin-right: 20px; margin-bottom: 5px; -- cgit v1.3 From 1a43b8731525e7268b1c4e167b8116fdf97b28c4 Mon Sep 17 00:00:00 2001 From: czaks Date: Fri, 26 Jul 2013 15:31:20 -0400 Subject: hide-threads.js: further fixes and customisations, mainly due to unexpanding previously not working here, but working on another boards (4chon, etc.) --- js/hide-threads.js | 7 ++++--- stylesheets/style.css | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'stylesheets/style.css') diff --git a/js/hide-threads.js b/js/hide-threads.js index 00ddbc48..abaa700f 100644 --- a/js/hide-threads.js +++ b/js/hide-threads.js @@ -55,11 +55,12 @@ $(document).ready(function(){ var hidden_div = thread_container.find('div.post.op > p.intro').clone(); hidden_div.addClass('thread-hidden'); - hidden_div.find('a[href],input').remove(); + hidden_div.find('a[href]:not([href$=".html"]),input').remove(); + hidden_div.html(hidden_div.html().replace(' [] ', ' ')); hidden_div.html(hidden_div.html().replace(' [] ', ' ')); - $('[+] ') - .insertAfter(thread_container.find('a.hide-thread-link')) + $('[+] ') + .insertBefore(hidden_div.find(':first')) .click(function() { delete hidden_data[board][id]; store_data(); diff --git a/stylesheets/style.css b/stylesheets/style.css index 0339864b..393f9faa 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -458,6 +458,7 @@ table.mod.config-editor input[type="text"] { background-color: #fff; opacity: 0.8; } -.thread-hidden { - opacity: 0.5; +p.intro.thread-hidden { + margin: 0px; + padding: 0px; } -- cgit v1.3 From 1c33285c81efe174f09e99b15be81f527c0f8ae0 Mon Sep 17 00:00:00 2001 From: czaks Date: Fri, 26 Jul 2013 15:31:20 -0400 Subject: hide-threads.js: further fixes and customisations, mainly due to unexpanding previously not working here, but working on another boards (4chon, etc.) Conflicts: stylesheets/style.css --- js/hide-threads.js | 7 ++++--- stylesheets/style.css | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'stylesheets/style.css') diff --git a/js/hide-threads.js b/js/hide-threads.js index 14893e05..faa1289c 100644 --- a/js/hide-threads.js +++ b/js/hide-threads.js @@ -54,11 +54,12 @@ $(document).ready(function(){ var hidden_div = thread_container.find('div.post.op > p.intro').clone(); hidden_div.addClass('thread-hidden'); - hidden_div.find('a[href],input').remove(); + hidden_div.find('a[href]:not([href$=".html"]),input').remove(); + hidden_div.html(hidden_div.html().replace(' [] ', ' ')); hidden_div.html(hidden_div.html().replace(' [] ', ' ')); - $('[+] ') - .insertAfter(thread_container.find('a.hide-thread-link')) + $('[+] ') + .insertBefore(hidden_div.find(':first')) .click(function() { delete hidden_data[board][id]; store_data(); diff --git a/stylesheets/style.css b/stylesheets/style.css index 12cc54d5..c0430b7c 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -404,3 +404,8 @@ table.mod.config-editor td { table.mod.config-editor input[type="text"] { width: 98%; } +p.intro.thread-hidden { + margin: 0px; + padding: 0px; +} + -- cgit v1.3