From b5b2eaf5136cb7c71d222493893458294a84e5ee Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 10 Sep 2020 20:11:53 -0400 Subject: [PATCH 1/3] [frio] Disable custom background image for light/dark/black schemes --- view/theme/frio/scheme/black.php | 3 ++- view/theme/frio/scheme/dark.php | 3 ++- view/theme/frio/scheme/light.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/view/theme/frio/scheme/black.php b/view/theme/frio/scheme/black.php index 797ba78c9..930541757 100644 --- a/view/theme/frio/scheme/black.php +++ b/view/theme/frio/scheme/black.php @@ -3,7 +3,7 @@ * Name: Black * Licence: AGPL * Author: Hypolite Petovan - * Overwrites: nav_bg, nav_icon_color, link_color, background_color, contentbg_transp + * Overwrites: nav_bg, nav_icon_color, link_color, background_color, background_image, contentbg_transp * Accented: yes */ @@ -19,3 +19,4 @@ $background_color = '#000000'; $contentbg_transp = '0'; $font_color = '#cccccc'; $font_color_darker = '#acacac'; +$background_image = ''; diff --git a/view/theme/frio/scheme/dark.php b/view/theme/frio/scheme/dark.php index 507d9552b..865f6d8df 100644 --- a/view/theme/frio/scheme/dark.php +++ b/view/theme/frio/scheme/dark.php @@ -3,7 +3,7 @@ * Name: Dark * Licence: AGPL * Author: Hypolite Petovan - * Overwrites: nav_bg, nav_icon_color, link_color, background_color, contentbg_transp + * Overwrites: nav_bg, nav_icon_color, link_color, background_color, background_image, contentbg_transp * Accented: yes */ @@ -32,3 +32,4 @@ switch ($scheme_accent) { $contentbg_transp = 4; $font_color = '#e4e4e4'; $font_color_darker = '#dcdcdc'; +$background_image = ''; diff --git a/view/theme/frio/scheme/light.php b/view/theme/frio/scheme/light.php index 767abb244..c93abc74f 100644 --- a/view/theme/frio/scheme/light.php +++ b/view/theme/frio/scheme/light.php @@ -3,7 +3,7 @@ * Name: Light * Licence: AGPL * Author: Hypolite Petovan - * Overwrites: nav_bg, nav_icon_color, link_color, background_color, login_bg_color, contentbg_transp + * Overwrites: nav_bg, nav_icon_color, link_color, background_color, background_image, login_bg_color, contentbg_transp * Accented: yes */ @@ -18,3 +18,4 @@ $link_color = '#' . $accentColor->getHex(); $background_color = "#ededed"; $login_bg_color = "#ededed"; $contentbg_transp = 100; +$background_image = ''; From 6fca8c302f9754f1513808bc2bf636accef53730 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 10 Sep 2020 20:12:24 -0400 Subject: [PATCH 2/3] [frio] Normalize dropdown link font color to match theme link color --- view/theme/frio/css/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index f2cfa13dc..8ac193ac8 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1966,8 +1966,7 @@ ul.dropdown-menu li:hover { /* Dropdown Menu */ .dropdown-menu li a, .dropdown-menu li .btn-link { - font-size: 13px!important; - font-weight: 600!important; + color: $link_color; } .dropdown-menu li > :hover, .dropdown-menu li > :visited, From 6336beb4eb608c7021b576f069f058e66c37a5cb Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 10 Sep 2020 20:13:12 -0400 Subject: [PATCH 3/3] [frio] Fix shared post external link position --- view/theme/frio/css/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 8ac193ac8..83ae18ebf 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1507,6 +1507,10 @@ aside .panel-body { right: 0; top: 0; } +.shared_header .preferences { + top: 7px; + right: 9px; +} .wall-item-network { font-size: 13px; }