From e045b46d7ad803b8a96f94019ea9d4d8cc1e6b11 Mon Sep 17 00:00:00 2001 From: Ans Date: Wed, 7 Aug 2024 18:12:44 -0400 Subject: [PATCH] Remove netlify.scss --- docs/assets/css/decap.scss | 2 ++ docs/assets/css/main.scss | 2 +- docs/assets/css/netlify.scss | 44 ------------------------------------ 3 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 docs/assets/css/netlify.scss diff --git a/docs/assets/css/decap.scss b/docs/assets/css/decap.scss index ff4918923f..2dc4828647 100644 --- a/docs/assets/css/decap.scss +++ b/docs/assets/css/decap.scss @@ -1,3 +1,5 @@ +@use '@cfpb/cfpb-design-system/src/abstracts' as *; + .o-editor { position: fixed; bottom: 60px; diff --git a/docs/assets/css/main.scss b/docs/assets/css/main.scss index 12fbcc1e13..afb4caae73 100644 --- a/docs/assets/css/main.scss +++ b/docs/assets/css/main.scss @@ -17,7 +17,7 @@ @use 'main-content' as *; @use 'code' as *; @use 'grid-demo' as *; -@use 'netlify' as *; +@use 'decap' as *; @use 'tabs' as *; @use 'toggle-code-button' as *; @use 'variation' as *; diff --git a/docs/assets/css/netlify.scss b/docs/assets/css/netlify.scss deleted file mode 100644 index 2dc4828647..0000000000 --- a/docs/assets/css/netlify.scss +++ /dev/null @@ -1,44 +0,0 @@ -@use '@cfpb/cfpb-design-system/src/abstracts' as *; - -.o-editor { - position: fixed; - bottom: 60px; - right: 30px; - z-index: 100; - - &#toggle-details { - bottom: 105px; - } - - .a-btn { - border-radius: 8px; - box-shadow: 1px 1px 3px #999; - display: inline-block; - } - - .a-btn__text { - display: inline; - } - - .a-btn__icon { - padding-left: 0.6875em; - border-left: 1px solid #80b9e7; - margin-left: 0.4375em; - } - - // Hide the admin buttons when printing - @include respond-to-print { - display: none; - } -} - -// Don't show the toggle code button in the Decap CMS preview pane -.frame-content #toggle-code { - display: none; -} - -// By default the preview pane doesn't have any padding. -.frame-content { - padding-left: 20px; - padding-right: 20px; -}