From 091bd1bdc224f5bf12f2592237f817905e0e58d0 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Thu, 16 Dec 2021 11:37:11 +0100 Subject: [PATCH] Remove ExpertApp from mobile and tablet screen sizes --- cara/apps/static/css/style.css | 30 +++++++++++++++--------------- cara/apps/templates/index.html.j2 | 7 +++---- cara/apps/templates/layout.html.j2 | 26 ++++++++++++++++---------- 3 files changed, 34 insertions(+), 29 deletions(-) diff --git a/cara/apps/static/css/style.css b/cara/apps/static/css/style.css index 7e701ebc..022b4ca6 100644 --- a/cara/apps/static/css/style.css +++ b/cara/apps/static/css/style.css @@ -234,6 +234,10 @@ footer img { width: 25%; } + #mobile_calculator_option { + display: none; + } + #nat_vent_image { height: 15em; } @@ -246,7 +250,7 @@ footer img { height: 6em; margin: 1%; } - #mobile-app-buttons { + #calculator_app_button { display: none!important; } .feedback { @@ -286,6 +290,9 @@ footer img { .nav-link { padding: .5rem .5rem!important; } + #apps_dropdown { + display: none; + } #report_version { font-size: .5rem; } @@ -302,13 +309,6 @@ footer img { #mobile_link { display: inline!important; } - #desktop_logo { - display: none!important; - } - - #mobile_logo { - display: block!important; - } .feedback { float:right; font-size:.75rem; @@ -328,16 +328,16 @@ footer img { } */ -/* Large (lg) devices (desktops, 992px and up) */ -@media (max-width: 992px) { - #download-pdf { +/* Large (lg) devices (tablets) */ +@media (max-width: 64em) { + .expert_app_button { display: none; } - #link_reproduce_results { - display: none; + #desktop_logo { + display: none!important; } - #mobile_link { - display: inline!important; + #mobile_logo { + display: block!important; } } diff --git a/cara/apps/templates/index.html.j2 b/cara/apps/templates/index.html.j2 index 30ed7f07..f589e476 100644 --- a/cara/apps/templates/index.html.j2 +++ b/cara/apps/templates/index.html.j2 @@ -11,12 +11,11 @@
-
+
-
+

Introduction


@@ -43,7 +42,7 @@


- +

diff --git a/cara/apps/templates/layout.html.j2 b/cara/apps/templates/layout.html.j2 index 15020daa..d9559be3 100644 --- a/cara/apps/templates/layout.html.j2 +++ b/cara/apps/templates/layout.html.j2 @@ -35,16 +35,22 @@