14 Commits

20 changed files with 590 additions and 409 deletions

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>

View File

@@ -68,21 +68,16 @@
<!--<field name="fgcolor1" type='color' default='#fff' label='TPL_SLT_FOREGROUND_COLOR_1'></field>--> <!--<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="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="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="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="mainbgcolorbot" type='color' default='#fff' label='TPL_SLT_BACKGROUND_COLOR_MAIN_BOTTOM'></field>
<field type="spacer" name="menu-colors" label="Menu colors" /> <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="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="bgcolor1" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_1' format='rgba'></field>
<field type="spacer" name="spacer1" hr="true" /> <field type="spacer" name="spacer1" hr="true" />
<field name="fgcolor2" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_2'></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="bgcolor2" type='color' default='#bbb' label='TPL_SLT_BACKGROUND_COLOR_2' format='rgba'></field>
<field type="spacer" name="spacer2" hr="true" />
<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 type="spacer" name="effect-colors" label="Effect coloring" /> <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="fgeffect" type="color" default="#000" label="TPL_SLT_FOREGROUND_EFFECT_COLOR"></field>

View File

@@ -1 +1 @@
0 3

View File

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

View File

@@ -6,4 +6,5 @@
@use 'verbandstag'; @use 'verbandstag';
@use 'vereine'; @use 'vereine';
@use 'contact-list'; @use 'contact-list';
@use 'contact-view';
@use 'read-more'; @use 'read-more';

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

@@ -53,4 +53,13 @@ h2,
h3, h3,
h4 { h4 {
line-height: 150%; 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; margin: 10px;
} }
.right {
float: right;
}
.left {
float: left;
}
.right,
.left {
margin: 10px;
}
.centered { .centered {
text-align: center; text-align: center;
} }

View File

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

View File

@@ -45,6 +45,7 @@ $rightImageValue = empty($params['imgright'])
--color-main: <?php echo $params['mainfgcolor']; ?>; --color-main: <?php echo $params['mainfgcolor']; ?>;
--color-main-link: <?php echo $params['mainlicolor']; ?>; --color-main-link: <?php echo $params['mainlicolor']; ?>;
--color-header-link: <?php echo $params['headercolor']; ?>;
--color-page-bg-top: <?php echo $params['mainbgcolortop']; ?>; --color-page-bg-top: <?php echo $params['mainbgcolortop']; ?>;
--color-page-bg-bottom: <?php echo $params['mainbgcolorbot']; ?>; --color-page-bg-bottom: <?php echo $params['mainbgcolorbot']; ?>;
@@ -59,7 +60,6 @@ $rightImageValue = empty($params['imgright'])
--color-effect-header: <?php echo $params['fgeffecthdr']; ?>; --color-effect-header: <?php echo $params['fgeffecthdr']; ?>;
--color-effect-background-header: <?php echo $params['bgeffecthdr']; ?>; --color-effect-background-header: <?php echo $params['bgeffecthdr']; ?>;
--color-side-background: <?php echo $params['bgcolorside']; ?>; --color-side-background: <?php echo $params['bgcolorside']; ?>;
--image-left-side: <?php echo $leftImageValue; ?>; --image-left-side: <?php echo $leftImageValue; ?>;
--image-right-side: <?php echo $rightImageValue; ?>; --image-right-side: <?php echo $rightImageValue; ?>;

View File

@@ -6,6 +6,7 @@
@include abstract.for-desktop { @include abstract.for-desktop {
display: flex; display: flex;
flex-flow: row; flex-flow: row;
margin-top: 25px;
// width: 100%; // width: 100%;
justify-content: space-around; justify-content: space-around;

View File

@@ -85,7 +85,11 @@
} }
&:hover, &:hover,
&:focus, &:focus {
color: var(--color-fg-top-hover, #000);
background-color: var(--color-bg-top-hover, #aaa);
}
&.active { &.active {
color: var(--color-fg-top-dark, #000); color: var(--color-fg-top-dark, #000);
background-color: var(--color-bg-top-dark, #aaa); background-color: var(--color-bg-top-dark, #aaa);
@@ -101,8 +105,8 @@
padding: 0; padding: 0;
} }
color: var(--color-fg-top-light, #000); color: var(--color-fg-top-sub);
background-color: var(--color-bg-top-light, #ddd); background-color: var(--color-bg-top-sub);
box-shadow: 3px 5px 5px 2px rgb(0 0 0 / 50%); box-shadow: 3px 5px 5px 2px rgb(0 0 0 / 50%);
> li { > li {
@@ -120,10 +124,9 @@
} }
&:hover, &:hover,
&:focus, &:focus {
&.active { color: var(--color-fg-top-sub-hover, #000);
color: var(--color-fg-top-dark, #000); background-color: var(--color-bg-top-sub-hover, #aaa);
background-color: var(--color-bg-top-dark, #aaa);
} }
&:hover > a { &:hover > a {
@@ -137,6 +140,11 @@
} }
} }
&.active > .mod-menu__sub > li:hover {
color: var(--color-fg-top-dark);
background-color: var(--color-bg-top-dark);
}
&:hover > .mod-menu__sub { &:hover > .mod-menu__sub {
display: block; display: block;
} }
@@ -201,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

@@ -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>

688
slt/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -18,7 +18,7 @@
"prettier-config-standard": "^5.0.0", "prettier-config-standard": "^5.0.0",
"sass": "^1.44.0", "sass": "^1.44.0",
"stylelint": "^14.1.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-order": "^5.0.0",
"stylelint-scss": "^4.0.0" "stylelint-scss": "^4.0.0"
} }