aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorZog2018-05-11 09:05:13 +0200
committerZog2018-05-11 09:05:13 +0200
commit91141725fdeee6c5838bdbeb4bb6e17f44b2b4b7 (patch)
treec99d1e5fd5188b6984fc6f62ffcc50274d5bec4d /app/assets
parent7b7a7b44a9c8d016e1c0cadc7b8f887de9dcac0a (diff)
downloadchouette-core-91141725fdeee6c5838bdbeb4bb6e17f44b2b4b7.tar.bz2
Refs #6972; Fix consolidated view when togglable elements are open6972-fix-consolidated-views
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/modules/_vj_collection.sass11
1 files changed, 9 insertions, 2 deletions
diff --git a/app/assets/stylesheets/modules/_vj_collection.sass b/app/assets/stylesheets/modules/_vj_collection.sass
index 0131201f0..03c749a31 100644
--- a/app/assets/stylesheets/modules/_vj_collection.sass
+++ b/app/assets/stylesheets/modules/_vj_collection.sass
@@ -219,9 +219,17 @@
.form-control
border-color: #ccc
-
.consolidated-view
$highlighted: #d4ba32
+ .togglable
+ &.ready
+ transition: all 0.5s
+ &:not(.open)
+ min-height: 0 !important
+ padding: 0 !important
+ margin: 0 !important
+ border: none
+
.line
& > .head
font-size: 2em
@@ -257,7 +265,6 @@
.vehicle-journeys
display: block
overflow: hidden
- transition: height 0.5s, margin-bottom 0.5s
margin-bottom: 0px
& > *
display: inline-block