Definition of effect color

This commit is contained in:
Christian Wolf 2022-04-15 14:38:33 +02:00
parent 6441682afe
commit d31cba17b9
3 changed files with 24 additions and 10 deletions

View File

@ -64,6 +64,7 @@
<field name="topbgcolor3" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_TOP_LIGHT'></field>
</fieldset>
<fieldset name='TPL_SLT_COLORS_MAIN'>
<field type="spacer" name="menu-colors" label="Top-menu colors" />
<!--<field name="fgcolor1" type='color' default='#fff' label='TPL_SLT_FOREGROUND_COLOR_1'></field>-->
<field name="mainfgcolor" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_MAIN'></field>
<field name="mainlicolor" type='color' default='#222' label='TPL_SLT_LINK_COLOR_MAIN'></field>
@ -83,6 +84,13 @@
<field name="licolor3" type='color' default='#222' label='TPL_SLT_LINK_COLOR_3'></field>
<field name="bgcolor3" type='color' default='#888' label='TPL_SLT_BACKGROUND_COLOR_3' format='rgba'></field>
<field type="spacer" name="effect-colors" label="Effect coloring" />
<field name="fgeffect" type="color" default="#000" label="TPL_SLT_FOREGROUND_EFFECT_COLOR"></field>
<field name="bgeffect" type="color" default="#eee" label="TPL_SLT_BACKGROUND_EFFECT_COLOR"></field>
<field type="spacer" name="spacer3" hr="true" />
<field name="fgeffecthdr" type="color" default="#000" label="TPL_SLT_FOREGROUND_EFFECT_HEADER_COLOR"></field>
<field name="bgeffecthdr" type="color" default="#ccc" label="TPL_SLT_BACKGROUND_EFFECT_HEADER_COLOR"></field>
<field type="spacer" name="side-images" label="Side configuration" />
<field name="bgcolorside" type='color' default='#ebebeb' label='TPL_SLT_BACKGROUND_COLOR_AT_SIDES'></field>
<field name="imgleft" type='media' directory='' label='TPL_SLT_LEFT_BACKGROUND_IMAGE'></field>

View File

@ -157,32 +157,33 @@ ul.mod-menu__sub > li > a:focus
.row-striped .row-fluid:nth-child(odd),
.table-striped > tbody > tr:nth-child(odd)
{
background-color: <?php echo $params['bgcolor2']; ?>;
color: <?php echo $params['fgcolor2']; ?>;
background-color: <?php echo $params['bgeffect']; ?>;
color: <?php echo $params['fgeffect']; ?>;
}
.row-striped .row-fluid:nth-child(odd) a,
/*.row-striped .row-fluid:nth-child(odd) a,
.table-striped > tbody > tr:nth-child(odd) a
{
color: <?php echo $params['licolor2']; ?>;
}
}*/
.list-striped li:hover,
.row-striped .row-fluid:hover,
.table-striped > tbody > tr:hover
{
background-color: <?php echo $params['bgcolor3']; ?>;
color: <?php echo $params['fgcolor3']; ?>;
background-color: <?php echo $params['bgeffecthdr']; ?>;
color: <?php echo $params['fgeffecthdr']; ?>;
}
.row-striped .row-fluid:hover a,
/*.row-striped .row-fluid:hover a,
.table-striped > tbody > tr:hover a
{
color: <?php echo $params['licolor3']; ?>;
}
}*/
.table-striped > thead > tr
{
background-color: <?php echo $params['bgcolor3']; ?>;
color: <?php echo $params['fgcolor3']; ?>;
background-color: <?php echo $params['bgeffecthdr']; ?>;
color: <?php echo $params['fgeffecthdr']; ?>;
}
table.alternating tr:nth-child(even) {
background-color: <?php echo $params['bgcolor2']; ?>;
color: <?php echo $params['fgcolor2']; ?>;

View File

@ -24,6 +24,11 @@ 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_EFFECT_COLOR="Foreground effect color"
TPL_SLT_BACKGROUND_EFFECT_COLOR="Background effect color"
TPL_SLT_FOREGROUND_EFFECT_HEADER_COLOR="Foreground effect color for headers"
TPL_SLT_BACKGROUND_EFFECT_HEADER_COLOR="Background effect color for headers"
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"