From 34e060e14c791b7b22cf9517be7ab2383ce74644 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 21 Oct 2019 14:01:10 +0200 Subject: CSS mobile clean-up --- app/view/templates/backtopbar.php | 39 +++++++++++++++++++++++++++++++-------- app/view/templates/edittopbar.php | 6 +++--- app/view/templates/home.php | 10 +++++----- assets/css/edit.css | 3 ++- assets/css/home.css | 6 +++++- composer.json | 2 +- 6 files changed, 47 insertions(+), 19 deletions(-) diff --git a/app/view/templates/backtopbar.php b/app/view/templates/backtopbar.php index d10d5da..e9266a6 100644 --- a/app/view/templates/backtopbar.php +++ b/app/view/templates/backtopbar.php @@ -1,6 +1,6 @@
- +
isvisitor() ? 'autofocus' : '' ?>> @@ -22,17 +22,33 @@ iseditor()) { ?> ->home ->media ->font +> + + home + +> + + media + +> + + font + isadmin()) { ?> ->admin +> + + admin + + ->info +> + + info + @@ -58,8 +74,15 @@ if($user->isadmin()) { ->timeline ->id() ?> level() ?> +> + + timeline + +> + + id() ?> + +level() ?> diff --git a/app/view/templates/edittopbar.php b/app/view/templates/edittopbar.php index 8d158d6..0f0c60a 100644 --- a/app/view/templates/edittopbar.php +++ b/app/view/templates/edittopbar.php @@ -21,18 +21,18 @@ id() ?> - + - + download - + delete diff --git a/app/view/templates/home.php b/app/view/templates/home.php index f767b13..3c2db4d 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -29,20 +29,20 @@
-

Pages ()

+

Pages ()

- + issupereditor()) { ?> - + @@ -85,13 +85,13 @@ - + issupereditor()) { ?> - + diff --git a/assets/css/edit.css b/assets/css/edit.css index bc2ffb2..6407876 100644 --- a/assets/css/edit.css +++ b/assets/css/edit.css @@ -98,6 +98,7 @@ body { display: flex; height: calc(100% - 50px); position: relative; + width: 100%; } /* clip the tabs names */ @@ -376,7 +377,7 @@ div#thumbnail img { @media (max-width: 600px) { - .bar { + .bar, .hidephone { display: none; } diff --git a/assets/css/home.css b/assets/css/home.css index 1a4fa1d..fa846e1 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -512,10 +512,14 @@ footer { margin-top: 1%; } - main.home div#options { + main.home nav { display: none; } + section.pages { + max-width: 100%; + } + } diff --git a/composer.json b/composer.json index 1955213..98f4cf7 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "w-cms", "description": "point'n think", - "version": "1.7.1", + "version": "1.7.2", "require": { "michelf/php-markdown": "^1.8", "league/plates": "3.*", -- cgit v1.2.3
xx id edit see del dldl tag
tag('sort') ?>