Add a CRX. It's a pain in the ass to make.
This commit is contained in:
parent
e2b4684a32
commit
388621f388
@ -3599,8 +3599,9 @@
|
|||||||
css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n";
|
css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n";
|
||||||
}
|
}
|
||||||
if (_conf["Post Form Decorations"]) {
|
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() {
|
iconPositions: function() {
|
||||||
var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf;
|
var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf;
|
||||||
@ -6176,12 +6177,11 @@
|
|||||||
innerHTML: '[<a href=javascript:;> - </a>]\u00A0'
|
innerHTML: '[<a href=javascript:;> - </a>]\u00A0'
|
||||||
});
|
});
|
||||||
$.on(btn, 'click', Header.toggleBoardList);
|
$.on(btn, 'click', Header.toggleBoardList);
|
||||||
$.prepend(fullBoardList, btn);
|
return $.prepend(fullBoardList, btn);
|
||||||
} else {
|
} else {
|
||||||
$.rm($('#custom-board-list', nav));
|
$.rm($('#custom-board-list', nav));
|
||||||
fullBoardList.hidden = false;
|
return fullBoardList.hidden = false;
|
||||||
}
|
}
|
||||||
return Style.padding();
|
|
||||||
},
|
},
|
||||||
generateBoardList: function(text) {
|
generateBoardList: function(text) {
|
||||||
var as, list, nodes;
|
var as, list, nodes;
|
||||||
|
|||||||
@ -3590,8 +3590,9 @@
|
|||||||
css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n";
|
css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n";
|
||||||
}
|
}
|
||||||
if (_conf["Post Form Decorations"]) {
|
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() {
|
iconPositions: function() {
|
||||||
var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf;
|
var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf;
|
||||||
@ -6167,12 +6168,11 @@
|
|||||||
innerHTML: '[<a href=javascript:;> - </a>]\u00A0'
|
innerHTML: '[<a href=javascript:;> - </a>]\u00A0'
|
||||||
});
|
});
|
||||||
$.on(btn, 'click', Header.toggleBoardList);
|
$.on(btn, 'click', Header.toggleBoardList);
|
||||||
$.prepend(fullBoardList, btn);
|
return $.prepend(fullBoardList, btn);
|
||||||
} else {
|
} else {
|
||||||
$.rm($('#custom-board-list', nav));
|
$.rm($('#custom-board-list', nav));
|
||||||
fullBoardList.hidden = false;
|
return fullBoardList.hidden = false;
|
||||||
}
|
}
|
||||||
return Style.padding();
|
|
||||||
},
|
},
|
||||||
generateBoardList: function(text) {
|
generateBoardList: function(text) {
|
||||||
var as, list, nodes;
|
var as, list, nodes;
|
||||||
|
|||||||
Binary file not shown.
BIN
builds/crx.crx
Normal file
BIN
builds/crx.crx
Normal file
Binary file not shown.
@ -3535,8 +3535,9 @@
|
|||||||
css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n";
|
css += "#globalMessage {\n background: " + theme["Dialog Background"] + ";\n border: 1px solid " + theme["Dialog Border"] + ";\n}\n";
|
||||||
}
|
}
|
||||||
if (_conf["Post Form Decorations"]) {
|
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() {
|
iconPositions: function() {
|
||||||
var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf;
|
var align, aligner, css, i, iconOffset, navlinks, notCatalog, notEither, position, _conf;
|
||||||
@ -6112,12 +6113,11 @@
|
|||||||
innerHTML: '[<a href=javascript:;> - </a>]\u00A0'
|
innerHTML: '[<a href=javascript:;> - </a>]\u00A0'
|
||||||
});
|
});
|
||||||
$.on(btn, 'click', Header.toggleBoardList);
|
$.on(btn, 'click', Header.toggleBoardList);
|
||||||
$.prepend(fullBoardList, btn);
|
return $.prepend(fullBoardList, btn);
|
||||||
} else {
|
} else {
|
||||||
$.rm($('#custom-board-list', nav));
|
$.rm($('#custom-board-list', nav));
|
||||||
fullBoardList.hidden = false;
|
return fullBoardList.hidden = false;
|
||||||
}
|
}
|
||||||
return Style.padding();
|
|
||||||
},
|
},
|
||||||
generateBoardList: function(text) {
|
generateBoardList: function(text) {
|
||||||
var as, list, nodes;
|
var as, list, nodes;
|
||||||
|
|||||||
@ -202,6 +202,8 @@ Style =
|
|||||||
css = """<%= grunt.file.read('css/theme.css') %>"""
|
css = """<%= grunt.file.read('css/theme.css') %>"""
|
||||||
|
|
||||||
<%= grunt.file.read('css/themeoptions.css') %>
|
<%= grunt.file.read('css/themeoptions.css') %>
|
||||||
|
|
||||||
|
css
|
||||||
|
|
||||||
iconPositions: ->
|
iconPositions: ->
|
||||||
css = """<%= grunt.file.read('css/icons.base.css') %>"""
|
css = """<%= grunt.file.read('css/icons.base.css') %>"""
|
||||||
|
|||||||
@ -912,7 +912,7 @@ box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
|
|||||||
|
|
||||||
embedWidth: 640
|
embedWidth: 640
|
||||||
embedHeight: 390
|
embedHeight: 390
|
||||||
theme : 'Yotsuba B'
|
theme: 'Yotsuba B'
|
||||||
'theme_sfw': 'Yotsuba B'
|
'theme_sfw': 'Yotsuba B'
|
||||||
'theme_nsfw': 'Yotsuba'
|
'theme_nsfw': 'Yotsuba'
|
||||||
mascot : ''
|
mascot : ''
|
||||||
|
|||||||
@ -98,8 +98,6 @@ Header =
|
|||||||
else
|
else
|
||||||
$.rm $ '#custom-board-list', nav
|
$.rm $ '#custom-board-list', nav
|
||||||
fullBoardList.hidden = false
|
fullBoardList.hidden = false
|
||||||
|
|
||||||
do Style.padding
|
|
||||||
|
|
||||||
generateBoardList: (text) ->
|
generateBoardList: (text) ->
|
||||||
list = $ '#custom-board-list', Header.nav
|
list = $ '#custom-board-list', Header.nav
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user