From 30dcae3b1bf9782d494f6695d57fa12a3d5a9b60 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 27 Jan 2017 06:49:37 -0800 Subject: [PATCH] Limit size of Sauce documentation and move important stuff to top. --- src/General/Settings/Sauce.html | 41 ++++++++++++++++++--------------- src/css/style.css | 14 ++++++++++- 2 files changed, 36 insertions(+), 19 deletions(-) diff --git a/src/General/Settings/Sauce.html b/src/General/Settings/Sauce.html index ea8bd3575..bee13122d 100644 --- a/src/General/Settings/Sauce.html +++ b/src/General/Settings/Sauce.html @@ -1,20 +1,25 @@
Sauce is disabled.
-
Lines starting with a # will be ignored.
-
You can specify a display text by appending ;text:[text] to the URL.
-
You can specify the applicable boards by appending ;boards:[board1],[board2].
-
You can specify the applicable file types by appending ;types:[extension1],[extension2].
-
You can specify a regular expression the filename must match by appending ;regexp:[regular expression].
- + +
+ +
These parameters will be replaced by their corresponding values in the URL and displayed text:
+ +
Lines starting with a # will be ignored.
+
You can specify a display text by appending ;text:[text] to the URL.
+
You can specify the applicable boards by appending ;boards:[board1],[board2].
+
You can specify the applicable file types by appending ;types:[extension1],[extension2].
+
You can specify a regular expression the filename must match by appending ;regexp:[regular expression].
+
diff --git a/src/css/style.css b/src/css/style.css index 0c9953344..036029baa 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -610,8 +610,20 @@ div[data-checked="false"] > .suboption-list { .section-main a, .section-filter a, .section-advanced a { text-decoration: underline; } +#sauce-doc-expand:not(:checked) ~ #sauce-doc { + max-height: 130px; + overflow: auto; +} +#sauce-doc > label { + float: right; + margin: 0 5px; +} +/* XXX for OneeChan */ +#sauce-doc-expand + .riceCheck { + display: none; +} .section-sauce textarea { - height: 350px; + height: 430px; } .section-advanced .field[name="boardnav"] { width: 100%;