[BUGFIX] Show active state for SelectIcons
[Packages/TYPO3.CMS.git] / Build / Resources / Public / Sass / typo3 / _element_tceforms.scss
index 8459aff..53209f3 100644 (file)
@@ -285,10 +285,22 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex {
         float: left;
         padding: 6px;
         max-width: 128px;
+        border-left: 1px solid transparent;
+        border-right: 1px solid transparent;
 
         img {
-            max-width: 128px;
-            max-height: 128px;
+            max-width: 116px;
+            max-height: 116px;
         }
     }
+
+    .active {
+        background-color: $table-bg-active;
+        border-left: 1px solid $table-border-color;
+        border-right: 1px solid $table-border-color;
+    }
+
+    :first-child.active {
+        border-left: 1px solid transparent;
+    }
 }