From: Hypolite Petovan Date: Fri, 26 Apr 2019 02:01:43 +0000 (-0400) Subject: Improve display in minimal mode X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=611220cb53b42d00179ea78280b7daea116d96eb;p=friendica.git Improve display in minimal mode --- diff --git a/view/php/minimal.php b/view/php/minimal.php index dabd422dbb..caa6c64d96 100644 --- a/view/php/minimal.php +++ b/view/php/minimal.php @@ -5,8 +5,8 @@ - -
+ +
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index e327a1ec91..7cda87c1e4 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -3507,6 +3507,7 @@ div.jGrowl div.info { width: 100%; padding: 0.5em; height: auto; + box-sizing: border-box; } aside:before { content: ">>"; diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index a07ec1b46b..968e1dd7b6 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -33,6 +33,10 @@ body { /*color: #555;*/ font-family: 'Open Sans',sans-serif; } +body.minimal { + padding: 15px; +} + body a { /*color: #555;*/ /*color: #6fdbe8;*/ @@ -131,14 +135,6 @@ blockquote { * standard page elements */ -section.minimal { - top: 0px; - left: 0px; - position: absolute; - width: 100%; - height: 100%; -} - #back-to-top { display: none; cursor: pointer; @@ -3553,8 +3549,11 @@ section .profile-match-wrapper { body { padding-top: 95px; } + body.minimal { + padding: 15px; + } - #friendica-logo-mask { + #friendica-logo-mask { display: none; } diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index 5eeb14c75f..b297fcb481 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -79,7 +79,8 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; // special minimal style for modal dialogs if ($minimal) { ?> -
+ +
diff --git a/view/theme/frio/php/minimal.php b/view/theme/frio/php/minimal.php new file mode 100644 index 0000000000..e8486653ae --- /dev/null +++ b/view/theme/frio/php/minimal.php @@ -0,0 +1,30 @@ + + + + <?php if(!empty($page['title'])) echo $page['title'] ?> + + + + +
+ +
+ + + + +