Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f6de133bb7 | |||
| 3170dffa80 | |||
| 3d7bc85a77 | |||
| 539ef0f3d9 | |||
| a154272171 | |||
| ff336b80e9 | |||
| b21c7a193e | |||
| 724aadb276 | |||
| cdd249b802 | |||
| 60d946a17c | |||
| d4ac8abce7 | |||
| 2bc93a8133 |
BIN
releases/slt-1.1.2.tar.gz
Normal file
BIN
releases/slt-1.1.2.tar.gz
Normal file
Binary file not shown.
21
releases/slt-1.1.2.xml
Normal file
21
releases/slt-1.1.2.xml
Normal 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
BIN
releases/slt-1.1.3.tar.gz
Normal file
Binary file not shown.
21
releases/slt-1.1.3.xml
Normal file
21
releases/slt-1.1.3.xml
Normal 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>
|
||||
@@ -68,6 +68,7 @@
|
||||
<!--<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>
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
1
|
||||
3
|
||||
|
||||
4
slt/css/components/_contact-view.scss
Normal file
4
slt/css/components/_contact-view.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
.com-contact__thumbnail {
|
||||
float: right;
|
||||
margin: 10px 0 10px 10px;
|
||||
}
|
||||
@@ -6,4 +6,5 @@
|
||||
@use 'verbandstag';
|
||||
@use 'vereine';
|
||||
@use 'contact-list';
|
||||
@use 'contact-view';
|
||||
@use 'read-more';
|
||||
|
||||
22
slt/css/core/_buttons.scss
Normal file
22
slt/css/core/_buttons.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
@@ -53,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 */
|
||||
}
|
||||
|
||||
@@ -5,6 +5,19 @@
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.right,
|
||||
.left {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.centered {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
@use 'core';
|
||||
@use 'default-classes';
|
||||
@use 'buttons';
|
||||
|
||||
@@ -45,6 +45,7 @@ $rightImageValue = empty($params['imgright'])
|
||||
|
||||
--color-main: <?php echo $params['mainfgcolor']; ?>;
|
||||
--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-bottom: <?php echo $params['mainbgcolorbot']; ?>;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
@include abstract.for-desktop {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
margin-top: 25px;
|
||||
|
||||
// width: 100%;
|
||||
justify-content: space-around;
|
||||
|
||||
@@ -85,7 +85,11 @@
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&: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);
|
||||
@@ -101,8 +105,8 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
color: var(--color-fg-top-light, #000);
|
||||
background-color: var(--color-bg-top-light, #ddd);
|
||||
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 {
|
||||
@@ -120,10 +124,9 @@
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.active {
|
||||
color: var(--color-fg-top-dark, #000);
|
||||
background-color: var(--color-bg-top-dark, #aaa);
|
||||
&:focus {
|
||||
color: var(--color-fg-top-sub-hover, #000);
|
||||
background-color: var(--color-bg-top-sub-hover, #aaa);
|
||||
}
|
||||
|
||||
&: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 {
|
||||
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;
|
||||
}
|
||||
|
||||
153
slt/html/com_contact/contact/default_address.php
Normal file
153
slt/html/com_contact/contact/default_address.php
Normal 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
688
slt/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -18,7 +18,7 @@
|
||||
"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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user