Add icon to topnav for myep to save space
This commit is contained in:
@@ -54,6 +54,8 @@ plugin.tx_eptheme {
|
|||||||
germanPageUid =
|
germanPageUid =
|
||||||
# cat=eptheme/200/290; type=string; label=Concepts page UID
|
# cat=eptheme/200/290; type=string; label=Concepts page UID
|
||||||
conceptsPageUid =
|
conceptsPageUid =
|
||||||
|
# cat=eptheme/200/300; type=string; label=My E&P page UID
|
||||||
|
myEpPageUid =
|
||||||
|
|
||||||
# cat=eptheme/400/100; type=string; label=Phone number general
|
# cat=eptheme/400/100; type=string; label=Phone number general
|
||||||
phoneNumber = 0221 - 272 276 0
|
phoneNumber = 0221 - 272 276 0
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ plugin.tx_eptheme {
|
|||||||
englishPageUid = {$plugin.tx_eptheme.settings.englishPageUid}
|
englishPageUid = {$plugin.tx_eptheme.settings.englishPageUid}
|
||||||
germanPageUid = {$plugin.tx_eptheme.settings.germanPageUid}
|
germanPageUid = {$plugin.tx_eptheme.settings.germanPageUid}
|
||||||
conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid}
|
conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid}
|
||||||
|
myEpPageUid = {$plugin.tx_eptheme.settings.myEpPageUid}
|
||||||
myEpApiBaseUrl = {$plugin.tx_eptheme.settings.myEpApiBaseUrl}
|
myEpApiBaseUrl = {$plugin.tx_eptheme.settings.myEpApiBaseUrl}
|
||||||
facebookViewContentValues {
|
facebookViewContentValues {
|
||||||
productUid = {$plugin.tx_eptheme.settings.facebookViewContentProductUid}
|
productUid = {$plugin.tx_eptheme.settings.facebookViewContentProductUid}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@include mq($from: desktop) {
|
@include mq($from: desktop) {
|
||||||
display: block !important; // Required bc. of jquery animation
|
display: flex !important; // Required bc. of jquery animation
|
||||||
position: relative;
|
position: relative;
|
||||||
top: auto;
|
top: auto;
|
||||||
left: auto;
|
left: auto;
|
||||||
@@ -46,8 +46,8 @@
|
|||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
@include mq($from: desktop) {
|
@include mq($from: desktop) {
|
||||||
|
flex-grow: 1;
|
||||||
background: none;
|
background: none;
|
||||||
display: inline-block;
|
|
||||||
border-top: none;
|
border-top: none;
|
||||||
border-left: 1px solid #404040;
|
border-left: 1px solid #404040;
|
||||||
&:last-child {
|
&:last-child {
|
||||||
@@ -56,6 +56,9 @@
|
|||||||
}
|
}
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
width: percentage(1/6);
|
width: percentage(1/6);
|
||||||
|
&--icon {
|
||||||
|
flex-basis: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,6 +80,9 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
background-color: $color-brand-secondary;
|
background-color: $color-brand-secondary;
|
||||||
}
|
}
|
||||||
|
.area-nav__list-item--icon & {
|
||||||
|
padding: 10px 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,13 @@
|
|||||||
</li>
|
</li>
|
||||||
</f:for>
|
</f:for>
|
||||||
</v:menu>
|
</v:menu>
|
||||||
|
<f:if condition="{settings.myEpPageUid}">
|
||||||
|
<li class="area-nav__list-item area-nav__list-item--icon">
|
||||||
|
<f:link.typolink parameter="{settings.myEpPageUid}" class="area-nav__link" title="My E&P">
|
||||||
|
<i class="fa fa-user"></i><span class="hidden-md hidden-lg"> My E&P</span>
|
||||||
|
</f:link.typolink>
|
||||||
|
</li>
|
||||||
|
</f:if>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user