Browse Source

Moved Css for Archive List out to the css Files

-better Google PageSpeed Ranking
pull/88/head
Kanti 11 years ago
parent
commit
24f401bb3c
4 changed files with 54 additions and 4 deletions
  1. +0
    -4
      system/includes/functions.php
  2. +18
    -0
      themes/clean/css/style.css
  3. +18
    -0
      themes/default/css/style.css
  4. +18
    -0
      themes/logs/css/style.css

+ 0
- 4
system/includes/functions.php View File

@ -660,10 +660,6 @@ function archive_list() {
# Iterate for display # Iterate for display
$script = <<<EOF $script = <<<EOF
if (this.parentNode.className.indexOf('expanded') > -1){this.parentNode.className = 'collapsed';this.innerHTML = '&#9658;';} else {this.parentNode.className = 'expanded';this.innerHTML = '&#9660;';} if (this.parentNode.className.indexOf('expanded') > -1){this.parentNode.className = 'collapsed';this.innerHTML = '&#9658;';} else {this.parentNode.className = 'expanded';this.innerHTML = '&#9660;';}
EOF;
echo <<<EOF
<style>ul.archivegroup{padding:0;margin:0;}.archivegroup .expanded ul{display:block;}.archivegroup .collapsed ul{display:none;}.archivegroup li.expanded,.archivegroup li.collapsed{list-style:none;}
</style>
EOF; EOF;
echo '<h3>Archive</h3>'; echo '<h3>Archive</h3>';
$i = 0; $i = 0;


+ 18
- 0
themes/clean/css/style.css View File

@ -845,4 +845,22 @@ aside .copyright p{
width: 100%; width: 100%;
} }
}
/*----------------------------
Archive
-----------------------------*/
ul.archivegroup{
padding:0;
margin:0;
}
.archivegroup .expanded ul{
display:block;
}
.archivegroup .collapsed ul{
display:none;
}
.archivegroup li.expanded,.archivegroup li.collapsed{
list-style:none;
} }

+ 18
- 0
themes/default/css/style.css View File

@ -930,4 +930,22 @@ h1.title-post a:hover, h2.title-index a:hover {
width: 100%; width: 100%;
} }
}
/*----------------------------
Archive
-----------------------------*/
ul.archivegroup{
padding:0;
margin:0;
}
.archivegroup .expanded ul{
display:block;
}
.archivegroup .collapsed ul{
display:none;
}
.archivegroup li.expanded,.archivegroup li.collapsed{
list-style:none;
} }

+ 18
- 0
themes/logs/css/style.css View File

@ -862,4 +862,22 @@ table.post-list td a {
width: 100%; width: 100%;
} }
}
/*----------------------------
Archive
-----------------------------*/
ul.archivegroup{
padding:0;
margin:0;
}
.archivegroup .expanded ul{
display:block;
}
.archivegroup .collapsed ul{
display:none;
}
.archivegroup li.expanded,.archivegroup li.collapsed{
list-style:none;
} }

Loading…
Cancel
Save