summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/behaviors.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/behaviors.scss')
-rw-r--r--app/assets/stylesheets/behaviors.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/stylesheets/behaviors.scss b/app/assets/stylesheets/behaviors.scss
new file mode 100644
index 00000000000..20854e7ee22
--- /dev/null
+++ b/app/assets/stylesheets/behaviors.scss
@@ -0,0 +1,14 @@
+// Details
+//--------
+.js-details-container .content { display: none; }
+.js-details-container .content.hide { display: block; }
+.js-details-container.open .content { display: block; }
+.js-details-container.open .content.hide { display: none; }
+
+
+// Toggler
+//--------
+.js-toggler-container .turn-on { display: inline-block; }
+.js-toggler-container .turn-off { display: none; }
+.js-toggler-container.on .turn-on { display: none; }
+.js-toggler-container.on .turn-off { display: inline-block; }