Compare commits

...

44 Commits

Author SHA1 Message Date
647fe791b3 Create release 1.1.4 2022-09-05 17:35:32 +02:00
e5657b7026 Prepare publishing of release 2022-09-05 17:32:57 +02:00
49ced156b5 Prevent prettier from working on html templates 2022-09-05 16:36:46 +02:00
471bfd7746 Create basic configuration for PHP debugging 2022-09-05 16:30:20 +02:00
1c447ce2ee Merge branch 'dev/no-external-css' 2022-09-05 16:29:24 +02:00
84717425cc Moved external code to internal PHP file 2022-09-05 16:29:00 +02:00
6fec5c16da Merge branch 'update/npm' 2022-09-05 16:26:21 +02:00
e83b2d4dd7 Update NPM packages 2022-09-05 16:26:02 +02:00
67137ab761 Mark 1.1.3 as stable 2022-09-03 12:25:54 +02:00
f6de133bb7 Create new release 2022-08-18 16:37:20 +02:00
3170dffa80 Fix coloring of pagination buttons 2022-08-18 16:36:33 +02:00
3d7bc85a77 Add option to specify link color in headers 2022-08-18 16:30:55 +02:00
539ef0f3d9 Enlarge top margin 2022-08-18 15:15:31 +02:00
a154272171 Create RC for 1.1.2 2022-08-18 12:41:48 +02:00
ff336b80e9 Fix styles 2022-08-18 12:38:56 +02:00
b21c7a193e Corrected contact view 2022-08-18 12:33:32 +02:00
724aadb276 Corrected some color stylings regarding the top menu 2022-08-18 11:46:37 +02:00
cdd249b802 Provide classes for left and right floating elements 2022-08-18 11:06:56 +02:00
60d946a17c Merge pull request 'Update NPM versions' (#2) from dev/update-npm into master
Reviewed-on: #2
2022-08-18 08:58:45 +00:00
d4ac8abce7 Update stylelint config major update 2022-08-18 10:57:11 +02:00
2bc93a8133 Update auto-updateable packages 2022-08-18 10:54:13 +02:00
04772c269f Crete new RC with reduced configuration 2022-04-15 20:40:06 +02:00
b230575be8 Removed obsolete configuration settings 2022-04-15 20:39:09 +02:00
825cca83a2 Create release candidate 2022-04-15 17:28:35 +02:00
fc1a8c12bf Merge branch 'fix/mobile-menu-colors'
First approach to fix #702 in the temaplte by reducing complexity
2022-04-15 17:23:29 +02:00
1e6b737d3c Corrected all code styles that need manual intervention 2022-04-15 17:18:46 +02:00
def6d36a43 Automatic fixes 2022-04-15 16:54:52 +02:00
bc3a0ad36d Moved dynamic styles to static SCSS using valiables 2022-04-15 16:52:10 +02:00
c20a170dc3 Adding all style parameters into CSS variables 2022-04-15 14:41:27 +02:00
d31cba17b9 Definition of effect color 2022-04-15 14:38:33 +02:00
6441682afe Simplified menu coloring
This reduces the number of required colors and makes desktop and mobile colors closer.
Partly fixes #702
2022-04-15 10:22:05 +02:00
7bfd331aa1 Added some comments and restructuring language file 2022-04-15 10:20:18 +02:00
e3cb982ee2 Enhanced administrator menu description 2022-04-15 10:18:39 +02:00
803add1c45 Corrected indendation in XML manifest 2022-04-15 08:23:23 +02:00
4d9151fb74 Remove obsolete and outdated file 2022-04-15 08:22:07 +02:00
9b8dd1343c Correct margins in mobile menu 2022-04-10 16:47:44 +02:00
d1086e1ec7 Merge branch 'dev/prettier' 2022-04-10 16:17:59 +02:00
bcedb8e58a Run stylelint and prettier durting building 2022-04-10 16:17:32 +02:00
d8be862cb5 Install prettier and make it compatible with stylelint 2022-04-10 16:15:53 +02:00
3f60629d3b Save some space where the slideshow would be if not present 2022-04-10 15:19:54 +02:00
58ce457c7f Prevent horizontal overflow on all pages 2022-04-10 15:19:35 +02:00
572185b9de Adding checksum to update scripts 2022-04-10 14:07:18 +02:00
61da9c72a6 Create fixing release 2022-04-10 13:53:58 +02:00
d4cb60c29c Fix bug to show tables on desktop devices 2022-04-10 13:53:24 +02:00
61 changed files with 1162 additions and 789 deletions

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<buildpath>
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
<buildpathentry kind="src" path=""/>
</buildpath>

View File

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>template</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.dltk.core.scriptbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.php.core.PHPNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>

View File

@ -1,2 +0,0 @@
eclipse.preferences.version=1
include_path=0;/template

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="php.component"/>
<fixed facet="php.core.component"/>
<installed facet="php.core.component" version="1"/>
<installed facet="php.component" version="5.6"/>
</faceted-project>

18
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/var/www/html": "${workspaceRoot:joomla}",
"/var/www/html/templates": "${workspaceRoot:template}"
}
}
]
}

View File

@ -17,12 +17,13 @@ package: $(PACKAGES)
npm:
cd slt; npm i
cd slt; npm run sass
cd slt; npm run prettier && npm run stylelint
.PHONY: slt.tar.gz
slt.tar.gz: npm slt/templateDetails.xml
# cd slt ; tar czf ../$@ *
tar czf $@ -C slt \
css/dynamic-styles.css.php css/index.html css/style.css css/.htaccess \
css/index.html css/style.css css/.htaccess \
html \
images \
js \

BIN
releases/slt-1.0.4.tar.gz Normal file

Binary file not shown.

20
releases/slt-1.0.4.xml Normal file
View File

@ -0,0 +1,20 @@
<update>
<name>SLT Template</name>
<description>Template for the SLT for the Joomla! CMS</description>
<element>slt</element>
<type>template</type>
<client>site</client>
<version>1.0.4</version>
<downloads>
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.0.4.tar.gz</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
<!--<tag>rc</tag>-->
<!--<tag>beta</tag>-->
<!--<tag>alpha</tag>-->
<!--<tag>dev</tag>-->
</tags>
<maintainer>Christian Wolf</maintainer>
<targetplatform name="joomla" version="4[.].*"/>
</update>

BIN
releases/slt-1.1.0.tar.gz Normal file

Binary file not shown.

21
releases/slt-1.1.0.xml Normal file
View File

@ -0,0 +1,21 @@
<update>
<name>SLT Template</name>
<description>Template for the SLT for the Joomla! CMS</description>
<element>slt</element>
<type>template</type>
<client>site</client>
<version>1.1.0</version>
<downloads>
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.0.tar.gz</downloadurl>
</downloads>
<tags>
<!-- <tag>stable</tag> -->
<tag>rc</tag>
<!--<tag>beta</tag>-->
<!--<tag>alpha</tag>-->
<!--<tag>dev</tag>-->
</tags>
<maintainer>Christian Wolf</maintainer>
<targetplatform name="joomla" version="4[.].*"/>
<sha512>c738c8b64a1be419570dc12763c5fb8ecaefaa31b6067eaf263a611ccdae404a467072dc1e0e17caffca5278d3c19b70633069183b5f90ebc9b75ab4b750691f</sha512>
</update>

BIN
releases/slt-1.1.1.tar.gz Normal file

Binary file not shown.

21
releases/slt-1.1.1.xml Normal file
View File

@ -0,0 +1,21 @@
<update>
<name>SLT Template</name>
<description>Template for the SLT for the Joomla! CMS</description>
<element>slt</element>
<type>template</type>
<client>site</client>
<version>1.1.1</version>
<downloads>
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.1.tar.gz</downloadurl>
</downloads>
<tags>
<!-- <tag>stable</tag> -->
<tag>rc</tag>
<!--<tag>beta</tag>-->
<!--<tag>alpha</tag>-->
<!--<tag>dev</tag>-->
</tags>
<maintainer>Christian Wolf</maintainer>
<targetplatform name="joomla" version="4[.].*"/>
<sha512>f54b25670ae1ed6ed1fd0712c02a47bc040526679a9a2abe09be4982afb67ec819493d25075c90fc13f23f3bea8734156e83705c2003e236b6b65fef39b1a39c</sha512>
</update>

BIN
releases/slt-1.1.2.tar.gz Normal file

Binary file not shown.

21
releases/slt-1.1.2.xml Normal file
View File

@ -0,0 +1,21 @@
<update>
<name>SLT Template</name>
<description>Template for the SLT for the Joomla! CMS</description>
<element>slt</element>
<type>template</type>
<client>site</client>
<version>1.1.2</version>
<downloads>
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.2.tar.gz</downloadurl>
</downloads>
<tags>
<!-- <tag>stable</tag> -->
<tag>rc</tag>
<!--<tag>beta</tag>-->
<!--<tag>alpha</tag>-->
<!--<tag>dev</tag>-->
</tags>
<maintainer>Christian Wolf</maintainer>
<targetplatform name="joomla" version="4[.].*"/>
<sha512>2679c8ef32e67e31915466d6f28c021fcbfe6acfbcb41d70477af06c59e0e6e960691b37249f1ebebfa1e201049e4c2e222a7fc9106b83c6c4667ed6e42e1d60</sha512>
</update>

BIN
releases/slt-1.1.3.tar.gz Normal file

Binary file not shown.

21
releases/slt-1.1.3.xml Normal file
View File

@ -0,0 +1,21 @@
<update>
<name>SLT Template</name>
<description>Template for the SLT for the Joomla! CMS</description>
<element>slt</element>
<type>template</type>
<client>site</client>
<version>1.1.3</version>
<downloads>
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.3.tar.gz</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
<!-- <tag>rc</tag> -->
<!--<tag>beta</tag>-->
<!--<tag>alpha</tag>-->
<!--<tag>dev</tag>-->
</tags>
<maintainer>Christian Wolf</maintainer>
<targetplatform name="joomla" version="4[.].*"/>
<sha512>6efb161e0ef05cf30231d39f304221f01cf29c615cc581b5eeede8d00e34f5cfb624379a588319d363ecc2301f7c836f7874b124e736672ebf377c1ae3f314b2</sha512>
</update>

BIN
releases/slt-1.1.4.tar.gz Normal file

Binary file not shown.

21
releases/slt-1.1.4.xml Normal file
View File

@ -0,0 +1,21 @@
<update>
<name>SLT Template</name>
<description>Template for the SLT for the Joomla! CMS</description>
<element>slt</element>
<type>template</type>
<client>site</client>
<version>1.1.4</version>
<downloads>
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.4.tar.gz</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
<!-- <tag>rc</tag> -->
<!--<tag>beta</tag>-->
<!--<tag>alpha</tag>-->
<!--<tag>dev</tag>-->
</tags>
<maintainer>Christian Wolf</maintainer>
<targetplatform name="joomla" version="4[.].*"/>
<sha512>45fa3583aa96ac8107c3927979c48a9de5449303b08717c33036f758abf2ede399b734eefca7ecfa8bb2106df94f4741ec1d560cd656ec16cf84c0d1437e1cde</sha512>
</update>

View File

@ -50,39 +50,46 @@
<config>
<fields name="params">
<fieldset name="advanced">
<field name="titlepage" type="list" default="0" label="Switch to titlepage mode" description="">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="titlepage" type="list" default="0" label="Switch to titlepage mode" description="">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
</fieldset>
<fieldset name='TPL_SLT_COLORS_TOPMENU'>
<field name="topfgcolor1" type='color' default='#fff' label='TPL_SLT_FOREGROUND_COLOR_TOP'></field>
<field name="topbgcolor1" type='color' default='#000' label='TPL_SLT_BACKGROUND_COLOR_TOP'></field>
<field name="topfgcolor2" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_TOP_DARK'></field>
<field name="topbgcolor2" type='color' default='#bbb' label='TPL_SLT_BACKGROUND_COLOR_TOP_DARK'></field>
<field name="topfgcolor3" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_TOP_LIGHT'></field>
<field name="topbgcolor3" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_TOP_LIGHT'></field>
<field name="topbgcolor1" type='color' default='#000' label='TPL_SLT_BACKGROUND_COLOR_TOP'></field>
<field name="topfgcolor2" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_TOP_DARK'></field>
<field name="topbgcolor2" type='color' default='#bbb' label='TPL_SLT_BACKGROUND_COLOR_TOP_DARK'></field>
<field name="topfgcolor3" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_TOP_LIGHT'></field>
<field name="topbgcolor3" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_TOP_LIGHT'></field>
</fieldset>
<fieldset name='TPL_SLT_COLORS_MAIN'>
<!--<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>
<field name="mainbgcolortop" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_MAIN_TOP'></field>
<field name="mainbgcolorbot" type='color' default='#fff' label='TPL_SLT_BACKGROUND_COLOR_MAIN_BOTTOM'></field>
<field name="fgcolor1" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_1'></field>
<field name="licolor1" type='color' default='#222' label='TPL_SLT_LINK_COLOR_1'></field>
<field name="bgcolor1" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_1' format='rgba'></field>
<field name="fgcolor2" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_2'></field>
<field name="licolor2" type='color' default='#222' label='TPL_SLT_LINK_COLOR_2'></field>
<field name="bgcolor2" type='color' default='#bbb' label='TPL_SLT_BACKGROUND_COLOR_2' format='rgba'></field>
<field name="fgcolor3" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_3'></field>
<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 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>
<field name="imgright" type='media' directory='' label='TPL_SLT_RIGHT_BACKGROUND_IMAGE'></field>
<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>
<field name="headercolor" type='color' default='#000' label='Color of header (normally foreground link color or black/white)'></field>
<field name="mainbgcolortop" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_MAIN_TOP'></field>
<field name="mainbgcolorbot" type='color' default='#fff' label='TPL_SLT_BACKGROUND_COLOR_MAIN_BOTTOM'></field>
<field type="spacer" name="menu-colors" label="Menu colors" />
<field name="fgcolor1" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_1'></field>
<field name="bgcolor1" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_1' format='rgba'></field>
<field type="spacer" name="spacer1" hr="true" />
<field name="fgcolor2" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_2'></field>
<field name="bgcolor2" type='color' default='#bbb' label='TPL_SLT_BACKGROUND_COLOR_2' 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>
<field name="imgright" type='media' directory='' label='TPL_SLT_RIGHT_BACKGROUND_IMAGE'></field>
</fieldset>
</fields>
</config>

View File

@ -17,4 +17,5 @@
</tags>
<maintainer>Christian Wolf</maintainer>
<targetplatform name="joomla" version="4[.].*"/>
$SUMS
</update>

View File

@ -21,8 +21,11 @@ fi
cp slt.tar.gz "$outname"
sha=$(sha512sum slt.tar.gz | cut -d' ' -f1)
export VERSION="$TOTRELEASE"
export FORMAT='tar.gz'
export DOWNLOAD_URL="\$DL_PREFIX/$filename"
export SUMS="<sha512>$sha</sha512>"
cat res/update.template | envsubst > "$xmlname"

View File

@ -1 +1 @@
0
1

View File

@ -1 +1 @@
3
4

21
slt.xml
View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Joomla Template</name>
<description>Template for the SLT for the Joomla! CMS</description>
<element>slt</element>
<type>template</type>
<version>0.0.1</version>
<!-- <infourl title="Joomla!">http://www.joomla.org/</infourl> -->
<downloads>
<downloadurl type="full" format="tar">http://localhost/slt-update/slt1.tar</downloadurl>
</downloads>
<!--<tags>
<tag>stable</tag>
</tags>-->
<maintainer>Christian Wolf</maintainer>
<!-- <maintainerurl>http://sammoffatt.com.au</maintainerurl> -->
<!-- <section>Testing</section> -->
<!-- <targetplatform name="joomla" version="1.6"/> -->
</update>
</updates>

1
slt/.prettierignore Normal file
View File

@ -0,0 +1 @@
/html/

View File

@ -6,6 +6,8 @@
],
"rules": {
"indentation": 4,
"selector-class-pattern": "^([a-z][a-z0-9]*)((-|__)[a-z0-9]+)*$"
"selector-class-pattern": "^([a-z][a-z0-9]*)((-|__)[a-z0-9]+)*$",
"string-quotes": "single",
"declaration-colon-newline-after": null
}
}

View File

@ -1,2 +1,2 @@
@forward "responsive";
@forward "colors";
@forward 'responsive';
@forward 'colors';

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
.article-info {
font-size: smaller;
@ -20,7 +20,7 @@
border: none;
text-shadow: unset;
> span[class^="icon-"] {
> span[class^='icon-'] {
display: none;
}
}

View File

@ -0,0 +1,4 @@
.com-contact__thumbnail {
float: right;
margin: 10px 0 10px 10px;
}

View File

@ -1,8 +1,10 @@
@use "slideshow";
@use "article";
@use "current-page-menu";
@use "result-table";
@use "presseberichte";
@use "verbandstag";
@use "vereine";
@use "contact-list";
@use 'slideshow';
@use 'article';
@use 'current-page-menu';
@use 'result-table';
@use 'presseberichte';
@use 'verbandstag';
@use 'vereine';
@use 'contact-list';
@use 'contact-view';
@use 'read-more';

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
table.pressespiegel {
@include abstract.for-narrow-screen {
@ -9,7 +9,7 @@ table.pressespiegel {
> td {
&:last-child::before {
content: "Rubrik: ";
content: 'Rubrik: ';
}
}
}

View File

@ -0,0 +1,9 @@
.readmore > .btn {
color: var(--color-menu, #000);
background-color: var(--color-menu-background, #eee);
&:hover {
color: var(--color-menu-active, #000);
background-color: var(--color-menu-background-active, #ccc);
}
}

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
table.result {
max-width: 800px;

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
#slideshow {
flex: 1;
@ -6,5 +6,9 @@
@include abstract.for-desktop {
display: inline-block;
> div {
margin: 20px;
}
}
}

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
table.verbandstag {
@include abstract.for-narrow-screen {

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
.slt-vereine {
@include abstract.for-narrow-screen {
@ -28,7 +28,7 @@
}
> td:nth-child(4)::before {
content: "Ansprechpartner: ";
content: 'Ansprechpartner: ';
}
}

View File

@ -0,0 +1,22 @@
.btn-primary {
color: white;
background-color: var(--color-main-link);
border: none;
&:hover {
color: white;
background-color: var(--color-main-link);
}
}
.pagination {
a {
color: var(--color-main-link);
}
.page-item.active .page-link {
color: var(--color-fg-top);
background-color: var(--color-bg-top);
border: none;
}
}

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
body {
margin: 0;
@ -6,6 +6,7 @@ body {
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--color-side-background, #fff);
/* padding: 0px 20px 10px 20px; */
padding: 0;
@ -23,6 +24,13 @@ a {
text-decoration: none;
}
a,
a:hover,
a:active,
a:visited {
color: var(--color-main-link, #000);
}
p {
text-align: justify;
hyphens: auto;
@ -45,4 +53,13 @@ h2,
h3,
h4 {
line-height: 150%;
/* stylelint-disable no-descending-specificity -- Keep the block of a elements together */
a,
a:hover,
a:active,
a:visited {
color: var(--color-header-link, #000);
}
/* stylelint-enable no-descending-specificity */
}

View File

@ -5,6 +5,19 @@
margin: 10px;
}
.right {
float: right;
}
.left {
float: left;
}
.right,
.left {
margin: 10px;
}
.centered {
text-align: center;
}
@ -21,10 +34,35 @@ li.row-fluid {
padding-bottom: 0;
}
.row-striped .row-fluid:nth-child(n),
.list-striped li:nth-child(n),
.table-striped tbody > tr:nth-child(n) > td {
background-color: initial;
// .row-striped .row-fluid:nth-child(n),
// .list-striped li:nth-child(n),
// .table-striped tbody > tr:nth-child(n) > td {
// background-color: initial;
// }
.table-striped {
> thead > tr {
color: var(--color-effect-header, #000);
background-color: var(--color-effect-background-header, #aaa);
}
}
.list-striped li:nth-child(odd),
.row-striped .row-fluid:nth-child(odd),
.table-striped > tbody > tr:nth-child(odd) {
color: var(--color-effect, #000);
background-color: var(--color-effect-background, #ccc);
}
.list-striped li:hover,
.row-striped .row-fluid:hover,
.table-striped > tbody > tr:hover {
color: var(--color-effect-header, #000);
background-color: var(--color-effect-background-header, #aaa);
}
.table-hover > tbody > tr:hover > * {
color: unset;
}
.well {

View File

@ -1,2 +1,3 @@
@use "core";
@use "default-classes";
@use 'core';
@use 'default-classes';
@use 'buttons';

View File

@ -1,187 +0,0 @@
<?php
define( '_JEXEC', 1 );
define('JPATH_BASE', '../../../');
require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/includes/framework.php' );
$container = \Joomla\CMS\Factory::getContainer();
$container->alias(\Joomla\Session\SessionInterface::class, 'session.web.site');
$mainframe = $container->get(\Joomla\CMS\Application\SiteApplication::class);
$template = $mainframe->getTemplate(true);
$params = $template->params;
header("content-type: text/css");
// duration of cached content (1 hour)
$offset = 60 * 60 ;
// cache control to process
header("Cache-Control: must-revalidate, max-age=$offset, public");
// expiration header format
// $ExpStr = "Expires: " . gmdate("D, d M Y H:i:s",time() + $offset) . " GMT";
// send cache expiration header to broswer
// header($ExpStr);
$leftImageValue = (empty($params['imgleft']) ? "none" : "url(\"" . JPATH_BASE. "/" . $params['imgleft'] . "\")") ;
$rightImageValue = (empty($params['imgright']) ? "none" : "url(\"" . JPATH_BASE . "/" . $params['imgright'] . "\")")
?>
<?php
if($params['titlepage'] === '1')
{
?>
#left-menu
{
display: none;
}
<?php
}
?>
body
{
background-color: <?php echo $params['bgcolorside']; ?>;
}
a, a:hover, a:active, a:visited
{
color: <?php echo $params['mainlicolor']; ?>;
}
#page-bg
{
background-image: linear-gradient(to bottom, <?php echo $params['mainbgcolortop'] . ',' . $params['mainbgcolorbot']; ?>);
color: <?php echo $params['mainfgcolor']; ?>;
}
#mobile-menu li > a {
background-color: <?php echo $params['bgcolor2']; ?>;
color: <?php echo $params['licolor2']; ?>;
}
#mobile-menu li.current > a {
background-color: <?php echo $params['bgcolor3']; ?>;
color: <?php echo $params['licolor3']; ?>;
}
ul.mod-menu {
background-color: <?php echo $params['bgcolor1']; ?>;
color: <?php echo $params['fgcolor1']; ?>;
}
#mobile-menu {
background-color: <?php echo $params['bgcolor1']; ?>;
color: <?php echo $params['fgcolor1']; ?>;
}
ul.mod-menu li.current > a,
ul.mod-menu li.current:hover > a
{
background-color: <?php echo $params['bgcolor2']; ?>;
color: <?php echo $params['licolor2']; ?>;
}
ul.nav > li > a:hover,
ul.nav > li > a:focus,
ul.mod-menu__sub > li > a:hover,
ul.mod-menu__sub > li > a:focus
{
background-color: <?php echo $params['bgcolor3']; ?>;
color: <?php echo $params['licolor3']; ?>;
}
#topmenu,
#topmenu > ul.mod-menu {
background-color: <?php echo $params['topbgcolor1']; ?>;
color: <?php echo $params['topfgcolor1']; ?>;
}
#topmenu .mod-menu__sub > li.current
{
background-color: <?php echo $params['topbgcolor2']; ?>;
color: <?php echo $params['topfgcolor2']; ?>;
}
#topmenu .mod-menu__sub {
background-color: <?php echo $params['topbgcolor3']; ?>;
color: <?php echo $params['topfgcolor3']; ?>;
}
#topmenu .nav > li:hover,
#topmenu .nav > li:focus,
#topmenu .nav > li.active,
#topmenu .mod-menu__sub > li:hover,
#topmenu .mod-menu__sub > li:focus
{
background-color: <?php echo $params['topbgcolor2']; ?>;
color: <?php echo $params['topfgcolor2']; ?>;
}
#left-side-image
{
background-image: <?php echo $leftImageValue; ?>;
}
#right-side-image
{
background-image: <?php echo $rightImageValue; ?>;
}
.list-striped li:nth-child(odd),
.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']; ?>;
}
.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']; ?>;
}
.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']; ?>;
}
table.alternating tr:nth-child(even) {
background-color: <?php echo $params['bgcolor2']; ?>;
color: <?php echo $params['fgcolor2']; ?>;
}
table.alternating tr:nth-child(even) a
{
color: <?php echo $params['licolor2']; ?>;
}
table.alternating tr:nth-child(1) {
background-color: <?php echo $params['bgcolor3']; ?>;
color: <?php echo $params['fgcolor3']; ?>;
}
table.alternating tr:nth-child(1) a {
color: <?php echo $params['licolor3']; ?>;
}
.readmore > .btn
{
color: <?php echo $params['fgcolor1'];?>;
background-color: <?php echo $params['bgcolor1']; ?>;
}
.readmore > .btn:hover
{
color: <?php echo $params['fgcolor3'];?>;
background-color: <?php echo $params['bgcolor3']; ?>;
}

View File

@ -0,0 +1,19 @@
.alternating {
tr:nth-child(even) {
color: var(--color-effect, #000);
background-color: var(--color-effect-background, #ccc);
a {
color: inherit;
}
}
tr:nth-child(1) {
color: var(--color-effect-header, #000);
background-color: var(--color-effect-background-header, #aaa);
a {
color: inherit;
}
}
}

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
.columns-2,
.columns-3,

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
#impressum {
flex: 0 0 auto;

View File

@ -1,11 +1,12 @@
@use "page-layout";
@use "topmenu";
@use "leftmenu";
@use "footer";
@use "mobile-menu";
@use "menu";
@use "pageheader";
@use "side-images";
@use "main-content";
@use "blog";
@use "mobile-table";
@use 'page-layout';
@use 'topmenu';
@use 'leftmenu';
@use 'footer';
@use 'mobile-menu';
@use 'menu';
@use 'pageheader';
@use 'side-images';
@use 'main-content';
@use 'blog';
@use 'mobile-table';
@use 'alternating-table';

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
#left-menu {
display: none;

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
#content {
flex: 1 0 auto;

View File

@ -1,22 +1,4 @@
@use "../abstract" as abstract;
.nav {
font-size: inherit;
a {
color: inherit;
}
}
.mod-menu__sub {
font-size: small;
> li > a {
@include abstract.for-desktop {
display: block;
}
}
}
@use '../abstract' as abstract;
.nav,
.mod-menu__sub {
@ -24,14 +6,42 @@
> li {
display: block;
}
}
> .mod-menu__sub {
padding-left: 10px;
margin-left: 10px;
.nav {
font-size: inherit;
color: var(--color-menu, #000);
background-color: var(--color-menu-background, #eee);
/* border-left: solid gray 1px; */
a {
color: inherit;
}
/* TODO */
li.current > a {
color: var(--color-menu-active, #000);
background-color: var(--color-menu-background-active, #ccc);
}
li > a:hover,
li > a:focus {
color: var(--color-menu-active, #000);
background-color: var(--color-menu-background-active, #ccc);
}
.mod-menu__sub {
font-size: small;
padding-left: 10px;
margin-left: 10px;
/* border-left: solid gray 1px; */
/* TODO */
> li > a {
@include abstract.for-desktop {
display: block;
}
}
}
}

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
#mobile-menu,
#content {
@ -23,39 +23,45 @@
padding-right: 0;
}
li > a {
margin: 5px 0;
padding: 10px 5px;
display: block;
flex: 0;
li {
> a {
margin: 5px 0;
padding: 10px;
display: block;
color: var(--color-menu, #000);
background-color: var(--color-menu-background, #eee);
}
&.current > a {
color: var(--color-menu-active, #000);
background-color: var(--color-menu-background-active, #ccc);
}
margin-left: 5px;
margin-right: 5px;
ul {
border: none;
}
> ul.nav {
margin-left: -5px;
margin-right: -5px;
}
}
.nav {
padding: 0;
border: none;
margin-left: 0;
}
.mod-menu,
.mod-menu__sub {
display: flex;
flex-direction: column;
}
li {
margin-left: 5px;
margin-right: 5px;
}
.mod-menu__sub > li {
margin: 0;
}
li > ul.nav {
margin-left: -5px;
margin-right: -5px;
}
li ul {
border: none;
}
> ul.mod-menu {
background-color: initial;
color: initial;

View File

@ -1,10 +1,11 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
table:not(.no-responsive-table) {
display: block;
width: 100%;
@include abstract.for-narrow-screen {
display: block;
> tbody {
display: block;
}
@ -15,8 +16,9 @@ table:not(.no-responsive-table) {
border-style: none;
border-bottom-style: solid;
border-width: 1px;
border-color: var(--color-mobile-table-border, #000);
&:nth-child(2) {
&:nth-child(1) {
border-top-style: solid;
}
@ -30,7 +32,7 @@ table:not(.no-responsive-table) {
table:not(.alternating) {
@include abstract.for-narrow-screen {
tr:nth-child(2n+1) {
tr:nth-child(2n + 1) {
background-color: #bbb;
}
}

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
#page-div {
width: 100%;
@ -6,6 +6,7 @@
@include abstract.for-desktop {
display: flex;
flex-flow: row;
margin-top: 25px;
// width: 100%;
justify-content: space-around;
@ -36,6 +37,11 @@
#page-bg {
display: none;
background-image: linear-gradient(
to bottom,
var(--color-page-bg-top, #eee),
var(--color-page-bg-bottom, #fff)
);
@include abstract.for-desktop {
display: block;

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
#header {
flex: 0 0 auto;
@ -11,7 +11,6 @@
}
> div {
margin: 20px;
align-items: center;
}
}

View File

@ -1,4 +1,4 @@
@use "../abstract" as abstract;
@use '../abstract' as abstract;
@include abstract.for-desktop {
#left-side-image,
@ -15,9 +15,11 @@
#left-side-image {
left: 0;
background-image: var(--image-left-side, none);
}
#right-side-image {
right: 0;
background-image: var(--image-right-side, none);
}
}

View File

@ -1,4 +1,16 @@
@use "../abstract/" as abstract;
@use '../abstract/' as abstract;
#topmenu-div {
@include abstract.for-desktop {
position: sticky;
top: 0;
width: 100%;
z-index: 1;
}
color: var(--color-fg-top, #fff);
background-color: var(--color-bg-top, #000);
}
#topmenu {
display: none;
@ -7,7 +19,7 @@
@include abstract.for-desktop {
display: flex;
width: 100vw;
width: 100%;
font-weight: bold;
text-align: center;
@ -38,6 +50,8 @@
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
color: var(--color-fg-top, #fff);
background-color: var(--color-bg-top, #000);
@include abstract.for-desktop {
padding: 0 10px;
@ -70,6 +84,17 @@
background-color: inherit;
}
&:hover,
&:focus {
color: var(--color-fg-top-hover, #000);
background-color: var(--color-bg-top-hover, #aaa);
}
&.active {
color: var(--color-fg-top-dark, #000);
background-color: var(--color-bg-top-dark, #aaa);
}
> .mod-menu__sub {
position: absolute;
display: none;
@ -80,6 +105,10 @@
padding: 0;
}
color: var(--color-fg-top-sub);
background-color: var(--color-bg-top-sub);
box-shadow: 3px 5px 5px 2px rgb(0 0 0 / 50%);
> li {
@include abstract.for-desktop {
padding: 0 5px;
@ -94,18 +123,30 @@
}
}
&:hover,
&:focus {
color: var(--color-fg-top-sub-hover, #000);
background-color: var(--color-bg-top-sub-hover, #aaa);
}
&:hover > a {
text-decoration: none;
}
&.current {
color: var(--color-fg-top-dark, #000);
background-color: var(--color-bg-top-dark, #aaa);
}
}
}
&.active > .mod-menu__sub > li:hover {
color: var(--color-fg-top-dark);
background-color: var(--color-bg-top-dark);
}
&:hover > .mod-menu__sub {
display: block;
@include abstract.for-desktop {
box-shadow: 3px 5px 5px 2px rgb(0 0 0 / 50%);
}
}
}
}
@ -152,16 +193,6 @@
}
}
#topmenu-div {
@include abstract.for-desktop {
position: sticky;
top: 0;
width: 100vw;
height: 40px;
z-index: 1;
}
}
a.facebook {
img {
display: none;
@ -178,3 +209,12 @@ a.facebook {
}
}
}
:root {
--color-fg-top-hover: #000;
--color-bg-top-hover: #ccc;
--color-fg-top-sub: #000;
--color-bg-top-sub: #eee;
--color-fg-top-sub-hover: #000;
--color-bg-top-sub-hover: #ccc;
}

View File

@ -1,7 +1,7 @@
@use "abstract";
@use "core";
@use "layout";
@use "components";
@use 'abstract';
@use 'core';
@use 'layout';
@use 'components';
/*
* Debug

View File

@ -0,0 +1,153 @@
<?php
/**
* @package Joomla.Site
* @subpackage com_contact
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
use Joomla\CMS\String\PunycodeHelper;
$icon = $this->params->get('contact_icons') == 0;
/**
* Marker_class: Class based on the selection of text, none, or icons
* jicon-text, jicon-none, jicon-icon
*/
?>
<dl class="com-contact__address contact-address dl-horizontal" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
<?php if (($this->params->get('address_check') > 0) &&
($this->item->address || $this->item->suburb || $this->item->state || $this->item->country || $this->item->postcode)) : ?>
<dt>
<?php if ($icon && !$this->params->get('marker_address')) : ?>
<span class="icon-address" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_ADDRESS'); ?></span>
<?php else : ?>
<span class="<?php echo $this->params->get('marker_class'); ?>">
<?php echo $this->params->get('marker_address'); ?>
</span>
<?php endif; ?>
</dt>
<?php if ($this->item->address && $this->params->get('show_street_address')) : ?>
<dd>
<span class="contact-street" itemprop="streetAddress">
<?php echo nl2br($this->item->address, false); ?>
</span>
</dd>
<?php endif; ?>
<?php if ($this->item->postcode && $this->params->get('show_postcode')) : ?>
<dd>
<span class="contact-postcode" itemprop="postalCode">
<?php echo $this->item->postcode; ?>
</span>
<?php if ($this->item->suburb && $this->params->get('show_suburb')) : ?>
<span class="contact-suburb" itemprop="addressLocality">
<?php echo $this->item->suburb; ?>
</span>
<?php endif; ?>
</dd>
<?php endif; ?>
<?php if ($this->item->state && $this->params->get('show_state')) : ?>
<dd>
<span class="contact-state" itemprop="addressRegion">
<?php echo $this->item->state; ?>
</span>
</dd>
<?php endif; ?>
<?php if ($this->item->country && $this->params->get('show_country')) : ?>
<dd>
<span class="contact-country" itemprop="addressCountry">
<?php echo $this->item->country; ?>
</span>
</dd>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->item->email_to && $this->params->get('show_email')) : ?>
<dt>
<?php if ($icon && !$this->params->get('marker_email')) : ?>
<span class="icon-envelope" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_EMAIL_LABEL'); ?></span>
<?php else : ?>
<span class="<?php echo $this->params->get('marker_class'); ?>">
<?php echo $this->params->get('marker_email'); ?>
</span>
<?php endif; ?>
</dt>
<dd>
<span class="contact-emailto">
<?php echo $this->item->email_to; ?>
</span>
</dd>
<?php endif; ?>
<?php if ($this->item->telephone && $this->params->get('show_telephone')) : ?>
<dt>
<?php if ($icon && !$this->params->get('marker_telephone')) : ?>
<span class="icon-phone" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_TELEPHONE'); ?></span>
<?php else : ?>
<span class="<?php echo $this->params->get('marker_class'); ?>">
<?php echo $this->params->get('marker_telephone'); ?>
</span>
<?php endif; ?>
</dt>
<dd>
<span class="contact-telephone" itemprop="telephone">
<?php echo $this->item->telephone; ?>
</span>
</dd>
<?php endif; ?>
<?php if ($this->item->fax && $this->params->get('show_fax')) : ?>
<dt>
<?php if ($icon && !$this->params->get('marker_fax')) : ?>
<span class="icon-fax" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_FAX'); ?></span>
<?php else : ?>
<span class="<?php echo $this->params->get('marker_class'); ?>">
<?php echo $this->params->get('marker_fax'); ?>
</span>
<?php endif; ?>
</dt>
<dd>
<span class="contact-fax" itemprop="faxNumber">
<?php echo $this->item->fax; ?>
</span>
</dd>
<?php endif; ?>
<?php if ($this->item->mobile && $this->params->get('show_mobile')) : ?>
<dt>
<?php if ($icon && !$this->params->get('marker_mobile')) : ?>
<span class="icon-mobile" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_MOBILE'); ?></span>
<?php else : ?>
<span class="<?php echo $this->params->get('marker_class'); ?>">
<?php echo $this->params->get('marker_mobile'); ?>
</span>
<?php endif; ?>
</dt>
<dd>
<span class="contact-mobile" itemprop="telephone">
<?php echo $this->item->mobile; ?>
</span>
</dd>
<?php endif; ?>
<?php if ($this->item->webpage && $this->params->get('show_webpage')) : ?>
<dt>
<?php if ($icon && !$this->params->get('marker_webpage')) : ?>
<span class="icon-home" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_WEBPAGE'); ?></span>
<?php else : ?>
<span class="<?php echo $this->params->get('marker_class'); ?>">
<?php echo $this->params->get('marker_webpage'); ?>
</span>
<?php endif; ?>
</dt>
<dd>
<span class="contact-webpage">
<a href="<?php echo $this->item->webpage; ?>" target="_blank" rel="noopener noreferrer" itemprop="url">
<?php echo PunycodeHelper::urlToUTF8($this->item->webpage); ?></a>
</span>
</dd>
<?php endif; ?>
</dl>

View File

@ -1,12 +1,13 @@
<?php
// No direct access.
defined('_JEXEC') or die;
defined('_JEXEC') or die();
use Joomla\CMS\Uri\Uri;
//JHTML::_('behavior.framework', true);
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$wa = $this->getWebAssetManager();
// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');
@ -16,23 +17,59 @@ JHtml::_('bootstrap.loadCss', true, $this->direction);
JHtml::_('jquery.framework');
// Add Stylesheets
JHtml::_('stylesheet', 'templates/system/css/system.css', array('version' => 'auto', 'relative' => false));
JHtml::_('stylesheet', 'style.css', array('version' => 'auto', 'relative' => true));
JHtml::_('stylesheet', 'templates/system/css/system.css', [
'version' => 'auto',
'relative' => false,
]);
JHtml::_('stylesheet', 'style.css', ['version' => 'auto', 'relative' => true]);
$doc->addStyleSheet($this->baseurl.'/media/system/css/joomla-fontawesome.css');
$doc->addStyleSheet($this->baseurl.'/templates/slt/css/dynamic-styles.css.php?Itemid=' . $app->input->getInt('Itemid'));
$doc->addStyleSheet(
$this->baseurl . '/media/system/css/joomla-fontawesome.css'
);
$params = $this->params;
$leftImageValue = empty($params['imgleft'])
? 'none'
: "url(\"" . JPATH_BASE . $params['imgleft'] . "\")";
$rightImageValue = empty($params['imgright'])
? 'none'
: "url(\"" . JPATH_BASE . $params['imgright'] . "\")";
$wa->addInlineStyle(":root {
--color-fg-top: {$params['topfgcolor1']};
--color-bg-top: {$params['topbgcolor1']};
--color-fg-top-dark: {$params['topfgcolor2']};
--color-bg-top-dark: {$params['topbgcolor2']};
--color-fg-top-light: {$params['topfgcolor3']};
--color-bg-top-light: {$params['topbgcolor3']};
--color-main: {$params['mainfgcolor']};
--color-main-link: {$params['mainlicolor']};
--color-header-link: {$params['headercolor']};
--color-page-bg-top: {$params['mainbgcolortop']};
--color-page-bg-bottom: {$params['mainbgcolorbot']};
--color-menu: {$params['fgcolor1']};
--color-menu-background: {$params['bgcolor1']};
--color-menu-active: {$params['fgcolor2']};
--color-menu-background-active: {$params['bgcolor2']};
--color-effect: {$params['fgeffect']};
--color-effect-background: {$params['bgeffect']};
--color-effect-header: {$params['fgeffecthdr']};
--color-effect-background-header: {$params['bgeffecthdr']};
--color-side-background: {$params['bgcolorside']};
--image-left-side: {$leftImageValue};
--image-right-side: {$rightImageValue};
}");
// Add Javascript for mobile menu
JHtml::_('script', 'mobile.js', array('version' => 'auto', 'relative' => true));
JHtml::_('script', 'mobile.js', ['version' => 'auto', 'relative' => true]);
// Check for a custom CSS file
JHtml::_('stylesheet', 'user.css', array('version' => 'auto', 'relative' => true));
JHtml::_('stylesheet', 'user.css', ['version' => 'auto', 'relative' => true]);
// Check for a custom js file
JHtml::_('script', 'user.js', array('version' => 'auto', 'relative' => true));
JHtml::_('script', 'user.js', ['version' => 'auto', 'relative' => true]);
?>
<?php echo '<!DOCTYPE html>'; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
@ -62,7 +99,13 @@ JHtml::_('script', 'user.js', array('version' => 'auto', 'relative' => true));
</div> <!-- #slideshow -->
</div> <!-- #header -->
<div id='mobile-menu-switch'><?php echo JHtml::_('image', 'mobile_menu.svg', 'Menu', array('width' => '40px', 'id' => 'btn-mobile-menu'), true);?></div>
<div id='mobile-menu-switch'><?php echo JHtml::_(
'image',
'mobile_menu.svg',
'Menu',
['width' => '40px', 'id' => 'btn-mobile-menu'],
true
); ?></div>
<div id='mobile-menu'>
<jdoc:include type="modules" style="none" name="mobile_menu" />
</div>

View File

@ -11,17 +11,24 @@ TPL_SLT_LINK_COLOR_MAIN="Foreground color of links in main text"
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_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"

814
slt/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,16 +4,21 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"stylelint": "npx stylelint css/*.scss css/**/*.scss --cache",
"stylelint-fix": "npx stylelint css/**.scss css/**/*.scss --fix",
"stylelint:fix": "npx stylelint css/**.scss css/**/*.scss --fix",
"prettier": "npx prettier -c css/**/*.scss **/*.php",
"prettier:fix": "npx prettier -w css/**/*.scss **/*.php **.php",
"sass": "npx sass css/style.scss:css/style.css -s compressed --no-source-map",
"sass-dev": "npx sass css/style.scss:css/style.css",
"sass-watch": "npx sass css/style.scss:css/style.css --watch"
},
"author": "Christian Wolf",
"devDependencies": {
"@prettier/plugin-php": "^0.18.4",
"prettier": "^2.6.2",
"prettier-config-standard": "^5.0.0",
"sass": "^1.44.0",
"stylelint": "^14.1.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-config-standard-scss": "^5.0.0",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.0.0"
}

7
slt/prettier.config.js Normal file
View File

@ -0,0 +1,7 @@
let config = require("prettier-config-standard");
config.tabWidth = 4;
// config.singleQuote = false;
// console.log(config)
module.exports = config;