aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Schoenert <c.schoenert@t-online.de>2019-04-07 12:26:58 +0200
committerCarsten Schoenert <c.schoenert@t-online.de>2019-04-07 12:35:22 +0200
commit4ce671d5ea8846ae59af3cff64e589e6480b8da9 (patch)
treee8f561f7684b2f41399f26328cdfe2f8f64ee8a6
parent7dc13e241539aa699938f571162b7602a281c644 (diff)
toggle.css: adding a new files with stylsheet info
A new set of classes to get content managed that is added to a site but should be hided.
-rw-r--r--english/download/toggle.css37
1 files changed, 37 insertions, 0 deletions
diff --git a/english/download/toggle.css b/english/download/toggle.css
new file mode 100644
index 00000000000..fc0657c61c7
--- /dev/null
+++ b/english/download/toggle.css
@@ -0,0 +1,37 @@
+input[type='checkbox'] {
+ display: none;
+}
+
+.lbl-toggle {
+ %display: block;
+ %font-weight: bold;
+ %font-family: monospace;
+ %font-size: 1.2rem;
+ %text-transform: uppercase;
+ %text-align: center;
+ padding: .5rem;
+ %color: #A77B0E;
+ background: #b2b5bf;
+ cursor: pointer;
+ border-radius: 7px;
+}
+
+.lbl-toggle:hover {
+ color: #7C5A0B;
+ color: #ffffff;
+}
+
+.collapsible-content {
+ max-height: 0px;
+ overflow: hidden;
+ transition: max-height .65s ease-in;
+}
+
+.toggle:checked + .lbl-toggle + .collapsible-content {
+ /* Increase the size of max-height to something more pixels than the section
+ will need, the real height of the section will get used anyway. */
+ max-height: 1250px;
+ transition-timing-function: ease-out;
+ transition: 1.25s;
+ transform: translateY(0);
+}

© 2014-2024 Faster IT GmbH | imprint | privacy policy