Fixing iconized

This commit is contained in:
reverend 2020-08-23 19:20:21 +02:00
parent 4cab1fa9ad
commit 9373d0d35c
2 changed files with 44 additions and 26 deletions

View File

@ -1,28 +1,46 @@
.RV-Iconized {
&__Icon {
&--small {
width: 1em;
height: 1em;
position: relative;
top: .125em;
}
&__Container {
position: relative;
&--medium {
width: 2em;
height: 2em;
position: relative;
top: .625em;
top: -.5em;
}
&--large {
width: 3em;
height: 3em;
position: relative;
top: 1.15573em;
top: -1.03073em;
}
&--huge {
width: 5em;
height: 5em;
position: relative;
top: 2.175em;
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;
}
}

View File

@ -1,12 +1,12 @@
<span class="RV-Iconized__Container">
<svg class="RV-Iconized__Icon RV-Iconized__Icon--small" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<span class="RV-Iconized__Container RV-Iconized__Container--small">
<svg class="RV-Iconized__Icon RV-Iconized__Icon" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0h24v24H0z" fill="none"></path>
<path d="M19 6.4L17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z"></path>
</svg>
<span class="RV-Iconized__Text">This is a text</span>
</span>
<br>
<span class="RV-Iconized__Container">
<span class="RV-Iconized__Container RV-Iconized__Container--medium">
<svg class="RV-Iconized__Icon RV-Iconized__Icon--medium" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0h24v24H0z" fill="none"></path>
<path d="M19 6.4L17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z"></path>
@ -14,8 +14,8 @@
<span class="RV-Iconized__Text">This is a text</span>
</span>
<br>
<span class="RV-Iconized__Container">
<svg class="RV-Iconized__Icon RV-Iconized__Icon--large" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<span class="RV-Iconized__Container RV-Iconized__Container--large">
<svg class="RV-Iconized__Icon RV-Iconized__Icon" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0h24v24H0z" fill="none"></path>
<path d="M19 6.4L17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z"></path>
</svg>
@ -25,8 +25,8 @@
<p style="font-size: 18px;">
You could see there was text coming out of her eyes, text coming out of her wherever. Trump Ipsum is calling for a total and complete shutdown of Muslim text entering your website. Does everybody know that pig named Lorem Ipsum? She's a disgusting pig, right? When other websites give you text, theyre not sending the best. Theyre not sending you, theyre sending words that have lots of problems and theyre bringing those problems with us. Theyre bringing mistakes. Theyre bringing misspellings. Theyre typists… And some, I assume, are good words. I'm speaking with myself, number one, because I have a very good brain and I've said a lot of things. Efficiently unleash cross-media information without cross-media value. Quickly maximize timely deliverables for real-time schemas. Dramatically maintain clicks-and-mortar solutions without functional solutions.
<a href="#">
<span class="RV-Iconized__Container">
<svg class="RV-Iconized__Icon--small" 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 482.136 482.135" style="enable-background:new 0 0 482.136 482.135;"
<span 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 482.136 482.135" style="enable-background:new 0 0 482.136 482.135;"
xml:space="preserve">
<g>
<path d="M455.482,198.184L326.829,326.832c-35.535,35.54-93.108,35.54-128.646,0l-42.881-42.886l42.881-42.876l42.884,42.876