summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--script/collapse.js3
-rw-r--r--style/default.css8
2 files changed, 11 insertions, 0 deletions
diff --git a/script/collapse.js b/script/collapse.js
new file mode 100644
index 00000000..ca026f87
--- /dev/null
+++ b/script/collapse.js
@@ -0,0 +1,3 @@
+$('.slx-decollapse').click(function () {
+ $(this).siblings('.collapse').removeClass('collapse');
+}); \ No newline at end of file
diff --git a/style/default.css b/style/default.css
index 40e40b5f..894aa752 100644
--- a/style/default.css
+++ b/style/default.css
@@ -232,6 +232,14 @@ input[readonly] {
max-height: 200px;
}
+.slx-decollapse {
+ display: none;
+}
+
+.collapse + .slx-decollapse {
+ display: table-row;
+}
+
/*
* Sidebar
*/