/**
*
* This file only contains some basic style and useful classes for global use
*
*/
/* Font family classes */
.roboto_font {
font-family: 'Roboto', sans-serif;
}
.merriweather_font {
font-family: 'Merriweather', serif;
}
/* basic classes */
.transition {
-webkit-transition: all .2s ease-in !important;
-moz-transition: all .2s ease-in !important;
-o-transition: all .2s ease-in !important;
transition: all .2s ease-in !important;
}
.transition_linear {
-webkit-transition: all .2s linear !important;
-moz-transition: all .2s linear !important;
-o-transition: all .2s linear !important;
transition: all .2s linear !important;
}
.word_break {
word-break: break-word;
word-wrap: break-word;
}
.align_center {
display: -webkit-box;
display: -moz-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.flex_column {
display: -webkit-box;
display: -moz-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
min-height: 1px;
-ms-flex-direction: column;
flex-direction: column;
height: 100%;
}
.align_center.force {
display: -webkit-box !important;
display: -moz-box !important;
display: -webkit-flex !important;
display: -ms-flexbox !important;
display: flex !important;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.overflow_hidden {
overflow: hidden;
}
.align_top {
.align_center;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
}
.justify_center {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.justify_right {
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
}
.relative {
position: relative !important;
z-index: 1;
}
.p-relative{
position: relative !important;
}
.nopad-lr {
padding-left: 0 !important;
padding-right: 0 !important;
}
.nopad-l {
padding-left: 0 !important;
}
.nopad-r {
padding-right: 0 !important;
}
.nopad {
padding: 0 !important;
}
.nomargin {
margin: 0 !important;
}
.nomargin-l {
margin-left: 0 !important;
}
.nomargin-r {
margin-right: 0 !important;
}
.nomargin-t {
margin-top: 0 !important;
}
.nomargin-b {
margin-bottom: 0 !important;
}
.height {
height: 100% !important;
}
.c-pointer {
cursor: pointer;
}
.clear {
&:after {
clear: both;
content: "";
display: block;
}
}
.white_box_with_shadow_radius {
.border-radius(10px);
background-color: @white;
-webkit-box-shadow: 0 2px 6px 0 @ds-lightGray_7;
-moz-box-shadow: 0 2px 6px 0 @ds-lightGray_7;
box-shadow: 0 2px 6px 0 @ds-lightGray_7;
}
.white_box_with_shadow_radius.with_padding {
padding: 20px 15px;
}
/* color classes */
.fb, .fb.important, .facebook-color {
color: @facebook;
}
.reddit, .reddit.important {
color: @reddit;
}
.tw, .tw.important, .twitter-color {
color: @twitter;
}
.wp, .wp.important, .wordpress-color {
color: @wordpress;
}
.pin, .pin.important, .pinterest-color {
color: @pinterest;
}
.youtube, .youtube.important, .youtube-color {
color: @youtube;
}
.lin, .lin.important, .linkedin-color {
color: @linked;
}
.tum, .tum.important, .tumblr-color {
color: @tumblr;
}
.medium, .medium.important, .medium-color {
color: @medium;
}
.ins, .ins.important {
color: @instagram;
}
.google, .google.important {
color: @google;
}
.fb.important {
color: @facebook !important;
}
.reddit.important {
color: @reddit !important;
}
.tw.important {
color: @twitter !important;
}
.wp.important {
color: @wordpress !important;
}
.pin.important {
color: @pinterest !important;
}
.youtube.important {
color: @youtube !important;
}
.lin.important {
color: @linked !important;
}
.tum.important {
color: @tumblr;
}
.medium.important {
color: @medium !important;
}
.ins.important {
color: @instagram !important;
}
.google.important {
color: @google !important;
}
.google-b, .google-b.important {
color: @google-b !important;
}
.green {
color: @green;
}
.red {
color: @red;
}
.yellow {
color: yellow
}
.gray_light {
color: @ds-lightGray;
}
/* Social app background color classes */
.fb_bg {
background: @facebook !important;
}
.tw_bg {
background: @twitter !important;
}
.pin_bg {
background: @pinterest !important;
}
.lin_bg {
background: @linked !important;
}
.tum_bg {
background: @tumblr !important;
}
.wp_bg {
background: @wordpress !important;
}
.ins_gradient {
background: @instagram !important;
background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, @instagram 85%, #515ecf)
}
.ins_bg {
.ins_gradient !important;
}
.medium_bg {
background: @medium !important;
}
.google_bg {
background: @google !important;
}
.google_b_bg {
background: @google-b !important;
}
.row_10 {
display: flex;
flex-wrap: wrap;
margin-right: -10px;
margin-left: -10px;
}
.row_20 {
display: flex;
flex-wrap: wrap;
margin-right: -20px;
margin-left: -20px;
}
.font-weight-500{
font-weight: 500;
}
//Line limit
.line_limit(@limit:1) {
display: -webkit-box;
-webkit-line-clamp: @limit;
-webkit-box-orient: vertical;
overflow: hidden;
}