From a67b3401d05050e883a13adab3cf6416c4ae271c Mon Sep 17 00:00:00 2001 From: Tomas Gonzalez <63771558+R-Tomas-Gonzalez@users.noreply.github.com> Date: Mon, 6 Nov 2023 12:06:18 -0600 Subject: [PATCH] feat/tup-626: delete o-section from tup-ui (#353) * I believe this has already been merged into core-styles... Padding and Margin seem to be available on prod * remove import of core-styles o-heading-steps.css --- .../css/for-core-styles/objects/o-section.css | 14 -------------- .../static/tup_cms/css/tup-cms.for-core-styles.css | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/objects/o-section.css diff --git a/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/objects/o-section.css b/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/objects/o-section.css deleted file mode 100644 index 0b6317fca..000000000 --- a/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/for-core-styles/objects/o-section.css +++ /dev/null @@ -1,14 +0,0 @@ -/* Remove double space */ -/* TODO: Integrate this into Core-Styles using less verbose solution */ -.section--light + .section--light, -.section--muted + .section--muted, -.section--dark + .section--dark, -.o-section--style-light + .o-section--style-light, -.o-section--style-muted + .o-section--style-muted, -.o-section--style-dark + .o-section--style-dark { - padding-top: unset; -} -.section:not([class*="section-"]) + .section:not([class*="section-"]), -.o-section:not([class*="section--"]) + .o-section:not([class*="section--"]) { - margin-top: unset; -} diff --git a/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/tup-cms.for-core-styles.css b/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/tup-cms.for-core-styles.css index c3fe08640..b90c19267 100644 --- a/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/tup-cms.for-core-styles.css +++ b/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/tup-cms.for-core-styles.css @@ -11,7 +11,7 @@ /* … */ /* OBJECTS */ -@import url("./for-core-styles/objects/o-section.css") layer(base); +/* … */ /* COMPONENTS */ @import url("./for-core-styles/components/c-button.css") layer(base);