Adding all style parameters into CSS variables
This commit is contained in:
parent
d31cba17b9
commit
c20a170dc3
@ -211,3 +211,33 @@ table.alternating tr:nth-child(1) a {
|
||||
color: <?php echo $params['fgcolor3']; ?>;
|
||||
background-color: <?php echo $params['bgcolor3']; ?>;
|
||||
}
|
||||
|
||||
|
||||
:root {
|
||||
--color-fg-top: <?php echo $params['topfgcolor1']; ?>;
|
||||
--color-bg-top: <?php echo $params['topbgcolor1']; ?>;
|
||||
--color-fg-top-dark: <?php echo $params['topfgcolor2']; ?>;
|
||||
--color-bg-top-dark: <?php echo $params['topbgcolor2']; ?>;
|
||||
--color-fg-top-light: <?php echo $params['topfgcolor3']; ?>;
|
||||
--color-bg-top-light: <?php echo $params['topbgcolor3']; ?>;
|
||||
|
||||
--color-main: <?php echo $params['mainfgcolor']; ?>;
|
||||
--color-main-link: <?php echo $params['mainlicolor']; ?>;
|
||||
|
||||
--color-page-bg-top: <?php echo $params['mainbgcolortop']; ?>;
|
||||
--color-page-bg-bottom: <?php echo $params['mainbgcolorbot']; ?>;
|
||||
|
||||
--color-menu: <?php echo $params['fgcolor1']; ?>;
|
||||
--color-menu-background: <?php echo $params['bgcolor1']; ?>;
|
||||
--color-menu-active: <?php echo $params['fgcolor2']; ?>;
|
||||
--color-menu-background-active: <?php echo $params['bgcolor2']; ?>;
|
||||
|
||||
--color-effect: <?php echo $params['fgeffect']; ?>;
|
||||
--color-effect-background: <?php echo $params['bgeffect']; ?>;
|
||||
--color-effect-header: <?php echo $params['fgeffecthdr']; ?>;
|
||||
--color-effect-background-header: <?php echo $params['bgeffecthdr']; ?>;
|
||||
|
||||
--color-side-background: <?php echo $params['bgcolorside']; ?>;
|
||||
--image-left-side: <?php echo $params['imgleft']; ?>;
|
||||
--image-right-side: <?php echo $params['imgright']; ?>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user