diff --git a/pkg/web_css/lib/src/_base.scss b/pkg/web_css/lib/src/_base.scss index 32a777b52..dd663fd34 100644 --- a/pkg/web_css/lib/src/_base.scss +++ b/pkg/web_css/lib/src/_base.scss @@ -459,15 +459,18 @@ a.-x-ago { top: 0; left: 0; right: 0; - background: var(--pub-session_warning-background-color); + background: var(--pub-selected-bgColor); + color: var(--pub-neutral-textColor); padding: 12px 24px; text-align: center; font-size: 14px; font-weight: bold; box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.05); + z-index: 101; // TODO: depend on variables with the site header button { background-color: transparent; + color: var(--pub-neutral-textColor); margin-left: 8px; padding: 8px; } diff --git a/pkg/web_css/lib/src/_variables.scss b/pkg/web_css/lib/src/_variables.scss index bc230508f..ed6899116 100644 --- a/pkg/web_css/lib/src/_variables.scss +++ b/pkg/web_css/lib/src/_variables.scss @@ -53,8 +53,6 @@ --pub-searchbar_suggest_hover-background-color: #455060; --pub-searchbar_suggest-text-color: #a9a9a9; - --pub-session_warning-background-color: #ffffaa; - --pub-site_header_banner-background-color: #1C2834; --pub-site_header_banner-text-color: #f8f9fa; --pub-site_header_banner_hover-background-color: #2b3d50; // 10% lighter than bg color