File: //home/xfp2mtarcm67/www/wp-content/plugins/addons-for-elementor/assets/css/_lae-lib.scss
@import "bourbon";
@import "neat";
@import "grid-settings";
/// Function reference - http://sass-lang.com/documentation/Sass/Script/Functions.html#nth-instance_method
$text-color: #000000;
$primary-text: rgba($text-color, 0.87);
$secondary-text: rgba($text-color, 0.54);
$hint-text: rgba($text-color, 0.38);
$dark-bg-text-color: #ffffff;
$dark-bg-primary-text: rgba($dark-bg-text-color, 1);
$dark-bg-secondary-text: rgba($dark-bg-text-color, 0.7);
$dark-bg-meta-text: rgba($dark-bg-text-color, 0.5);
@mixin omega($query) {
@if length($query) == 1 {
@include nth-child($query);
} @else if length($query) == 2 {
@include nth-child(nth($query, 1));
} @else {
@include -neat-warn("Too many arguments passed to the omega() mixin.");
}
}
@mixin nth-child($query) {
@if type-of($query) == number and unit($query) == "n" {
&:nth-child(#{$query}+1) {
clear: left;
}
.rtl &:nth-child(#{$query}+1) {
clear: right;
}
}
}
@mixin lae-container() {
&::after {
clear: both;
content: "";
display: block;
}
}
@mixin lae-rtl-grid-column($columns: null, $grid: $neat-grid) {
@include grid-column($columns, $grid);
margin-left: 0;
}
// Custom Mixins for LiveMesh framework - utilizes other libs like Bourbon
$tablet_size: 767;
$mobile_size: 479;
@mixin center {
margin: 0 auto;
text-align: center;
}
@mixin clear() {
&:before, &:after {
content: "\0020";
display: block;
height: 0;
overflow: hidden;
}
&:after {
clear: both;
}
}
@mixin linkTextOffscreen() {
text-indent: -9999px;
overflow: hidden;
text-decoration: none;
display: block;
font-size: 0;
text-align: start;
}
@mixin hoverActiveFocus($property, $value) {
&:hover, &:active, &:focus {
#{$property}: $value;
}
}
@mixin respond-to-max($point) {
@media only screen and (max-width: $point+px) {
@content;
}
}
@mixin respond-between($point1, $point2) {
@media only screen and (min-width: $point1+px) and (max-width: $point2+px) {
@content;
}
}
@mixin respond-to-min($point) {
@media only screen and (min-width: $point+px) {
@content;
}
}
@mixin respond-to-retina() {
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
@content;
}
}
@mixin bottom-line($width: 35, $height: 2, $color: $theme_color) {
&:after {
width: $width + px;
height: $height + px;
background: $color;
display: block;
content: "";
@content;
}
}
@mixin lae-icon-font() {
font-family: 'lae-icomoon' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@mixin lae-heading-style() {
font-size: 18px;
line-height: 26px;
letter-spacing: 1px;
font-weight: bold;
color: #333;
text-transform: uppercase;
clear: none;
margin-top: 0;
margin-bottom: 10px;
}
@mixin lae-body-font() {
font-size: 15px;
line-height: 24px;
}
@mixin meta-font() {
font-style: italic;
color: #888;
}