From 8167e75e6a213db396f2be470801c8a4fda6f0be Mon Sep 17 00:00:00 2001
From: rabuzarus <>
Date: Thu, 19 Oct 2017 16:34:08 +0200
Subject: [PATCH] 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 31732185d1..d7781d4c68 100644
--- a/view/templates/posted_date_widget.tpl
+++ b/view/templates/posted_date_widget.tpl
@@ -30,21 +30,23 @@ function dateSubmit(dateurl) {
{{$y}}
-
-
+ -
+
{{foreach $arr as $d}}
-
{{$d.0}}
{{/foreach}}
-
+
{{/foreach}}
{{if $cutoff}}
+
- {{/if}}
+ {{else}}
+ {{/if}}
diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css
index eb8910701c..21ef2ee447 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 32617867cb..e45a3751e7 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;
}
--
2.39.5