Converting Styles to Stylus

This commit is contained in:
2021-01-03 12:57:30 +01:00
parent 333aa9d1b5
commit 35a11bab6e
7 changed files with 184 additions and 114 deletions

View File

@@ -23,6 +23,92 @@
gap: 35px;
column-gap: 35px;
}
.RV-BoxShadow {
position: relative;
float: left;
background-color: #fff;
}
.RV-BoxShadow:before,
.RV-BoxShadow:after {
content: "";
position: absolute;
z-index: -2;
}
.RV-BoxShadow--simple {
box-shadow: 0 0 10px #6b5690;
}
.RV-BoxShadow--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;
}
.RV-BoxShadow--liftedCorners:before,
.RV-BoxShadow--liftedCorners: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);
}
.RV-BoxShadow--liftedCorners:after {
right: 10px;
left: auto;
transform: rotate(3deg);
}
.RV-Iconized {
margin: 0;
padding: 0;
top: 0;
bottom: 0;
left: 0;
right: 0;
border: none;
}
.RV-Iconized__Container {
position: relative;
}
.RV-Iconized__Container--small {
top: -0.25em;
}
.RV-Iconized__Container--medium {
top: -0.5em;
}
.RV-Iconized__Container--large {
top: -1.03073em;
}
.RV-Iconized__Container--huge {
top: -2.05em;
}
.RV-Iconized__Container--extraSmall .RV-Iconized__Icon {
width: 1em;
height: 1em;
position: relative;
top: 0.125em;
}
.RV-Iconized__Container--small .RV-Iconized__Icon {
width: 1.5em;
height: 1.5em;
position: relative;
top: 0.45em;
}
.RV-Iconized__Container--medium .RV-Iconized__Icon {
width: 2em;
height: 2em;
position: relative;
top: 0.625em;
}
.RV-Iconized__Container--large .RV-Iconized__Icon {
width: 3em;
height: 3em;
position: relative;
top: 1.15573em;
}
.RV-Iconized__Container--huge .RV-Iconized__Icon {
width: 5em;
height: 5em;
position: relative;
top: 2.175em;
}
.RV-Sizes--half {
flex-grow: 0;
flex-shrink: 0;