1
0
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:
fallenPineapple 2017-04-24 19:31:36 -04:00
parent 263ecef0cd
commit e1961c0076
7 changed files with 22 additions and 23 deletions

View File

@ -74,10 +74,10 @@ $(document).ready(function(){
.on(event, function() {
hide_images = !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;
} 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;
}
@ -87,7 +87,7 @@ $(document).ready(function(){
});
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();
if (window.Options && Options.get_tab('general')) {

View File

Before

Width:  |  Height:  |  Size: 143 B

After

Width:  |  Height:  |  Size: 143 B

View File

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,4 +1,4 @@
/* +piwnichan style, based on testorange.css from Karachan */
/* +piwnichan style, based on orange.css from Karachan */
body {
font-family: sans-serif;
@ -6,19 +6,19 @@ body {
color:#bebebe;
background-color: #1e1e1e;
background-image: url('img/testorange_testo.png'), url('img/testorange_top_bg.png'), url('img/testorange_bg.png');
background-repeat: no-repeat, repeat-x, repeat;
background-attachment: fixed, scroll, scroll;
background-position: right bottom, 0% 0%, 0% 0%;
background-image: url('img/orange_top_bg.png'), url('img/orange_bg.png');
background-repeat: repeat-x, repeat;
background-attachment: scroll, scroll;
background-position: 0% 0%, 0% 0%;
}
.desktop-style .bl-menu{
background-image: url('img/testorange_bg.png');
background-image: url('img/orange_bg.png');
background-repeat: repeat;
}
.boardlist .board a {
background-image: url('img/testorange_bg.png');
background-image: url('img/orange_bg.png');
background-repeat: repeat;
}
@ -46,7 +46,7 @@ input {
background: #fff;
}
textarea {
background: #dedede url('img/testorange_textarea_bg.gif') repeat-x;
background: #dedede url('img/orange_textarea_bg.gif') repeat-x;
}
input, textarea {
border: 1px #fff solid;
@ -180,7 +180,7 @@ div.post.reply {
color: #bebebe;
}
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 {
color: black;

View File

@ -988,17 +988,7 @@ div.boardlist a {
/* Threads */
/* 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 {
margin: 8px 0;
clear: both;

View File

@ -1,4 +1,10 @@
{% 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:
*
@ -390,6 +396,9 @@ function ready() {
var post_date = "{{ config.post_date }}";
var max_images = {{ config.max_images }};
if (typeof active_page === "undefined") {
active_page = "page";
}
onready(init);