From: rabuzarus <> Date: Thu, 19 Oct 2017 14:34:08 +0000 (+0200) Subject: fix some more HTML violations in posted_date_widget.tpl X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8167e75e6a213db396f2be470801c8a4fda6f0be;p=friendica.git fix some more HTML violations in posted_date_widget.tpl --- 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}} {{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; }