Preparations for setting colorful borders on top menu

Refs #77
This commit is contained in:
Christian Wolf 2018-01-18 14:16:42 +01:00
parent 2378e6b319
commit d12dd17bee
2 changed files with 18 additions and 9 deletions

View File

@ -172,8 +172,16 @@ body
box-shadow: 3px 5px 5px 2px rgba(0,0,0,0.5);
}
#topmenu .nav > li > .nav-child > li
{
padding: 0px 5px;
}
#topmenu .nav > li > .nav-child > li > a {
padding: 10px;
padding: 10px 5px 10px 4px;
border-left-color: transparent;
border-left-style: solid;
border-left-width: 6px;
}
#page-div, #page
@ -261,14 +269,14 @@ Additional content
font-size: large;
}
#topmenu .nav > li > a,
#topmenu .nav > li:hover > a,
#topmenu .nav > li:focus > a,
#topmenu .nav > li.active > a
#topmenu li > a,
#topmenu li:hover > a,
#topmenu li:focus > a,
#topmenu li.active > a
{
background-color: inherit;
color: inherit;
}
}
#topmenu .nav-child > li:hover > a:hover,
#topmenu .nav-child > li:focus > a:hover,

View File

@ -112,7 +112,8 @@ ul.nav-child > li > a:focus
color: <?php echo $params{'topfgcolor1'}; ?>;
}
#topmenu li.current > a
#topmenu .nav-child > li.current
{
background-color: <?php echo $params{'topbgcolor2'}; ?>;
color: <?php echo $params{'topfgcolor2'}; ?>;
@ -125,8 +126,8 @@ ul.nav-child > li > a:focus
#topmenu .nav > li:hover,
#topmenu .nav > li:focus,
#topmenu .nav-child > li:hover > a,
#topmenu .nav-child > li:focus > a
#topmenu .nav-child > li:hover,
#topmenu .nav-child > li:focus
{
background-color: <?php echo $params{'topbgcolor2'}; ?>;
color: <?php echo $params{'topfgcolor2'}; ?>;