Compare commits
2 Commits
3606e29b78
...
00208e3d03
Author | SHA1 | Date | |
---|---|---|---|
00208e3d03 | |||
d07660b082 |
@ -163,19 +163,19 @@ header hr {
|
|||||||
|
|
||||||
.navpage_list{
|
.navpage_list{
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
border: 0px solid var(--primary-hover) ;
|
|
||||||
background-color: var(--third-bg);
|
background-color: var(--third-bg);
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-height: 0;
|
max-height: 0;
|
||||||
|
border: 0;
|
||||||
transition: max-height 0.3s ease;
|
transition: max-height 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navsite_item:hover .navpage_list {
|
.navsite_item:hover .navpage_list {
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
border: 8px solid var(--primary-hover) ;
|
border: 4px solid var(--primary-hover) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.navpage_link{
|
a.navpage_link{
|
||||||
|
@ -22,7 +22,7 @@ function generateNavigation($static_page_dir, $protocol, $subdomain, $domain, $t
|
|||||||
$site_location = "$protocol$site_dir.$domain.$tld/$default_page";
|
$site_location = "$protocol$site_dir.$domain.$tld/$default_page";
|
||||||
$navsite = str_replace("__CLASS__", $site_class, $navsite);
|
$navsite = str_replace("__CLASS__", $site_class, $navsite);
|
||||||
$navsite = str_replace("__LOCATION__", $site_location, $navsite);
|
$navsite = str_replace("__LOCATION__", $site_location, $navsite);
|
||||||
$navsite = str_replace("__NAME__", $site_name, $navsite);
|
$navsite = str_replace("__NAME__", $site_name.ucfirst(), $navsite);
|
||||||
|
|
||||||
if ($subdomain == $site_dir) {
|
if ($subdomain == $site_dir) {
|
||||||
//this is the current page
|
//this is the current page
|
||||||
|
Loading…
Reference in New Issue
Block a user