From dd222228d05156a4a576f066672ca728d4dc5bad Mon Sep 17 00:00:00 2001 From: Tyrone Tse Date: Fri, 8 Mar 2024 10:34:46 -0600 Subject: [PATCH] Changed Toast background color to site blue Added default font family to toast --- blocks/adp-collection-header/adp-collection-header.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blocks/adp-collection-header/adp-collection-header.css b/blocks/adp-collection-header/adp-collection-header.css index a5ea81a3..127f28e3 100644 --- a/blocks/adp-collection-header/adp-collection-header.css +++ b/blocks/adp-collection-header/adp-collection-header.css @@ -94,7 +94,7 @@ .toast { display: flex; align-items: center; - background-color: #4CAF50; /* Dark green background */ + background-color: #5258E4; /* Site used blue background */ color: white; /* White text color */ padding: 12px 24px; /* Padding inside the toast */ position: fixed; /* Positioning relative to the viewport */ @@ -104,6 +104,7 @@ transform: translateX(-50%); /* Center the toast horizontally */ border-radius: 4px; /* Rounded corners */ box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Shadow for 3D effect */ + font-family: var(--body-font-family); /* Use site default font */ font-size: 0.9rem; /* Font size */ visibility: hidden; /* Hidden by default */ opacity: 0; /* Fully transparent */