Iconization in Linklist and inline form
This commit is contained in:
		@@ -2,23 +2,34 @@
 | 
			
		||||
	@include RV-FlexGrid(300px, 3em);
 | 
			
		||||
	@include RV-ElementList;
 | 
			
		||||
	@include RV-Spacing__Inner--small;
 | 
			
		||||
	align-items: center;
 | 
			
		||||
 | 
			
		||||
    .LP-LinkList__Item{
 | 
			
		||||
		border-left: 1px solid $-light-brown;
 | 
			
		||||
		width: calc(100% - 1px);
 | 
			
		||||
		overflow: hidden;
 | 
			
		||||
 | 
			
		||||
		@include RV-Alignment--verticalCenter;
 | 
			
		||||
		@include RV-FlexRow__Container;
 | 
			
		||||
 | 
			
		||||
		.LP-LinkList__ItemHover {
 | 
			
		||||
			opacity: 0.5;
 | 
			
		||||
			@include RV-Alignment--right;
 | 
			
		||||
			@include RV-FlexRow__Item--fixedSize(min-content);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		&:hover {
 | 
			
		||||
			background-color: $-almost-white;
 | 
			
		||||
 | 
			
		||||
			.LP-LinkList__ItemHover {
 | 
			
		||||
				opacity: 1;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	.LP-Link{
 | 
			
		||||
		height: 100%;
 | 
			
		||||
		@include RV-Alignment--verticalCenter;
 | 
			
		||||
 | 
			
		||||
		>* {
 | 
			
		||||
			@include RV-Spacing__Inner--small;
 | 
			
		||||
		}
 | 
			
		||||
	.LP-Link {
 | 
			
		||||
		@include RV-FlexRow__Item;
 | 
			
		||||
		@include RV-Spacing__Inner--small;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	.LP-LinkAdd{
 | 
			
		||||
@@ -27,7 +38,7 @@
 | 
			
		||||
 | 
			
		||||
	.LP-LinkAdd__Container{
 | 
			
		||||
		position: relative;
 | 
			
		||||
		top: -15px;
 | 
			
		||||
		top: -39px;
 | 
			
		||||
		
 | 
			
		||||
	
 | 
			
		||||
		.LP-Form__Fieldset{
 | 
			
		||||
@@ -52,6 +63,7 @@
 | 
			
		||||
 | 
			
		||||
.LP-LinkAdd__TriggerLabel{
 | 
			
		||||
	cursor: pointer;
 | 
			
		||||
	display: contents;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.LP-LinkAdd__Trigger:checked, .LP-LinkAdd__Trigger:checked + .LP-LinkAdd__TriggerLabel{
 | 
			
		||||
 
 | 
			
		||||
@@ -1,63 +1,66 @@
 | 
			
		||||
<div class="LP-LinkList">
 | 
			
		||||
    <ul class="LP-LinkList__Container">
 | 
			
		||||
        <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
 | 
			
		||||
        <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
 | 
			
		||||
        <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">TIM Online</span></a></li>
 | 
			
		||||
        <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
 | 
			
		||||
        <li class="LP-LinkList__Item">
 | 
			
		||||
            <div class="RV-FlexRow__Container">
 | 
			
		||||
                <a href="#" class="LP-Link RV-FlexRow__Item"><span class="LP-Text">OSM</span></a>
 | 
			
		||||
                <a href="#" class="LP-Link RV-FlexRow__Item RV-FlexRow__Item--fixedSize">
 | 
			
		||||
                    <div class="RV-Iconized__Container RV-Iconized__Container--small">
 | 
			
		||||
                        <svg class="RV-Iconized__Icon" version="1.1" id="Capa_1"
 | 
			
		||||
                            xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
 | 
			
		||||
                            y="0px" viewBox="0 0 512 512" xml:space="preserve">
 | 
			
		||||
                            <g>
 | 
			
		||||
                                <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
 | 
			
		||||
	<ul class="LP-LinkList__Container">
 | 
			
		||||
		<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
 | 
			
		||||
		<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
 | 
			
		||||
		<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">TIM Online</span></a></li>
 | 
			
		||||
		<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
 | 
			
		||||
		<li class="LP-LinkList__Item">
 | 
			
		||||
			<a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a>
 | 
			
		||||
			<a href="google.com" class="LP-Link LP-LinkList__ItemHover">
 | 
			
		||||
				<div class="RV-Iconized__Container RV-Iconized__Container--small">
 | 
			
		||||
					<svg class="RV-Iconized__Icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
 | 
			
		||||
						xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512.001 512.001"
 | 
			
		||||
						style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">
 | 
			
		||||
						<g>
 | 
			
		||||
							<g>
 | 
			
		||||
								<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
 | 
			
		||||
			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
 | 
			
		||||
			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
 | 
			
		||||
			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
 | 
			
		||||
			L284.286,256.002z" />
 | 
			
		||||
							</g>
 | 
			
		||||
						</g>
 | 
			
		||||
					</svg>
 | 
			
		||||
				</div>
 | 
			
		||||
			</a>
 | 
			
		||||
		</li>
 | 
			
		||||
		<li class="LP-LinkList__Item">
 | 
			
		||||
			<input type="checkbox" id="checkbox123" class="LP-LinkAdd__Trigger" />
 | 
			
		||||
			<label for="checkbox123" class="LP-LinkAdd__TriggerLabel">
 | 
			
		||||
				<a class="LP-Link">
 | 
			
		||||
					<div class="RV-Iconized__Container RV-Iconized__Container--small">
 | 
			
		||||
						<svg class="RV-Iconized__Icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
 | 
			
		||||
							xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512"
 | 
			
		||||
							xml:space="preserve">
 | 
			
		||||
							<g>
 | 
			
		||||
								<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
 | 
			
		||||
    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" />
 | 
			
		||||
                            </g>
 | 
			
		||||
                        </svg>
 | 
			
		||||
                    </div>
 | 
			
		||||
                </a>
 | 
			
		||||
            </div>
 | 
			
		||||
        </li>
 | 
			
		||||
        <li class="LP-LinkList__Item LP-LinkList__Item--add">
 | 
			
		||||
            <input type="checkbox" id="checkbox123" class="LP-LinkAdd__Trigger"/>
 | 
			
		||||
            <label for="checkbox123" class="LP-LinkAdd__TriggerLabel">
 | 
			
		||||
                <a  class="LP-Link">
 | 
			
		||||
                    <div class="RV-Iconized__Container RV-Iconized__Container--small">
 | 
			
		||||
                        <svg class="RV-Iconized__Icon" version="1.1" id="Capa_1"
 | 
			
		||||
                            xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
 | 
			
		||||
                            y="0px" viewBox="0 0 512 512" xml:space="preserve">
 | 
			
		||||
                            <g>
 | 
			
		||||
                                <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
 | 
			
		||||
    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" />
 | 
			
		||||
                            </g>
 | 
			
		||||
                        </svg>
 | 
			
		||||
                        <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>
 | 
			
		||||
                        </fieldset>
 | 
			
		||||
                    </form>
 | 
			
		||||
                </span>
 | 
			
		||||
            </div>
 | 
			
		||||
        </li>
 | 
			
		||||
    </ul>
 | 
			
		||||
							</g>
 | 
			
		||||
						</svg>
 | 
			
		||||
						<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>
 | 
			
		||||
						</fieldset>
 | 
			
		||||
					</form>
 | 
			
		||||
				</span>
 | 
			
		||||
			</div>
 | 
			
		||||
		</li>
 | 
			
		||||
	</ul>
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user