[ADD] theme 8.0

This commit is contained in:
Design
2021-05-11 15:41:12 +02:00
committed by Jeremy Kersten
commit 51c615247e
3583 changed files with 121845 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
@color-alpha: @brand-primary;
@color-beta: @brand-success;
@color-gamma: @brand-info;
@color-delta: @brand-warning;
@color-epsilon: @brand-danger;
@bg-alpha: @color-alpha;
@bg-beta: @color-beta;
@bg-gamma: @color-gamma;
@bg-delta: @color-delta;
@bg-epsilon: @color-epsilon;
@bg-white: #fff;
@bg-gray-lighter: @gray-lighter;
@bg-gray-light: @gray-light;
@bg-gray: @gray;
@bg-gray-dark: @gray-dark;
@bg-gray-darker: @gray-darker;
@bg-black: #000;
.bg-alpha{
background-color: @bg-alpha;
}
.bg-beta{
background-color: @bg-beta;
}
.bg-gamma{
background-color: @bg-gamma;
}
.bg-delta{
background-color: @bg-delta;
}
.bg-epsilon{
background-color: @bg-epsilon;
}
.bg-white{
background-color: @bg-white;
}
.bg-gray-lighter{
background-color: @bg-gray-lighter;
}
.bg-gray-light{
background-color: @bg-gray-light;
}
.bg-gray{
background-color: @bg-gray;
}
.bg-gray-dark{
background-color: @bg-gray-dark;
}
.bg-gray-darker{
background-color: @bg-gray-darker;
}
.bg-black{
background-color: @bg-black;
}
[class*="bg-img-"]{
background-image: url('/theme_common/static/src/img/snippets/bg-img-placeholder.jpg');
}
File diff suppressed because it is too large Load Diff
+532
View File
@@ -0,0 +1,532 @@
///////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////// BOOTSTRAP MIXINS REFERENCE GUIDE ////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
// Vendor Prefixes
// https://github.com/twbs/bootstrap/blob/master/less/mixins/vendor-prefixes.less
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
// Autoprefixer in our Gruntfile. They will be removed in v4.
// - Animations
// - Backface visibility
// - Box shadow
// - Box sizing
// - Content columns
// - Hyphens
// - Placeholder text
// - Transformations
// - Transitions
// - User Select
// // Animations
// .animation(@animation) {
// -webkit-animation: @animation;
// -o-animation: @animation;
// animation: @animation;
// }
// .animation-name(@name) {
// -webkit-animation-name: @name;
// animation-name: @name;
// }
// .animation-duration(@duration) {
// -webkit-animation-duration: @duration;
// animation-duration: @duration;
// }
// .animation-timing-function(@timing-function) {
// -webkit-animation-timing-function: @timing-function;
// animation-timing-function: @timing-function;
// }
// .animation-delay(@delay) {
// -webkit-animation-delay: @delay;
// animation-delay: @delay;
// }
// .animation-iteration-count(@iteration-count) {
// -webkit-animation-iteration-count: @iteration-count;
// animation-iteration-count: @iteration-count;
// }
// .animation-direction(@direction) {
// -webkit-animation-direction: @direction;
// animation-direction: @direction;
// }
// .animation-fill-mode(@fill-mode) {
// -webkit-animation-fill-mode: @fill-mode;
// animation-fill-mode: @fill-mode;
// }
// // Backface visibility
// // Prevent browsers from flickering when using CSS 3D transforms.
// // Default value is `visible`, but can be changed to `hidden`
// .backface-visibility(@visibility){
// -webkit-backface-visibility: @visibility;
// -moz-backface-visibility: @visibility;
// backface-visibility: @visibility;
// }
// // Drop shadows
// //
// // Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
// // supported browsers that have box shadow capabilities now support it.
// .box-shadow(@shadow) {
// -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
// box-shadow: @shadow;
// }
// // Box sizing
// .box-sizing(@boxmodel) {
// -webkit-box-sizing: @boxmodel;
// -moz-box-sizing: @boxmodel;
// box-sizing: @boxmodel;
// }
// // CSS3 Content Columns
// .content-columns(@column-count; @column-gap: @grid-gutter-width) {
// -webkit-column-count: @column-count;
// -moz-column-count: @column-count;
// column-count: @column-count;
// -webkit-column-gap: @column-gap;
// -moz-column-gap: @column-gap;
// column-gap: @column-gap;
// }
// // Optional hyphenation
// .hyphens(@mode: auto) {
// word-wrap: break-word;
// -webkit-hyphens: @mode;
// -moz-hyphens: @mode;
// -ms-hyphens: @mode; // IE10+
// -o-hyphens: @mode;
// hyphens: @mode;
// }
// // Placeholder text
// .placeholder(@color: @input-color-placeholder) {
// // Firefox
// &::-moz-placeholder {
// color: @color;
// opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
// }
// &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
// &::-webkit-input-placeholder { color: @color; } // Safari and Chrome
// }
// // Transformations
// .scale(@ratio) {
// -webkit-transform: scale(@ratio);
// -ms-transform: scale(@ratio); // IE9 only
// -o-transform: scale(@ratio);
// transform: scale(@ratio);
// }
// .scale(@ratioX; @ratioY) {
// -webkit-transform: scale(@ratioX, @ratioY);
// -ms-transform: scale(@ratioX, @ratioY); // IE9 only
// -o-transform: scale(@ratioX, @ratioY);
// transform: scale(@ratioX, @ratioY);
// }
// .scaleX(@ratio) {
// -webkit-transform: scaleX(@ratio);
// -ms-transform: scaleX(@ratio); // IE9 only
// -o-transform: scaleX(@ratio);
// transform: scaleX(@ratio);
// }
// .scaleY(@ratio) {
// -webkit-transform: scaleY(@ratio);
// -ms-transform: scaleY(@ratio); // IE9 only
// -o-transform: scaleY(@ratio);
// transform: scaleY(@ratio);
// }
// .skew(@x; @y) {
// -webkit-transform: skewX(@x) skewY(@y);
// -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
// -o-transform: skewX(@x) skewY(@y);
// transform: skewX(@x) skewY(@y);
// }
// .translate(@x; @y) {
// -webkit-transform: translate(@x, @y);
// -ms-transform: translate(@x, @y); // IE9 only
// -o-transform: translate(@x, @y);
// transform: translate(@x, @y);
// }
// .translate3d(@x; @y; @z) {
// -webkit-transform: translate3d(@x, @y, @z);
// transform: translate3d(@x, @y, @z);
// }
// .rotate(@degrees) {
// -webkit-transform: rotate(@degrees);
// -ms-transform: rotate(@degrees); // IE9 only
// -o-transform: rotate(@degrees);
// transform: rotate(@degrees);
// }
// .rotateX(@degrees) {
// -webkit-transform: rotateX(@degrees);
// -ms-transform: rotateX(@degrees); // IE9 only
// -o-transform: rotateX(@degrees);
// transform: rotateX(@degrees);
// }
// .rotateY(@degrees) {
// -webkit-transform: rotateY(@degrees);
// -ms-transform: rotateY(@degrees); // IE9 only
// -o-transform: rotateY(@degrees);
// transform: rotateY(@degrees);
// }
// .perspective(@perspective) {
// -webkit-perspective: @perspective;
// -moz-perspective: @perspective;
// perspective: @perspective;
// }
// .perspective-origin(@perspective) {
// -webkit-perspective-origin: @perspective;
// -moz-perspective-origin: @perspective;
// perspective-origin: @perspective;
// }
// .transform-origin(@origin) {
// -webkit-transform-origin: @origin;
// -moz-transform-origin: @origin;
// -ms-transform-origin: @origin; // IE9 only
// transform-origin: @origin;
// }
// // Transitions
// .transition(@transition) {
// -webkit-transition: @transition;
// -o-transition: @transition;
// transition: @transition;
// }
// .transition-property(@transition-property) {
// -webkit-transition-property: @transition-property;
// transition-property: @transition-property;
// }
// .transition-delay(@transition-delay) {
// -webkit-transition-delay: @transition-delay;
// transition-delay: @transition-delay;
// }
// .transition-duration(@transition-duration) {
// -webkit-transition-duration: @transition-duration;
// transition-duration: @transition-duration;
// }
// .transition-timing-function(@timing-function) {
// -webkit-transition-timing-function: @timing-function;
// transition-timing-function: @timing-function;
// }
// .transition-transform(@transition) {
// -webkit-transition: -webkit-transform @transition;
// -moz-transition: -moz-transform @transition;
// -o-transition: -o-transform @transition;
// transition: transform @transition;
// }
// // User select
// // For selecting text on the page
// .user-select(@select) {
// -webkit-user-select: @select;
// -moz-user-select: @select;
// -ms-user-select: @select; // IE10+
// user-select: @select;
// }
///////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////// THEME_COMMON MIXINS /////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
// Create new mixins if they are not defined in bootstrap only.
/* FA-(@i)x
========================================================================== */
.fa-size-generator(@base-size){
.fa {
text-align: center;
display: inline-block;
vertical-align: middle;
}
.fa,
.fa.fa-1x {
width: (@base-size + 20px);
height: (@base-size + 20px);
line-height: (@base-size + 20px);
}
.fa.fa-2x {
width: (@base-size + 40px);
height: (@base-size + 40px);
line-height: (@base-size + 40px);
}
.fa.fa-3x {
width: (@base-size + 60px);
height: (@base-size + 60px);
line-height: (@base-size + 60px);
}
.fa.fa-4x {
width: (@base-size + 80px);
height: (@base-size + 80px);
line-height: (@base-size + 80px);
}
.fa.fa-5x {
width: (@base-size + 100px);
height: (@base-size + 100px);
line-height: (@base-size + 100px);
}
}
.fa-margin-generator(@base-margin){
.fa-margin(5);
.fa-margin(@n, @i: 1) when (@i =< @n){
.fa-@{i}x{
margin-top: (20px + (@i * @base-margin));
}
.fa-margin(@n, (@i + 1));
}
}
/* BLOCKQUOTE
========================================================================== */
.blockquote-layout(@bg-color, @color){
blockquote{
font-style: italic;
margin: 0 0 12px 0;
padding: 0;
border: 0;
> .fa,
> span .fa{
float: left;
}
.fa-size-generator(20px);
img{
display: inline-block;
max-width: 40px;
max-height: 40px;
}
small{
display: inline-block;
color: @color;
}
.blockquote-text{
overflow: hidden;
font-size: @font-size-base;
text-align: left;
&:focus{
outline: none;
}
}
p{
background-color: @bg-color;
color: @color;
padding: 24px;
}
}
}
/* CAROUSEL
========================================================================== */
.carousel-control(@position, @fa-position, @fa-padding){
opacity: 1;
text-shadow: none;
color: @gray-darker;
font-size: inherit;
width: 5%;
.fa{
top: 50%;
background-color: #fff;
&:hover{
color: @color-alpha;
}
@media (max-width: @screen-xs-max) {
top: auto;
bottom: 0;
}
}
.fa-size-generator(20px);
&.left{
background-image: none;
left: @position;
.fa{
left: @fa-position;
right: auto;
padding-right: @fa-padding;
}
}
&.right{
background-image: none;
right: @position;
.fa{
right: @fa-position;
left: auto;
padding-left: @fa-padding;
}
}
}
.carousel-indicators(@bottom, @bottom-sm){
bottom: @bottom;
li{
width: 12px;
height: 12px;
border-color: @gray-darker;
margin: 0;
&:hover{
border-color: @color-alpha;
}
&.active{
background-color: @color-alpha;
border-color: @color-alpha;
margin: 0;
}
}
@media (max-width: @screen-sm-max){
bottom: @bottom-sm;
}
}
// Mixins cfa
.BorderRadius (@border-radius) {
-webkit-border-radius: @border-radius;
-moz-border-radius: @border-radius;
border-radius: @border-radius;
}
.LinearGradient (@startColor, @endColor) {
background-color: @startColor;
background: -webkit-gradient(linear, left top, left bottom, from(@startColor), to(@endColor));
background: -webkit-linear-gradient(top, @startColor, @endColor);
background: -moz-linear-gradient(top, @startColor, @endColor);
background: -ms-linear-gradient(top, @startColor, @endColor);
background: -o-linear-gradient(top, @startColor, @endColor);
}
.fontColor(@id, @color) {
@className : replace(~"fontColorid", "id$", @id);
.@{className} {
color: @color;
button& {
background-color: @color;
}
}
}
.CircleInfoBox (@color1, @color2, @bgcolor) {
.mask p {
color: @color1;
}
.serial {
color: @color2;
}
.circle {
background-color: @bgcolor;
}
}
.LinkColor (@linkcolor, @hovercolor) {
a:not(.btn) {
color: @linkcolor;
&:hover, &:focus {
color: @hovercolor;
text-decoration: none;
}
}
}
.Three-column-menu (@bgcolor, @textcolor, @hovercolor, @border-bottom) {
background-color: @bgcolor;
a {
color: @textcolor;
cursor: pointer;
&:hover, &:focus {
color: @hovercolor;
text-decoration: under;
border-bottom: 5px solid @border-bottom;
}
}
}
.ArrowDown (@arrowcolor) {
width: 0;
height: 5px;
border-left: 20px solid rgba(0, 0, 0, 0);
border-right: 20px solid rgba(0, 0, 0, 0);
border-top: 20px solid @arrowcolor;
}
.SetDisplayColor (@bgcolor, @textcolor) {
background-color: @bgcolor;
color: @textcolor;
}
.SetTextShadow (@thickness, @shadowcolor) {
text-shadow: 0px @thickness 0px @shadowcolor;
}
.SetTopBottomBorderColor (@bordercolor1, @bordercolor2) {
border-top: 1px dashed @bordercolor1;
border-bottom: 1px dashed @bordercolor2;
}
.Vertical-Align {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.VAlignMiddle {
position: relative;
top: 50%;
transform: translateY(-50%);
}
.VAlignTop {
float: none;
display: table-cell;
vertical-align: top;
}
.PlaceholderStyle (@color) {
::-webkit-input-placeholder { /* WebKit browsers */
color: @color;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: @color;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: @color;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color: @color;
}
}
/* ====================== button ======================== */
.btn-styles(@btn-color, @btn-hover-color, @btn-text-color, @btn-text-hover-color) {
background-color: @btn-color;
border: 2px solid rgba(0, 0, 0, 0);
color: @btn-text-color;
&:hover,
&:focus {
background-color: @btn-hover-color;
border: 2px solid @btn-color;
// color: @btn-hover-text;
}
&:hover {
color: @btn-text-hover-color;
}
&:active {
background-color: darken(@btn-color, 12%);
border: 3px solid @btn-color;
}
transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0s;
}
.Custom-btn(@borderTopColor, @borderTopColorHover) {
border-top: 5px solid @borderTopColor;
&:hover {
border-top: 5px solid @borderTopColorHover;
}
}
.btn-fullwidth {
width: 100%;
}
@@ -0,0 +1,3 @@
.s_1_column_text {
padding: 30px 0px;
}
@@ -0,0 +1,3 @@
.s_2_column_text {
padding: 30px 0px;
}
@@ -0,0 +1,3 @@
.s_3_column_text {
padding: 30px 0px;
}
@@ -0,0 +1,3 @@
.s_4_column_text {
padding: 30px 0px;
}
@@ -0,0 +1,113 @@
// ======= Variables ============================
// ==============================================
// Change main snippet's propriety easily
// ====== Hooks(hook) =====================================
// ===========================================================
// Use them to inject NEW css rules or overwrite the old ones.
// This method is more maintenable than classic css overwrite
// 'couse it works also if the snippet's structure will change.
// How to:
// in your theme, just call the backdoor like a normal
// CSS class adding parethesis at the end ".backdoor-name()"
// (this will prevent the creation of a standard CSS class).
// Add your rules inside. Your style will take the priority.
// Done.
// .s_media_block-hook(){
// border: 20px solid red;
// max-height: 200px;
// }
.s_animated_boxes-main-hook(){}
.s_animated_boxes-item-hook(){}
.s_animated_boxes-slide-hook(){};
.s_animated_boxes-slide_hover-hook(){}
.s_animated_boxes{
margin: 0;
width: 100%;
overflow: hidden;
.s_animated_boxes-main-hook;
.item {
height: 200px;
background-size: cover;
overflow: hidden;
text-align: center;
.s_animated_boxes-item-hook;
> * {
z-index: 0;
position: relative;
padding-top: @grid-gutter-width/2;
padding-bottom: @grid-gutter-width/2;
}
.slide {
z-index: 1;
position: absolute;
width: 100%;
height: 100%;
background-size: cover;
left: 0;
top: 0;
opacity: 0;
padding: @grid-gutter-width/2;
.transition(opacity 400ms);
.s_animated_boxes-slide-hook;
&.visible{
opacity: 1;
}
}
&:hover .slide{
opacity: 1;
.transition(opacity 100ms);
.s_animated_boxes-slide_hover-hook;
}
@media (max-width: @screen-xs-max) {
height: auto;
min-height: 200px;
&::before {
content: "";
display: inline-block;
height: 100%;
min-height: 200px;
vertical-align: middle;
}
.v-align {
display: inline-block;
width: 98%;
vertical-align: middle;
top: auto;
.translate(0, 0);
}
}
}
}
// Used in editing mode
#wrapwrap.cke_editable .s_animated_boxes {
.item:hover .slide {
display: none;
opacity: 0;
}
.item.showSlide .slide, .item.showSlide:hover .slide {
display: block;
opacity: 1;
transform: translateY(0%)!important;
transform: translateX(0%)!important;
}
}
@@ -0,0 +1,28 @@
@s_banner_2-background-position: 50% 50%;
@s_banner_2-content-margin: 0;
.s_banner_2{
&.carousel{
margin-top: 0;
margin-bottom: 0;
.row.content{
margin: @s_banner_2-content-margin;
outline: 0;
}
.carousel-box-content{
padding: 15px 30px;
}
.carousel-box-image{
padding: 0;
}
.carousel-inner .item{
background-position: @s_banner_2-background-position;
}
.carousel-control{
.carousel-control(15px, 0, 2px);
}
.carousel-indicators{
.carousel-indicators(10px, 10px);
}
}
}
@@ -0,0 +1,124 @@
@s_banner_3_carosel_control_color: rgba(0, 0, 0, 0);
@s_banner_3_padding: 130px;
@s_banner_3_fa_color: @color-gamma;
@s_banner_3_carousel_height: 500px;
@s_banner_3_text-shadow: 1px 1px 11px rgba(0, 0, 0, 0.86);
@s_banner_3_hero-bg_color: @color-alpha;
@s_banner_3_indicators_visible: hidden;
@s_banner_3_h1_size: 80px;
@s_banner_3_h2_size: 40px;
//@s_banner_3_h1_mobile_font_size: 50px;
.s_banner_3_col_center_hook(){};
.s_banner_3_row_hook(){};
.s_banner_3_carousel-control_hook(){};
.s_banner_3 {
.fa {
color: @s_banner_3_fa_color;
font-size: 35px;
transition: all 0.3s ease 0s;
.VAlignMiddle;
&:hover {
color: @color-beta;
}
}
.carousel-inner {
height: @s_banner_3_carousel_height;
}
.carousel-control {
opacity: 1;
top: 205px;
width: 70px;
height: 70px;
text-shadow: none;
}
.carousel-indicators {
bottom: 0px;
visibility: @s_banner_3_indicators_visible;
}
.carousel-control.left, .carousel-control.right {
.s_banner_3_carousel-control_hook;
background-color: @s_banner_3_carosel_control_color;
background-image: none;
height: 100%;
top: 0px;
}
.carousel-control.left {
left: 0px;
.fa-chevron-left {
right: 39%;
top: 50%;
}
}
.carousel-control.right {
right: 0px;
.fa-chevron-right {
left: 39%;
top: 50%;
}
}
.carousel .carousel-control.left *, .carousel .carousel-control.right * {
position: relative;
top: 19px;
z-index: 5;
}
.container-fluid {
padding: 0;
overflow: hidden;
.s_banner_3_row_hook;
.row {
.hero-bg {
.s_banner_3_col_center_hook;
padding-left: @s_banner_3_padding;
color: @s_banner_3_hero-bg_color;
@media screen and (max-width: 768px) {
top: 0px;
text-align: center;
padding-left: 0px;
}
@media screen and (max-width: 360px) {
padding-left: 15px;
}
h1 {
font-size: @s_banner_3_h1_size;
text-shadow: @s_banner_3_text-shadow;
@media screen and (max-width: 360px) {
font-size: 50px;
}
}
h2 {
font-size: @s_banner_3_h2_size;
text-shadow: @s_banner_3_text-shadow;
@media screen and (max-width: 360px) {
font-size: 30px;
}
}
img {
max-height: 200px;
@media screen and (max-width: 360px) {
max-width: 250px;
}
}
}
}
}
}
@@ -0,0 +1,65 @@
@s_banner_parallax_height: 500px;
@s_banner_parallax_padding: 130px;
@s_banner_parallax_img_height: 200px;
@s_banner_parallax_text-shadow: 1px 1px 11px rgba(0, 0, 0, 0.86);
@s_banner_parallax_text_color: @color-alpha;
@s_banner_parallax_bg_position: center !important;
@s_banner_parallax_h1_size: 80px;
.s_banner_parallax_row_hook (){};
.s_banner_parallax_height_hook (){};
.s_banner_parallax_hero_bg_hook (){};
.s_banner_parallax {
margin-bottom: 0px !important;
@media screen and (max-width: 768px) {
background-position: @s_banner_parallax_bg_position;
}
.s_banner_parallax_height_hook;
.container-fluid {
padding: 0;
.row {
height: @s_banner_parallax_height;
.s_banner_parallax_row_hook;
.hero-bg {
padding-left: @s_banner_parallax_padding;
color: @s_banner_parallax_text_color;
.s_banner_parallax_hero_bg_hook;
@media screen and (max-width: 768px) {
text-align: center;
padding-left: 15px;
}
h1 {
font-size: @s_banner_parallax_h1_size;
text-shadow: @s_banner_parallax_text-shadow;
@media screen and (max-width: 360px) {
font-size: 50px;
}
}
h2 {
font-size: 40px;
text-shadow: @s_banner_parallax_text-shadow;
@media screen and (max-width: 360px) {
font-size: 30px;
}
}
img {
max-height: @s_banner_parallax_img_height;
@media screen and (max-width: 360px) {
max-height: 200px;
}
}
}
}
}
}
@@ -0,0 +1,51 @@
/* blockquote-box */
@s_big_icon_circle_color: @color-alpha;
@s_big_icon_circle_icon_size: 120px;
.s_big_icon_circle_height_hook(){};
.s_big_icon_circle_fa_hook(){};
.s_big_icon_circle {
text-align: center!important;
.s_big_icon_circle_height_hook;
//fix -- without this in mobile view the circles go to the top and so they hide the h2 and h3 above it.
.col-md-12 {
float: none;
}
}
.s_big_icon_circle_box {
text-align: center!important;;
min-height: 180px;
width: 150px;
margin: 0 auto;
.fa {
color:white;
font-size: 40px;
.s_big_icon_circle_fa_hook;
}
}
.s_big_icon_circle_icon {
width: @s_big_icon_circle_icon_size;
height: @s_big_icon_circle_icon_size;
text-align:center!important;
padding: 40px 0;
transition: all 0.3s ease-in-out;
background-color: @s_big_icon_circle_color;
border-radius: 80px;
h5 {
margin-top: 48px;
}
}
.s_big_icon_circle_box:hover .s_big_icon_circle_icon {
transition: all 0.3s ease-in-out;
background-color: @color-gamma;
}
.s_big_icon_circle_box:hover .s_big_icon_circle_content h4 {
transition: all 0.3s ease-in-out;
color: @color-gamma;
}
@@ -0,0 +1,40 @@
/* blockquote-box */
.s_big_icon_square {
text-align: center!important;;
}
.s_big_icon_square_box {
text-align: center!important;;
min-height: 180px;
width: 150px;
margin: 0 auto;
.fa {
color:white;
font-size: 40px;
}
}
.s_big_icon_square_icon {
width:120px;
height:110px;
text-align:center!important;
color:#fff;
padding: 36px 0;
transition: all 0.3s ease-in-out;
background-color: @color-alpha;
h5 {
margin-top: 48px;
color: @color-alpha;
}
}
.s_big_icon_square_box:hover .s_big_icon_square_icon {
transition: all 0.3s ease-in-out;
background-color: @color-gamma;
}
.s_big_icon_square_box:hover .s_big_icon_square_content h4 {
transition: all 0.3s ease-in-out;
color: @color-gamma;
}
@@ -0,0 +1,14 @@
.s_big_image {
height: 760px;
background-size: cover;
}
.s_big_image_content {
z-index: 999;
h1 {
color: white;
font-size: 60px;
}
}
@@ -0,0 +1,13 @@
.s_big_image_parallax {
min-height: 780px;
padding-top: 80px;
}
.s_big_image_parallax_content {
z-index: 999;
h1 {
color: white;
font-size: 60px;
}
}
@@ -0,0 +1,46 @@
@s_big_picture_text_padding: 50px 0;
@s_big_picture_text_align: left;
.s_big_picture_text_hero_hook(){};
.s_big_picture_text {
padding: @s_big_picture_text_padding;
.hero-paragraph {
padding: 0px 40px;
text-align: @s_big_picture_text_align;
h1 {
font-weight: 900;
.s_big_picture_text_hero_hook;
@media only screen and (max-width : 1024px) {
font-size: 25px;
font-weight: 900;
}
}
h2 {
@media only screen and (max-width : 1024px) {
font-size: 20px;
}
}
p {
font-size: 16px;
@media only screen and (max-width : 1024px) {
font-size: 14px;
}
}
}
.hero-image {
padding-left: 0px;
padding-right: 0px;
img {
width: 100%;
}
}
}
@@ -0,0 +1,35 @@
.s_carousel_boxed{
.carousel{
padding-top: 15px;
padding-bottom: 15px;
@media (max-width: @screen-sm-max) {
height: auto !important;
}
}
@media (min-width: @screen-md-min) {
img{
position: absolute;
top: 50%;
transform: translateY(-50%);
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
}
}
.carousel-caption{
text-shadow: none;
background-color: #fff;
color: @gray-darker;
padding: 5px 0;
bottom: 35px;
p{
margin: 0;
}
}
.carousel-control{
.carousel-control(15px, 0, 2px);
}
.carousel-indicators{
.carousel-indicators(10px, 10px);
}
}
@@ -0,0 +1,13 @@
.s_clonable_boxes{
margin: 0;
width: 100%;
overflow: hidden;
.item {
height: 200px;
background-size: cover;
overflow: hidden;
text-align: center;
}
}
@@ -0,0 +1,30 @@
.s_collapse{
.panel{
@shadow: 0 0 0 rgba(255, 255, 255, 1);
.box-shadow(@shadow);
background-color: rgba(0, 0, 0, 0);
}
.panel-group .panel-heading+.panel-collapse > .panel-body{
border: 0;
}
.panel-heading{
padding: 0;
a{
text-decoration: none;
text-transform: uppercase;
font-size: @font-size-small;
width: 100%;
padding: 12px 0;
display: inline-block;
&:before{
content:'\f056';
font-family: 'FontAwesome';
margin: 0 12px 0 16px;
}
&.collapsed:before{
content:'\f055';
font-family: 'FontAwesome';
}
}
}
}
@@ -0,0 +1,14 @@
/* Color Block */
.s_color_blocks_2_block {
padding: 8% 5%;
height:100%;
min-height:100%;
& .fa {
color: white;
}
img {
max-width:100%;
height:auto;
}
}
@@ -0,0 +1,11 @@
/* Color Block */
.s_color_blocks_4_block {
padding: 64px 20px;
height:100%;
min-height:100%;
img {
max-width:100%;
height:auto;
}
}
@@ -0,0 +1,18 @@
/* Color Block */
.s_color_blocks_img_block {
}
.s_color_blocks_img_title {
margin-bottom: 0px;
h5 {
padding-top: 32px;
}
}
.s_color_blocks_img_img img {
max-width: 100%;
height: auto;
}
@@ -0,0 +1,31 @@
/* Color Blocks Slider */
.s_color_blocks_slider {
width: 100%;
}
.s_color_blocks_slider_block {
padding: 0px;
margin: 0;
}
.s_color_blocks_slider_img {
padding: 0px;
margin: 0;
img {
max-width: auto;
padding: 0px;
}
}
.s_color_blocks_slider_content {
padding: 8% 5%;
height: auto;
& .fa {
color: white;
}
img {
max-width:100%;
height:auto;
}
}
@@ -0,0 +1,58 @@
.s_compact_menu {
overflow: hidden;
.container-fluid {
h2 {
text-align: center;
}
.menu-container {
text-align: center;
overflow: hidden;
padding-bottom: 20px;
.col-md-2 {
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
float: left;
padding-top: 25px;
padding-bottom: 500em;
margin-bottom: -500em;
border-right: 3px solid @gray-lighter;
h4 {
font-size: 20px;
}
}
.col-md-10 {
padding-top: 25px;
padding-bottom: 500em;
margin-bottom: -500em;
float: left;
.row {
padding-left: 15px;
min-height: 150px;
height: auto;
.menublock {
height: auto;
width: auto;
margin: 0px 20px 0px 0px;
padding: 0 20px 0 0;
border-bottom: 1px solid @gray-lighter;
text-align: left;
float: left;
h4 {
font-weight: bold;
text-transform: uppercase;
}
span {
list-style: none;
}
}
}
}
}
}
.fa {
font-size: 70px;
margin: 20px 0px;
}
}
@@ -0,0 +1,187 @@
// ======= Variables ============================
// ==============================================
// Change main snippet's propriety easily
@s_css_slider-navigation-color : white;
@s_css_slider-navigation-text-shadow : 0 1px 0 #333;
@s_css_slider_info-bg-color : #fff;
@s_css_slider_info-text-color : #333;
// ====== Hooks(hook) =====================================
// ===========================================================
// Use them to inject NEW css rules or overwrite the old ones.
// This method is more maintenable than classic css overwrite
// 'couse it works also if the snippet's structure will change.
// How to:
// in your theme, just call the backdoor like a normal
// CSS class adding parethesis at the end ".backdoor-name()"
// (this will prevent the creation of a standard CSS class).
// Add your rules inside. Your style will take the priority.
// Done.
// .s_css_slider-wrapper-hook(){
// border: 20px solid red;
// max-height: 200px;
// }
.s_css_slider-wrapper-hook(){}
.s_css_slider-slider-hook(){}
.s_css_slider-slider-hover-hook(){};
.s_css_slider-navigation-hook(){};
.s_css_slider-navigation-buttons-hook(){};
.s_css_slider {
position: relative;
min-height: 150px;
.wrapper {
height: 100%;
position: relative;
z-index: 10;
.transition(width 400ms);
/* Force Hardware Acceleration */
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
.backface-visibility(hidden);
.s_css_slider-wrapper-hook;
}
.slider{
padding: 0;
height: 100%;
position: relative;
z-index: 10;
overflow: hidden;
.s_css_slider-slider-hook;
}
.slider .slide {
position:absolute;
list-style:none;
overflow: hidden;
top:0;
left:0;
margin: 0;
z-index:10;
height:100%;
width:100%;
.translate(100%; 0);
.transition(transform 300ms linear);
.info {
position : relative;
background : @s_css_slider_info-bg-color;
color : @s_css_slider_info-text-color;
margin: 0;
@media screen and (min-width:764px){
padding: 10px;
top: 30%;
left: 60px;
position: absolute;
max-width: 60%;
}
}
img {
display:block;
width:100%;
}
&.selected {
position:relative;
z-index:12;
.translate(0; 0);
}
&.move-left {
.translate(-100%; 0);
}
}
.navigation li {
position:absolute;
z-index:12;
top:50%;
list-style:none;
bottom:auto;
.translate(0; -50%);
span {
display:block;
width:48px;
height:48px;
overflow:hidden;
font-size: 1.6em;
color: @s_css_slider-navigation-color;
text-shadow: @s_css_slider-navigation-text-shadow;
white-space:nowrap;
.transition(e("opacity 200ms, visibility 0s"));
.s_css_slider-navigation-buttons-hook;
&.inactive {
opacity:0;
visibility:hidden;
.transition(e("opacity 200ms 0s, visibility 0s 200ms"));
}
&:hover {
opacity:.7;
}
}
&:first-of-type {
left:10px;
}
&:last-of-type {
right:10px;
}
.s_css_slider-navigation-hook;
}
.s_css_slider_pagination {
position:absolute;
z-index:12;
bottom:30px;
left:50%;
right:auto;
.translate(-50%; 0);
li {
display:inline-block;
float:left;
margin:0 5px;
}
li.selected a {
background:#f5f4f3;
}
a {
display:block;
height:12px;
width:12px;
border-radius:50%;
box-shadow: 0 1px 0 #333;
border:1px solid #f5f4f3;
background-color:rgba(255,255,255,0);
overflow:hidden;
text-indent:100%;
white-space:nowrap;
}
&:after {
content:"";
display:table;
clear:both;
}
}
}
+51
View File
@@ -0,0 +1,51 @@
.s_cubes {
height: 100%;
@media only screen and (max-width: 768px) {
height: 100%;
}
.container-fluid, .container-fluid > .row, .cube {
height: 100%;
}
.cube > .row {
height: 50%;
}
.cube {
min-height: 200px;
h3 {
text-align: center;
}
h4 {
padding-bottom: 20px;
}
.cube-heading {
position: relative;
top: 25%;
}
}
.cube-big {
height: 600px;
@media screen and (max-width: 640px) {
height: auto;
}
.cube-heading {
position: relative;
top: 25%;
}
}
.cube-big:first-child {
min-height: 600px;
}
.cube-small, .cube-text {
height: 300px;
}
}
@@ -0,0 +1,109 @@
@s_discount_box_border_radius: 20px;
@s_discount_brand_letter_spacing: 3px;
@s_discount_descr_color: @gray-dark;
@s_discount_coupon_color: white;
@s_discount_amount_size: 80px;
.s_discount_brand_hook(){};
.s_discount_descr_hook(){};
.s_discount_box_hook(){};
.s_discount_box {
background: white;
padding: 30px 0;
border-radius: @s_discount_box_border_radius;
position: relative;
box-shadow: 0px 0px 5px 0px fade(@gray, 50%);
word-wrap: break-word;
&:before {
content: " ";
height: 20px;
width: 20px;
background: white;
border-radius: 20px;
position: absolute;
left: 50%;
top: 20px;
margin-left: -10px;
}
.s_discount_box_hook;
}
.s_discount_brand {
text-transform: uppercase;
letter-spacing: @s_discount_brand_letter_spacing;
padding: 10px 15px;
margin-top: 10px;
text-align: center;
min-height: 100px;
.s_discount_brand_hook;
}
.s_discount_amount {
min-height: 100px;
position: relative;
font-size: @s_discount_amount_size;
text-align: center;
font-weight: bold;
padding: 20px 15px;
text-shadow: 1px 1px 2px 0px white;
color: white;
&:after {
content: " ";
border-right: 20px solid rgba(0, 0, 0, 0);
border-left: 20px solid rgba(0, 0, 0, 0);
position: absolute;
bottom: -20px;
left: 20%;
}
}
.s_discount_type {
font-size: 20px;
letter-spacing: 1px;
text-transform: uppercase;
}
.s_discount_descr {
text-align: center;
font-size: 13px;
color: @s_discount_descr_color;
margin-top: 10px;
padding: 20px 25px;
.s_discount_descr_hook;
}
.s_discount_ends {
padding: 0 25px;
margin-bottom: 10px;
}
.s_discount_coupon {
min-height: 50px;
text-align: center;
text-transform: uppercase;
font-weight: bold;
font-size: 18px;
padding: 20px 15px;
a {
color: @s_discount_coupon_color;
}
}
.s_discount_code {
letter-spacing: 1px;
border-radius: 4px;
margin-top: 10px;
padding: 10px 15px;
background: #f0f0f0;
color: @gray-dark;
}
@@ -0,0 +1,225 @@
@color-facebook: #4b6ea8;
@color-twitter: #4fd5f8;
@color-google: #dd4b39;
@s_event_list_social_padding: 10px 0px 9px;
.s_event_list {
.col-md-12 {
@media screen and (max-width:768px) {
float: none;
}
}
list-style: none;
margin: 0px;
padding: 0px;
> li {
background-color: white;
box-shadow: 0px 0px 5px fade(black, 25%);
padding: 0px;
margin: 0px 0px 20px;
> .s_event_list_icon {
background-color: @color-beta;
text-align:center;
}
> .s_event_list_info {
padding-top: 5px;
text-align: center;
> .s_event_list_title {
margin: 0px;
color: @gray-dark;
overflow: hidden;
text-overflow: ellipsis;
min-width: 200px;
white-space: nowrap;
}
> .s_event_list_desc {
font-size: 14px;
font-weight: 300;
margin: 0px;
margin-top: 8px;
color: @gray;
word-wrap: break-word;
overflow: hidden;
text-overflow: ellipsis;
max-height: 2.2em;
line-height: 1.1em;
.fa {
color: white;
}
}
}
}
}
.s_event_list > li > time {
display: inline-block;
width: 100%;
color: white;
padding: 5px;
text-align: center;
text-transform: uppercase;
span {
display: none;
}
.s_event_list_day {
display: block;
font-size: 50px;
line-height: 1;
padding-top: 10px;
}
.s_event_list_month {
display: block;
font-size: 30px;
line-height: 1;
}
.s_event_list_time {
display: block;
font-size: 16px;
line-height: 1;
color: white;
font-weight: 200;
}
}
.s_event_list > li > .s_event_list_info > ul,
.s_event_list > li > .s_event_list_social > ul {
display: table;
list-style: none;
margin: 10px 0px 0px;
padding: 0px;
width: 100%;
text-align: center;
> li {
display: table-cell;
cursor: pointer;
color: @gray-dark;
font-size: 11px;
font-weight: 300;
padding: 3px 0px;
}
}
.s_event_list > li > .s_event_list_social > ul {
margin: 0px;
> li {
padding: 0px;
> a {
padding: 3px 0px;
}
.fa {
font-size: 11px;
}
}
}
.s_event_list > li > .s_event_list_info > ul > li > a {
display: block;
width: 100%;
color: @gray-dark;
text-decoration: none;
}
.s_event_list > li > .s_event_list_info > ul > li:hover,
.s_event_list > li > .s_event_list_social > ul > li:hover {
color: @gray-dark;
background-color: @gray-lighter;
}
.s_event_list_facebook a, .s_event_list_twitter a, .s_event_list_google_plus a {
display: block;
width: 100%;
}
.s_event_list_facebook a {
color: @color-facebook !important;
}
.s_event_list_twitter a {
color: @color-twitter !important;
}
.s_event_list_google_plus a {
color: @color-google !important;
}
.s_event_list_facebook:hover a, .s_event_list_twitter:hover a, .s_event_list_google_plus:hover a {
color: white !important;
}
.s_event_list_facebook:hover a {
background-color: @color-facebook !important;
}
.s_event_list_twitter:hover a {
background-color: @color-twitter !important;
}
.s_event_list_google_plus:hover a {
background-color: @color-google !important;
}
@media (min-width: 480px) {
.s_event_list > li {
position: relative;
display: block;
width: 100%;
height: 120px;
padding: 0px;
> .s_event_list_icon {
display: inline-block;
width: 120px;
min-height: 120px;
padding: 0px;
margin: 0px;
float: left;
.fa {
display: block;
vertical-align:middle;
margin: 20px auto;
color: white;
font-size: 80px;
}
}
> time {
width: 120px;
}
> time, img {
height: 120px;
padding: 0px;
margin: 0px;
float: left;
}
> .s_event_list_info {
background-color: lighten(@gray-lighter, 18%);
overflow: hidden;
position: relative;
height: 120px;
text-align: left;
padding-right: 40px;
> .s_event_list_title, .s_event_list_desc {
padding: 0px 10px;
}
> ul {
position: absolute;
left: 0px;
bottom: 0px;
}
}
> .s_event_list_social {
position: absolute;
top: 0px;
right: 0px;
display: block;
width: 40px;
> ul {
border-left: 1px solid lighten(@gray-lighter, 10%);
> li {
display: block;
padding: 0px;
> a {
display: block;
width: 40px;
padding: @s_event_list_social_padding;
}
}
}
}
}
}
@@ -0,0 +1,58 @@
.s_event_slide {
overflow: hidden;
.row {
text-align: center;
overflow: hidden;
.box-shadow(inset 0px -7px 9px -6px rgba(0,0,0,0.45));
.col-md-2 {
float: left;
border-right: 4px solid @color-epsilon;
padding-bottom: 500em;
margin-bottom: -500em;
@media screen and (max-width: 640px) {
padding-bottom: 0;
margin-bottom: 0;
}
}
.col-md-10 {
float: right;
padding-bottom: 500em;
margin-bottom: -500em;
.header-border {
width: 20%;
height: 5px;
margin-bottom: 15px;
.BorderRadius (10px);
background-color: @color-epsilon;
}
.col-md-3 {
border-right: 1px solid @gray-lighter;
border-bottom: 1px solid @gray-lighter;
text-align: left;
h4 {
text-align: center;
}
}
.event {
height: 400px;
overflow: hidden;
overflow-y: scroll;
padding-top: 40px;
@media screen and (max-width: 768px) {
overflow: visible;
height: auto;
}
img {
width: 100%;
}
}
}
}
.fa-music {
font-size: 70px;
}
.fa {
display: inline-block;
margin-top: 50px;
}
}
@@ -0,0 +1,74 @@
@s_features_carousel_border: 1px dotted @gray-light;
@s_features_carousel_indicators_visible: hidden;
.s_features_carousel_inner_hook(){};
.s_features_carousel_mask_hook(){};
.s_features_carousel {
//height: 650px;
margin-top: 0px !important;
.s_features_carousel_inner_hook;
.col-md-6 img {
max-height: 400px;
}
.circle {
width: 250px;
height: 250px;
position: relative;
display: table;
@media only screen and (max-width : 360px) {
width: 165px;
height: 165px;
}
}
.mask {
.s_features_carousel_mask_hook;
width: 180px;
height: 250px;
font-size: 20px;
.BorderRadius (150px);
line-height: 20px;
text-align: center;
text-transform: uppercase;
margin: 0 auto;
display: table-cell;
vertical-align: middle;
padding: 40px;
@media only screen and (max-width : 360px) {
font-size: 15px;
line-height: 15px;
padding: 15px;
height: auto;
}
}
h2 {
border-bottom: @s_features_carousel_border;
text-align: center;
padding-bottom: 30px;
}
.carousel-indicators {
border-top: 1px dotted @gray-light;
padding-top: 32px;
visibility: @s_features_carousel_indicators_visible;
li {
border: 1px solid @gray-lighter;
}
}
.carousel-indicators .active {
border: 1px solid @color-gamma !important;
}
.carousel-control {
opacity: 1;
background-image: none !important;
i {
color: @gray-lighter;
}
}
@media screen and (max-width: 768px){
.col-md-6 > p {
padding: 0 30px;
}
}
}
@@ -0,0 +1,3 @@
.s_features_circle{
.fa-size-generator(20px);
}
@@ -0,0 +1,8 @@
.s_features_grid_circle{
.fa-size-generator(20px);
.feature-text{
overflow: hidden;
margin: 0 0 12px 0;
padding: 0 0 0 10px;
}
}
@@ -0,0 +1,22 @@
.s_four_columns_fw{
@media (max-width: @screen-sm-max) {
height: auto !important;
[class*="bg-img-"]{
min-height: 250px;
}
}
div{
height: 100%;
}
[class*="col-"]{
padding: 30px;
}
}
@media (max-width: 991px){
.s_four_columns_fw{
height: auto !important;
[class*="bg-img-"]{
min-height: 250px;
}
}
}
@@ -0,0 +1,66 @@
.s_full_menu {
overflow: hidden;
.container-fluid {
h2 {
text-align: center;
}
h4 {
font-size: 20px;
}
.menu-container {
.col-md-2 {
text-align: center;
padding-bottom: 500em;
margin-bottom: -500em;
}
.col-md-10 {
border-left: 3px solid @gray-lighter;
float: left;
padding-bottom: 500em;
margin-bottom: -500em;
.row {
.col-md-12 {
padding: 20px 0;
}
.col-md-4 {
text-align: center;
}
.col-md-8 {
border-bottom: 1px solid @gray-lighter;
padding-bottom: 15px;
line-height: 1;
span {
text-transform: uppercase;
list-style: none;
}
@media screen and (max-width: 1024px) {
font-size: 12px;
}
@media screen and (max-width: 360px) {
top: 0px;
}
}
img {
max-width: 200px;
}
}
}
}
}
.fa {
font-size: 70px;
text-align: center;
}
.price {
font-size: 2vw;
@media screen and (max-width: 360px) {
font-size: 6.5vw;
}
}
.slash {
font-size: 2vw;
@media screen and (max-width: 360px) {
font-size: 6.5vw;
}
}
}
@@ -0,0 +1,15 @@
.s_header_text_big_picture {
.col-md-12 {
img {
width: 100%;
}
}
.col-md-6 {
padding: 0 40px;
}
.col-md-12:last-child {
padding: 0;
}
}
@@ -0,0 +1,23 @@
.s_icon_box_box {
float: left;
.fa {
color: @color-alpha;
font-size: 40px;
}
}
.s_icon_box_icon {
width:60px;
height:60px;
margin-right: 15px;
text-align:center!important;
color:#fff;
padding: 10px 0;
background-color: none;
}
.s_icon_box_box:hover .s_icon_box_icon .fa, .s_icon_box_box:hover .s_icon_box_content h4 {
transition: all 0.3s ease-in-out;
color: @color-gamma;
}
@@ -0,0 +1,33 @@
/* blockquote-box */
.s_icon_box_circle_box {
float: left;
.fa {
color:white;
font-size: 22px;
}
}
.s_icon_box_circle_icon {
width:60px;
height:60px;
margin-right: 15px;
text-align:center!important;
color:#fff;
padding: 20px 0;
transition: all 0.3s ease-in-out;
background-color: @color-alpha;
border-radius: 50px;
}
.s_icon_box_circle_box:hover .s_icon_box_circle_icon {
transition: all 0.3s ease-in-out;
background-color: @color-gamma;
}
.s_icon_box_circle_box:hover .s_icon_box_circle_content h4 {
transition: all 0.3s ease-in-out;
color: @color-gamma;
}
@@ -0,0 +1,29 @@
.s_icon_box_square_box {
float: left;
.fa {
color:white;
font-size: 22px;
}
}
.s_icon_box_square_icon {
width:60px;
height:55px;
margin-right: 15px;
text-align:center!important;
color:#fff;
padding: 18px 0;
transition: all 0.3s ease-in-out;
background-color: @color-alpha;
}
.s_icon_box_square_box:hover .s_icon_box_square_icon {
transition: all 0.3s ease-in-out;
background-color: @color-gamma;
}
.s_icon_box_square_box:hover .s_icon_box_square_content h4 {
transition: all 0.3s ease-in-out;
color: @color-gamma;
}
@@ -0,0 +1,27 @@
.s_image_text_fw{
@media (max-width: 991px) {
.col-text{
max-width: 750px;
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
}
@media (min-width: 992px) {
.col-text{
max-width: 455px;
padding-left: 15px;
}
.col-img{
max-width: 50%;
float: left;
padding: 0;
}
}
@media (min-width: 1200px) {
.col-text{
max-width: 555px;
}
}
}
@@ -0,0 +1,8 @@
.s_images_captions_fw [class*="col-"]{
padding: 0;
p{
display: inline-block;
margin: 0;
padding: 5px 15px;
}
}
+16
View File
@@ -0,0 +1,16 @@
@label-font-size: @font-size-small;
@label-border-radius: @border-radius-base;
@label-padding: 6px 8px;
@label-margin: 0 8px 0 0;
@label-i-margin: 0 4px;
.label{
font-size: @label-font-size;
border-radius: @label-border-radius;
padding: @label-padding;
margin: @label-margin;
display: inline-block;
i{
margin: @label-i-margin;
}
}
@@ -0,0 +1,12 @@
/* Lead bar */
.s_lead_bar {
min-height: 192px;
overflow: hidden;
color: white;
padding-top: 32px;
p {
color: @gray-dark;
font-size: 16px;
}
}
@@ -0,0 +1,13 @@
.s_logo_bar {
min-height: 192px;
color: white;
padding: 48px 0;
img {
max-height: 80px;
}
@media (max-width: @screen-sm-min) {
.col-md-2 {
padding-bottom: 15px;
}
}
}
@@ -0,0 +1,45 @@
@s_masonry_block_screen-sm-min_content-left: 50%;
@s_masonry_block_screen-sm-min_content-height: 30%;
@s_masonry_block_screen-sm-min_content-width: 50%;
@s_masonry_block_screen-sm-min_content-margin: -15% 0 0 -25%;
.s_masonry_block {
.item{
min-height: 170px;
padding: 0;
}
.main-block{
position: relative;
width: 100%;
height: 100%;
}
.block{
float: left;
display: inline;
min-height: 170px;
width: 100%;
height: 100%;
position: relative;
}
@media only screen and (min-width : 768px) {
.item {
height: 100%;
}
.block{
width: 50%;
height: 50%;
}
.main-block,
.block {
.content {
position: absolute;
top: 50%;
left: @s_masonry_block_screen-sm-min_content-left;
height: @s_masonry_block_screen-sm-min_content-height;
width: @s_masonry_block_screen-sm-min_content-width;
margin: @s_masonry_block_screen-sm-min_content-margin;
}
}
}
}
@@ -0,0 +1,150 @@
// ======= Variables ============================
// ==============================================
// Change main snippet's propriety easily
// es. @s_media_block-background-repeat: repeat;
@s_media_block-background-size : cover;
@s_media_block-background-repeat : no-repeat;
@s_media_block_modal-transition-duration : 400ms;
// ====== Hooks(hook) =====================================
// ===========================================================
// Use them to inject NEW css rules or overwrite the old ones.
// This method is more maintenable than classic css overwrite
// 'couse it works also if the snippet's structure will change.
// How to:
// in your theme, just call the backdoor like a normal
// CSS class adding parethesis at the end ".backdoor-name()"
// (this will prevent the creation of a standard CSS class).
// Add your rules inside. Your style will take the priority.
// Done.
// .s_media_block-hook(){
// border: 20px solid red;
// max-height: 200px;
// }
.s_media_block-hook(){}
.s_media_block-textdiv-hook(){};
.s_media_block-videoBox-hook(){}
.s_media_block_modal-hook(){};
// Default Style ================================
// ==============================================
.s_media_block {
background-size: @s_media_block-background-size;
background-repeat: @s_media_block-background-repeat;
background-attachment: initial;
position: relative;
overflow: hidden;
background-color: #EAEAEA;
height: 400px;
.s_media_block-hook;
> div {
z-index: 1;
position: relative;
color: white;
.s_media_block-textdiv-hook;
}
.editable {
min-height: 50px;
}
iframe {
top: 0;
position: absolute;
}
.videoBox {
position: absolute;
top: 0;
left: 0;
z-index: 0;
display: block;
min-height: 100%;
min-width: 100%;
overflow: hidden;
.transition(e("top .5s ease-in-out, left .5s ease-in-out, width .5s ease-in-out, height .5s ease-in-out"));
.s_media_block-videoBox-hook;
}
.headerIframe {
position: absolute;
top: 0;
left: 0;
}
}
#s_media_block_modal {
.s_media_block_modal-hook;
.videoEnabler {
position: relative;
display: block;
height: 4em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
i { font-size: 2em;}
}
.modal-body {
img.guide {
box-shadow:inset rgba(0, 0, 0, 0.35) 0 0 26px, rgba(0, 0, 0, 0.35) 0 0 15px;
border-radius: 50%;
border: 8px solid #FFF;
width: 75%;
height: auto;
margin-top: 20px;
}
.videoTabs {
max-height: 0px;
opacity: 0;
overflow: hidden;
width: 100%;
position: relative;
border-top: 0px solid black;
hr {margin: 10px -15px 20px;}
}
.videoTabs.active {
max-height: 2000px;
opacity: 1;
padding: 20px 0;
}
.videoTabs.trans {
.transition(e("max-height 400ms ease 0ms, opacity 400ms ease 0ms"))
}
#custom_content {
font-family: monospace;
font-size: 0.8em;
min-height: 100px;
}
}
.help-block {
display: block;
margin-top: 4px;
margin-bottom: 7px;
font-size: 10px;
font-weight: bold;
i {margin-right: 7px;}
}
}
/* WebSite Builder custom media query (why?) */
@media only screen and (max-width: 400px){
section.s_media_block {
height: 400px!important; // fix a website builder "!important" rule
}
}
@@ -0,0 +1,44 @@
// ====== Variables ==================
@s_medias_list-bg-color-main : @gray-lighter;
.s_medias_list{
background-color: @s_medias_list-bg-color-main;
.media{
@media (max-width: @screen-sm-max) {
height: auto !important;
}
> .row{
margin: 16px 0;
background-color: #fff;
height: 100%;
> [class*="col-"]{
padding: 0;
&.media-body{
padding: 30px;
}
}
.media-options {
height: 100%;
background-color: @gray-lighter;
> .row{
margin: 0;
[class*="col-"]{
padding: 0;
margin-bottom: 1px;
p{
margin: 0;
font-size: @font-size-small;
display: inline-block;
}
.fa-size-generator(10px);
.fa{
margin-right: 10px;
}
}
}
}
}
}
}
@@ -0,0 +1,39 @@
.s_menu_three_columns {
.three-column {
width: 100%;
position: relative;
z-index: 800;
.big-menu {
height: 150px;
position: relative;
padding: 0;
@media only screen and (max-width : 768px) {
height: 100px;
}
@media only screen and (max-width : 360px) {
height: 80px;
}
a {
text-decoration: none;
display: block;
&:hover, &:focus {
text-decoration: none;
background-color: @white;
transition: all 200ms ease;
}
}
h2 {
line-height: 150px;
margin-top: 0;
@media only screen and (max-width : 768px) {
line-height: 100px;
line-height: 100px;
}
@media only screen and (max-width : 360px) {
height: 80px;
line-height: 80px;
}
}
}
}
}
@@ -0,0 +1,73 @@
// .s_mini_nav_bar {
// min-height: 120px;
// background-size: cover;
// }
.s_mini_nav_bar_nav {
position: relative;
top: -50px;
height: 82px;
padding: 0px;
.btn {
font-family: @font-family-sans-serif;
text-align: center;
width: 82px;
height: 82px;
line-height: 1.33;
border-radius: 48px;
border: 0px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}
}
.s_mini_nav_bar_content {
// z-index: 999;
h1 {
color: white;
font-size: 60px;
}
}
.s_mini_nav_bar_item {
margin: 0 20px;
min-height: 100px;
}
// }
// .btn-circle {
// font-family: @font-family-sans-serif;
// width: 30px;
// height: 30px;
// text-align: center;
// padding: 6px 0;
// font-size: 12px;
// line-height: 1.428571429;
// border-radius: 15px;
// }
// .btn-circle.btn-lg {
// text-align: center;
// width: 50px;
// height: 50px;
// padding: 10px 16px;
// font-size: 18px;
// line-height: 1.33;
// border-radius: 25px;
// }
// .btn-circle.btn-xl {
// text-align: center;
// width: 70px;
// height: 70px;
// padding: 16px;
// font-size: 24px;
// line-height: 1.33;
// border-radius: 35px;
// }
@@ -0,0 +1,51 @@
.s_news_carousel{
div{
height: 100%;
@media (max-width: @screen-sm-max) {
height: auto !important;
}
}
.carousel-inner{
width: 80%;
margin: 0 10%;
@media (max-width: @screen-sm-max) {
width: 100%;
margin: 0;
}
.item{
padding: 0 15px;
}
}
.news-carousel-time{
padding: 32px 0;
.day{
.center-block();
width: (@font-size-h2 * 2);
height: (@font-size-h2 * 2);
line-height: (@font-size-h2 * 2);
font-size: @font-size-h2;
}
.month{
.center-block();
font-size: @font-size-h6;
margin-top: 6px;
}
.year{
.center-block();
font-size: @font-size-h6;
}
}
.news-carousel-content{
padding: 32px;
}
.carousel-control{
.carousel-control(15px, 0, 2px);
.fa{
margin-top: -21px;
@media (max-width: @screen-sm-max) {
top: 65px;
margin-top: 0;
}
}
}
}
@@ -0,0 +1,37 @@
.s_pricing strong {
font-weight: 700;
color: @gray-dark;
}
.s_pricing_footer {
height: 32px;
}
.s_pricing_box {
box-shadow: 0px 2px 5px 0px fade(black, 10%);
border: 1px solid lighten(@gray-lighter, 10%);
}
.s_pricing_header {
padding: 24px 12px;
min-height: 180px;
}
.s_pricing_header h2 {
font-weight: 700; color: white;
}
.s_pricing_header h3 {
font-weight: 500; color: white;
}
.s_pricing_features {
padding: 15px 10px 15px 10px;
text-align: center;
line-height: 20px;
font-size: 14px;
color: @gray;
background-color: white;
}
@@ -0,0 +1,47 @@
.s_process_step_steps {
position: relative;
> .row:before {
top: 70px;
bottom: 0;
position: absolute;
content: " ";
width: 100%;
height: 5px;
background-image: linear-gradient(to right, lighten(@gray-light, 10%) 0%, lighten(@gray-lighter, 10%) 100%,);
z-order: 0;
}
div {
padding-left: 2,5%;
text-align: center;
position: relative;
.s_process_step_content {
background-color: lighten(@gray-lighter, 10%);
padding: 12px 0;
p {
padding: 12px;
color: @gray-dark;
}
}
h4 {
margin-top: 20px;
}
button[disabled] {
opacity: 1 !important;
filter: alpha(opacity=100) !important;
}
}
.btn {
width: 60px;
height: 60px;
text-align: center;
padding-top: 14px;
line-height: 1.4;
border-radius: 30px;
color: white;
box-shadow: 0 1px 5px fade(black, 10%);
.fa {
font-size: 30px;
}
}
}
@@ -0,0 +1,18 @@
.s_process_steps_2{
position: relative;
&:before{
content: '';
top: 60px;
position: absolute;
bottom: 0;
width: 100%;
height: 2px;
background-color: @gray-lighter;
@media (max-width: @screen-sm-max) {
display: none;
}
}
.fa-size-generator(20px);
.fa-margin-generator(-10px);
}
@@ -0,0 +1,46 @@
.s_product_list_img_hook(){};
.s_product_list {
padding: 15px;
.col-md-2 {
margin-bottom: 20px; // without this style the columns go directly to the top of the bellow ones.
}
.product-list div {
padding: 0px 15px;
height: 200px;
text-align: center;
img {
max-width: 100%;
max-height: 130px;
.s_product_list_img_hook;
}
.btn {
font-size: 16px;
text-transform: uppercase;
margin-top: 16px;
width: 90%;
margin: 0 10px;
padding: 5px !important;
bottom: 0px;
position: absolute;
left: 0;
@media only screen and (max-width : 1280px) {
font-size: 12px;
}
.fa {
font-size: 18px;
padding-right: 5px;
@media only screen and (max-width : 1024px) {
display: block;
font-size: 25px;
}
}
}
}
}
@@ -0,0 +1,130 @@
@s_products_carousel_carousel_control_color: rgba(0, 0, 0, 0);
@s_products_carousel_carousel_height: 500px;
@s_products_carousel_carousel_icon_color: @color-gamma;
@s_products_carousel_indicators_position: 0px;
@s_products_carousel_indicators_visible: hidden;
@s_products_carousel_hero_bg_padding: 60px 90px 0px 90px;
.s_products_carousel_hook(){};
.s_products_carousel {
.fa {
color: @s_products_carousel_carousel_icon_color;
font-size: 35px;
transition: all 0.3s ease 0s;
.VAlignMiddle;
&:hover {
color: @color-beta;
}
}
.carousel-inner {
height: @s_products_carousel_carousel_height;
}
.carousel-control {
opacity: 1;
top: 205px;
width: 70px;
height: 70px;
text-shadow: none;
}
.carousel-indicators {
visibility: @s_products_carousel_indicators_visible;
bottom: @s_products_carousel_indicators_position;
}
.carousel-control.left, .carousel-control.right {
.s_products_carousel_hook;
background-color: @s_products_carousel_carousel_control_color;
background-image: none;
height: 100%;
top: 0px;
}
.carousel-control.left {
left: 0px;
.fa-chevron-left {
right: 39%;
top: 50%;
}
}
.carousel-control.right {
right: 0px;
.fa-chevron-right {
left: 39%;
top: 50%;
}
}
.carousel .carousel-control.left *, .carousel .carousel-control.right * {
position: relative;
top: 19px;
z-index: 5;
}
.row {
margin: 0;
}
.container-fluid {
padding: 0;
overflow: hidden;
.product-widget {
position: absolute;
bottom: 0px;
text-align: center;
background: @color-alpha;
@media screen and (max-width: 360px) {
height: auto;
}
}
.widget{
display: inline-block;
overflow: hidden;
@media screen and (max-width: 360px) {
transform: none;
padding-bottom: 10px;
}
img {
max-height: 120px;
&:hover {
opacity: 0.7;
}
}
}
.hero-bg {
padding: @s_products_carousel_hero_bg_padding;
color: @color-alpha;
text-align: center;
@media screen and (max-width: 768px) {
padding-top: 20px;
text-align: center;
}
@media screen and (max-width: 360px) {
padding: 0px;
}
h2 {
font-size: 85px;
text-shadow: 1px 1px 11px rgba(0, 0, 0, 0.86);
@media screen and (max-width: 768px) {
font-size: 65px;
}
@media screen and (max-width: 360px) {
font-size: 35px;
}
}
}
}
}
@@ -0,0 +1,34 @@
.s_profile_box {
min-height: 450px;
color: @gray-dark;
h2 {
color: @gray-dark;
}
.fa, .btn {
font-size: 18px;
}
span.tags
{
background: @gray;
border-radius: 2px;
color: white;
padding: 2px 4px;
}
}
.s_profile_box_divider {
border-top: 1px solid lighten(@gray-light, 15%);
}
.s_profile_box_emphasis:hover {
transition: all 0.3s ease-in-out;
background-color: lighten(@gray-lighter, 10%);
}
.s_profile .well p, .s_profile .well h2 {
color: @gray-dark;
}
@@ -0,0 +1,68 @@
.s_progress {
.col-md-3:nth-child(4) {
.fa-chevron-right {
color: rgba(0, 0, 0, 0);
}
}
.col-md-3:nth-child(1) {
border-left-width: 0;
}
.col-md-3 {
border-left-width: 1px;
border-left-style: solid;
@media only screen and (max-width : 768px) {
border-bottom-width: 1px;
border-bottom-style: solid;
border-left-width: 0;
}
}
.fa {
font-size: 60px;
}
.process {
height: 25px;
text-align: right;
width: 100%;
@media only screen and (max-width : 768px) {
display: none;
}
}
hr {
width: 50px;
margin-bottom: 40px;
transform:rotate(90deg);
-o-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-webkit-transform:rotate(90deg);
@media only screen and (max-width : 768px) {
display: none;
}
}
.icon-container {
max-width: 250px;
}
.progress-iconset {
padding: 10px;
text-align: center;
min-height: 230px;
@media only screen and (max-width : 768px) {
min-height: 50px;
}
}
.icons .col-md-3 {
padding: 0;
}
.fa-chevron-right {
font-size: 25px;
}
.progress-content {
padding: 10px 25px;
min-height: 230px;
@media only screen and (max-width : 768px) {
min-height: 50px;
}
h1 {
margin-top: 0;
}
}
}
@@ -0,0 +1,24 @@
/* Bootstrap variables */
@progress-bg: @gray-lighter;
@progress-bar-color: #fff;
@progress-border-radius: @border-radius-base;
@progress-bar-bg: @color-alpha;
@progress-bar-success-bg: @color-beta;
@progress-bar-info-bg: @color-gamma;
@progress-bar-warning-bg: @color-delta;
@progress-bar-danger-bg: @color-epsilon;
/* Snippet variables */
@s_progress_bar_box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
/* Snippet styles */
.s_progress_bar{
&.progress{
box-shadow: @s_progress_bar_box-shadow;
}
}
@@ -0,0 +1,9 @@
.s_quotes_slider_2{
&.quotecarousel{
padding: 0;
};
.blockquote-layout(#fff, @gray-darker);
.carousel-indicators{
.carousel-indicators(5px, -5px);
}
}
@@ -0,0 +1,6 @@
.s_references_2{
.blockquote-layout(@gray-lighter, @gray-darker);
.carousel-indicators{
.carousel-indicators(-15px, -10px);
}
}
@@ -0,0 +1,3 @@
.s_separator_block-container {
height: 30px;
}
@@ -0,0 +1,7 @@
.s_separator_color hr {
height: 2px;
border-top: 0;
background-color: @color-beta;
border-radius: 5px;
}
@@ -0,0 +1,6 @@
.s_separator_multicolor hr {
height: 12px;
border-top: 0;
background: linear-gradient(to right, @color-beta 0%, @color-beta 30%, @color-delta 30%, @color-delta 80%, @color-gamma 80%);
}
@@ -0,0 +1,16 @@
.s_separator_multicolor_fw div {
padding: 0px;
margin: 0;
height: 14px;
hr {
height: 14px;
border-top: 0;
padding: 0px;
margin: 0;
background: linear-gradient(to right, @color-beta 0%, @color-beta 30%, @color-delta 30%, @color-delta 80%, @color-gamma 80%);
}
}
@@ -0,0 +1,28 @@
/* Lead bar */
.s_separator_nav {
position: relative;
top: -50px;
height: 82px;
padding: 0px;
.btn {
font-family: @font-family-sans-serif;
text-align: center;
width: 82px;
height: 82px;
padding-top: 24px;
font-size: 26px;
line-height: 1.33;
border-radius: 48px;
border: 0px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}
}
.s_separator_nav_item {
margin: 0 20px;
min-height: 100px;
}
@@ -0,0 +1,6 @@
.s_separator_shade hr {
height: 2px;
border-top: 0;
background: @gray;
border-radius: 5px;
}
@@ -0,0 +1,85 @@
.s_showcase{
.box{
overflow: hidden;
position: relative;
}
h4{
vertical-align: top;
}
i{
font-size: 2em;
opacity: 0.5;
}
.text-right{
i{ float: right; margin-left: .5em}
p {
float: right;
display: block;
}
}
.text-left{
i{ float: left; margin-right: .5em}
p { float: left}
}
.row{ margin-top: 1em }
.feature{
p {
max-width: 300px;
margin-top: 0.6em;
clear: both;
}
}
.line{
height: 100%;
position: absolute;
width: 10px;
left: 50%;
margin-left: -5px;
&:before{
content:"";
display: block;
height: 100%;
width: 50%;
float: left;
border-right: 1px solid @gray-lighter;
}
}
}
@media only screen and (max-width : 768px) {
.s_showcase{
.box{
height: auto!important;
}
.text-right, .text-left{
text-align: center;
i{
font-size: 2em;
opacity: 0.5;
float: none;
display: block;
position: relative;
margin-left: auto;
margin-right: auto;
}
}
.feature{
margin-bottom: 3em;
p {
float: none;
display: block;
position: relative;
margin-left: auto;
margin-right: auto;
}
}
.line{
&:before{
display: none;
}
}
}
}
@@ -0,0 +1,104 @@
@s_showcase_image_left-caption_bg : white;
@s_showcase_image_left-caption_color : #333;
@s_showcase_image_left-caption_padding : 1em;
@s_showcase_image_left-caption_font-size-mobile : 1em;
@s_showcase_image_left-caption_font-size-desktop : .8em;
@s_showcase_image_left-caption_text-shadow : none;
// Default Layout
// =======================
.s_showcase_image_left {
height: auto;
text-align: left;
.info{
margin-bottom: 1.5em;
}
figure{
background-size : cover;
position : relative;
height : 200px;
}
figcaption {
position : absolute;
bottom : 0;
width : 100%;
text-shadow : @s_showcase_image_left-caption_text-shadow;
font-size : @s_showcase_image_left-caption_font-size-mobile;
color : @s_showcase_image_left-caption_color;
background : @s_showcase_image_left-caption_bg;
padding : @s_showcase_image_left-caption_padding;
h6 {margin-top: 0}
}
@media only screen and (max-width: 767px) {
height: auto!important;
}
@media only screen and (min-width: 992px) {
height: 350px;
.info{
height: 100%;
margin-bottom: 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.content{
}
figure{
height: 100%;
}
figcaption {
position : absolute;
bottom : 0;
right : 0;
width : 50%;
font-size : @s_showcase_image_left-caption_font-size-desktop;
padding : @s_showcase_image_left-caption_padding;
}
}
}
@supports not (display: flex) {
@media only screen and (min-width: 992px) {
.info{
margin: 2em 0;
}
}
}
// Layout Options
// =======================
.s_showcase_image_left figure {
&.tl{
figcaption {
top : 0;
left : 0;
bottom : auto;
right : auto;
margin-left : 14px;
text-align: right;
}
}
&.tr{
figcaption {
top : 0;
left : auto;
bottom : auto;
right : 0;
}
}
&.bl{
figcaption {
top : auto;
left : 0;
bottom : 0;
margin-left : 14px;
right : auto;
text-align: right;
}
}
}
@@ -0,0 +1,104 @@
@s_showcase_image_right-caption_bg : white;
@s_showcase_image_right-caption_color : #333;
@s_showcase_image_right-caption_padding : 1em;
@s_showcase_image_right-caption_font-size-mobile : 1em;
@s_showcase_image_right-caption_font-size-desktop : .8em;
@s_showcase_image_right-caption_text-shadow : none;
// Default Layout
// =======================
.s_showcase_image_right {
height: auto;
text-align: right;
.info{
margin-bottom: 1.5em;
}
figure{
background-size : cover;
position : relative;
height : 200px;
}
figcaption {
position : absolute;
bottom : 0;
width : 100%;
text-shadow : @s_showcase_image_right-caption_text-shadow;
font-size : @s_showcase_image_right-caption_font-size-mobile;
color : @s_showcase_image_right-caption_color;
background : @s_showcase_image_right-caption_bg;
padding : @s_showcase_image_right-caption_padding;
h6 {margin-top: 0}
}
@media only screen and (max-width: 767px) {
height: auto!important;
}
@media only screen and (min-width: 992px) {
height: 350px;
.info{
height: 100%;
margin-bottom: 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.content{
}
figure{
height: 100%;
}
figcaption {
position : absolute;
bottom : 0;
right : 0;
width : 50%;
margin-right : 14px;
text-align : left;
font-size : @s_showcase_image_right-caption_font-size-desktop;
padding : @s_showcase_image_right-caption_padding;
}
}
}
@supports not (display: flex) {
@media only screen and (min-width: 992px) {
.info{
margin: 2em 0;
}
}
}
// Layout Options
// =======================
.s_showcase_image_right figure {
&.tl{
figcaption {
top : 0;
left : 0;
bottom : auto;
right : auto;
text-align: right;
}
}
&.tr{
figcaption {
top : 0;
left : auto;
bottom : auto;
right : 0;
margin-right : 14px;
}
}
&.bl{
figcaption {
top : auto;
left : 0;
bottom : 0;
right : auto;
text-align: right;
}
}
}
@@ -0,0 +1,288 @@
// ======= Variables ============================
// ==============================================
// Change main snippet's propriety easily
@s-ss-slider-navigation-color : white;
@s-ss-slider-navigation-text-shadow : 0 1px 0 #333;
// ====== Hooks(hook) =====================================
// ===========================================================
// Use them to inject NEW css rules or overwrite the old ones.
// This method is more maintenable than classic css overwrite
// 'couse it works also if the snippet's structure will change.
// How to:
// in your theme, just call the backdoor like a normal
// CSS class adding parethesis at the end ".backdoor-name()"
// (this will prevent the creation of a standard CSS class).
// Add your rules inside. Your style will take the priority.
// Done.
// .s_showcase_slider-wrapper-hook(){
// border: 20px solid red;
// max-height: 200px;
// }
.s_showcase_slider-wrapper-hook(){}
.s_showcase_slider-slider-hook(){}
.s_showcase_slider-slider-hover-hook(){};
.s_showcase_slider-navigation-hook(){};
.s_showcase_slider-navigation-buttons-hook(){};
.s_showcase_slider-close-hook(){};
.s_showcase_slider-info-hook(){};
.s_showcase_slider {
position: relative;
.s-ss-slider-wrapper {
position: relative;
z-index: 10;
.transition(width 400ms);
/* Force Hardware Acceleration */
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
.backface-visibility(hidden);
.s_showcase_slider-wrapper-hook;
}
.s-ss-slider{
padding: 0;
position: relative;
z-index: 10;
overflow: hidden;
&:before{
/* never visible - this is used by
javascript to check the current window size */
content: 'mobile';
display: none;
}
.s_showcase_slider-slider-hook;
}
.s-ss-slider li {
position:absolute;
list-style:none;
top:0;
left:0;
z-index:10;
height:100%;
width:100%;
.translate(100%; 0);
.transition(transform 300ms linear);
img {
display:block;
width:100%;
}
&.selected {
position:relative;
z-index:12;
.translate(0; 0);
}
&.move-left {
.translate(-100%; 0);
}
}
.s-ss-slider-navigation li {
position:absolute;
z-index:12;
top:50%;
list-style:none;
bottom:auto;
.translate(0; -50%);
span {
display:block;
width:48px;
height:48px;
overflow:hidden;
font-size: 1.6em;
color: @s-ss-slider-navigation-color;
text-shadow: @s-ss-slider-navigation-text-shadow;
white-space:nowrap;
.transition(e("opacity 200ms, visibility 0s"));
.s_showcase_slider-navigation-buttons-hook;
&.inactive {
opacity:0;
visibility:hidden;
.transition(e("opacity 200ms 0s, visibility 0s 200ms"));
}
&:hover {
opacity:.7;
}
}
&:first-of-type {
left:10px;
}
&:last-of-type {
right:10px;
}
.s_showcase_slider-navigation-hook;
}
.s-ss-slider-pagination {
position:absolute;
z-index:12;
bottom:30px;
left:50%;
right:auto;
.translate(-50%; 0);
visibility:hidden;
li {
display:inline-block;
float:left;
margin:0 5px;
}
li.selected a {
background:#f5f4f3;
}
a {
display:block;
height:12px;
width:12px;
border-radius:50%;
box-shadow: 0 1px 0 #333;
border:1px solid #f5f4f3;
background-color:rgba(255,255,255,0);
overflow:hidden;
text-indent:100%;
white-space:nowrap;
}
&:after {
content:"";
display:table;
clear:both;
}
}
.s-ss-slider-wrapper .s-ss-close {
display: none;
position: absolute;
z-index: 12;
top: 30px;
right: 30px;
width: 48px;
height: 48px;
overflow: hidden;
white-space: nowrap;
visibility: hidden;
opacity: 0;
font-size: 1.6em;
text-align: right;
color: @s-ss-slider-navigation-color;
text-shadow: @s-ss-slider-navigation-text-shadow;
.transition(e("transform 0.3s 0s, visibility 0s 0.4s"))
&:hover {
.scale(1.2);
}
.s_showcase_slider-close-hook;
}
.s-ss-item-info {
padding: 50px 5%;
.s_showcase_slider-info-hook;
}
// ================ SLIDER ACTIVE
&.active .s-ss-slider-wrapper .s-ss-close {
visibility: visible;
opacity: 1;
.transition(e("transform 0.3s 0s, visibility 0s 0s, opacity .4s .4s"))
}
}
@media only screen and (min-width: 992px) {
.s_showcase_slider {
.s-ss-slider {
cursor: pointer;
&:before { content: 'desktop'; }
&:after {
content: '';
display: block;
position: absolute;
background: rgba(255, 255, 255, 0.4);
top: 0;
left: 0;
height: 100%;
width: 100%;
background-size: 48px;
opacity: 0;
z-index: 14;
.transition(opacity 200ms);
}
&:hover::after {
opacity: 1;
}
.s_showcase_slider-slider-hover-hook;
}
.s-ss-item-info{
position: absolute;
width: 50%;
top: 0;
right: 0;
padding: 60px 60px 0;
margin: 0;
}
.s-ss-slider-wrapper {
width: 50%;
.s-ss-close {
display: block;
}
}
.s-ss-slider-navigation li,
.s-ss-slider-pagination {
opacity: 0;
visibility: hidden;
.transition(e("opacity 0.4s 0s, visibility 0s .4s"))
}
.s-ss-slider-navigation li{
&:first-child {
left: 30px;
}
li:last-child {
right: 30px;
}
}
// ================ SLIDER ACTIVE
&.active{
.s-ss-slider {
cursor: auto;
&:after {
display: none;
};
}
.s-ss-slider-wrapper {
width: 100%;
z-index: 10;
}
.s-ss-slider-navigation li,
.s-ss-slider-pagination {
opacity: 1;
visibility: visible;
.transition(e("opacity 0.4s .4s, visibility 0s .4s"))
}
}
}
} /* @media only screen and (min-width: 992px) */
@@ -0,0 +1,47 @@
/* Slide Banner */
.s_slide_banner {
min-height: 480px;
}
.s_slide_banner.carousel {
overflow: hidden;
.carousel-content {
background: none;
margin-top: 75px;
color: @text-color;
}
.carousel-inner {
height: 100%;
.item {
height: 100%;
background-size: cover;
}
}
.carousel-control {
cursor: pointer;
span {
top: 50%;
position: absolute;
margin-top: -8px;
}
&.left {
left: -10px;
* {
position: absolute;
top: 50%;
right: 50%;
}
}
&.right {
right: -10px;
* {
position: absolute;
top: 50%;
}
}
}
}
+12
View File
@@ -0,0 +1,12 @@
.s_tabs{
.nav-tabs > li > a{
margin: 0 1px 1px 0;
background-color: @gray-lighter;
padding: 10px 20px;
cursor: pointer;
.fa{
margin-right: 8px;
}
}
}
@@ -0,0 +1,23 @@
.s_team_profile_box {
margin: 0.32em;
padding: 32px 24px;
box-shadow: 0px 1px 8px fade(black, 15%);
background-color: fade(white, 5%);
border: 1px solid fade(white, 5%);
img {
border: 4px solid white;
max-width: 160px;
box-shadow: 1px 1px 8px fade(black, 10%);
}
}
.s_team_profile_share {
margin: 24px 0;
.fa {
color: @color-alpha;
font-size: 20px;
padding: 0 2px;
}
}
@@ -0,0 +1,34 @@
.s_team_profiles_2{
.profile-body{
padding: 30px;
margin-right: 1px;
img{
display: inline-block;
margin: 30px 0 0 0;
max-width: 50%;
}
}
.profile-options{
font-size: @font-size-small;
margin: 0;
div{
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
padding: 0;
}
a{
display: block;
padding: 8px 0;
}
p{
display: block;
padding: 8px 0;
margin-bottom: 0;
}
.fa{
padding: 16px 0 0 0;
display: block;
}
}
}
@@ -0,0 +1,46 @@
/*-------------------------------*/
/* Carousel Fade Transition */
/*-------------------------------*/
.s_testimonial_slider.carousel .carousel-inner .item {
opacity: 0;
-webkit-transition-property: opacity;
-ms-transition-property: opacity;
transition-property: opacity;
}
.s_testimonial_slider.carousel .carousel-inner .active {
opacity: 1;
-webkit-transition-property: opacity;
-ms-transition-property: opacity;
transition-property: opacity;
}
.s_testimonial_slider.carousel .carousel-indicators {
bottom: 10px;
}
.s_testimonial_slider.carousel .carousel-indicators > li {
background-color: @color-alpha;
border: none;
}
.s_testimonial_slider blockquote {
text-align: center;
border: none;
font-size: 28px;
font-weight: 300;
}
.s_testimonial_slider {
.fa {
font-size: 16px;
}
.col-md-2 > img {
@media screen and (max-width: 768px) {
max-height: 100px;
}
}
}
@@ -0,0 +1,47 @@
@s_text_big_picture_padding: 50px 0;
@s_text_big_picture_text_align: left;
.s_text_big_picture_hero_hook(){};
.s_text_big_picture {
padding: @s_text_big_picture_padding;
.hero-paragraph {
padding: 0px 40px;
text-align: @s_text_big_picture_text_align;
h1 {
font-weight: 900;
.s_text_big_picture_hero_hook;
@media only screen and (max-width : 1024px) {
font-size: 25px;
font-weight: 900;
}
}
h2 {
@media only screen and (max-width : 1024px) {
font-size: 20px;
}
}
p {
font-size: 16px;
@media only screen and (max-width : 1024px) {
font-size: 14px;
}
}
}
.hero-image {
padding-left: 0px;
padding-right: 0px;
float: right;
img {
width: 100%;
}
}
}
@@ -0,0 +1,10 @@
@s_text_block_image_fw-padding: 0 30px;
.s_text_block_image_fw{
.container{
padding: @s_text_block_image_fw-padding;
[class*="col-"]{
padding: 30px;
}
}
}
@@ -0,0 +1,5 @@
.s_text_highlight {
padding: 12px 8px 18px;
border-radius: 5px;
border: 1px solid fade(white, 20%);
}
@@ -0,0 +1,28 @@
.s_text_image_fw{
@media (max-width: 991px) {
.col-text{
max-width: 750px;
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
}
@media (min-width: 992px) {
.col-text{
max-width: 455px;
float: right;
}
.col-img{
max-width: 50%;
float: left;
padding: 0;
}
}
@media (min-width: 1200px) {
.col-text{
max-width: 555px;
float: right;
}
}
}
@@ -0,0 +1,11 @@
.s_text_picture_text {
h3 {
padding-bottom: 30px;
}
.row div:nth-child(2) img {
margin-bottom: 20px;
width: 100%;
}
}
@@ -0,0 +1,16 @@
.s_three_columns_carousel{
[class*="bg-"]{
border: 10px solid rgba(0, 0, 0, 0);
padding: 20px;
background-clip: padding-box;
> .carousel [class*="bg-"]{
border: 0;
}
}
.bg-none{
padding: 0;
}
.carousel-control{
.carousel-control(0, 0, 2px);
}
}
@@ -0,0 +1,251 @@
@s_timeline_company_color: @color-alpha;
.s_timeline_ul {
list-style: none;
padding: 20px 0 20px;
position: relative;
&:before {
top: 0;
bottom: 0;
position: absolute;
content: " ";
width: 3px;
background-color: @gray-lighter;
left: 50%;
margin-left: -1.5px;
}
& > li {
margin-bottom: 20px;
position: relative;
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
}
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
}
& > .s_timeline_panel {
width: 50%;
position: relative;
float: left;
padding: 0 44px 0 0;
@media screen and (max-width: 640px) {
width: 100%;
padding: 0;
}
& > div {
background-color: @color-wind;
width: 100%;
float: left;
border: 1px solid #d4d4d4;
border-radius: 2px;
padding: 20px;
position: relative;
-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
&:before {
position: absolute;
top: 26px;
right: -15px;
display: inline-block;
border-top: 15px solid rgba(0, 0, 0, 0);
border-left: 15px solid #ccc;
border-right: 0 solid #ccc;
border-bottom: 15px solid rgba(0, 0, 0, 0);
content: " ";
}
&:after {
position: absolute;
top: 27px;
right: -14px;
display: inline-block;
border-top: 14px solid rgba(0, 0, 0, 0);
border-left: 14px solid @color-wind;
border-right: 0 solid @color-wind;
border-bottom: 14px solid rgba(0, 0, 0, 0);
content: " ";
}
}
}
& > .s_timeline_badge {
color: #fff;
width: 50px;
height: 50px;
line-height: 50px;
font-size: 1.4em;
text-align: center;
position: absolute;
top: 16px;
left: 50%;
margin-left: -25px;
background-color: #999999;
z-index: 100;
border-top-right-radius: 50%;
border-top-left-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
@media screen and (max-width:640px) {
display: none;
}
}
&:not(.s_timeline_inverted) > .s_timeline_panel:nth-child(2n+1) {
float: right;
padding: 0 0 0 44px;
@media screen and (max-width: 640px) {
padding: 0;
margin-top: 20px;
}
& > div {
float: right;
&:before {
border-left-width: 0;
border-right-width: 15px;
left: -15px;
right: auto;
}
&:after {
border-left-width: 0;
border-right-width: 14px;
left: -14px;
right: auto;
}
}
}
&.s_timeline_inverted > .s_timeline_panel:nth-child(2n) {
float: right;
padding: 0 0 0 44px;
@media screen and (max-width: 640px) {
padding: 0;
}
& > div {
float: right;
&:before {
border-left-width: 0;
border-right-width: 15px;
left: -15px;
right: auto;
}
&:after {
border-left-width: 0;
border-right-width: 14px;
left: -14px;
right: auto;
}
}
}
}
}
.s_timeline_badge.primary {
background-color: @color-alpha !important;
}
.s_timeline_badge.success {
background-color: @color-beta !important;
}
.s_timeline_badge.warning {
background-color: @color-delta !important;
}
.s_timeline_badge.danger {
background-color: @color-epsilon !important;
}
.s_timeline_badge.info {
background-color: @color-gamma !important;
}
.s_timeline_title {
margin-top: 0;
color: @gray-dark;
}
.s_timeline_info {
margin-top: 0;
color: @gray;
}
.s_timeline_date {
margin-top: 0;
color: @gray-dark;
}
.s_timeline_company {
margin-top: 0;
color: @s_timeline_company_color;
}
.s_timeline_heading {
color: @gray-dark;
}
.s_timeline_body > p,
.s_timeline_body > ul {
margin-bottom: 0;
color: @gray-dark;
}
.s_timeline_body > p + p {
margin-top: 5px;
}
@media (max-width: 767px) {
ul.timeline:before {
display: none;
}
ul.timeline > li {
margin-bottom: 0;
> .s_timeline_panel {
float: right;
width: 100%;
padding: 0 !important;
margin-bottom: 20px;
> .s_timeline_panel_content {
&:before, &:after {
display: none;
}
}
}
> .s_timeline_badge {
display: none;
}
}
}
.s_timeline_badge .fa {
font-size: 24px;
}
@@ -0,0 +1,163 @@
.s_timeline_icons ul.timeline {
list-style: none;
padding: 0;
&:before {
content: '';
position: absolute;
width: 1px;
top: 10px;
bottom: 10px;
left: 50%;
background-color: @gray;
}
li {
position: relative;
margin-bottom: 15px;
&:before,
&:after {
content: '';
display: table;
}
&:after {
clear: both;
}
/* Left & Right */
.timeline-content,
.timeline-content-double {
position: relative;
width: 50%;
color: @gray-darker;
&:after {
content: '';
position: absolute;
top: 10px;
right: 30px;
display: inline-block;
border-top: 5px solid rgba(0, 0, 0, 0);
border-left: 5px solid @gray-darker;
border-right: 0 solid @gray-darker;
border-bottom: 5px solid rgba(0, 0, 0, 0);
}
/* Text */
.timeline-text {
overflow: hidden;
min-height: 50px;
padding: 3px 10px;
p, ul{
margin: 0;
+ p{
margin-top: 5px;
}
}
}
/* Badge */
.fa {
margin: -5px 0 0 0;
color: #fff;
text-align: center;
}
/* Icons size */
.fa-size-generator(20px);
}
/* Date */
.timeline-date {
position: absolute;
left: 50%;
width: 60px;
height: 30px;
line-height: 30px;
margin-left: -30px;
background-color: #fff;
color: @gray-darker;
font-weight: 700;
text-align: center;
z-index: @zindex-navbar;
}
/* Left */
&:not(.timeline-inverted) .timeline-content,
&.timeline-inverted .timeline-content-double {
float: left;
padding: 0 45px 0 0;
text-align: right;
.fa {
float: right;
margin-left: 10px;
}
}
/* Right */
&.timeline-inverted .timeline-content,
&:not(.timeline-inverted) .timeline-content-double {
float: right;
padding: 0 0 0 45px;
&:after {
border-left-width: 0;
border-right-width: 5px;
left: 30px;
right: auto;
}
.fa {
float: left;
margin-right: 10px;
}
}
}
}
@media (max-width: @screen-xs-max) {
.s_timeline_icons ul.timeline{
text-align: center;
&:before{
display: none;
}
li {
border-bottom: 1px solid @gray-lighter;
&:last-child{
border-bottom: 0;
}
&.timeline-inverted .timeline-content,
&.timeline-inverted .timeline-content-double,
&:not(.timeline-inverted) .timeline-content,
&:not(.timeline-inverted) .timeline-content-double {
width: 100%;
padding: 0;
text-align: center;
&:after{
display: none;
}
.fa {
float: none;
margin: 10px 0 0 0;
}
.timeline-text{
padding: 10px 0 20px 0;
min-height: 0;
}
}
.timeline-date{
position: relative;
left: auto;
margin: 0;
background-color: rgba(0, 0, 0, 0);
}
}
}
}