From 8167e75e6a213db396f2be470801c8a4fda6f0be Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 19 Oct 2017 16:34:08 +0200 Subject: [PATCH 1/3] fix some more HTML violations in posted_date_widget.tpl --- view/templates/posted_date_widget.tpl | 10 ++++++---- view/theme/frio/css/style.css | 17 ++++++++++++----- view/theme/vier/style.css | 6 +++--- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/view/templates/posted_date_widget.tpl b/view/templates/posted_date_widget.tpl index 31732185d..d7781d4c6 100644 --- a/view/templates/posted_date_widget.tpl +++ b/view/templates/posted_date_widget.tpl @@ -30,21 +30,23 @@ function dateSubmit(dateurl) {
  • {{$y}}
  • - + {{/foreach}} {{if $cutoff}} + - {{/if}} + {{else}} + {{/if}} diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index eb8910701..21ef2ee44 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1036,15 +1036,22 @@ aside .widget li a:hover { } /* forumlist widget */ -aside #datebrowse-sidebar .posted-date-selector-months{ - margin-left: 0; - margin-bottom: 10px; +aside > #datebrowse-sidebar li.posted-date-selector-months { + margin-bottom: 10px;; + padding: 0; width: 100% } -aside #datebrowse-sidebar .posted-date-selector-months li{ +aside > #datebrowse-sidebar li.posted-date-selector-months:hover { + border-left: none !important; + background-color: transparent !important; +} +aside > #datebrowse-sidebar .posted-date-selector-months > ul { + margin: 0; +} +aside > #datebrowse-sidebar .posted-date-selector-months > ul > li{ padding-left: 30px; } -aside #datebrowse-sidebar .posted-date-selector-months li:hover{ +aside > #datebrowse-sidebar .posted-date-selector-months > ul > li:hover{ padding-left: 27px; } diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 32617867c..e45a3751e 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -500,10 +500,10 @@ a.sidebar-group-element { margin-bottom: 3px; } -.posted-date-selector-months { - margin-left: 10px; +#datebrowse-sidebar .datebrowse-ul .posted-date-selector-months { + padding: 0; + margin-left: 10px; } - #sidebar-ungrouped, .side-link { padding-top: 5px; } From 781c4986c6f5c8c5ce7200abfe189b4b27e78198 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Fri, 20 Oct 2017 15:59:14 +0200 Subject: [PATCH 2/3] a little bit template code simplification in posted_date_widget --- view/templates/posted_date_widget.tpl | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/view/templates/posted_date_widget.tpl b/view/templates/posted_date_widget.tpl index d7781d4c6..277ad0e39 100644 --- a/view/templates/posted_date_widget.tpl +++ b/view/templates/posted_date_widget.tpl @@ -40,13 +40,11 @@ function dateSubmit(dateurl) { {{/foreach}} - {{if $cutoff}} - - - - {{else}} + + {{if $cutoff}} + + {{/if}} From 30a4857842143dd7b5ed777d0784f481b8f8d323 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Fri, 20 Oct 2017 16:12:43 +0200 Subject: [PATCH 3/3] more template code simplification in posted_date_widget --- view/templates/posted_date_widget.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/view/templates/posted_date_widget.tpl b/view/templates/posted_date_widget.tpl index 277ad0e39..7833aee4c 100644 --- a/view/templates/posted_date_widget.tpl +++ b/view/templates/posted_date_widget.tpl @@ -1,12 +1,12 @@