]> git.mxchange.org Git - friendica.git/commitdiff
fix some more HTML violations in posted_date_widget.tpl
authorrabuzarus <>
Thu, 19 Oct 2017 14:34:08 +0000 (16:34 +0200)
committerrabuzarus <>
Thu, 19 Oct 2017 14:34:08 +0000 (16:34 +0200)
view/templates/posted_date_widget.tpl
view/theme/frio/css/style.css
view/theme/vier/style.css

index 31732185d1bd93a56423af7ad5850cfd462b2e45..d7781d4c68f2d76cae7d98a73e5025db91f28178 100644 (file)
@@ -30,21 +30,23 @@ function dateSubmit(dateurl) {
                <li id="posted-date-selector-year-{{$y}}" class="tool">
                        <a class="datebrowse-link" href="#" onclick="openClose('posted-date-selector-{{$y}}'); return false;">{{$y}}</a>
                </li>
-               <div id="posted-date-selector-{{$y}}" style="display: none;">
-                       <ul class="posted-date-selector-months datebrowse-ul">
+               <li id="posted-date-selector-{{$y}}" class="tool posted-date-selector-months" style="display: none;">
+                       <ul class="datebrowse-ul">
                                {{foreach $arr as $d}}
                                <li class="tool">
                                        <a class="datebrowse-link" href="#" onclick="dateSubmit('{{$url}}/{{$d.1}}/{{$d.2}}'); return false;">{{$d.0}}</a>
                                </li>
                                {{/foreach}}
                        </ul>
-               </div>
+               </li>
                {{/foreach}}
                {{if $cutoff}}
+               </ul>
                </div>
                <ul class="datebrowse-ul">
                        <li onclick="showHideDates(); return false;" id="posted-date-collapse" class="fakelink tool">{{$showmore}}</li>
                </ul>
-               {{/if}}
+               {{else}}
        </ul>
+       {{/if}}
 </div>
index eb8910701c511377b774b449fcad1e7d430f82ba..21ef2ee4477e3243a6a357daa4ab19104dac4f8e 100644 (file)
@@ -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;
 }
 
index 32617867cb391d7d2d790c09ffdf127db4dd6e11..e45a3751e7cf32979f24a514aec5523d0ca179f4 100644 (file)
@@ -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;
 }