[BUGFIX] Fix orientiation of carets in panels
[Packages/TYPO3.CMS.git] / Build / Resources / Public / Sass / typo3 / _element_panel.scss
index 1a4cbbc..0652754 100644 (file)
@@ -57,13 +57,6 @@ $panel-lg-padding: 35px;
 }
 
 .panel-collapsed {
-    .panel-heading {
-        .caret {
-            @include transition(all 0.25s ease-in-out);
-            @include rotate(-90deg);
-        }
-    }
-
     .panel-collapse {
         display: none;
         visibility: hidden;
@@ -72,6 +65,18 @@ $panel-lg-padding: 35px;
 
 .panel,
 .panel-collapse {
+    .panel-heading {
+        .caret {
+            @include transition(all 0.25s ease-in-out);
+        }
+
+        .collapsed {
+            .caret {
+                @include rotate(-90deg);
+            }
+        }
+    }
+
     > .alert {
         border: none;
         border-top: 1px solid $panel-default-border;