From 6b37ca4b966a9738483373782bbb669b44893dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Thu, 9 Mar 2023 17:09:02 +0000 Subject: [PATCH] fix: data-detail favorite button color leaking to list items --- src/app/modules/data/detail/data-detail.scss | 22 -------------------- src/global.scss | 4 ++-- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/src/app/modules/data/detail/data-detail.scss b/src/app/modules/data/detail/data-detail.scss index e0bb2c37..375f31d2 100644 --- a/src/app/modules/data/detail/data-detail.scss +++ b/src/app/modules/data/detail/data-detail.scss @@ -12,19 +12,6 @@ * You should have received a copy of the GNU General Public License along with * this program. If not, see . */ - -::ng-deep { - ion-card-header { - font-weight: bold; - } - - stapps-favorite-button { - ion-icon { - color: var(--ion-color-light); - } - } -} - ion-content > div > stapps-data-detail-content, ion-content > div { min-height: 100%; @@ -32,12 +19,3 @@ ion-content > div { flex-direction: column; flex: 1; } - -::ng-deep { - ion-slides.work-locations { - ion-slide { - display: block; - text-align: left; - } - } -} diff --git a/src/global.scss b/src/global.scss index a63bea62..44fd495a 100644 --- a/src/global.scss +++ b/src/global.scss @@ -1,5 +1,5 @@ /*! - * Copyright (C) 2022 StApps + * Copyright (C) 2023 StApps * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, version 3. @@ -119,7 +119,7 @@ ion-card.bold-header { ion-header { stapps-favorite-button { ion-icon { - color: var(--ion-color-light); + color: var(--ion-color-primary-contrast); } } }