Add a CRX. It's a pain in the ass to make.

This commit is contained in:
Zixaphir 2013-04-14 16:12:40 -07:00
parent e2b4684a32
commit 388621f388
8 changed files with 15 additions and 15 deletions

View File

@ -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: '[<a href=javascript:;> - </a>]\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;

View File

@ -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: '[<a href=javascript:;> - </a>]\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;

Binary file not shown.

BIN
builds/crx.crx Normal file

Binary file not shown.

View File

@ -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: '[<a href=javascript:;> - </a>]\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;

View File

@ -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') %>"""

View File

@ -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 : ''

View File

@ -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