Adapating Organisms / LinkList w Icons
This commit is contained in:
parent
e3688ed070
commit
b264b3a559
@ -1,6 +1,6 @@
|
|||||||
//@import 'textSection/textSection';
|
@import 'textSection/textSection';
|
||||||
//@import 'placeTeaser/placeTeaser';
|
@import 'placeTeaser/placeTeaser';
|
||||||
//@import 'tagList/tagList';
|
@import 'tagList/tagList';
|
||||||
//@import 'navigation/navigation';
|
@import 'navigation/navigation';
|
||||||
//@import 'messageList/messageList';
|
@import 'messageList/messageList';
|
||||||
//@import 'userInfo/userInfo';
|
@import 'userInfo/userInfo';
|
||||||
|
@ -1,136 +1,16 @@
|
|||||||
.LP-PlaceTeaser {
|
.LP-PlaceTeaser {
|
||||||
width: 100%;
|
@include RV-Turner(200px, 280px);
|
||||||
|
@include RV-Turner--auto;
|
||||||
|
|
||||||
.LP-PlaceTeaser__Image {
|
&__Image {
|
||||||
width: 100%;
|
@include RV-Turner__Base;
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
.LP-Image {
|
.LP-Image {
|
||||||
max-width: unset;
|
height: 100%;
|
||||||
max-height: unset;
|
}
|
||||||
object-fit: cover;
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-PlaceTeaser__Meta {
|
&__Meta {
|
||||||
display: flex;
|
@include RV-Turner__Content;
|
||||||
flex-wrap: wrap;
|
}
|
||||||
gap: $-spacing-small;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 5px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
padding-top: 10px;
|
|
||||||
|
|
||||||
.LP-Paragraph {
|
|
||||||
font-family: $-primary-sans-serif-font;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
margin-top: 5px;
|
|
||||||
font-size: 1.3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-Headline {
|
|
||||||
font-family: $-primary-sans-serif-font;
|
|
||||||
color: $-grey;
|
|
||||||
font-size: 2rem;
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-Icon {
|
|
||||||
height: 2em;
|
|
||||||
width: 2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-PlaceTeaser__Description {
|
|
||||||
font-family: $-primary-sans-serif-font;
|
|
||||||
color: $-grey;
|
|
||||||
order: 3;
|
|
||||||
flex-basis: 100%;
|
|
||||||
|
|
||||||
.LP-Paragraph {
|
|
||||||
font-size: 22px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media(min-width: $-viewport-small) {
|
|
||||||
.LP-PlaceTeaser {
|
|
||||||
width: 280px;
|
|
||||||
|
|
||||||
&__Image {
|
|
||||||
width: 280px;
|
|
||||||
height: 165px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-PlaceTeaser--extended {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
width: auto;
|
|
||||||
padding-right: 25px;
|
|
||||||
height: 165px;
|
|
||||||
|
|
||||||
.LP-PlaceTeaser__Meta {
|
|
||||||
margin: 0;
|
|
||||||
padding-left: 25px;
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: unset;
|
|
||||||
|
|
||||||
.LP-Headline,
|
|
||||||
.LP-Paragraph {
|
|
||||||
font-size: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-PlaceTeaser__Info {
|
|
||||||
.LP-Headline {
|
|
||||||
font-size: 28px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-PlaceTeaser__Icons {
|
|
||||||
margin-top: auto;
|
|
||||||
|
|
||||||
ul {
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-Icon {
|
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-PlaceTeaser__Description {
|
|
||||||
display: block;
|
|
||||||
max-height: 55px;
|
|
||||||
overflow: hidden;
|
|
||||||
order: unset;
|
|
||||||
|
|
||||||
.LP-Paragraph {
|
|
||||||
font-size: unset;
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-line-clamp: 2;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.LP-PlaceTeaser__Image {
|
|
||||||
height: 165px;
|
|
||||||
width: 280px;
|
|
||||||
flex-shrink: 0;
|
|
||||||
flex-grow: 0;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -1,10 +1,12 @@
|
|||||||
<article class="LP-PlaceTeaser LP-PlaceTeaser{{modifier}}">
|
<article class="LP-PlaceTeaser LP-PlaceTeaser{{modifier}}">
|
||||||
<div class="LP-PlaceTeaser__Image">
|
<div class="LP-PlaceTeaser__Image">
|
||||||
<img class="LP-Image" src="{{image}}"/>
|
<img class="LP-Image" src="{{image}}"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="LP-PlaceTeaser__Meta">
|
<div class="LP-PlaceTeaser__Meta">
|
||||||
|
<span class="LP-PlaceTeaser__Title">
|
||||||
|
{{> @headline headline=title modifier='--teaser'}}
|
||||||
|
</span>
|
||||||
<div class="LP-PlaceTeaser__Info">
|
<div class="LP-PlaceTeaser__Info">
|
||||||
<span class="LP-PlaceTeaser__Title">{{> @headline headline=title modifier='--teaser'}}</span>
|
|
||||||
<span class="LP-PlaceTeaser__Detail" >{{> @paragraph text=location}}</span>
|
<span class="LP-PlaceTeaser__Detail" >{{> @paragraph text=location}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="LP-PlaceTeaser__Description">
|
<div class="LP-PlaceTeaser__Description">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//@import 'header/header';
|
@import 'header/header';
|
||||||
//@import 'placeGrid/placeGrid';
|
@import 'placeGrid/placeGrid';
|
||||||
//@import 'placeList/placeList';
|
@import 'placeList/placeList';
|
||||||
//@import 'linkList/linkList';
|
@import 'linkList/linkList';
|
||||||
//@import 'footer/footer';
|
//@import 'footer/footer';
|
||||||
//@import 'form/form';
|
//@import 'form/form';
|
||||||
//@import 'imageGrid/imageGrid';
|
//@import 'imageGrid/imageGrid';
|
||||||
|
@ -1,24 +1,28 @@
|
|||||||
.LP-LinkList{
|
.LP-LinkList{
|
||||||
@include RV-Grid;
|
@include RV-Grid;
|
||||||
|
@include RV-Grid--autoWidth;
|
||||||
|
--itemMinWidth: 350px;
|
||||||
|
--itemHeight: 3em;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
--icon-color: #{$-light-brown};
|
||||||
|
|
||||||
|
.RV-Iconized__Icon {
|
||||||
|
font-size: calc(var(--itemHeight) * .75);
|
||||||
|
line-height: 1em;
|
||||||
|
color: var(--icon-color);
|
||||||
|
transition: color .1s;
|
||||||
|
}
|
||||||
|
|
||||||
.LP-LinkList__Item{
|
.LP-LinkList__Item{
|
||||||
border-left: 1px solid $-light-brown;
|
border-left: 1px solid $-light-brown;
|
||||||
width: calc(100% - 1px);
|
transition: background .1s;
|
||||||
overflow: hidden;
|
height: 100%;
|
||||||
transition: background .3s, color .5s;
|
|
||||||
|
|
||||||
@include RV-Alignment--verticalCenter;
|
@include RV-Alignment--verticalCenter;
|
||||||
@include RV-Flex;
|
|
||||||
|
|
||||||
.LP-LinkList__ItemHover {
|
|
||||||
opacity: 0.5;
|
|
||||||
@include RV-Alignment--right;
|
|
||||||
@include RV-FlexRow__Item--fixedSize(min-content);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $-almost-white;
|
background-color: $-almost-white;
|
||||||
|
--icon-color: #{$-grey};
|
||||||
|
|
||||||
.LP-LinkList__ItemHover {
|
.LP-LinkList__ItemHover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@ -27,8 +31,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.LP-Link {
|
.LP-Link {
|
||||||
@include RV-FlexRow__Item;
|
@include RV-Flex__Item;
|
||||||
@include RV-Spacing__Inner--small;
|
padding-left: $-spacing-medium;
|
||||||
|
color: $-grey;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-LinkAdd{
|
.LP-LinkAdd{
|
||||||
|
@ -1,66 +1,87 @@
|
|||||||
<div class="LP-LinkList">
|
<ul class="LP-LinkList">
|
||||||
<ul class="LP-LinkList__Container">
|
<li class="LP-LinkList__Item"><a href="#" class="LP-Link">
|
||||||
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
|
<span class="LP-Text RV-Iconized">
|
||||||
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
|
<span class="RV-Iconized__Text">
|
||||||
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">TIM Online</span></a></li>
|
OSM
|
||||||
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
|
</span>
|
||||||
<li class="LP-LinkList__Item">
|
<span class="RV-Iconized__Icon RV-Iconized__Icon--left">
|
||||||
<a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a>
|
<i class="mdi mdi-map-outline"></i>
|
||||||
<a href="google.com" class="LP-Link LP-LinkList__ItemHover">
|
</span>
|
||||||
<div class="RV-Iconized__Container RV-Iconized__Container--small">
|
</span></a>
|
||||||
<svg class="RV-Iconized__Icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
|
</li>
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512.001 512.001"
|
<li class="LP-LinkList__Item"><a href="#" class="LP-Link">
|
||||||
style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">
|
<span class="LP-Text RV-Iconized">
|
||||||
<g>
|
<span class="RV-Iconized__Text">
|
||||||
<g>
|
TIM Online
|
||||||
<path d="M284.286,256.002L506.143,34.144c7.811-7.811,7.811-20.475,0-28.285c-7.811-7.81-20.475-7.811-28.285,0L256,227.717
|
</span>
|
||||||
L34.143,5.859c-7.811-7.811-20.475-7.811-28.285,0c-7.81,7.811-7.811,20.475,0,28.285l221.857,221.857L5.858,477.859
|
<span class="RV-Iconized__Icon RV-Iconized__Icon--left">
|
||||||
c-7.811,7.811-7.811,20.475,0,28.285c3.905,3.905,9.024,5.857,14.143,5.857c5.119,0,10.237-1.952,14.143-5.857L256,284.287
|
<i class="mdi mdi-map-outline"></i>
|
||||||
l221.857,221.857c3.905,3.905,9.024,5.857,14.143,5.857s10.237-1.952,14.143-5.857c7.811-7.811,7.811-20.475,0-28.285
|
</span>
|
||||||
L284.286,256.002z" />
|
</span></a>
|
||||||
</g>
|
</li>
|
||||||
</g>
|
<li class="LP-LinkList__Item"><a href="#" class="LP-Link">
|
||||||
</svg>
|
<span class="LP-Text RV-Iconized">
|
||||||
</div>
|
<span class="RV-Iconized__Text">
|
||||||
|
Google Maps
|
||||||
|
</span>
|
||||||
|
<span class="RV-Iconized__Icon RV-Iconized__Icon--left">
|
||||||
|
<i class="mdi mdi-map-outline"></i>
|
||||||
|
</span>
|
||||||
|
</span></a>
|
||||||
|
</li>
|
||||||
|
<li class="LP-LinkList__Item"><a href="#" class="LP-Link">
|
||||||
|
<span class="LP-Text RV-Iconized">
|
||||||
|
<span class="RV-Iconized__Text">
|
||||||
|
YouTube Link
|
||||||
|
</span>
|
||||||
|
<span class="RV-Iconized__Icon RV-Iconized__Icon--left">
|
||||||
|
<i class="mdi mdi-youtube"></i>
|
||||||
|
</span>
|
||||||
|
</span></a>
|
||||||
|
</li>
|
||||||
|
<li class="LP-LinkList__Item"><a href="#" class="LP-Link">
|
||||||
|
<span class="LP-Text RV-Iconized">
|
||||||
|
<span class="RV-Iconized__Text">
|
||||||
|
Twitter Link
|
||||||
|
</span>
|
||||||
|
<span class="RV-Iconized__Icon RV-Iconized__Icon--left">
|
||||||
|
<i class="mdi mdi-twitter"></i>
|
||||||
|
</span>
|
||||||
|
</span></a>
|
||||||
|
</li>
|
||||||
|
<li class="LP-LinkList__Item">
|
||||||
|
<input type="checkbox" id="checkbox123" class="LP-LinkAdd__Trigger" />
|
||||||
|
<label for="checkbox123" class="LP-LinkAdd__TriggerLabel">
|
||||||
|
<a href="#" class="LP-Link">
|
||||||
|
<span class="LP-Text RV-Iconized">
|
||||||
|
<span class="RV-Iconized__Text">
|
||||||
|
Link Hinzufügen
|
||||||
|
</span>
|
||||||
|
<span class="RV-Iconized__Icon RV-Iconized__Icon--left">
|
||||||
|
<i class="mdi mdi-plus"></i>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</label>
|
||||||
<li class="LP-LinkList__Item">
|
<div class="LP-LinkAdd">
|
||||||
<input type="checkbox" id="checkbox123" class="LP-LinkAdd__Trigger" />
|
<span class="LP-LinkAdd__Container">
|
||||||
<label for="checkbox123" class="LP-LinkAdd__TriggerLabel">
|
<form class="LP-Form LP-Form--inline">
|
||||||
<a class="LP-Link">
|
<fieldset class="LP-Form__Fieldset">
|
||||||
<div class="RV-Iconized__Container RV-Iconized__Container--small">
|
<legend class="LP-Form__Legend">Basic data</legend>
|
||||||
<svg class="RV-Iconized__Icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512"
|
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
||||||
xml:space="preserve">
|
<input type="submit" class="LP-Button" value="Submit" />
|
||||||
<g>
|
</div>
|
||||||
<path d="M492,236H276V20c0-11.046-8.954-20-20-20c-11.046,0-20,8.954-20,20v216H20c-11.046,0-20,8.954-20,20s8.954,20,20,20h216
|
<div class="LP-Form__Field LP-Form__Field--narrower">
|
||||||
v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512,244.954,503.046,236,492,236z" />
|
<div class="LP-Input">
|
||||||
</g>
|
<label for="input123" class="LP-Input__Label">Link URL</label>
|
||||||
</svg>
|
<input type="text" id="input123" class="LP-Input__Field" />
|
||||||
<span class="RV-Iconized__Text">Link hinzufügen</span>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</label>
|
|
||||||
<div class="LP-LinkAdd">
|
|
||||||
<span class="LP-LinkAdd__Container">
|
|
||||||
<form class="LP-Form LP-Form--inline">
|
|
||||||
<fieldset class="LP-Form__Fieldset">
|
|
||||||
<legend class="LP-Form__Legend">Basic data</legend>
|
|
||||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
|
||||||
<input type="submit" class="LP-Button" value="Submit" />
|
|
||||||
</div>
|
|
||||||
<div class="LP-Form__Field LP-Form__Field--narrower">
|
|
||||||
<div class="LP-Input">
|
|
||||||
<label for="input123" class="LP-Input__Label">Link URL</label>
|
|
||||||
<input type="text" id="input123" class="LP-Input__Field" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</div>
|
||||||
</form>
|
</fieldset>
|
||||||
</span>
|
</form>
|
||||||
</div>
|
</span>
|
||||||
</li>
|
</div>
|
||||||
</ul>
|
</li>
|
||||||
</div>
|
</ul>
|
@ -3,12 +3,17 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
display: flex;
|
@include RV-Grid;
|
||||||
flex-direction: row;
|
@include RV-Grid--autoWidth;
|
||||||
flex-wrap: wrap;
|
--itemHeight: 200px;
|
||||||
|
--itemMinWidth: 280px;
|
||||||
|
--gap: 15px;
|
||||||
|
padding: 15px;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
|
||||||
.LP-PlaceGrid__Item{
|
.LP-PlaceGrid__Item{
|
||||||
margin: 18px;
|
@include RV-Grid__Item;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-Link{
|
.LP-Link{
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
margin: 18px 0;
|
margin: 18px 0;
|
||||||
@media (max-width: $-viewport-medium) {
|
@media (max-width: $-viewport-medium) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: $-spacing-large;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
22215
public/main.css
22215
public/main.css
File diff suppressed because it is too large
Load Diff
1
public/main.css.map
Normal file
1
public/main.css.map
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user