Using rcss
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
			
		||||
        border: none;
 | 
			
		||||
        border-bottom: 1px solid $-grey;
 | 
			
		||||
		padding: 8px 0;
 | 
			
		||||
        margin-bottom: $-margin-bottom;
 | 
			
		||||
		margin-bottom: $-margin-bottom;
 | 
			
		||||
 | 
			
		||||
        &:focus, &:active, &:invalid{
 | 
			
		||||
            margin-bottom: $-margin-bottom - 1px;
 | 
			
		||||
@@ -38,7 +38,9 @@
 | 
			
		||||
 | 
			
		||||
    .LP-Input__Label{
 | 
			
		||||
        font-family: $-primary-sans-serif-font;
 | 
			
		||||
        font-size: 16px;
 | 
			
		||||
		font-size: 16px;
 | 
			
		||||
		white-space: wrap;
 | 
			
		||||
		overflow: hidden;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .LP-Input__Message{
 | 
			
		||||
@@ -47,7 +49,8 @@
 | 
			
		||||
        font-size: 13px;
 | 
			
		||||
        padding: 3px;
 | 
			
		||||
        position: relative;
 | 
			
		||||
        top: -$-margin-bottom;
 | 
			
		||||
		top: -$-margin-bottom;
 | 
			
		||||
		overflow: hidden;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &--error{
 | 
			
		||||
 
 | 
			
		||||
@@ -1,134 +1,58 @@
 | 
			
		||||
.LP-Form{
 | 
			
		||||
    flex-direction: column;
 | 
			
		||||
    align-items: center;
 | 
			
		||||
 | 
			
		||||
	&--inline{
 | 
			
		||||
		padding: 0 10px;
 | 
			
		||||
		.LP-Form__Fieldset{
 | 
			
		||||
			.LP-Form__Composition{
 | 
			
		||||
				gap: 10px;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
    .LP-Form__Fieldset{
 | 
			
		||||
        border: none;
 | 
			
		||||
		padding: 0;
 | 
			
		||||
		margin: 0;
 | 
			
		||||
		@include RV-Reset;
 | 
			
		||||
        max-width: 1200px;
 | 
			
		||||
        min-width: $-viewport-medium;
 | 
			
		||||
 | 
			
		||||
        .LP-Form__Legend{
 | 
			
		||||
            margin: 0;
 | 
			
		||||
            padding: 0;
 | 
			
		||||
            font-family: $-primary-sans-serif-font;
 | 
			
		||||
            font-size: 21px;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	.LP-Form__Composition{
 | 
			
		||||
		display: flex;
 | 
			
		||||
		flex-direction: row;
 | 
			
		||||
		justify-content: space-between;
 | 
			
		||||
		gap: 30px;
 | 
			
		||||
 | 
			
		||||
		&--buttons{
 | 
			
		||||
			gap: 10px;
 | 
			
		||||
		}
 | 
			
		||||
		min-width: $-viewport-medium;
 | 
			
		||||
		
 | 
			
		||||
		.LP-Form__Field{
 | 
			
		||||
			flex: 3 2 100px;
 | 
			
		||||
			padding: 6px 0;
 | 
			
		||||
		@media(max-width: $-viewport-medium){
 | 
			
		||||
			min-width: unset;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
			&--wider{
 | 
			
		||||
				flex: 5 2;
 | 
			
		||||
			}
 | 
			
		||||
	.LP-Form__Legend{
 | 
			
		||||
		margin: 0;
 | 
			
		||||
		padding: 0;
 | 
			
		||||
		font-family: $-primary-sans-serif-font;
 | 
			
		||||
		font-size: 21px;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
			&--wide{
 | 
			
		||||
				flex: 4 2;
 | 
			
		||||
			}
 | 
			
		||||
	.LP-Form__Composition{
 | 
			
		||||
		@include RV-FlexRow__Container;
 | 
			
		||||
		@include RV-Spacing__Inner--small('');
 | 
			
		||||
 | 
			
		||||
			&--narrow{
 | 
			
		||||
				flex: 2 1;
 | 
			
		||||
		&--breakable {
 | 
			
		||||
			@media(max-width: $-viewport-small){
 | 
			
		||||
				@include RV-FlexRow__Container--multiRow;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
			&--narrower{
 | 
			
		||||
				flex: 1 2;
 | 
			
		||||
			}
 | 
			
		||||
			
 | 
			
		||||
			&--static{
 | 
			
		||||
				flex: 0 0;
 | 
			
		||||
			}
 | 
			
		||||
		@media(max-width: $-viewport-extra-small){
 | 
			
		||||
			@include RV-FlexRow__Container--multiRow;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		&--buttons{
 | 
			
		||||
			justify-content: flex-end;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		.LP-Form__Button{
 | 
			
		||||
			flex-grow: 0;
 | 
			
		||||
			padding-left: 0;
 | 
			
		||||
			min-width: 130px;
 | 
			
		||||
 | 
			
		||||
			.LP-Link{
 | 
			
		||||
				display:contents;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		.LP-Form__InfoText{
 | 
			
		||||
			.LP-Paragraph{
 | 
			
		||||
			font-family: $-primary-sans-serif-font;
 | 
			
		||||
			color: $-grey;
 | 
			
		||||
			}
 | 
			
		||||
			@include RV-Spacing__Inner--small;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media(max-width: $-viewport-medium){
 | 
			
		||||
.LP-Form{
 | 
			
		||||
    .LP-Form__Fieldset{
 | 
			
		||||
        min-width: unset;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
	.LP-Form__Field{
 | 
			
		||||
		@include RV-FlexRow__Item;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@media(max-width: $-viewport-small){
 | 
			
		||||
    .LP-Form{
 | 
			
		||||
        .LP-Form__Fieldset{
 | 
			
		||||
            .LP-Form__Composition--breakable{
 | 
			
		||||
                display: flex;
 | 
			
		||||
                flex-direction: column;
 | 
			
		||||
                justify-content: space-between;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
	.LP-Form__Button{
 | 
			
		||||
		@include RV-FlexRow__Item--fixedSize(130px);
 | 
			
		||||
 | 
			
		||||
@media(max-width: $-viewport-extra-small){
 | 
			
		||||
    .LP-Form :not(.LP-Form--inline){
 | 
			
		||||
        .LP-Form__Fieldset{
 | 
			
		||||
            .LP-Form__Composition{
 | 
			
		||||
                display: flex;
 | 
			
		||||
                flex-direction: column;
 | 
			
		||||
                justify-content: space-between;
 | 
			
		||||
 | 
			
		||||
                .LP-Form__Field{
 | 
			
		||||
                    
 | 
			
		||||
                    &:not(.LP-Form__Button){
 | 
			
		||||
                        flex: 3 1 100px;
 | 
			
		||||
                        padding: 12px 15px;
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                
 | 
			
		||||
                .LP-Form__Button{
 | 
			
		||||
                    padding: 0 15px;
 | 
			
		||||
                }
 | 
			
		||||
                
 | 
			
		||||
                &--buttons{
 | 
			
		||||
                    justify-content: flex-end;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
		@media(max-width: $-viewport-extra-small) {
 | 
			
		||||
			@include RV-FlexRow__Item--fixedSize(100%);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	.LP-Form__InfoText{
 | 
			
		||||
		.LP-Paragraph{
 | 
			
		||||
		font-family: $-primary-sans-serif-font;
 | 
			
		||||
		color: $-grey;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
@@ -30,8 +30,8 @@
 | 
			
		||||
                <input type="text" id="input123" class="LP-Input__Field"/>
 | 
			
		||||
                <span class="LP-Input__Message">We won't send any stalkers, promise</span>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="LP-Form__Field LP-Form__Field--narrow LP-Input">
 | 
			
		||||
                <label for="input123" class="LP-Input__Label">House no</label>
 | 
			
		||||
            <div class="LP-Form__Field LP-Form__Field--narrower LP-Input">
 | 
			
		||||
                <label for="input123" class="LP-Input__Label">No.</label>
 | 
			
		||||
                <input type="text" id="input123" class="LP-Input__Field"/>
 | 
			
		||||
                <span class="LP-Input__Message">Field is required</span>
 | 
			
		||||
            </div>
 | 
			
		||||
@@ -45,7 +45,7 @@
 | 
			
		||||
 | 
			
		||||
        <div class="LP-Form__Composition">
 | 
			
		||||
            <div class="LP-Form__Field LP-Form__Field--narrow LP-Input">
 | 
			
		||||
                <label for="input123" class="LP-Input__Label">Postal Code</label>
 | 
			
		||||
                <label for="input123" class="LP-Input__Label">ZIP</label>
 | 
			
		||||
                <input type="text" id="input123" class="LP-Input__Field"/>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="LP-Form__Field LP-Form__Field--wide LP-Input">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,42 +1,9 @@
 | 
			
		||||
.LP-ImageGrid{
 | 
			
		||||
	@include RV-FlexGrid(290px, 200px);
 | 
			
		||||
	@include RV-ElementList;
 | 
			
		||||
	@include RV-Spacing__Inner--small;
 | 
			
		||||
 | 
			
		||||
    .LP-ImageGrid__List{
 | 
			
		||||
        list-style-type: none;
 | 
			
		||||
        display: grid;
 | 
			
		||||
        grid-template-columns: repeat(auto-fit, 300px);
 | 
			
		||||
        align-content: space-around;
 | 
			
		||||
        justify-content: center;
 | 
			
		||||
        margin: 0px;
 | 
			
		||||
        padding: 0px;
 | 
			
		||||
    .LP-ImageGrid__Item {
 | 
			
		||||
		@include RV-ContentCrop;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .LP-ImageGrid__Item{
 | 
			
		||||
        margin-top:10px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .LP-Link{
 | 
			
		||||
        overflow: hidden;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .LP-Image {
 | 
			
		||||
        box-shadow: 0 0 5px $-grey;
 | 
			
		||||
        height: 200px;
 | 
			
		||||
        width: 290px;
 | 
			
		||||
        object-fit: cover;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media(max-width: $-viewport-small){
 | 
			
		||||
    .LP-ImageGrid{
 | 
			
		||||
        .LP-ImageGrid__List{
 | 
			
		||||
            grid-template-columns: 1fr;
 | 
			
		||||
 | 
			
		||||
            .LP-Image{
 | 
			
		||||
                box-shadow: 0 0 5px $-grey;
 | 
			
		||||
                height: auto;
 | 
			
		||||
                width: 100%;
 | 
			
		||||
                object-fit: cover;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
 | 
			
		||||
<div class="LP-ImageGrid">
 | 
			
		||||
    <ul class="LP-ImageGrid__List">
 | 
			
		||||
    <ul class="LP-ImageGrid__Container">
 | 
			
		||||
        {{#each images}}
 | 
			
		||||
        <li class="LP-ImageGrid__Item">
 | 
			
		||||
            <a href="#" class="LP-Link"><img  class="LP-Image" src="{{this}}"></a>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,89 +1,23 @@
 | 
			
		||||
.LP-LinkList__List{
 | 
			
		||||
    list-style-type: none;
 | 
			
		||||
    display: grid;
 | 
			
		||||
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 | 
			
		||||
    margin: 0;
 | 
			
		||||
    padding: 0;
 | 
			
		||||
.LP-LinkList{
 | 
			
		||||
	@include RV-FlexGrid(300px, 3em);
 | 
			
		||||
	@include RV-ElementList;
 | 
			
		||||
	@include RV-Spacing__Inner--small;
 | 
			
		||||
 | 
			
		||||
    .LP-LinkList__Item{
 | 
			
		||||
        border-left: 1px solid $-light-brown;
 | 
			
		||||
        width: calc(100% - 1px);
 | 
			
		||||
        margin-top: 12px;
 | 
			
		||||
        position: relative;
 | 
			
		||||
		border-left: 1px solid $-light-brown;
 | 
			
		||||
		width: calc(100% - 1px);
 | 
			
		||||
		overflow: hidden;
 | 
			
		||||
		&:hover {
 | 
			
		||||
			background-color: $-almost-white;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	.LP-Link{
 | 
			
		||||
		height: 100%;
 | 
			
		||||
		@include RV-Alignment--verticalCenter;
 | 
			
		||||
 | 
			
		||||
        &--add{
 | 
			
		||||
            .LP-LinkList__AddTrigger{
 | 
			
		||||
				display: none;
 | 
			
		||||
				&:checked{
 | 
			
		||||
					& ~ .LP-LinkList__AddPlaceHolder{
 | 
			
		||||
						visibility: hidden;
 | 
			
		||||
					}
 | 
			
		||||
					& ~ .LP-LinkList__Add{
 | 
			
		||||
					display: block;
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            .LP-LinkList__Add{
 | 
			
		||||
                position: absolute;
 | 
			
		||||
                top: 3px;
 | 
			
		||||
				display: none;
 | 
			
		||||
				width: 100%;
 | 
			
		||||
 | 
			
		||||
                .LP-Form__Fieldset{
 | 
			
		||||
                    min-width:unset;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                .LP-Form{
 | 
			
		||||
                    display: block;
 | 
			
		||||
                    min-width: 0px;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .LP-Link{
 | 
			
		||||
            $-link-padding: 1em;
 | 
			
		||||
            padding: $-link-padding 0 $-link-padding $-link-padding;
 | 
			
		||||
            width: calc(100% - 1em);
 | 
			
		||||
            display: block;
 | 
			
		||||
            color: $-grey;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            &--iconized{
 | 
			
		||||
                padding-top: 0;
 | 
			
		||||
                padding-bottom: 1.1em;
 | 
			
		||||
 | 
			
		||||
                &:hover{
 | 
			
		||||
                    background-color: #ccc !important;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                .LP-Text{
 | 
			
		||||
                    padding-top: .1em;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            &:hover{
 | 
			
		||||
                background-color: $-almost-white;
 | 
			
		||||
                color: $-wine-red;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            .LP-Text{
 | 
			
		||||
                color: inherit;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.LP-Link__Icon{
 | 
			
		||||
    width: 2em;
 | 
			
		||||
    height: 2em;
 | 
			
		||||
    fill: $-wine-red;
 | 
			
		||||
    line-height: 5em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.LP-LinkList__Item .LP-Link__Icon{
 | 
			
		||||
    position: relative;
 | 
			
		||||
    top: .7em;
 | 
			
		||||
    margin-right: .6em;
 | 
			
		||||
}
 | 
			
		||||
		>* {
 | 
			
		||||
			@include RV-Spacing__Inner--small;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
@@ -1,43 +1,24 @@
 | 
			
		||||
 | 
			
		||||
<div class="LP-LinkList">
 | 
			
		||||
    <ul class="LP-LinkList__List">
 | 
			
		||||
        <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></li>
 | 
			
		||||
        <li class="LP-LinkList__Item LP-LinkList__Item--add">
 | 
			
		||||
            <input type="checkbox" id="wurstwurst" class="LP-LinkList__AddTrigger"/>
 | 
			
		||||
            <label for="wurstwurst" class="LP-LinkList__AddPlaceHolder">
 | 
			
		||||
				<span class="LP-Link LP-Link--iconized">
 | 
			
		||||
					<div class="LP-Link__IconWrapper">
 | 
			
		||||
					<svg class="LP-Link__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>
 | 
			
		||||
					<span class="LP-Text">Link hinzufügen</span>
 | 
			
		||||
				</span>
 | 
			
		||||
            </label>
 | 
			
		||||
			<span class="LP-LinkList__Add">
 | 
			
		||||
				<form class="LP-Form LP-Form--inline">
 | 
			
		||||
					<fieldset class="LP-Form__Fieldset">
 | 
			
		||||
						<div class="LP-Form__Composition LP-Form__Composition">
 | 
			
		||||
							<div class="LP-Form__Field LP-Form__Field--static LP-Input">
 | 
			
		||||
								<button class="LP-Button">Add</button>
 | 
			
		||||
							</div>
 | 
			
		||||
							<div class="LP-Form__Field LP-Form__Field--wide LP-Input">
 | 
			
		||||
								<input class="LP-Input__Field" type="url"/>
 | 
			
		||||
							</div>
 | 
			
		||||
							</div>
 | 
			
		||||
						</div>
 | 
			
		||||
					</fieldset>
 | 
			
		||||
				</form>
 | 
			
		||||
			</span>
 | 
			
		||||
        </li>
 | 
			
		||||
    </ul>
 | 
			
		||||
	<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">
 | 
			
		||||
 | 
			
		||||
					<div class="RV-Iconized__Container RV-Iconized__Container--medium">
 | 
			
		||||
						<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>
 | 
			
		||||
		</li>
 | 
			
		||||
	</ul>
 | 
			
		||||
</div>
 | 
			
		||||
@@ -1,3 +1,5 @@
 | 
			
		||||
@import './rcss.bundled.scss';
 | 
			
		||||
 | 
			
		||||
@font-face {
 | 
			
		||||
    font-family: Crimson;
 | 
			
		||||
    src:
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										562
									
								
								components/rcss.bundled.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										562
									
								
								components/rcss.bundled.scss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,562 @@
 | 
			
		||||
// Padding and Margin sizes
 | 
			
		||||
 | 
			
		||||
$-spacing-small: 10px;
 | 
			
		||||
$-spacing-medium: 25px;
 | 
			
		||||
$-spacing-large: 35px;
 | 
			
		||||
 | 
			
		||||
.pink {
 | 
			
		||||
	background-color: pink;
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-Reset {
 | 
			
		||||
	margin: 0;
 | 
			
		||||
	padding: 0;
 | 
			
		||||
	top: 0;
 | 
			
		||||
	bottom: 0;
 | 
			
		||||
	left: 0;
 | 
			
		||||
	right: 0;
 | 
			
		||||
	border: none;
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-Alignment--top {
 | 
			
		||||
	display: grid;
 | 
			
		||||
	align-content: start;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Alignment--bottom {
 | 
			
		||||
	display: grid;
 | 
			
		||||
	align-content: end;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Alignment--left {
 | 
			
		||||
	display: grid;
 | 
			
		||||
	justify-content: start;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Alignment--right {
 | 
			
		||||
	display: grid;
 | 
			
		||||
	justify-content: end;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Alignment--horizontalCenter {
 | 
			
		||||
	display: grid;
 | 
			
		||||
	justify-content: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Alignment--verticalCenter {
 | 
			
		||||
	display: grid;
 | 
			
		||||
	align-content: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Alignment--center {
 | 
			
		||||
	@include RV-Alignment--horizontalCenter;
 | 
			
		||||
	@include RV-Alignment--verticalCenter;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Alignment__Container {
 | 
			
		||||
	display: grid;
 | 
			
		||||
 | 
			
		||||
	&--top {
 | 
			
		||||
		@include RV-Alignment--top;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--bottom {
 | 
			
		||||
		@include RV-Alignment--bottom;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--left {
 | 
			
		||||
		@include RV-Alignment--left;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--right {
 | 
			
		||||
		@include RV-Alignment--right;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--horizontalCenter {
 | 
			
		||||
		@include RV-Alignment--horizontalCenter;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--verticalCenter {
 | 
			
		||||
		@include RV-Alignment--verticalCenter;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--center {
 | 
			
		||||
		@include RV-Alignment--center;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Alignment {
 | 
			
		||||
	&__Container {
 | 
			
		||||
		@include RV-Alignment__Container;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-Alignment {
 | 
			
		||||
	@include RV-Alignment;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow__Container--column {
 | 
			
		||||
	display: flex;
 | 
			
		||||
	flex-direction: column;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow__Container--multiRow {
 | 
			
		||||
	flex-wrap: wrap;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow__Container {
 | 
			
		||||
	display: flex;
 | 
			
		||||
	flex-direction: row;
 | 
			
		||||
	justify-content: space-around;
 | 
			
		||||
 | 
			
		||||
	&--multiRow {
 | 
			
		||||
		@include RV-FlexRow__Container--multiRow;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--column {
 | 
			
		||||
		@include RV-FlexRow__Container--column;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow__Item--normal {
 | 
			
		||||
	flex-grow: 3;
 | 
			
		||||
	flex-shrink: 3;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow__Item--narrower {
 | 
			
		||||
	flex-grow: 1;
 | 
			
		||||
	flex-shrink: 5;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow__Item--narrow {
 | 
			
		||||
	flex-grow: 2;
 | 
			
		||||
	flex-shrink: 4;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow__Item--wide {
 | 
			
		||||
	flex-grow: 4;
 | 
			
		||||
	flex-shrink: 2;
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-FlexRow__Item--wider {
 | 
			
		||||
	flex-grow: 5;
 | 
			
		||||
	flex-shrink: 1;
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-FlexRow__Item--fixedSize($-width: 100px) {
 | 
			
		||||
	flex-grow: 0;
 | 
			
		||||
	flex-shrink: 0;
 | 
			
		||||
	width: min-content;
 | 
			
		||||
	flex-basis: $-width;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow__Item {
 | 
			
		||||
	@include RV-Alignment;
 | 
			
		||||
 | 
			
		||||
	min-width: 0;
 | 
			
		||||
	width: 100%;
 | 
			
		||||
 | 
			
		||||
	&,&--normal {
 | 
			
		||||
		@include RV-FlexRow__Item--normal;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--narrower {
 | 
			
		||||
		@include RV-FlexRow__Item--narrower;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--narrow {
 | 
			
		||||
		@include RV-FlexRow__Item--narrow;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--wide {
 | 
			
		||||
		@include RV-FlexRow__Item--wide;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--wider {
 | 
			
		||||
		@include RV-FlexRow__Item--wider;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--fixedSize {
 | 
			
		||||
		@include RV-FlexRow__Item--fixedSize;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexRow {
 | 
			
		||||
	&__Container {
 | 
			
		||||
		@include RV-FlexRow__Container;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Item {
 | 
			
		||||
		@include RV-FlexRow__Item;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-FlexRow{
 | 
			
		||||
	@include RV-FlexRow;
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-FlexGrid__Container($-item_width: 300px, $-item_height: 300px) {
 | 
			
		||||
	display: grid;
 | 
			
		||||
	grid-template-columns: repeat(auto-fill, minmax($-item_width, 1fr));
 | 
			
		||||
	grid-template-rows: repeat(auto-fill, minmax($-item_height, 1fr));
 | 
			
		||||
	grid-auto-rows: minmax($-item_height, 1fr);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FlexGrid($-item_width: 300px, $-item_height: 300px) {
 | 
			
		||||
	&__Container {
 | 
			
		||||
		@include RV-FlexGrid__Container($-item_width, $-item_height);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Item {
 | 
			
		||||
		@include RV-Alignment;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-FlexGrid{
 | 
			
		||||
	@include RV-FlexGrid;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-ContentCrop--bottom {
 | 
			
		||||
	img {
 | 
			
		||||
		object-position: botom;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-ContentCrop--top {
 | 
			
		||||
	img {
 | 
			
		||||
		object-position: top;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-ContentCrop--right {
 | 
			
		||||
	img {
 | 
			
		||||
		object-position: right;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-ContentCrop--left {
 | 
			
		||||
	img {
 | 
			
		||||
		object-position: left;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-ContentCrop--center {
 | 
			
		||||
	img {
 | 
			
		||||
		object-position: center;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-ContentCrop{
 | 
			
		||||
	&,* {
 | 
			
		||||
		overflow: hidden;
 | 
			
		||||
		word-break: break-all;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	img {
 | 
			
		||||
		width: 100%;
 | 
			
		||||
		height: 100%;
 | 
			
		||||
		object-fit: cover;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--left {
 | 
			
		||||
		@include RV-ContentCrop--left;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--center {
 | 
			
		||||
		@include RV-ContentCrop--center;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--top {
 | 
			
		||||
		@include RV-ContentCrop--top;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--bottom {
 | 
			
		||||
		@include RV-ContentCrop--bottom;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&--center {
 | 
			
		||||
		@include RV-ContentCrop--center;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-ContentCrop__Container {
 | 
			
		||||
	@include RV-ContentCrop;
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-Fan--horizontal($-base_height, $-base_width, $-suffix: '') {
 | 
			
		||||
	
 | 
			
		||||
	&__Container#{$-suffix} {
 | 
			
		||||
		flex-direction: row;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Container#{$-suffix} &__Surface {
 | 
			
		||||
		min-width: $-base_width;
 | 
			
		||||
		height: $-base_height;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Fan--vertical($-base_height, $-base_width, $-suffix: '') {
 | 
			
		||||
	&__Container#{$-suffix} {
 | 
			
		||||
		flex-direction: column;
 | 
			
		||||
		width:max-content;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Container#{$-suffix} &__Surface {
 | 
			
		||||
		width: $-base_width;
 | 
			
		||||
		min-height: $-base_height;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Fan--auto($-base_height, $-base_width, $-suffix: '') {
 | 
			
		||||
 | 
			
		||||
	&__Container#{$-suffix} {
 | 
			
		||||
		flex-flow: row wrap;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Container#{$-suffix} &__Surface {
 | 
			
		||||
		width: calc(100% - #{$-base_width});
 | 
			
		||||
		min-width: $-base-width;
 | 
			
		||||
		height: $-base_height;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Fan--fullWidth($-base_height, $-base_width, $-suffix: '') {
 | 
			
		||||
	&__Container#{$-suffix} &__Base, &__Container#{$-suffix} &__Surface {
 | 
			
		||||
		flex-grow: 1;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Fan ($-base_height, $-base_width) {
 | 
			
		||||
	@include RV-Fan--vertical($-base_height, $-base_width, '--vertical');
 | 
			
		||||
	@include RV-Fan--horizontal($-base_height, $-base_width, '--horizontal');
 | 
			
		||||
	@include RV-Fan--auto($-base_height, $-base_width, '--auto');
 | 
			
		||||
	@include RV-Fan--fullWidth($-base_height, $-base_width, '--fullWidth');
 | 
			
		||||
 | 
			
		||||
	&__Container {
 | 
			
		||||
		display: flex;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Base {
 | 
			
		||||
		height: $-base_height;
 | 
			
		||||
		width: $-base_width;
 | 
			
		||||
		flex: 0 0 auto;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Surface {
 | 
			
		||||
		@include RV-ContentCrop;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-Fan {
 | 
			
		||||
	@include RV-Fan(280px, 320px);
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-FullWidthContent__Container {
 | 
			
		||||
	width: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FullWidthContent__Item {
 | 
			
		||||
	width: 100%;
 | 
			
		||||
        @include RV-ContentCrop;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-FullWidthContent {
 | 
			
		||||
    &__Container {
 | 
			
		||||
        @include RV-FullWidthContent__Container;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &__Item {
 | 
			
		||||
		@include RV-FullWidthContent__Item;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-FullWidthContent {
 | 
			
		||||
    @include RV-FullWidthContent;
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-BoxShadow($color) {
 | 
			
		||||
 | 
			
		||||
    position:relative;
 | 
			
		||||
    float:left;
 | 
			
		||||
    width:40%;
 | 
			
		||||
    margin:2em 10px 4em; 
 | 
			
		||||
    background:#fff;
 | 
			
		||||
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
 | 
			
		||||
 | 
			
		||||
    &:before, &:after {
 | 
			
		||||
        content:"";
 | 
			
		||||
        position:absolute; 
 | 
			
		||||
        z-index:-2;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &--simple {
 | 
			
		||||
        box-shadow: 0 0 20px $color;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &--raised {
 | 
			
		||||
        &:after {
 | 
			
		||||
            box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &--liftedCorners {
 | 
			
		||||
          
 | 
			
		||||
        &:before, &:after {
 | 
			
		||||
            bottom:15px;
 | 
			
		||||
            left:10px;
 | 
			
		||||
            width:50%;
 | 
			
		||||
            height:20%;
 | 
			
		||||
            max-width:300px;
 | 
			
		||||
            box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
 | 
			
		||||
            transform:rotate(-3deg);
 | 
			
		||||
        }
 | 
			
		||||
          
 | 
			
		||||
        &:after{
 | 
			
		||||
            right:10px; 
 | 
			
		||||
            left:auto;
 | 
			
		||||
            transform:rotate(3deg);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-BoxShadow {
 | 
			
		||||
    @include RV-BoxShadow(#6b5690);
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-ElementList {
 | 
			
		||||
    &__Container {
 | 
			
		||||
        list-style-type: none;
 | 
			
		||||
        @include RV-Reset;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &__Item {
 | 
			
		||||
        @include RV-Reset;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-ElementList {
 | 
			
		||||
    @include RV-ElementList;
 | 
			
		||||
}
 | 
			
		||||
@mixin RV-Spacing__Outer--small {
 | 
			
		||||
    margin: $-spacing-small;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Spacing__Outer--medium {
 | 
			
		||||
    margin: $-spacing-medium;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Spacing__Outer--large {
 | 
			
		||||
    margin: $-spacing-large;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@mixin RV-Spacing__Inner--small($-container-suffix: '__Container')  {
 | 
			
		||||
	padding: $-spacing-small;
 | 
			
		||||
	&#{$-container-suffix} {
 | 
			
		||||
		gap: $-spacing-small;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Spacing__Inner--medium($-container-suffix: '__Container')  {
 | 
			
		||||
    padding: $-spacing-medium;
 | 
			
		||||
    &#{$-container-suffix} {
 | 
			
		||||
		gap: $-spacing-medium;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Spacing__Inner--large($-container-suffix: '__Container') {
 | 
			
		||||
    padding: $-spacing-large;
 | 
			
		||||
    &#{$-container-suffix} {
 | 
			
		||||
		gap: $-spacing-large;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-Spacing {
 | 
			
		||||
    &__Outer{
 | 
			
		||||
        &--small {
 | 
			
		||||
            @include RV-Spacing__Outer--small;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &--medium {
 | 
			
		||||
            @include RV-Spacing__Outer--medium;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &--large {
 | 
			
		||||
            @include RV-Spacing__Outer--large;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &__Inner{
 | 
			
		||||
        &--small {
 | 
			
		||||
            @include RV-Spacing__Inner--small('');
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &--medium {
 | 
			
		||||
            @include RV-Spacing__Inner--medium('');
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &--large {
 | 
			
		||||
            @include RV-Spacing__Inner--large('');
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-Spacing {
 | 
			
		||||
    @include RV-Spacing;
 | 
			
		||||
}
 | 
			
		||||
.RV-Iconized {
 | 
			
		||||
	&__Container {
 | 
			
		||||
		position: relative;
 | 
			
		||||
 | 
			
		||||
		&--medium {
 | 
			
		||||
			top: -.5em;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		&--large {
 | 
			
		||||
			top: -1.03073em;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		&--huge {
 | 
			
		||||
			top: -2.05em;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Icon {
 | 
			
		||||
		@include RV-Reset;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	&__Container--small &__Icon{
 | 
			
		||||
		width: 1em;
 | 
			
		||||
		height: 1em;
 | 
			
		||||
		position: relative;
 | 
			
		||||
		top: .125em;
 | 
			
		||||
	}
 | 
			
		||||
	&__Container--medium &__Icon{
 | 
			
		||||
		width: 2em;
 | 
			
		||||
		height: 2em;
 | 
			
		||||
		position: relative;
 | 
			
		||||
		top: .625em;
 | 
			
		||||
	}
 | 
			
		||||
	&__Container--large &__Icon{
 | 
			
		||||
		width: 3em;
 | 
			
		||||
		height: 3em;
 | 
			
		||||
		position: relative;
 | 
			
		||||
		top: 1.15573em;
 | 
			
		||||
	}
 | 
			
		||||
	&__Container--huge &__Icon{
 | 
			
		||||
		width: 5em;
 | 
			
		||||
		height: 5em;
 | 
			
		||||
		position: relative;
 | 
			
		||||
		top: 2.175em;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin RV-ImageGrid {
 | 
			
		||||
    @include RV-ElementList;
 | 
			
		||||
    @include RV-FlexGrid;
 | 
			
		||||
 | 
			
		||||
    &__Container {
 | 
			
		||||
        @include RV-Spacing__Inner--medium;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &__Item {
 | 
			
		||||
        @include RV-ContentCrop;
 | 
			
		||||
        @include RV-ContentCrop--center;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.RV-ImageGrid {
 | 
			
		||||
    @include RV-ImageGrid;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user