From f632cc408e50cff8714044021b683d18abe17a54 Mon Sep 17 00:00:00 2001
From: Renard
Date: Sun, 31 Mar 2019 17:41:31 -0300
Subject: Selector CSS para IB
---
cgi/templates/base_top.html | 6 +-----
cgi/templates/board.html | 6 ++++++
static/css/ib.css | 1 +
static/js/weabot.js | 19 ++++++++++---------
4 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/cgi/templates/base_top.html b/cgi/templates/base_top.html
index 5389617..a95a257 100644
--- a/cgi/templates/base_top.html
+++ b/cgi/templates/base_top.html
@@ -40,11 +40,7 @@
-
#{board_long}
diff --git a/cgi/templates/board.html b/cgi/templates/board.html
index e91e187..6ded4c5 100644
--- a/cgi/templates/board.html
+++ b/cgi/templates/board.html
@@ -261,4 +261,10 @@
#{pagenav}
+
+
Apariencia:
+
+
\ No newline at end of file
diff --git a/static/css/ib.css b/static/css/ib.css
index 1609e4d..55e8012 100644
--- a/static/css/ib.css
+++ b/static/css/ib.css
@@ -52,6 +52,7 @@ input[type="text"],input[type="password"],textarea{background:#FFF;border:1px in
.footer{clear:both;margin-top:8px;text-align:center}
.managertable th,.managertable td{padding:3px}
#q-p{position:absolute;border:1px dotted gray}
+.selector{font-size: 10pt}
@media(max-width:900px){.thread{margin-right:0}}
@media(max-width:720px){
body{font-size:15px;padding:4px}
diff --git a/static/js/weabot.js b/static/js/weabot.js
index da0ba83..0f27075 100644
--- a/static/js/weabot.js
+++ b/static/js/weabot.js
@@ -361,6 +361,11 @@ function catHidden() {
lbl.appendChild(shw); lbl.appendChild(document.createTextNode("]"));
}
+function applyTheme(){
+ var newTheme = document.getElementById("styles").value;
+ set_stylesheet(newTheme);
+}
+
document.addEventListener("DOMContentLoaded", function(e) {
checkhighlight();
if (localStorage.hasOwnProperty("weabot")) weabot = JSON.parse(localStorage.getItem("weabot"));
@@ -414,15 +419,11 @@ document.addEventListener("DOMContentLoaded", function(e) {
for(var i=0;i