diff --git a/builds/appchan-x.js b/builds/appchan-x.js index 0631d7d3e..d1a9e4a85 100644 --- a/builds/appchan-x.js +++ b/builds/appchan-x.js @@ -3599,8 +3599,9 @@ css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n"; } if (_conf["Post Form Decorations"]) { - return css += "#qr {\n border-color: " + theme["Buttons Border"] + ";\n background: " + backgroundC + ";\n box-shadow: " + (_conf['Quote Shadows'] ? "5px 5px 5px " + theme['Shadow Color'] : "") + ";\n}\n"; + css += "#qr {\n border-color: " + theme["Buttons Border"] + ";\n background: " + backgroundC + ";\n box-shadow: " + (_conf['Quote Shadows'] ? "5px 5px 5px " + theme['Shadow Color'] : "") + ";\n}\n"; } + return css; }, iconPositions: function() { var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf; @@ -6176,12 +6177,11 @@ innerHTML: '[ - ]\u00A0' }); $.on(btn, 'click', Header.toggleBoardList); - $.prepend(fullBoardList, btn); + return $.prepend(fullBoardList, btn); } else { $.rm($('#custom-board-list', nav)); - fullBoardList.hidden = false; + return fullBoardList.hidden = false; } - return Style.padding(); }, generateBoardList: function(text) { var as, list, nodes; diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 45277168e..aa3d151a6 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -3590,8 +3590,9 @@ css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n"; } if (_conf["Post Form Decorations"]) { - return css += "#qr {\n border-color: " + theme["Buttons Border"] + ";\n background: " + backgroundC + ";\n box-shadow: " + (_conf['Quote Shadows'] ? "5px 5px 5px " + theme['Shadow Color'] : "") + ";\n}\n"; + css += "#qr {\n border-color: " + theme["Buttons Border"] + ";\n background: " + backgroundC + ";\n box-shadow: " + (_conf['Quote Shadows'] ? "5px 5px 5px " + theme['Shadow Color'] : "") + ";\n}\n"; } + return css; }, iconPositions: function() { var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf; @@ -6167,12 +6168,11 @@ innerHTML: '[ - ]\u00A0' }); $.on(btn, 'click', Header.toggleBoardList); - $.prepend(fullBoardList, btn); + return $.prepend(fullBoardList, btn); } else { $.rm($('#custom-board-list', nav)); - fullBoardList.hidden = false; + return fullBoardList.hidden = false; } - return Style.padding(); }, generateBoardList: function(text) { var as, list, nodes; diff --git a/builds/appchan-x.zip b/builds/appchan-x.zip index 66fc07d7f..f95feb719 100644 Binary files a/builds/appchan-x.zip and b/builds/appchan-x.zip differ diff --git a/builds/crx.crx b/builds/crx.crx new file mode 100644 index 000000000..07bb96960 Binary files /dev/null and b/builds/crx.crx differ diff --git a/builds/crx/script.js b/builds/crx/script.js index b052f232a..360946d14 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -3535,8 +3535,9 @@ css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n"; } if (_conf["Post Form Decorations"]) { - return css += "#qr {\n border-color: " + theme["Buttons Border"] + ";\n background: " + backgroundC + ";\n box-shadow: " + (_conf['Quote Shadows'] ? "5px 5px 5px " + theme['Shadow Color'] : "") + ";\n}\n"; + css += "#qr {\n border-color: " + theme["Buttons Border"] + ";\n background: " + backgroundC + ";\n box-shadow: " + (_conf['Quote Shadows'] ? "5px 5px 5px " + theme['Shadow Color'] : "") + ";\n}\n"; } + return css; }, iconPositions: function() { var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf; @@ -6112,12 +6113,11 @@ innerHTML: '[ - ]\u00A0' }); $.on(btn, 'click', Header.toggleBoardList); - $.prepend(fullBoardList, btn); + return $.prepend(fullBoardList, btn); } else { $.rm($('#custom-board-list', nav)); - fullBoardList.hidden = false; + return fullBoardList.hidden = false; } - return Style.padding(); }, generateBoardList: function(text) { var as, list, nodes; diff --git a/src/appchan.coffee b/src/appchan.coffee index fc1e387b9..8b33a2b84 100644 --- a/src/appchan.coffee +++ b/src/appchan.coffee @@ -202,6 +202,8 @@ Style = css = """<%= grunt.file.read('css/theme.css') %>""" <%= grunt.file.read('css/themeoptions.css') %> + + css iconPositions: -> css = """<%= grunt.file.read('css/icons.base.css') %>""" diff --git a/src/config.coffee b/src/config.coffee index 8ebd8b253..c288c144f 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -912,7 +912,7 @@ box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2); embedWidth: 640 embedHeight: 390 - theme : 'Yotsuba B' + theme: 'Yotsuba B' 'theme_sfw': 'Yotsuba B' 'theme_nsfw': 'Yotsuba' mascot : '' diff --git a/src/features.coffee b/src/features.coffee index 1ca35353a..a99524721 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -98,8 +98,6 @@ Header = else $.rm $ '#custom-board-list', nav fullBoardList.hidden = false - - do Style.padding generateBoardList: (text) -> list = $ '#custom-board-list', Header.nav