Added some comments and restructuring language file

This commit is contained in:
Christian Wolf 2022-04-15 10:20:18 +02:00
parent e3cb982ee2
commit 7bfd331aa1
2 changed files with 28 additions and 4 deletions

View File

@ -63,6 +63,9 @@ a, a:hover, a:active, a:visited
color: <?php echo $params['licolor2']; ?>;
}
/*
General menu coloring
*/
#mobile-menu li.current > a {
background-color: <?php echo $params['bgcolor3']; ?>;
color: <?php echo $params['licolor3']; ?>;
@ -92,8 +95,14 @@ ul.mod-menu__sub > li > a:focus
{
background-color: <?php echo $params['bgcolor3']; ?>;
color: <?php echo $params['licolor3']; ?>;
/*
Mobile menu settings
*/
}
/*
Top menu coloring
*/
#topmenu,
#topmenu > ul.mod-menu {
background-color: <?php echo $params['topbgcolor1']; ?>;
@ -122,6 +131,11 @@ ul.mod-menu__sub > li > a:focus
color: <?php echo $params['topfgcolor2']; ?>;
}
/*
Side styling
*/
#left-side-image
{
background-image: <?php echo $leftImageValue; ?>;
@ -132,6 +146,12 @@ ul.mod-menu__sub > li > a:focus
background-image: <?php echo $rightImageValue; ?>;
}
/*
Misc styling
*/
/* Striped styling */
.list-striped li:nth-child(odd),
.row-striped .row-fluid:nth-child(odd),
.table-striped > tbody > tr:nth-child(odd)
@ -177,6 +197,8 @@ table.alternating tr:nth-child(1) {
table.alternating tr:nth-child(1) a {
color: <?php echo $params['licolor3']; ?>;
}
/* Read more */
.readmore > .btn
{
color: <?php echo $params['fgcolor1']; ?>;

View File

@ -12,16 +12,18 @@ TPL_SLT_FOREGROUND_COLOR_MAIN="Foreground color of main text"
TPL_SLT_BACKGROUND_COLOR_MAIN_TOP="Background color at top of gradient"
TPL_SLT_BACKGROUND_COLOR_MAIN_BOTTOM="Background color at bottom of gradient"
TPL_SLT_BACKGROUND_COLOR_1="Background color of menu"
TPL_SLT_BACKGROUND_COLOR_2="Background color of selected menu entry"
TPL_SLT_BACKGROUND_COLOR_3="Background color of active menu entry"
TPL_SLT_FOREGROUND_COLOR_1="Foreground color of menu"
TPL_SLT_FOREGROUND_COLOR_2="Foreground color of selected menu entry"
TPL_SLT_FOREGROUND_COLOR_3="Foreground color of active menu entry"
TPL_SLT_LINK_COLOR_1="Foreground link color of menu"
TPL_SLT_LINK_COLOR_2="Foreground link color of selected menu entry"
TPL_SLT_LINK_COLOR_3="Foreground link color of active menu entry"
TPL_SLT_BACKGROUND_COLOR_1="Background color of menu"
TPL_SLT_BACKGROUND_COLOR_2="Background color of selected menu entry"
TPL_SLT_BACKGROUND_COLOR_3="Background color of active menu entry"
TPL_SLT_BACKGROUND_COLOR_AT_SIDES="Background Color at the Sides"
TPL_SLT_LEFT_BACKGROUND_IMAGE="Left background image"
TPL_SLT_RIGHT_BACKGROUND_IMAGE="Right background image"