diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 58048efbc..9f03b436d 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1538,11 +1538,11 @@ aside .panel-body { } /* Thread hover effects */ -.wall-item-container .wall-item-content a, -.wall-item-container a, -.wall-item-container .fakelink, -.toplevel_item .fakelink, -.toplevel_item .wall-item-container .wall-item-responses a { +.desktop-view .wall-item-container .wall-item-content a, +.desktop-view .wall-item-container a, +.desktop-view .wall-item-container .fakelink, +.desktop-view .toplevel_item .fakelink, +.desktop-view .toplevel_item .wall-item-container .wall-item-responses a { color: #555; -webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out; diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index aa86c9723..24c722e8e 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -18,6 +18,12 @@ require_once 'view/theme/frio/php/frio_boot.php'; if (!isset($minimal)) { $minimal = false; } + +$basepath = $a->getURLPath() ? "/" . $a->getURLPath() . "/" : "/"; +$frio = "view/theme/frio"; +$view_mode_class = ($a->is_mobile || $a->is_tablet) ? 'mobile-view' : 'desktop-view'; +$is_singleuser = Config::get('system', 'singleuser'); +$is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; ?>
@@ -26,9 +32,6 @@ if (!isset($minimal)) { getURLPath() ? "/" . $a->getURLPath() . "/" : "/"; - $frio = "view/theme/frio"; - // Because we use minimal for modals the header and the included js stuff should be only loaded // if the page is an standard page (so we don't have it twice for modals) // @@ -52,18 +55,16 @@ if (!isset($minimal)) { } else { $nav_bg = PConfig::get($uid, 'frio', 'nav_bg'); } + if (empty($nav_bg)) { $nav_bg = "#708fa0"; } - echo ' - '; - $is_singleuser = Config::get('system','singleuser'); - $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; + echo ''; ?> - "> + "> Skip to main content -