| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/sms4real.com/wwwroot/assets/sass/components/ |
Upload File : |
///
/// Elemental by Pixelarity
/// pixelarity.com @pixelarity
/// License: pixelarity.com/license
///
/* Wrapper */
.wrapper {
@include padding(5em, 5em);
position: relative;
&.style1 {
@include color(accent1);
}
&.style2 {
@include color(accent2);
}
&.style3 {
@include color(accent3);
}
&.spotlight {
@include vendor('display', 'flex');
@include vendor('align-items', 'stretch');
padding: 0;
> * {
margin: 0;
> * {
-ms-flex: 0 1 auto;
}
}
> :first-child {
width: 60%;
}
> :last-child {
width: 40%;
}
> .content {
@include vendor('display', 'flex');
@include vendor('align-items', 'center');
@include padding(5em, 5em);
}
> .grid-icons {
border-width: 0px;
border-left-width: 1px;
}
> .image {
border-radius: 0;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
display: block;
}
&.alt {
@include vendor('flex-direction', 'row-reverse');
}
}
@include breakpoint(large) {
@include padding(4em, 4em);
&.spotlight {
> .content {
@include padding(4em, 4em);
}
}
}
@include breakpoint(medium) {
&.spotlight {
@include vendor('flex-direction', 'column');
text-align: center;
> :first-child {
width: 100%;
}
> :last-child {
width: 100%;
}
> .grid-icons {
border-width: 0px;
border-top-width: 1px;
}
> .content {
& + .image {
@include vendor('order', '-1');
}
}
> .image {
height: 40em;
max-height: 50vh;
}
&.alt {
@include vendor('flex-direction', 'column');
}
}
}
@include breakpoint(small) {
@include padding(3em, 3em);
&.spotlight {
> .content {
@include padding(3em, 3em);
}
}
}
@include breakpoint(xsmall) {
@include padding(3em, 2em);
&.spotlight {
> .content {
@include padding(3em, 2em);
}
}
}
}