scss-library/components/02_Styles/iconized/_iconized.scss

46 lines
600 B
SCSS
Raw Normal View History

2020-08-23 14:36:48 +02:00
.RV-Iconized {
2020-08-23 19:20:21 +02:00
&__Container {
position: relative;
2020-08-23 14:36:48 +02:00
&--medium {
2020-08-23 19:20:21 +02:00
top: -.5em;
2020-08-23 14:36:48 +02:00
}
2020-08-23 19:20:21 +02:00
2020-08-23 14:36:48 +02:00
&--large {
2020-08-23 19:20:21 +02:00
top: -1.03073em;
2020-08-23 14:36:48 +02:00
}
2020-08-23 19:20:21 +02:00
2020-08-23 14:36:48 +02:00
&--huge {
2020-08-23 19:20:21 +02:00
top: -2.05em;
2020-08-23 14:36:48 +02:00
}
}
2020-08-23 19:20:21 +02:00
&__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;
}
2020-08-23 14:36:48 +02:00
}