diff --git a/html/css/global/img.css b/html/css/global/img.css index ea36014b..6e507c30 100644 --- a/html/css/global/img.css +++ b/html/css/global/img.css @@ -57,8 +57,6 @@ color: #000000; } - - .setting-name { width:50%; } @@ -113,7 +111,7 @@ position: relative; display: inline; margin-top: 0px; - padding-left:0px; + padding-left:8px; padding-right: 4px; list-style-type: none; } @@ -269,4 +267,22 @@ img.thumbnail { hr { clear: both; +} + +.spoiler { + background-color: #000000; + color: #000000; +} + +.spoiler:hover { + color: #FFFFFF; +} + +.thread-ddown-menu { + display: inline-block; + position:absolute; + margin-top: 8px; + margin-left: -4px; + padding: 4px; + float: left; } \ No newline at end of file diff --git a/html/css/pipes/img.css b/html/css/pipes/img.css index 84fc3e68..f6c93cac 100644 --- a/html/css/pipes/img.css +++ b/html/css/pipes/img.css @@ -77,7 +77,6 @@ a.permalink:hover { } a { - background: inherit; color: #f90; font-family: sans-serif; text-decoration: none; @@ -112,12 +111,47 @@ ul.boardmenu li:hover { } .postblock { - background-color:#404040; - border: 1px solid #202020; + background-color:#25272D; font-weight: bold; } .post { - background-color:#404040; - border: 1px solid #202020; + border: 1px solid #8C94AB; + background-color:#25272D; + +} + +.subject { + color: #FF9900; +} + +.postername a { + text-decoration: underline; + color: #FFCC00!important; +} + +.postername { + color: #FFCC00; + font-weight: bold; +} + +.tripcode { + color: #FFCC00; +} + +input,textarea,button { + border: 1px solid #8C94AB; + background-color:#25272D; + color: #FFFFFF; +} + +.thread-ddown a { + font-size: 75%; + vertical-align: middle; +} + +.thread-ddown-menu { + border: 1px solid #8C94AB; + background-color:#25272D; + color: #FFFFFF; } \ No newline at end of file diff --git a/html/javascript/gochan.js b/html/javascript/gochan.js index cb863983..68038569 100644 --- a/html/javascript/gochan.js +++ b/html/javascript/gochan.js @@ -125,6 +125,10 @@ function changeFrontPage(page_name) { }); } +function deletePost(id) { + var password = prompt("Password") +} + function getArg(name) { var href = window.location.href; var args = href.substr(href.indexOf("?")+1, href.length); @@ -212,6 +216,15 @@ function getStaffMenuHTML() { return s+""; } +function hidePost(id) { + var posttext = $jq("div#"+id+".post .posttext"); + if(posttext.length > 0) posttext.remove(); + var fileinfo = $jq("div#"+id+".post .file-info") + if(fileinfo.length > 0) fileinfo.remove(); + var postimg = $jq("div#"+id+".post img") + if(postimg.length > 0) postimg.remove(); +} + function isFrontPage() { var page = window.location.pathname; return page == "/" || page == "/index.html" || page == "/template.html"; @@ -283,6 +296,10 @@ function preparePostPreviews(is_inline) { } } +function reportPost(id) { + var reason = prompt("Reason"); +} + $jq(document).ready(function() { current_staff = getStaff() @@ -291,7 +308,7 @@ $jq(document).ready(function() { for(var i = 0; i < styles.length; i++) { settings_html += "