From c3ba8fa53685bd14f6f465ef101051f8fd9b1785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 13 Sep 2017 09:22:24 +0200 Subject: [PATCH] Use proper heading levels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- css/style.scss | 20 +++++++++++--------- templates/part.board.mainView.php | 10 +++++----- templates/part.board.sidebarView.php | 2 +- templates/part.card.php | 16 ++++++++-------- 4 files changed, 25 insertions(+), 23 deletions(-) diff --git a/css/style.scss b/css/style.scss index a59c08393..7d73dfb9d 100644 --- a/css/style.scss +++ b/css/style.scss @@ -172,7 +172,7 @@ input.input-inline { top: 12px; } - > h1 { + > h2 { white-space: nowrap; padding: 7px; } @@ -273,11 +273,11 @@ input.input-inline { width: 100%; vertical-align: top; - h2 { + h3 { padding: 10px 10px 8px; margin: 0; font-size: 12pt; - font-weight: 700; + font-weight: normal; overflow: hidden; display: flex; min-height: 40px; @@ -385,8 +385,8 @@ input.input-inline { display: block; } - h3 { - font-weight: bold; + h4 { + font-weight: normal; font-size: 10pt; padding: 0; margin: 5px; @@ -545,11 +545,11 @@ input.input-inline { } #sidebar-header { - h2 { + h3 { font-size: 14pt; padding: 9px 10px; + margin: 0; overflow: hidden; - margin-bottom: 0; background-color: $color-lightgrey; input { @@ -603,9 +603,11 @@ input.input-inline { margin: 0px; } - h3 { + h4 { border-bottom: 1px solid $color-lightgrey; padding: 15px 0px 5px 0px; + margin: 0 0 10px 0; + font-size: 15px; > div { display: flex; @@ -1105,7 +1107,7 @@ input.input-inline { border-right: 1px solid transparent; } - h2 button { + h3 button { display: none; } h2:hover button { diff --git a/templates/part.board.mainView.php b/templates/part.board.mainView.php index 856d3bfbf..960767c33 100644 --- a/templates/part.board.mainView.php +++ b/templates/part.board.mainView.php @@ -10,9 +10,9 @@ -

+

{{ boardservice.getCurrent().title }} -

+ @@ -34,7 +34,7 @@
-

+

{{ s.title }}
-

+
  • -

    {{ c.title }}

    +

    {{ c.title }}

    • diff --git a/templates/part.board.sidebarView.php b/templates/part.board.sidebarView.php index 44d68cd6a..f22215d18 100644 --- a/templates/part.board.sidebarView.php +++ b/templates/part.board.sidebarView.php @@ -6,7 +6,7 @@
    {{board=boardservice.getCurrent();""}} diff --git a/templates/part.card.php b/templates/part.card.php index 3b76df4be..19068daba 100644 --- a/templates/part.card.php +++ b/templates/part.card.php @@ -7,7 +7,7 @@ {{card=cardservice.getCurrent();""}} - +
    @@ -28,9 +28,9 @@ t('by')); ?> {{ cardservice.getCurrent().owner.displayname }}
    -

    +

    t('Tags')); ?> -

    +
    -

    +

    t('Due date')); ?> -

    +
    @@ -58,7 +58,7 @@
    -

    +

    t('Description')); ?> @@ -67,7 +67,7 @@ t('Saved')); ?>
    -

    +