mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-23 22:03:51 +01:00
JS and Stylesheet changes
Include undetermined pages in JS toggle-images.js now toggles all images Revert style.css edits REMOVE TESTO
This commit is contained in:
parent
263ecef0cd
commit
e1961c0076
@ -74,10 +74,10 @@ $(document).ready(function(){
|
|||||||
.on(event, function() {
|
.on(event, function() {
|
||||||
hide_images = !hide_images;
|
hide_images = !hide_images;
|
||||||
if (hide_images) {
|
if (hide_images) {
|
||||||
$('img.post-image, .theme-catalog .thread>a>img').each(hideImage);
|
$('img.post-image, .theme-catalog .thread>a>img, img.banner, img.board_image').each(hideImage);
|
||||||
localStorage.hideimages = true;
|
localStorage.hideimages = true;
|
||||||
} else {
|
} else {
|
||||||
$('img.post-image, .theme-catalog .thread>a>img').each(restoreImage);
|
$('img.post-image, .theme-catalog .thread>a>img, img.banner, img.board_image').each(restoreImage);
|
||||||
delete localStorage.hideimages;
|
delete localStorage.hideimages;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (hide_images) {
|
if (hide_images) {
|
||||||
$('img.post-image, .theme-catalog .thread>a>img').each(hideImage);
|
$('img.post-image, .theme-catalog .thread>a>img, img.banner, img.board_image').each(hideImage);
|
||||||
show_hide_hide_images_buttons();
|
show_hide_hide_images_buttons();
|
||||||
|
|
||||||
if (window.Options && Options.get_tab('general')) {
|
if (window.Options && Options.get_tab('general')) {
|
||||||
|
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 292 B |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
@ -1,4 +1,4 @@
|
|||||||
/* +piwnichan style, based on testorange.css from Karachan */
|
/* +piwnichan style, based on orange.css from Karachan */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
@ -6,19 +6,19 @@ body {
|
|||||||
color:#bebebe;
|
color:#bebebe;
|
||||||
|
|
||||||
background-color: #1e1e1e;
|
background-color: #1e1e1e;
|
||||||
background-image: url('img/testorange_testo.png'), url('img/testorange_top_bg.png'), url('img/testorange_bg.png');
|
background-image: url('img/orange_top_bg.png'), url('img/orange_bg.png');
|
||||||
background-repeat: no-repeat, repeat-x, repeat;
|
background-repeat: repeat-x, repeat;
|
||||||
background-attachment: fixed, scroll, scroll;
|
background-attachment: scroll, scroll;
|
||||||
background-position: right bottom, 0% 0%, 0% 0%;
|
background-position: 0% 0%, 0% 0%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.desktop-style .bl-menu{
|
.desktop-style .bl-menu{
|
||||||
background-image: url('img/testorange_bg.png');
|
background-image: url('img/orange_bg.png');
|
||||||
background-repeat: repeat;
|
background-repeat: repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.boardlist .board a {
|
.boardlist .board a {
|
||||||
background-image: url('img/testorange_bg.png');
|
background-image: url('img/orange_bg.png');
|
||||||
background-repeat: repeat;
|
background-repeat: repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ input {
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
textarea {
|
textarea {
|
||||||
background: #dedede url('img/testorange_textarea_bg.gif') repeat-x;
|
background: #dedede url('img/orange_textarea_bg.gif') repeat-x;
|
||||||
}
|
}
|
||||||
input, textarea {
|
input, textarea {
|
||||||
border: 1px #fff solid;
|
border: 1px #fff solid;
|
||||||
@ -180,7 +180,7 @@ div.post.reply {
|
|||||||
color: #bebebe;
|
color: #bebebe;
|
||||||
}
|
}
|
||||||
form table th, div.banner, div.pages, .replymode, .postblock, .passvalid, .catalogmode {
|
form table th, div.banner, div.pages, .replymode, .postblock, .passvalid, .catalogmode {
|
||||||
background: #ff9100 url('img/testorange_f_bg.gif') repeat-x !important;
|
background: #ff9100 url('img/orange_f_bg.gif') repeat-x !important;
|
||||||
}
|
}
|
||||||
div.pages, div.pages a {
|
div.pages, div.pages a {
|
||||||
color: black;
|
color: black;
|
@ -988,17 +988,7 @@ div.boardlist a {
|
|||||||
|
|
||||||
/* Threads */
|
/* Threads */
|
||||||
/* Thread Footer */
|
/* Thread Footer */
|
||||||
#thread-interactions-alt {
|
|
||||||
margin: 8px 0;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
#thread-links-alt {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
#thread-links-alt > a {
|
|
||||||
padding-left: none;
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
#thread-interactions {
|
#thread-interactions {
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
{% raw %}
|
{% raw %}
|
||||||
|
/*
|
||||||
|
* main.js - This file is compiled and contains code from the following scripts, concatenated together in order:
|
||||||
|
* {% endraw %}{{ config.additional_javascript|join(', ') }}{% raw %}
|
||||||
|
* Please see those files for licensing and authorship information.
|
||||||
|
* Compiled on {% endraw %}{{ time()|date("%c") }}{% raw %}
|
||||||
|
*/
|
||||||
|
|
||||||
/* gettext-compatible _ function, example of usage:
|
/* gettext-compatible _ function, example of usage:
|
||||||
*
|
*
|
||||||
@ -390,6 +396,9 @@ function ready() {
|
|||||||
|
|
||||||
var post_date = "{{ config.post_date }}";
|
var post_date = "{{ config.post_date }}";
|
||||||
var max_images = {{ config.max_images }};
|
var max_images = {{ config.max_images }};
|
||||||
|
if (typeof active_page === "undefined") {
|
||||||
|
active_page = "page";
|
||||||
|
}
|
||||||
|
|
||||||
onready(init);
|
onready(init);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user