Afform - Remove unused css for collapsible containers
authorcolemanw <coleman@civicrm.org>
Mon, 11 Dec 2023 15:26:18 +0000 (10:26 -0500)
committercolemanw <coleman@civicrm.org>
Mon, 11 Dec 2023 15:26:18 +0000 (10:26 -0500)
Collapsible container markup has been switched to using summary/details elements
See https://github.com/civicrm/civicrm-core/pull/28449

ext/afform/core/ang/afCore.css

index 28eea63df2f2675a1dabd09382440825a2ecd978..86c4d09b6ce6c1935f63ef9e5bd088df1ba5b691 100644 (file)
@@ -46,23 +46,6 @@ af-form {
   right: 0;
 }
 
-/* Collapsible containers */
-.af-collapsible > .af-title {
-  cursor: pointer;
-}
-.af-collapsible > .af-title:before {
-  font-family: "FontAwesome";
-  display: inline-block;
-  width: 1em;
-  content: "\f0d7";
-}
-.af-collapsible.af-collapsed > .af-title:before {
-  content: "\f0da";
-}
-.af-collapsible.af-collapsed > .af-title ~ * {
-  display: none !important;
-}
-
 /* Card style */
 #bootstrap-theme .af-container-style-pane {
   background-color: white;
@@ -83,9 +66,6 @@ af-form {
   margin-top: 0;
   margin-bottom: 10px;
 }
-#bootstrap-theme .af-container-style-pane.af-collapsed > .af-title {
-  margin-bottom: 0;
-}
 
 /* Admin edit links */
 .afform-directive .af-admin-edit-form-link {