inital commit
This commit is contained in:
51
templates/template_3/sources/scss/custom/_functions.scss
Normal file
51
templates/template_3/sources/scss/custom/_functions.scss
Normal file
@@ -0,0 +1,51 @@
|
||||
//
|
||||
// Functions
|
||||
// --------------------------------------------------
|
||||
|
||||
// All Headings
|
||||
//
|
||||
@function headings() {
|
||||
@return unquote("h1, h2, h3, h4, h5, h6, [class^='heading-']");
|
||||
}
|
||||
|
||||
/// Replace `$search` with `$replace` in `$string`
|
||||
/// @author Hugo Giraudel
|
||||
/// @param {String} $string - Initial string
|
||||
/// @param {String} $search - Substring to replace
|
||||
/// @param {String} $replace ('') - New value
|
||||
/// @return {String} - Updated string
|
||||
@function str-replace($string, $search, $replace: '') {
|
||||
$index: str-index($string, $search);
|
||||
|
||||
@if $index {
|
||||
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
||||
}
|
||||
|
||||
@return $string;
|
||||
}
|
||||
|
||||
// Remove the unit of a length
|
||||
// @param {number} $number - Number to remove unit from
|
||||
// @return {number} - Unitless number
|
||||
@function strip-unit( $number ) {
|
||||
@if type-of( $number ) == 'number' and not unitless( $number ) {
|
||||
@return $number / ( $number * 0 + 1 );
|
||||
}
|
||||
|
||||
@return $number;
|
||||
}
|
||||
|
||||
// Converts px to rem
|
||||
// @param {number|list} $value - number or list in px
|
||||
// @return {number|list} - number or list in rem
|
||||
@function px-to-rem( $values... ) {
|
||||
@if length( $values ) == 1 {
|
||||
@return strip-unit( nth( $values, 1 ) ) / 16 * 1rem;
|
||||
} @else {
|
||||
$result: ();
|
||||
@each $value in $values {
|
||||
$result: append( $result, strip-unit( $value ) / 16 * 1rem );
|
||||
}
|
||||
@return $result;
|
||||
}
|
||||
}
|
||||
73
templates/template_3/sources/scss/custom/_main-styles.scss
Normal file
73
templates/template_3/sources/scss/custom/_main-styles.scss
Normal file
@@ -0,0 +1,73 @@
|
||||
//
|
||||
// Main styles
|
||||
//
|
||||
@import "../bootstrap/functions";
|
||||
@import "../bootstrap/variables";
|
||||
@import "../bootstrap/mixins";
|
||||
@import "functions";
|
||||
@import "variables-custom";
|
||||
@import "mixins";
|
||||
@import "reset";
|
||||
//
|
||||
// Components
|
||||
//
|
||||
@import "components/type-custom";
|
||||
@import "components/brand";
|
||||
@import "components/links";
|
||||
@import "components/blocks";
|
||||
@import "components/boxes";
|
||||
@import "components/groups";
|
||||
@import "components/units";
|
||||
@import "components/lists";
|
||||
@import "components/images";
|
||||
@import "components/icons";
|
||||
@import "components/tables";
|
||||
@import "components/dividers";
|
||||
@import "components/buttons";
|
||||
@import "components/forms";
|
||||
@import "components/posts";
|
||||
@import "components/quotes";
|
||||
@import "components/thumbnails";
|
||||
@import "components/breadcrumbs";
|
||||
@import "components/pagination-custom";
|
||||
@import "components/snackbars";
|
||||
@import "components/footers";
|
||||
@import "components/custom-modal";
|
||||
@import "components/panel-custom";
|
||||
//
|
||||
// Helpers
|
||||
//
|
||||
@import "helpers/page-layout";
|
||||
@import "helpers/text-styling";
|
||||
@import "helpers/offsets";
|
||||
@import "helpers/sections";
|
||||
@import "helpers/grid-modules";
|
||||
@import "helpers/backgrounds";
|
||||
@import "helpers/utilities-custom";
|
||||
//
|
||||
// Plugins
|
||||
//
|
||||
@import "plugins/animate";
|
||||
@import "plugins/preloader";
|
||||
@import "plugins/ui-to-top";
|
||||
@import "plugins/rd-navbar";
|
||||
@import "plugins/swiper";
|
||||
@import "plugins/rd-google-map";
|
||||
@import "plugins/rd-search";
|
||||
@import "plugins/isotope";
|
||||
@import "plugins/nav-custom";
|
||||
@import "plugins/card-custom";
|
||||
@import "plugins/tooltip-custom";
|
||||
@import "plugins/counter";
|
||||
@import "plugins/progress-bars";
|
||||
@import "plugins/jquery-circle-progress";
|
||||
@import "plugins/timecircles";
|
||||
@import "plugins/scrollbar";
|
||||
@import "plugins/owl-carousel";
|
||||
@import "plugins/lightgallery";
|
||||
@import "plugins/material-parallax";
|
||||
@import "plugins/animated-text";
|
||||
@import "plugins/twitter";
|
||||
@import "plugins/instafeed";
|
||||
@import "plugins/parallax-js";
|
||||
@import "plugins/vide-bg";
|
||||
13
templates/template_3/sources/scss/custom/_mixins.scss
Normal file
13
templates/template_3/sources/scss/custom/_mixins.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// Custom mixins
|
||||
//
|
||||
@import 'mixins/mixins';
|
||||
@import "mixins/context-styling";
|
||||
@import 'mixins/vendors';
|
||||
@import 'mixins/buttons';
|
||||
@import 'mixins/groups';
|
||||
@import 'mixins/spacing';
|
||||
@import 'mixins/grid-spacing';
|
||||
@import 'mixins/unit-utilities';
|
||||
@import 'mixins/gradients';
|
||||
@import 'mixins/links';
|
||||
94
templates/template_3/sources/scss/custom/_reset.scss
Normal file
94
templates/template_3/sources/scss/custom/_reset.scss
Normal file
@@ -0,0 +1,94 @@
|
||||
//
|
||||
// Reset Styles
|
||||
//
|
||||
|
||||
a,
|
||||
button {
|
||||
&:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
button::-moz-focus-inner {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
textarea {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
label {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
dl {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
dt,
|
||||
dd {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
cite {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
form {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding-left: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
html p a {
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
379
templates/template_3/sources/scss/custom/_variables-custom.scss
Normal file
379
templates/template_3/sources/scss/custom/_variables-custom.scss
Normal file
@@ -0,0 +1,379 @@
|
||||
// Variables
|
||||
//
|
||||
// Copy settings from this file into the provided `_custom.scss` to override
|
||||
// the Bootstrap defaults without modifying key, versioned files.
|
||||
//
|
||||
// Variables should follow the `$component-state-property-size` formula for
|
||||
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
||||
//
|
||||
// Temporary, used for calculation variables should by named `$_variable-name`
|
||||
//
|
||||
// Table of Contents
|
||||
//
|
||||
// Color system
|
||||
// Body
|
||||
// Page
|
||||
// Components
|
||||
// Fonts
|
||||
// Links
|
||||
// Z-index master list
|
||||
// Grid breakpoints
|
||||
// Grid containers
|
||||
// Grid columns
|
||||
// Buttons
|
||||
// Form
|
||||
// Pagination
|
||||
// Tooltips
|
||||
|
||||
//
|
||||
// Color system
|
||||
//
|
||||
|
||||
// Gray colors
|
||||
$white: #ffffff;
|
||||
$gray-100: #f3f3f3;
|
||||
$gray-200: #e7e7e7;
|
||||
$gray-300: #d7d7d7;
|
||||
$gray-400: #b7b7b7;
|
||||
$gray-500: #5b5b5b;
|
||||
$gray-600: #868e96;
|
||||
$gray-700: #2c343b;
|
||||
$gray-800: #151515;
|
||||
$gray-900: #111111;
|
||||
$black: #000000;
|
||||
|
||||
//
|
||||
// Body
|
||||
//
|
||||
$body-bg: $white;
|
||||
$body-color: $gray-800;
|
||||
|
||||
$theme-colors: ();
|
||||
|
||||
// Accent colors
|
||||
$danger-color: #f8666a;
|
||||
$success-color: #98bf44;
|
||||
|
||||
// Theme colors
|
||||
$black-invariable: #000000;
|
||||
$white-invariable: #ffffff;
|
||||
|
||||
// Additional colors
|
||||
$facebook: #4d70a8;
|
||||
$facebook-light: #748abc;
|
||||
$facebook-darken: darken($facebook, 5%);
|
||||
|
||||
$twitter: #02bcf3;
|
||||
$twitter-light: #81cbdb;
|
||||
$twitter-darken: darken($twitter, 5%);
|
||||
|
||||
$google: #e2411e;
|
||||
$google-light: #de7272;
|
||||
$google-darken: darken($google, 5%);
|
||||
|
||||
//
|
||||
// Page
|
||||
//
|
||||
$page-boxed-width: 1600px;
|
||||
$page-boxed-background-color: $gray-100;
|
||||
$page-boxed-background-image: url(../images/bg-pattern-boxed.png);
|
||||
|
||||
//
|
||||
// Components
|
||||
//
|
||||
// Define common padding and border radius sizes and more.
|
||||
$border-width: 1px;
|
||||
|
||||
$border-radius: 0;
|
||||
$border-radius-lg: .3rem;
|
||||
$border-radius-sm: .2rem;
|
||||
|
||||
$transition-base: all .3s ease-in-out;
|
||||
|
||||
// Map
|
||||
//
|
||||
$map-height: 200px;
|
||||
$map-xs-height: 250px;
|
||||
$map-md-height: 450px;
|
||||
|
||||
// Custom
|
||||
$shadow-area-1: -3px 0px 50px -2px rgba(0, 0, 0, 0.09);
|
||||
$shadow-area-2: 1px 1px 10px 0 rgba(0, 0, 0, 0.2);
|
||||
|
||||
//
|
||||
// Fonts
|
||||
//
|
||||
// Font, line-height, and color for body text, headings, and more.
|
||||
$font-family-sans-serif: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
$font-family-sans-serif-1: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
$font-family-cursive: 'Abril Fatface', cursive;
|
||||
$font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
|
||||
$font-family-base: $font-family-sans-serif;
|
||||
$font-family-sec: $font-family-sans-serif-1;
|
||||
|
||||
$font-weight-bold: 700;
|
||||
|
||||
// Base fonts
|
||||
$font-size-base: px-to-rem( 18px );
|
||||
$font-size-lg: px-to-rem( 22px );
|
||||
$font-size-sm: px-to-rem( 12px );
|
||||
|
||||
$_lh-base: 22px;
|
||||
$_lh-lg: 28px;
|
||||
$_lh-sm: 18px;
|
||||
|
||||
$font-weight-base: 400;
|
||||
|
||||
// ** < Calculated font values >
|
||||
$line-height-base: 1.22;
|
||||
$line-height-lg: 1.27;
|
||||
$line-height-sm: 1.5;
|
||||
// ** </ Calculated font values >
|
||||
|
||||
// Headings
|
||||
$headings-font-family: $font-family-sec;
|
||||
$headings-font-weight: 600;
|
||||
$headings-line-height: 1.1;
|
||||
$headings-color: $gray-800;
|
||||
|
||||
// Template Heading Values
|
||||
$_h1-fsz: 70;
|
||||
$_h2-fsz: 48;
|
||||
$_h3-fsz: 40;
|
||||
$_h4-fsz: 33;
|
||||
$_h5-fsz: 26;
|
||||
$_h6-fsz: 22;
|
||||
|
||||
$_h1-lh: 70;
|
||||
$_h2-lh: 57.6;
|
||||
$_h3-lh: 48;
|
||||
$_h4-lh: 36;
|
||||
$_h5-lh: 31.2;
|
||||
$_h6-lh: 28;
|
||||
|
||||
// ** < Calculated Headings values >
|
||||
$h1-font-size: $_h1-fsz * 1px;
|
||||
$h2-font-size: $_h2-fsz * 1px;
|
||||
$h3-font-size: $_h3-fsz * 1px;
|
||||
$h4-font-size: $_h4-fsz * 1px;
|
||||
$h5-font-size: $_h5-fsz * 1px;
|
||||
$h6-font-size: $_h6-fsz * 1px;
|
||||
|
||||
$h1-line-height: ($_h1-lh / $_h1-fsz);
|
||||
$h2-line-height: ($_h2-lh / $_h2-fsz);
|
||||
$h3-line-height: ($_h3-lh / $_h3-fsz);
|
||||
$h4-line-height: ($_h4-lh / $_h4-fsz);
|
||||
$h5-line-height: ($_h5-lh / $_h5-fsz);
|
||||
$h6-line-height: ($_h6-lh / $_h6-fsz);
|
||||
// ** </ Calculated Headings values >
|
||||
|
||||
// Icon Fonts
|
||||
$fa: 'FontAwesome';
|
||||
$mdi: 'Material Design Icons';
|
||||
$mi: 'Material Icons';
|
||||
$linear: 'Linearicons';
|
||||
|
||||
// Lead
|
||||
$lead-font-size: 24px;
|
||||
$lead-line-height: 34px;
|
||||
$lead-font-weight: 300;
|
||||
|
||||
// Hr
|
||||
$hr-border-color: $gray-300;
|
||||
$hr-border-width: $border-width;
|
||||
|
||||
// Mark
|
||||
$mark-padding: 5px 10px;
|
||||
$mark-bg: $primary;
|
||||
|
||||
$dt-font-weight: inherit;
|
||||
$list-inline-padding: 5px;
|
||||
|
||||
// Code
|
||||
$code-font-size: 90%;
|
||||
$code-padding-y: 10px;
|
||||
$code-padding-x: 5px;
|
||||
$code-color: $gray-900;
|
||||
$code-bg: $gray-100;
|
||||
|
||||
//
|
||||
// Links
|
||||
//
|
||||
$link-color: $primary;
|
||||
$link-decoration: none;
|
||||
$link-hover-color: darken($link-color, 30%);
|
||||
$link-press-color: darken($link-color, 30%);
|
||||
$link-hover-decoration: underline;
|
||||
|
||||
// Z-index master list
|
||||
//
|
||||
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
||||
// of components dependent on the z-axis and are designed to all work together.
|
||||
|
||||
$zindex-dropdown: 1000;
|
||||
$zindex-sticky: 1020;
|
||||
$zindex-fixed: 1030;
|
||||
$zindex-modal-backdrop: 1040;
|
||||
$zindex-modal: 1050;
|
||||
$zindex-popover: 1060;
|
||||
$zindex-tooltip: 1070;
|
||||
// Custom
|
||||
$zindex-rd-navbar: 1080;
|
||||
$zindex-layout-panel: 1100;
|
||||
|
||||
//
|
||||
// Grid breakpoints
|
||||
//
|
||||
// Define the minimum dimensions at which your layout will change,
|
||||
// adapting to different screen sizes, for use in media queries.
|
||||
$grid-breakpoints: (
|
||||
xs: 0,
|
||||
sm: 576px,
|
||||
md: 768px,
|
||||
lg: 992px,
|
||||
xl: 1200px,
|
||||
xxl: 1600px
|
||||
);
|
||||
|
||||
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
||||
@include _assert-starts-at-zero($grid-breakpoints);
|
||||
|
||||
$screen-fullhd: 1600px;
|
||||
|
||||
// Grid containers
|
||||
//
|
||||
// Define the maximum width of `.container` for different screen sizes.
|
||||
|
||||
$container-max-widths: (
|
||||
sm: 540px,
|
||||
md: 720px,
|
||||
lg: 960px,
|
||||
xl: 1200px
|
||||
);
|
||||
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
||||
|
||||
//
|
||||
// Grid columns
|
||||
//
|
||||
// Set the number of columns and specify the width of the gutters.
|
||||
$grid-columns: 12;
|
||||
$grid-gutter-width: 30px;
|
||||
$grid-gutter-width-narrow: 30px;
|
||||
|
||||
//
|
||||
// Buttons
|
||||
//
|
||||
|
||||
$input-btn-padding-y: 16px;
|
||||
$input-btn-padding-x: 35px;
|
||||
$input-btn-font-size: 13px;
|
||||
$input-btn-line-height: 1.25;
|
||||
|
||||
$input-btn-padding-y-sm: 13px;
|
||||
$input-btn-padding-x-sm: 25px;
|
||||
$input-btn-line-height-sm: 1.5;
|
||||
|
||||
$input-btn-padding-y-lg: 12px;
|
||||
$input-btn-padding-x-lg: 50px;
|
||||
$input-btn-line-height-lg: 1.5;
|
||||
|
||||
$btn-font-family: $font-family-base;
|
||||
$btn-font-weight: 900;
|
||||
$btn-letter-spacing: .07em;
|
||||
$btn-text-transform: uppercase;
|
||||
|
||||
$btn-box-shadow: 10px 10px 24px rgba($black, .19);
|
||||
$btn-focus-box-shadow: 0;
|
||||
$btn-active-box-shadow: 0;
|
||||
|
||||
$btn-link-disabled-color: $gray-600;
|
||||
|
||||
$btn-block-spacing-y: .5rem;
|
||||
|
||||
// Allows for customizing button radius independently from global border radius
|
||||
$btn-border-radius: $border-radius;
|
||||
$btn-border-radius-lg: $border-radius-lg;
|
||||
$btn-border-radius-sm: $border-radius-sm;
|
||||
|
||||
$btn-transition: all .15s ease-in-out;
|
||||
|
||||
//
|
||||
// Forms
|
||||
//
|
||||
$form-input-height: 50px;
|
||||
$form-input-lg-height: 60px;
|
||||
$form-input-sm-height: 40px;
|
||||
|
||||
$form-input-color: $gray-800;
|
||||
$form-input-color-placeholder: $form-input-color;
|
||||
|
||||
$form-input-background: $white;
|
||||
$form-input-border-color: $form-input-background;
|
||||
$form-input-border-radius: $border-radius;
|
||||
|
||||
$form-input-font-size: 18px;
|
||||
$form-input-line-height: 28px;
|
||||
$form-input-font-weight: 400;
|
||||
|
||||
$form-input-border: 1px solid $form-input-border-color;
|
||||
$form-input-padding-horizontal: 19px;
|
||||
$form-input-line-height: round($form-input-font-size * 1.7);
|
||||
|
||||
$form-input-padding-vertical: round(($form-input-lg-height - $form-input-line-height) / 2) + 5px;
|
||||
$form-input-padding: $form-input-padding-vertical $form-input-padding-horizontal;
|
||||
|
||||
@if ($form-input-border != none) {
|
||||
$form-input-padding-vertical: round(($form-input-height - $form-input-line-height - (nth($form-input-border, 1) * 2)) / 2);
|
||||
$form-input-padding: $form-input-padding-vertical $form-input-padding-horizontal;
|
||||
}
|
||||
|
||||
$form-textarea-default-height: 110px;
|
||||
$form-textarea-default-min-height: $form-input-height;
|
||||
$form-textarea-default-max-height: round($form-textarea-default-height * 1.7);
|
||||
|
||||
$form-feedback-focus-color: $primary;
|
||||
$form-feedback-valid-color: $success-color;
|
||||
$form-feedback-invalid-color: $danger-color;
|
||||
|
||||
//
|
||||
// Pagination
|
||||
//
|
||||
$pagination-padding-y: 10px;
|
||||
$pagination-padding-x: 10px;
|
||||
$pagination-font-size: 14px;
|
||||
$pagination-line-height: 24px;
|
||||
|
||||
$pagination-color: $gray-500;
|
||||
$pagination-bg: $white;
|
||||
$pagination-border-width: 2px;
|
||||
$pagination-border-color: $gray-200;
|
||||
|
||||
$pagination-hover-color: $white;
|
||||
$pagination-hover-bg: $primary;
|
||||
$pagination-hover-border-color: $primary;
|
||||
|
||||
$pagination-active-color: $white;
|
||||
$pagination-active-bg: $primary;
|
||||
$pagination-active-border-color: $primary;
|
||||
|
||||
$pagination-disabled-color: $gray-400;
|
||||
$pagination-disabled-bg: $gray-200;
|
||||
$pagination-disabled-border-color: $gray-200;
|
||||
|
||||
//
|
||||
// Tooltips
|
||||
//
|
||||
$tooltip-max-width: 200px;
|
||||
$tooltip-color: $white;
|
||||
$tooltip-bg: $primary;
|
||||
$tooltip-opacity: 1;
|
||||
$tooltip-padding-y: 6px;
|
||||
$tooltip-padding-x: 10px;
|
||||
$tooltip-margin: 0;
|
||||
|
||||
$tooltip-arrow-width: 6px;
|
||||
$tooltip-arrow-height: 6px;
|
||||
$tooltip-arrow-color: $tooltip-bg;
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// Accent Colors
|
||||
//
|
||||
|
||||
$primary: #c2a47e;
|
||||
$primary-darken: $primary;
|
||||
$primary-gradient: linear-gradient(to right, $primary, $primary);
|
||||
$primary-gradient-to-bottom: $primary-gradient;
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// Accent Colors
|
||||
//
|
||||
|
||||
$primary: #28c4c3;
|
||||
$primary-darken: $primary;
|
||||
$primary-gradient: linear-gradient(to right, #009897, #1f6c9d);
|
||||
$primary-gradient-to-bottom: $primary-gradient;
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
//
|
||||
// Accent Colors
|
||||
//
|
||||
|
||||
$primary: #4d6de6;
|
||||
$primary-darken: #112c93;
|
||||
$primary-gradient: linear-gradient(to right, #112c93, #101528);
|
||||
$primary-gradient-to-bottom: linear-gradient(to bottom, #37467d, #141c3a);
|
||||
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// Accent Colors
|
||||
//
|
||||
|
||||
$primary: #76cfd6;
|
||||
$primary-darken: #3fb7c1;
|
||||
$primary-gradient: linear-gradient(to right, #3fb7c1, #19758f);
|
||||
$primary-gradient-to-bottom: linear-gradient(to bottom, #3fb7c1, #19758f);
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// Accent Colors
|
||||
//
|
||||
|
||||
$primary: #c49a6a;
|
||||
$primary-darken: $primary;
|
||||
$primary-gradient: linear-gradient(to right, $primary, $primary);
|
||||
$primary-gradient-to-bottom: linear-gradient(to bottom, $primary, $primary);
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// Accent Colors
|
||||
//
|
||||
|
||||
$primary: #ffad4d;
|
||||
$primary-darken: $primary;
|
||||
$primary-gradient: linear-gradient(to right, $primary, $primary);
|
||||
$primary-gradient-to-bottom: linear-gradient(to bottom, $primary, $primary);
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// Accent Colors
|
||||
//
|
||||
|
||||
$primary: #28c4c3;
|
||||
$primary-darken: $primary;
|
||||
$primary-gradient: linear-gradient(to right, $primary, $primary);
|
||||
$primary-gradient-to-bottom: linear-gradient(to bottom, $primary, $primary);
|
||||
|
||||
.label-popular {
|
||||
background: #fbde55;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// Accent Colors
|
||||
//
|
||||
|
||||
$primary: #f8667e;
|
||||
$primary-darken: #26435b;
|
||||
$primary-gradient: linear-gradient(to right, #909090, #909090);
|
||||
$primary-gradient-to-bottom: linear-gradient(to bottom, $primary-darken, $primary-darken);
|
||||
|
||||
.label-popular {
|
||||
background: #fbde55;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
*
|
||||
* Blocks
|
||||
*/
|
||||
|
||||
%block-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
// The block element can be centered horizontally
|
||||
//
|
||||
.block-center {
|
||||
@extend %block-center;
|
||||
}
|
||||
|
||||
// Limits block width and block element can be centered horizontally
|
||||
//
|
||||
.block-sm {
|
||||
@extend %block-center;
|
||||
max-width: 560px;
|
||||
}
|
||||
|
||||
.block-lg {
|
||||
@extend %block-center;
|
||||
max-width: 768px;
|
||||
}
|
||||
|
||||
// Block center
|
||||
.block-center {
|
||||
padding: 10px;
|
||||
&:hover {
|
||||
.block-center-header {
|
||||
background-color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.block-center-inner {
|
||||
}
|
||||
|
||||
.block-center-inner-aside {
|
||||
}
|
||||
|
||||
.block-center-inner-main {
|
||||
}
|
||||
|
||||
.block-center-title {
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(xl) {
|
||||
.block-center {
|
||||
padding: 20px;
|
||||
&:hover {
|
||||
.block-center-header {
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.block-center-header {
|
||||
background-color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1508
templates/template_3/sources/scss/custom/components/_boxes.scss
Normal file
1508
templates/template_3/sources/scss/custom/components/_boxes.scss
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
*
|
||||
* Brand
|
||||
*/
|
||||
.brand {
|
||||
display: inline-block;
|
||||
.brand-logo-light {
|
||||
|
||||
}
|
||||
.brand-logo-dark {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
*
|
||||
* Breadcrumbs
|
||||
*/
|
||||
$breadcrumb-padding-vertical: 8px;
|
||||
$breadcrumb-padding-horizontal: 15px;
|
||||
$breadcrumb-bg: $gray-300;
|
||||
$breadcrumb-color: $primary;
|
||||
$breadcrumb-active-color: $white-invariable;
|
||||
$breadcrumb-separator: "\f105";
|
||||
|
||||
.breadcrumbs-custom {
|
||||
position: relative;
|
||||
padding: 35px 0 40px;
|
||||
text-align: center;
|
||||
background-color: $breadcrumb-bg;
|
||||
}
|
||||
|
||||
.breadcrumbs-custom-path {
|
||||
@include spacingX(30px);
|
||||
|
||||
a {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
&,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: $breadcrumb-color;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
|
||||
&::after {
|
||||
content: $breadcrumb-separator;
|
||||
font-family: 'FontAwesome';
|
||||
position: absolute;
|
||||
top: 52%;
|
||||
right: -5px;
|
||||
display: inline-block;
|
||||
font-size: inherit;
|
||||
font-style: normal;
|
||||
color: rgba($white, .5);
|
||||
transform: translate3d(0, -50%, 0);
|
||||
}
|
||||
}
|
||||
|
||||
li:last-child {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
a:hover,
|
||||
li.active {
|
||||
color: $breadcrumb-active-color;
|
||||
}
|
||||
|
||||
li.active {
|
||||
top: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
* + .breadcrumbs-custom-path {
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.breadcrumbs-custom-title {
|
||||
font-size: 26px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
.breadcrumbs-custom {
|
||||
@include spacingX(60px);
|
||||
}
|
||||
|
||||
* + .breadcrumbs-custom-path {
|
||||
margin-top: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.breadcrumbs-custom {
|
||||
padding: 70px 0 80px;
|
||||
}
|
||||
|
||||
.breadcrumbs-custom-path {
|
||||
li {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
.breadcrumbs-custom {
|
||||
padding: 80px 0 100px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xxl) {
|
||||
.breadcrumbs-custom {
|
||||
padding: 80px 0 100px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,395 @@
|
||||
/*
|
||||
*
|
||||
* Buttons
|
||||
*/
|
||||
|
||||
// Button General Styles
|
||||
|
||||
.button {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
@include btn-size(10px, 25px, $input-btn-font-size, $input-btn-line-height);
|
||||
border: 2px solid;
|
||||
font-family: $btn-font-family;
|
||||
font-weight: $btn-font-weight;
|
||||
letter-spacing: $btn-letter-spacing;
|
||||
text-transform: $btn-text-transform;
|
||||
border-radius: 35px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
user-select: none;
|
||||
transition: 250ms all ease-in-out;
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
@include btn-size($input-btn-padding-y, $input-btn-padding-x, $input-btn-font-size, $input-btn-line-height);
|
||||
}
|
||||
}
|
||||
|
||||
.button-block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
//
|
||||
// Appearance style
|
||||
//
|
||||
|
||||
.button-default {
|
||||
@include btn-variant($gray-300, $gray-700, $gray-700, $white-invariable, $primary, $primary);
|
||||
}
|
||||
|
||||
.button-gray-100 {
|
||||
@include btn-variant($gray-800, $gray-100, $gray-100, $gray-800, darken($gray-100, 5%), darken($gray-100, 5%));
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
@include btn-variant($white, $primary, $primary, $white, $gray-800, $gray-800);
|
||||
}
|
||||
|
||||
// Outline
|
||||
.button-default-outline {
|
||||
@include btn-variant($primary, transparent, $primary, $white-invariable, $primary, $primary);
|
||||
}
|
||||
.button-gray-800-outline {
|
||||
@include btn-variant($gray-800, transparent, $gray-800, $white-invariable, $primary, $primary);
|
||||
}
|
||||
|
||||
.button-ghost {
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
background: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
// Social
|
||||
.button-facebook {
|
||||
@include btn-variant($white-invariable, $facebook, $facebook, $white-invariable, $facebook-darken, $facebook-darken);
|
||||
}
|
||||
|
||||
.button-twitter {
|
||||
@include btn-variant($white-invariable, $twitter, $twitter, $white-invariable, $twitter-darken, $twitter-darken);
|
||||
}
|
||||
|
||||
.button-google {
|
||||
@include btn-variant($white-invariable, $google, $google, $white-invariable, $google-darken, $google-darken);
|
||||
}
|
||||
|
||||
// Btn with shadow
|
||||
.button-shadow {
|
||||
box-shadow: 0 8px 18px 0 rgba($gray-800, 0.25);
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 9px 10px 0 rgba($gray-800, 0.25);
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&:active {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Button effects
|
||||
//
|
||||
.button-ujarak {
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
transition: background .4s, border-color .4s, color .4s;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: $primary;
|
||||
z-index: -1;
|
||||
opacity: 0;
|
||||
transform: scale3d(0.7, 1, 1);
|
||||
transition: transform 0.42s, opacity 0.42s;
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
&,
|
||||
&::before {
|
||||
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transition: background .4s .4s, border-color .4s 0s, color .2s 0s;
|
||||
&::before {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Button Sizes
|
||||
//
|
||||
|
||||
.button-xs {
|
||||
padding: 8px 17px;
|
||||
}
|
||||
|
||||
.button-sm {
|
||||
@include btn-size($input-btn-padding-y-sm, $input-btn-padding-x-sm, 11px, $input-btn-line-height-sm);
|
||||
}
|
||||
|
||||
.button-lg {
|
||||
@include btn-size($input-btn-padding-y-lg, $input-btn-padding-x-lg, 14px, $input-btn-line-height-lg);
|
||||
}
|
||||
|
||||
.button-xl {
|
||||
@include btn-size(16px, 50px, 16px, 28px);
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding: 20px 80px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Button Shapes
|
||||
//
|
||||
|
||||
.button-circle {
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.button-round-1 {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.button-round-2 {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
//
|
||||
// Button Icon styles
|
||||
//
|
||||
.button {
|
||||
&.button-icon {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
vertical-align: middle;
|
||||
padding-left: $input-btn-padding-x + 5;
|
||||
|
||||
.icon {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
color: inherit;
|
||||
font-size: 1.55em;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
&-left {
|
||||
.icon {
|
||||
padding-right: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&-right {
|
||||
flex-direction: row-reverse;
|
||||
.icon {
|
||||
padding-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&.button-link {
|
||||
.icon {
|
||||
top: 5px;
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
&.button-xs {
|
||||
.icon {
|
||||
top: .05em;
|
||||
font-size: 1.2em;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.button-icon-right {
|
||||
padding-left: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// button link
|
||||
.button-link {
|
||||
display: inline-block;
|
||||
font: 400 18px/1 $font-family-sec;
|
||||
color: $gray-800;
|
||||
text-decoration: underline;
|
||||
|
||||
&.button-link-icon {
|
||||
.icon {
|
||||
font-size: 25px;
|
||||
margin-right: 7px;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .button-link {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
//
|
||||
// Bootstrap buttons
|
||||
//
|
||||
|
||||
.btn-primary {
|
||||
border-radius: 3px;
|
||||
font-family: $btn-font-family;
|
||||
font-weight: $btn-font-weight;
|
||||
letter-spacing: .05em;
|
||||
text-transform: uppercase;
|
||||
transition: .33s;
|
||||
|
||||
&,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: $white;
|
||||
background: $primary;
|
||||
border-color: $primary;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
background: $black;
|
||||
border-color: $black;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Button effects
|
||||
*/
|
||||
.button-nina {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: background 0.3s 0.01s, border-color 0.3s 0.01s, box-shadow .3s;
|
||||
|
||||
> span {
|
||||
display: none;
|
||||
vertical-align: middle;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.desktop .rd-form-inline &,
|
||||
.desktop .rd-form & {
|
||||
> span {
|
||||
line-height: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
.button-original-content {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
html:not(.desktop) {
|
||||
// Medium <768px
|
||||
@include media-breakpoint-down(sm) {
|
||||
.button-original-content {
|
||||
transition: .22s;
|
||||
transition-delay: 0s !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.desktop {
|
||||
// Large ≥992px
|
||||
@include media-breakpoint-up(lg) {
|
||||
.button-nina {
|
||||
> span {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
opacity: 0.01;
|
||||
color: inherit;
|
||||
transform: translate3d(0, -10px, 0);
|
||||
transition: 0.22s;
|
||||
transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
|
||||
|
||||
&:first-child {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
&:nth-last-child(2) {
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
&:empty {
|
||||
&::after {
|
||||
display: inline-block;
|
||||
padding: 0 2px;
|
||||
content: '\a';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> span:only-child {
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.button-original-content {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
opacity: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: block;
|
||||
padding: inherit;
|
||||
transform: translate3d(0, 0, 0);
|
||||
letter-spacing: $btn-letter-spacing;
|
||||
min-width: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
> span {
|
||||
opacity: 1;
|
||||
top: 0;
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.button-original-content {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, 100%, 0);
|
||||
transition-delay: 0s!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.rd-form-inline .button-nina {
|
||||
> span {
|
||||
line-height: 34px;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
.rd-form-inline .button-nina {
|
||||
> span {
|
||||
line-height: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,257 @@
|
||||
//
|
||||
// Custom modal
|
||||
// --------------------------------------------------
|
||||
.modal {
|
||||
z-index: 9999;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.modal-dialog_custom {
|
||||
min-height: calc(100vh - 20px);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: left;
|
||||
max-width: 100%;
|
||||
|
||||
.modal-dialog__inner {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 550px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
pointer-events: auto;
|
||||
border-radius: 0;
|
||||
overflow: hidden;
|
||||
filter: drop-shadow(3px 5px 5px rgba($black, .5));
|
||||
background-color: $white;
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.decoration {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
margin: 0;
|
||||
transform: rotate(90deg) translateY(-100%);
|
||||
transform-origin: 0 0;
|
||||
font-size: 140px;
|
||||
pointer-events: none;
|
||||
opacity: .08;
|
||||
line-height: .9;
|
||||
letter-spacing: 15.1px;
|
||||
}
|
||||
|
||||
.img-responsive {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.rd-mailform {
|
||||
.btn {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
button.close {
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
right: 20px;
|
||||
z-index: 10000;
|
||||
transition: .33s all ease;
|
||||
cursor: pointer;
|
||||
font-size: 0;
|
||||
line-height: 1;
|
||||
color: $gray-800;
|
||||
opacity: 1;
|
||||
text-shadow: none;
|
||||
|
||||
&::before {
|
||||
display: block;
|
||||
content: '\f69a';
|
||||
font-family: $mdi;
|
||||
font-weight: 400;
|
||||
font-size: 19px;
|
||||
line-height: inherit;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
* + .rd-mailform {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
&-details {
|
||||
|
||||
.modal-dialog__inner {
|
||||
max-width: 950px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
background-color: $white;
|
||||
padding-top: 50px;
|
||||
|
||||
button.close {
|
||||
top: 15px;
|
||||
}
|
||||
}
|
||||
.modal-dialog__content-inner {
|
||||
&:nth-child(2) {
|
||||
padding: 30px 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Medium ≥768px
|
||||
@include media-breakpoint-up(md) {
|
||||
min-height: calc(100vh - 60px);
|
||||
.modal-dialog__inner {
|
||||
//padding: 30px 30px 30px;
|
||||
}
|
||||
|
||||
&-details {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
ul { margin: 0; }
|
||||
.modal-dialog__inner {
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.modal-dialog__content {
|
||||
display: flex;
|
||||
}
|
||||
.modal-dialog__content-inner {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
width: 65%;
|
||||
|
||||
&:nth-child(2) {
|
||||
padding: 43px 30px;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.d-flex {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.justify-content-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ie-10,
|
||||
.ie-11 {
|
||||
.modal-dialog_custom {
|
||||
display: block;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
|
||||
> * {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
min-height: inherit;
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// scoop corners
|
||||
@mixin corners($shape,$shapeTop, $size, $color) {
|
||||
|
||||
$n1: $size+px;
|
||||
$n2: ($size)*2+px;
|
||||
$n3: $size+1+px;
|
||||
$pn: 0%;
|
||||
@if ($size <= 10) { $pn: 6%; }
|
||||
@elseif ($size <= 15) { $pn: 5%; }
|
||||
@elseif ($size <= 20) { $pn: 4%; }
|
||||
@elseif ($size <= 40) { $pn: 3%; }
|
||||
@elseif ($size <= 50) { $pn: 2%; }
|
||||
@elseif ($size <= 60) { $pn: 1%; }
|
||||
$pd-scoop: 64%+$pn;
|
||||
|
||||
@if ($shape == "bevel") {
|
||||
background: $color;
|
||||
background:
|
||||
linear-gradient(to right , $color 0, $color 100%) no-repeat top center,
|
||||
linear-gradient(to bottom, $color 0, $color 100%) no-repeat center left,
|
||||
linear-gradient(135deg, transparent 49%, $color 50% ) no-repeat top left,
|
||||
linear-gradient(-135deg, transparent 47%, $color 48% ) no-repeat top right,
|
||||
linear-gradient(45deg, transparent 47%, $color 48% ) no-repeat bottom left,
|
||||
linear-gradient(-45deg, transparent 46%, $color 47% ) no-repeat bottom right;
|
||||
background-size: calc(100% - #{$n2}) 100%, 100% calc(100% - #{$n2}), $n3 $n3, $n3 $n3, $n3 $n3, $n3 $n3;
|
||||
}
|
||||
|
||||
@if ($shape == "scoop") {
|
||||
$t-t: t t; // compiler bug hack
|
||||
$t-b: t b; // compiler bug hack
|
||||
background: $color;
|
||||
@if ($shapeTop == "top"){
|
||||
background:
|
||||
linear-gradient(to right , $color 0, $color 100%) no-repeat top center,
|
||||
linear-gradient(to bottom, $color 0, $color 100%) no-repeat center left,
|
||||
radial-gradient(a+$t-t+op left, $color 64%, $color $pd-scoop ) no-repeat top left,
|
||||
radial-gradient(a+$t-t+op right, $color 64%, $color $pd-scoop ) no-repeat top right,
|
||||
radial-gradient(a+$t-b+ottom left, transparent 64%, $color $pd-scoop ) no-repeat bottom left,
|
||||
radial-gradient(a+$t-b+ottom right, transparent 64%, $color $pd-scoop ) no-repeat bottom right;
|
||||
}
|
||||
@if ($shapeTop == "bottom"){
|
||||
background:
|
||||
linear-gradient(to right , $color 0, $color 100%) no-repeat top center,
|
||||
linear-gradient(to bottom, $color 0, $color 100%) no-repeat center left,
|
||||
radial-gradient(a+$t-t+op left, transparent 64%, $color $pd-scoop ) no-repeat top left,
|
||||
radial-gradient(a+$t-t+op right, transparent 64%, $color $pd-scoop ) no-repeat top right,
|
||||
radial-gradient(a+$t-b+ottom left, $color 64%, $color $pd-scoop ) no-repeat bottom left,
|
||||
radial-gradient(a+$t-b+ottom right, $color 64%, $color $pd-scoop ) no-repeat bottom right;
|
||||
}
|
||||
|
||||
background-size: calc(100% - #{$n2}) 100%, 100% calc(100% - #{$n2}), $n3 $n3, $n3 $n3, $n3 $n3, $n3 $n3;
|
||||
}
|
||||
|
||||
@if ($shape == "notch") {
|
||||
background: $color;
|
||||
background:
|
||||
linear-gradient(to right , $color 0, $color 100%) no-repeat top center,
|
||||
linear-gradient(to bottom, $color 0, $color 100%) no-repeat center left;
|
||||
background-size: calc(100% - #{$n2}) 100%, 100% calc(100% - #{$n2});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.corner-1 {
|
||||
border-radius: 8px 8px 0 0;
|
||||
padding: 30px;
|
||||
@include corners('scoop', 'top', 15, $white);
|
||||
}
|
||||
.corner-2 {
|
||||
border-radius: 0 0 8px 8px;
|
||||
padding: 45px 30px;
|
||||
@include corners('scoop', 'bottom', 15, $white);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
*
|
||||
* Dividers
|
||||
*/
|
||||
|
||||
hr {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
border-top: $hr-border-width solid $hr-border-color;
|
||||
}
|
||||
|
||||
.divider {
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 3px;
|
||||
background-color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
* + .divider {
|
||||
margin-top: 35px;
|
||||
}
|
||||
.divider + * {
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.divider-sm {
|
||||
&::after {
|
||||
width: 88px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
*
|
||||
* Footers
|
||||
*/
|
||||
|
||||
//
|
||||
// Footer Classic
|
||||
//
|
||||
|
||||
.footer-classic {
|
||||
padding: 50px 0 0;
|
||||
background: $gray-100;
|
||||
|
||||
.rights {
|
||||
color: rgba($white, .5);
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 22px;
|
||||
letter-spacing: 0.025em;
|
||||
}
|
||||
|
||||
a {
|
||||
@include link($white, $white);
|
||||
}
|
||||
[href*='mailto:'],
|
||||
[href*='tel:'] {
|
||||
&:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
h5 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.contact-list {
|
||||
dt {
|
||||
color: rgba($white, .5);
|
||||
}
|
||||
}
|
||||
|
||||
* + p {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
padding: 75px 0 0;
|
||||
|
||||
* + .row {
|
||||
margin-top: 65px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// footer default
|
||||
.social-container {
|
||||
text-align: center;
|
||||
|
||||
.col {
|
||||
border: 1px solid rgba($white, .1);
|
||||
}
|
||||
}
|
||||
|
||||
.social-inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: 23px;
|
||||
|
||||
font: 900 13px/1 $font-family-base;
|
||||
text-transform: uppercase;
|
||||
color: rgba($white, .5);
|
||||
|
||||
.icon {
|
||||
color: $white;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
// Large ≥992px
|
||||
@include media-breakpoint-up(lg) {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
color: inherit;
|
||||
background-color: rgba(71, 78, 102, .18);;
|
||||
}
|
||||
}
|
||||
|
||||
// footer minimal
|
||||
.footer-minimal {
|
||||
padding-top: 65px;
|
||||
padding-bottom: 65px;
|
||||
text-align: center;
|
||||
background-color: #394254;
|
||||
|
||||
.rights {
|
||||
font-size: 16px;
|
||||
color:$white;
|
||||
}
|
||||
}
|
||||
568
templates/template_3/sources/scss/custom/components/_forms.scss
Normal file
568
templates/template_3/sources/scss/custom/components/_forms.scss
Normal file
@@ -0,0 +1,568 @@
|
||||
/*
|
||||
*
|
||||
* Form styles
|
||||
*/
|
||||
|
||||
// RD Form
|
||||
.rd-form {
|
||||
position: relative;
|
||||
text-align: left;
|
||||
|
||||
.button {
|
||||
min-height: $form-input-lg-height;
|
||||
}
|
||||
}
|
||||
|
||||
* + .rd-form {
|
||||
margin-top: 20px;
|
||||
}
|
||||
* + .form-button {
|
||||
margin-top: 30px;
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
margin-top: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
input:-webkit-autofill ~ label,
|
||||
input:-webkit-autofill ~ .form-validation {
|
||||
color: $black !important;
|
||||
}
|
||||
|
||||
//
|
||||
// Form wrap
|
||||
//
|
||||
.form-wrap {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
&.has-error {
|
||||
.form-input {
|
||||
border-color: $form-feedback-invalid-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-focus {
|
||||
.form-input {
|
||||
border-color: $form-feedback-focus-color;
|
||||
}
|
||||
}
|
||||
|
||||
&-icon {
|
||||
.form-input {
|
||||
padding-bottom: 0;
|
||||
padding-left: 25px;
|
||||
}
|
||||
.form-label {
|
||||
padding-left: 0;
|
||||
font-family: $font-family-base;
|
||||
|
||||
&:before {
|
||||
font-size: 20px;
|
||||
margin-right: 5px;
|
||||
vertical-align: baseline;
|
||||
font-family: $mdi;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Form wrap offset
|
||||
.form-wrap + * {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
// Form input
|
||||
.form-input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-height: $form-input-lg-height;
|
||||
padding: $form-input-padding-vertical $form-input-padding-horizontal;
|
||||
font-size: $form-input-font-size;
|
||||
font-weight: $form-input-font-weight;
|
||||
line-height: $form-input-line-height;
|
||||
color: $form-input-color;
|
||||
background-color: $form-input-background;
|
||||
background-image: none;
|
||||
border-radius: $form-input-border-radius;
|
||||
-webkit-appearance: none;
|
||||
transition: .3s ease-in-out;
|
||||
|
||||
@if ($form-input-border) {
|
||||
border: $form-input-border;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Form textarea
|
||||
textarea.form-input {
|
||||
height: $form-textarea-default-height;
|
||||
min-height: $form-textarea-default-min-height;
|
||||
max-height: $form-textarea-default-max-height;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
// Form labels
|
||||
.form-label,
|
||||
.form-label-outside {
|
||||
margin-bottom: 0;
|
||||
color: $body-color;
|
||||
font-weight: $form-input-font-weight;
|
||||
}
|
||||
|
||||
.form-label {
|
||||
position: absolute;
|
||||
top: $form-input-lg-height / 2;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding-left: $form-input-padding-horizontal;
|
||||
padding-right: $form-input-padding-horizontal;
|
||||
font-size: $form-input-font-size;
|
||||
font-weight: $form-input-font-weight;
|
||||
line-height: $form-input-line-height;
|
||||
pointer-events: none;
|
||||
text-align: left;
|
||||
z-index: 1;
|
||||
transition: .25s;
|
||||
will-change: transform;
|
||||
transform: translate3d(0,-50%,0);
|
||||
|
||||
&.focus {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&.auto-fill {
|
||||
color: $form-input-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Form label out of the field
|
||||
.form-label-outside {
|
||||
width: 100%;
|
||||
margin-bottom: 4px;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
position: static;
|
||||
|
||||
&,
|
||||
&.focus,
|
||||
&.auto-fill {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-x-mode='true'] {
|
||||
.form-label {
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Form validation
|
||||
//
|
||||
.form-validation {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
bottom: 4px;
|
||||
z-index: 1;
|
||||
margin-top: 2px;
|
||||
font-size: 10px;
|
||||
font-weight: 400;
|
||||
line-height: 12px;
|
||||
letter-spacing: 0;
|
||||
color: $form-feedback-invalid-color;
|
||||
transition: .3s;
|
||||
}
|
||||
|
||||
.form-validation-left {
|
||||
.form-validation {
|
||||
top: 100%;
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Form output
|
||||
#form-output-global {
|
||||
position: fixed;
|
||||
bottom: 30px;
|
||||
left: 15px;
|
||||
z-index: 99999;
|
||||
visibility: hidden;
|
||||
transform: translate3d(-500px, 0, 0);
|
||||
transition: .3s all ease;
|
||||
|
||||
&.active {
|
||||
visibility: visible;
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
left: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-output {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
font-size: 10px;
|
||||
font-weight: 400;
|
||||
line-height: 1.2;
|
||||
margin-top: 2px;
|
||||
transition: .3s;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
&.error {
|
||||
color: $form-feedback-invalid-color;
|
||||
}
|
||||
|
||||
&.success {
|
||||
color: $form-feedback-valid-color;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Radio and Checkbox Custom
|
||||
//
|
||||
.radio .radio-custom,
|
||||
.radio-inline .radio-custom,
|
||||
.checkbox .checkbox-custom,
|
||||
.checkbox-inline .checkbox-custom {
|
||||
opacity: 0;
|
||||
|
||||
&, &-dummy {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&-dummy {
|
||||
pointer-events: none;
|
||||
background: $white;
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
transition: .22s;
|
||||
}
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.radio,
|
||||
.radio-inline,
|
||||
.checkbox,
|
||||
.checkbox-inline {
|
||||
input {
|
||||
@include sr-only;
|
||||
}
|
||||
}
|
||||
|
||||
.radio-custom:checked + .radio-custom-dummy:after,
|
||||
.checkbox-custom:checked + .checkbox-custom-dummy:after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
//
|
||||
// Custom Radio Styles
|
||||
//
|
||||
.radio,
|
||||
.radio-inline {
|
||||
padding-left: 28px;
|
||||
|
||||
.radio-custom-dummy {
|
||||
top: 1px;
|
||||
left: 0;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid $gray-400;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
top: 3px;
|
||||
right: 3px;
|
||||
bottom: 3px;
|
||||
left: 3px;
|
||||
background: $gray-700;
|
||||
border-radius: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Custom Checkbox Styles
|
||||
//
|
||||
.checkbox,
|
||||
.checkbox-inline {
|
||||
padding-left: 28px;
|
||||
|
||||
.checkbox-custom-dummy {
|
||||
left: 0;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin: 0;
|
||||
border: 1px solid $gray-400;
|
||||
|
||||
&::after {
|
||||
content: '\f222';
|
||||
font-family: $mdi;
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: -2px;
|
||||
font-size: 20px;
|
||||
line-height: 18px;
|
||||
color: $gray-300;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Checkbox Toggle
|
||||
//
|
||||
.toggle-custom {
|
||||
padding-left: 60px;
|
||||
-webkit-appearance: none;
|
||||
|
||||
&:checked ~ .checkbox-custom-dummy {
|
||||
&::after {
|
||||
background: $primary;
|
||||
transform: translate(20px, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
& ~ .checkbox-custom-dummy {
|
||||
$toggle-height: 20px;
|
||||
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-top: -1px;
|
||||
width: 44px;
|
||||
height: $toggle-height;
|
||||
background: $form-input-background;
|
||||
cursor: pointer;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
width: $toggle-height - 4px;
|
||||
height: $toggle-height - 4px;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
background: $gray-400;
|
||||
transform: translate(4px, -50%);
|
||||
opacity: 1;
|
||||
transition: .22s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// RD Form Inline
|
||||
//
|
||||
.rd-form-inline {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
@include spacing(15px);
|
||||
max-width: 570px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
* + & {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.form-wrap {
|
||||
flex: 1;
|
||||
min-width: 185px;
|
||||
}
|
||||
|
||||
.form-input {
|
||||
border-radius: 35px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.form-validation {
|
||||
right: 32px;
|
||||
}
|
||||
|
||||
.form-label {
|
||||
padding-left: 38px;
|
||||
}
|
||||
|
||||
.form-wrap-select {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.form-button {
|
||||
flex-shrink: 0;
|
||||
max-width: calc(100% - 10px);
|
||||
min-height: $form-input-height;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
.button {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&.rd-form-inline-centered {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Form Small
|
||||
//
|
||||
.form-sm {
|
||||
.form-input,
|
||||
.button {
|
||||
padding-top: 9px;
|
||||
padding-bottom: 9px;
|
||||
min-height: $form-input-sm-height;
|
||||
}
|
||||
|
||||
.form-validation {
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.form-label {
|
||||
top: $form-input-sm-height / 2;
|
||||
}
|
||||
|
||||
* + .button {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Form Large
|
||||
//
|
||||
.form-lg {
|
||||
.form-input,
|
||||
.form-label,
|
||||
.select2-container .select2-choice {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.form-input,
|
||||
.select2-container .select2-choice {
|
||||
font-size: 16px;
|
||||
padding-top: round(($form-input-lg-height - $form-input-line-height) / 2) - 1px;
|
||||
padding-bottom: round(($form-input-lg-height - $form-input-line-height) / 2) - 1px;
|
||||
}
|
||||
|
||||
.form-input,
|
||||
.select2-container .select2-choice {
|
||||
min-height: $form-input-lg-height - 2px;
|
||||
}
|
||||
|
||||
.form-button {
|
||||
min-height: $form-input-lg-height;
|
||||
}
|
||||
|
||||
.form-label {
|
||||
top: round($form-input-lg-height / 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Nao */
|
||||
.input--nao {
|
||||
overflow: hidden;
|
||||
//padding-top: 1em;
|
||||
|
||||
&.form-wrap.has-error {
|
||||
.form-input {
|
||||
border: 0;
|
||||
}
|
||||
.form-label {
|
||||
color: $danger-color;
|
||||
}
|
||||
.graphic--nao {
|
||||
stroke: $danger-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input__field--nao {
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.input__label--nao {
|
||||
transform-origin: 0 0;
|
||||
transition: transform 0.2s 0.15s, color 1s;
|
||||
transition-timing-function: ease-out;
|
||||
|
||||
transform: none;
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
textarea ~ .input__label--nao {
|
||||
bottom: auto;
|
||||
top: 0;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
textarea.input__field--nao {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.graphic {
|
||||
position: absolute;
|
||||
//top: 0;
|
||||
bottom: -2px;
|
||||
left: 0;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.graphic--nao {
|
||||
stroke: $gray-300;
|
||||
pointer-events: none;
|
||||
transition: transform 0.7s, stroke 0.7s;
|
||||
transition-timing-function: cubic-bezier(0, 0.25, 0.5, 1);
|
||||
}
|
||||
|
||||
.input__field--nao:focus + .input__label--nao,
|
||||
.input__label--nao.form-label.focus {
|
||||
transform: translate3d(0, -1.15em, 0) scale3d(0.80, 0.80, 1);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.input__field--nao:focus ~ .graphic--nao,
|
||||
.input--filled .graphic--nao {
|
||||
stroke: $gray-800;
|
||||
transform: translate3d(-66.6%, 0, 0);
|
||||
}
|
||||
|
||||
.form-shadow {
|
||||
.form-input {
|
||||
box-shadow: 2px 2px 7px rgba($gray-800, .05);
|
||||
}
|
||||
}
|
||||
114
templates/template_3/sources/scss/custom/components/_groups.scss
Normal file
114
templates/template_3/sources/scss/custom/components/_groups.scss
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Element groups
|
||||
*/
|
||||
|
||||
html {
|
||||
.group {
|
||||
@include group(15px, 20px);
|
||||
}
|
||||
|
||||
.group-sm {
|
||||
@include group(10px, 10px);
|
||||
}
|
||||
|
||||
.group-md {
|
||||
@include group(25px, 20px);
|
||||
}
|
||||
|
||||
|
||||
.group-xl {
|
||||
@include group(30px, 20px);
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
@include group-media(45px, 20px);
|
||||
}
|
||||
}
|
||||
.group-xxl {
|
||||
@include group(30px, 20px);
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
@include group-media(60px, 20px);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.group-sm-justify {
|
||||
.button {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
> * {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.button {
|
||||
min-width: 130px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.custom-button-group {
|
||||
@include group(15px, 20px);
|
||||
|
||||
> span {
|
||||
font-family: $font-family-cursive;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.icon {
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: 45px;
|
||||
}
|
||||
}
|
||||
.button-tel {
|
||||
@include link($gray-800, $primary);
|
||||
//@include group(8px);
|
||||
display: inline-flex;
|
||||
> span {
|
||||
+ * {
|
||||
margin-left: 8px;
|
||||
}
|
||||
> * {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
.tel {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mods
|
||||
.group-middle {
|
||||
display: inline-table;
|
||||
vertical-align: middle;
|
||||
|
||||
> * {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .group-sm {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
* + .group-xl {
|
||||
margin-top: 20px;
|
||||
}
|
||||
* + .group-xxl {
|
||||
margin-top: 30px;
|
||||
}
|
||||
211
templates/template_3/sources/scss/custom/components/_icons.scss
Normal file
211
templates/template_3/sources/scss/custom/components/_icons.scss
Normal file
@@ -0,0 +1,211 @@
|
||||
/*
|
||||
*
|
||||
* Icons
|
||||
*/
|
||||
|
||||
//
|
||||
// Base styles
|
||||
//
|
||||
.icon {
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
|
||||
&::before {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
speak: none;
|
||||
text-transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Alternate icons
|
||||
//
|
||||
|
||||
.icon-default {
|
||||
}
|
||||
|
||||
.icon-primary {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
//
|
||||
// Icon Shapes
|
||||
//
|
||||
.icon-circle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
|
||||
&.icon-primary {
|
||||
background-color: $primary;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
&.icon-md {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Icon Sizes
|
||||
//
|
||||
.icon-xs {
|
||||
}
|
||||
|
||||
.icon-sm {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.icon-md {
|
||||
font-size: 35px;
|
||||
}
|
||||
|
||||
.icon-lg {
|
||||
font-size: 54px;
|
||||
}
|
||||
|
||||
//fix icons
|
||||
.linearicons-diamond3 {
|
||||
&:before{
|
||||
position: relative;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
.linearicons-power,
|
||||
.linearicons-mouse-right {
|
||||
&:before{
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//effect-7
|
||||
.icon-effect-7 {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
transition: color 0.3s;
|
||||
|
||||
&.icon-circle.icon-primary {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&.icon-circle.icon-md {
|
||||
width: 78px;
|
||||
height: 78px;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
z-index: -1;
|
||||
box-shadow: inset 0 0 0 70px $primary;
|
||||
transform: scale3d(0.9, 0.9, 1);
|
||||
transition: box-shadow 0.3s, transform 0.3s;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
&:after {
|
||||
box-shadow: inset 0 0 0 2px $primary;
|
||||
transform: scale3d(1, 1, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Effect 4
|
||||
|
||||
.icon-effect-4 {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
box-shadow: 0 0 0 3px rgba($primary, 1);
|
||||
overflow: hidden;
|
||||
//color: rgba(39, 145, 211, 0.78);
|
||||
transition: background 0.3s, color 0.3s, box-shadow 0.3s;
|
||||
|
||||
&:before {
|
||||
display: block;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
box-sizing: content-box;
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgba($primary, 0.78);
|
||||
box-shadow: 0 0 0 8px rgba($primary, 0.27);
|
||||
color: $white;
|
||||
}
|
||||
|
||||
// Effect 4 mod-4
|
||||
&--mod-4 {
|
||||
&:hover {
|
||||
&:before {
|
||||
-moz-animation: toBottomFromTop 0.3s forwards;
|
||||
-webkit-animation: toBottomFromTop 0.3s forwards;
|
||||
animation: toBottomFromTop 0.3s forwards;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//animation-4 mod-4
|
||||
@-webkit-keyframes toBottomFromTop {
|
||||
49% {
|
||||
-webkit-transform: translateY(100%);
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateY(-100%);
|
||||
}
|
||||
51% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes toBottomFromTop {
|
||||
49% {
|
||||
-moz-transform: translateY(100%);
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
-moz-transform: translateY(-100%);
|
||||
}
|
||||
51% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes toBottomFromTop {
|
||||
49% {
|
||||
transform: translateY(100%);
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
51% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
*
|
||||
* Images
|
||||
*/
|
||||
|
||||
// Standard img style
|
||||
img {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.img-responsive {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
*
|
||||
* Links
|
||||
*/
|
||||
|
||||
// Standard link style
|
||||
a {
|
||||
transition: $transition-base;
|
||||
|
||||
&,
|
||||
&:focus,
|
||||
&:active,
|
||||
&:hover {
|
||||
text-decoration: $link-decoration;
|
||||
}
|
||||
|
||||
@include link($link-color, $link-hover-color);
|
||||
|
||||
&[href*='tel'],
|
||||
&[href*='mailto'] {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.link-hover {
|
||||
color: $link-hover-color;
|
||||
}
|
||||
|
||||
.link-press {
|
||||
color: $link-press-color;
|
||||
}
|
||||
|
||||
.privacy-link {
|
||||
}
|
||||
|
||||
* + .privacy-link {
|
||||
margin-top: 25px;
|
||||
}
|
||||
229
templates/template_3/sources/scss/custom/components/_lists.scss
Normal file
229
templates/template_3/sources/scss/custom/components/_lists.scss
Normal file
@@ -0,0 +1,229 @@
|
||||
/*
|
||||
*
|
||||
* Lists
|
||||
*/
|
||||
|
||||
// Vertical list
|
||||
.list {
|
||||
> li + li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.list-xs > li + li {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.list-sm > li + li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.list-md > li + li {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.list-lg > li + li {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.list-xl > li + li {
|
||||
margin-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// List inline
|
||||
//
|
||||
.list-inline {
|
||||
> li {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
.list-inline-md {
|
||||
@include spacing(20px, 8px);
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
@include spacingX(30px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// List terms
|
||||
//
|
||||
.list-terms {
|
||||
dt + dd {
|
||||
margin-top: 5px;
|
||||
}
|
||||
dd + dt {
|
||||
margin-top: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
* + .list-terms {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
//
|
||||
// Index list
|
||||
//
|
||||
.index-list {
|
||||
counter-reset: li;
|
||||
|
||||
> li {
|
||||
.list-index-counter {
|
||||
&:before {
|
||||
content: counter(li, decimal-leading-zero);
|
||||
counter-increment: li;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Marked list
|
||||
//
|
||||
.list-marked {
|
||||
text-align: left;
|
||||
|
||||
> li {
|
||||
position: relative;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 27px;
|
||||
&::before {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
left: 0;
|
||||
min-width: 25px;
|
||||
content: '\f14f';
|
||||
font: 400 21px/1 $mdi;
|
||||
color: $gray-800;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .list-marked {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
p + .list-marked {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.list-marked-2 {
|
||||
text-align: left;
|
||||
|
||||
> li {
|
||||
position: relative;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 35px;
|
||||
&::before {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
left: 0;
|
||||
min-width: 25px;
|
||||
content: '\f222';
|
||||
font: 400 24px/1 $mdi;
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .list-marked-2 {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
p + .list-marked-2 {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
//
|
||||
// Ordered List
|
||||
//
|
||||
.list-ordered {
|
||||
counter-reset: li;
|
||||
padding-left: 25px;
|
||||
text-align: left;
|
||||
|
||||
> li {
|
||||
position: relative;
|
||||
padding-left: 25px;
|
||||
|
||||
&:before {
|
||||
content: counter(li, decimal) '.';
|
||||
counter-increment: li;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: inline-block;
|
||||
width: 15px;
|
||||
color: $gray-400;
|
||||
}
|
||||
}
|
||||
|
||||
> li + li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
* + .list-ordered {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
//
|
||||
// contact list
|
||||
//
|
||||
.contact-list {
|
||||
dt {
|
||||
font: 900 13px/1 $font-family-base;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.075em;
|
||||
}
|
||||
> * + * {
|
||||
margin-top: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
* + .contact-list {
|
||||
margin-top: 39px;
|
||||
}
|
||||
|
||||
//
|
||||
// nav list
|
||||
//
|
||||
.nav-list {
|
||||
li {
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
li a {
|
||||
&:before {
|
||||
content: "\f14f";
|
||||
font: 400 21px/1 $mdi;
|
||||
color: $primary;
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
margin-left: -28px;
|
||||
margin-right: 7px;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: .22s ease;
|
||||
}
|
||||
&:hover {
|
||||
&:before {
|
||||
margin-left: 0;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .nav-list {
|
||||
margin-top: 30px;
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
*
|
||||
* Pagination custom
|
||||
*/
|
||||
|
||||
.pagination {
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
@include group(10px);
|
||||
}
|
||||
|
||||
.page-item {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
// Base styles
|
||||
.page-link {
|
||||
display: inline-block;
|
||||
min-width: $pagination-padding-y*2 + $pagination-border-width*2 + $pagination-line-height;
|
||||
padding: $pagination-padding-y $pagination-padding-x;
|
||||
border: $pagination-border-width solid $pagination-border-color;
|
||||
font-size: $pagination-font-size;
|
||||
line-height: ($pagination-line-height / $pagination-font-size);
|
||||
background-color: $pagination-bg;
|
||||
color: $pagination-color;
|
||||
transition: $transition-base;
|
||||
}
|
||||
|
||||
// Hover & Focus & Active State
|
||||
.page-link {
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
color: $pagination-hover-color;
|
||||
background-color: $pagination-hover-bg;
|
||||
border-color: $pagination-hover-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Active State
|
||||
.page-item.active > .page-link {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
color: $pagination-active-color;
|
||||
background-color: $pagination-active-bg;
|
||||
border-color: $pagination-active-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Disabled State
|
||||
.page-item.disabled > .page-link {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
color: $pagination-disabled-color;
|
||||
background-color: $pagination-disabled-bg;
|
||||
border-color: $pagination-disabled-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
.page-item-control {
|
||||
.icon::before {
|
||||
font-family: 'FontAwesome';
|
||||
font-size: 11px;
|
||||
line-height: $pagination-line-height;
|
||||
}
|
||||
}
|
||||
|
||||
// Prev control
|
||||
.page-item-control:first-child {
|
||||
.icon::before {
|
||||
content: '\f053';
|
||||
margin-left: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
// Next control
|
||||
.page-item-control:last-child {
|
||||
.icon::before {
|
||||
content: '\f054';
|
||||
margin-right: -1px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
/*
|
||||
*
|
||||
* Panels Custom
|
||||
* --------------------------------------------------
|
||||
*/
|
||||
|
||||
//== Panel variables
|
||||
//
|
||||
//##
|
||||
|
||||
$panel-title-color: $gray-800;
|
||||
$panel-title-background: #fcfcfc;;
|
||||
$panel-title-padding: 20px 0 20px;
|
||||
$panel-title-sm-padding: 20px 45px 20px 30px;
|
||||
$panel-active-background: transparent;
|
||||
$panel-arrow: '\ec36';
|
||||
$panel-arrow-font: 400 24px/24px $linear;
|
||||
$panel-body-padding: 0px 20px 20px 30px;
|
||||
$panel-body-sm-padding: 0px 45px 20px 30px;
|
||||
|
||||
|
||||
// Base Style
|
||||
// --------------------------------------------------
|
||||
|
||||
.panel {
|
||||
margin-bottom: 0;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.panel-custom {
|
||||
//padding: $panel-title-padding;
|
||||
&-body {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
|
||||
}
|
||||
border-top: 1px solid $gray-300;
|
||||
border-bottom: 1px solid $gray-300;
|
||||
& + .panel-custom {
|
||||
border-bottom: 1px solid $gray-300;
|
||||
border-top: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.panel-custom-title {
|
||||
|
||||
> a {
|
||||
display: block;
|
||||
position: relative;
|
||||
//padding-right: 40px;
|
||||
padding: $panel-title-sm-padding;
|
||||
color: $panel-title-color;
|
||||
background: $panel-active-background;
|
||||
font-family: $font-family-sec;
|
||||
font-weight: 500;
|
||||
transition: .3s all ease;
|
||||
|
||||
&:before {
|
||||
content: $panel-arrow;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 20px;
|
||||
font: $panel-arrow-font;
|
||||
color: $gray-800;
|
||||
transform: translateY(-50%) rotate(0deg);
|
||||
transition: .35s all ease-in-out;
|
||||
}
|
||||
|
||||
span {
|
||||
padding-left: 8px;
|
||||
color: $body-color;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
&.collapsed {
|
||||
background: $panel-title-background;
|
||||
|
||||
&:before {
|
||||
content: '\e936';
|
||||
transform: translateY(-50%) rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
background: $panel-active-background;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.panel-custom-collapse {
|
||||
background: $panel-active-background;
|
||||
|
||||
.panel-custom-body {
|
||||
padding: $panel-body-padding;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
padding: $panel-body-sm-padding;
|
||||
padding-right: 180px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h3 + .panel-custom-group-wrap {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
//panel classic
|
||||
.panel-classic {
|
||||
.panel-custom-title {
|
||||
|
||||
> a {
|
||||
//padding-left: 35px;
|
||||
//padding-right: 45px;
|
||||
color: $primary;
|
||||
&:before {
|
||||
content: '\ec37';
|
||||
font-size: 16px;
|
||||
top: 47%;
|
||||
//right: 0;
|
||||
color: $primary;
|
||||
transform: translateY(-50%) rotate(180deg);
|
||||
transition: .35s all ease-in-out;
|
||||
}
|
||||
|
||||
&.collapsed {
|
||||
color: $gray-800;
|
||||
&:before {
|
||||
content: $panel-arrow;
|
||||
color: $gray-800;
|
||||
transform: translateY(-50%) rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
background: $panel-active-background;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
*
|
||||
* Posts
|
||||
*/
|
||||
|
||||
//
|
||||
// Table of Contents:
|
||||
//
|
||||
// Post Classic
|
||||
//
|
||||
//
|
||||
|
||||
//
|
||||
// Post Classic
|
||||
//
|
||||
.post-classic {
|
||||
|
||||
}
|
||||
|
||||
// Context styling
|
||||
%context-dark {
|
||||
.post-classic {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
*
|
||||
* Quotes
|
||||
*/
|
||||
|
||||
//
|
||||
// Table of Contents:
|
||||
//
|
||||
// Quote primary
|
||||
//
|
||||
|
||||
//
|
||||
// Quote primary
|
||||
//
|
||||
.quote-primary {
|
||||
}
|
||||
|
||||
.quote-primary-mark {
|
||||
position: relative;
|
||||
top: 6px;
|
||||
display: block;
|
||||
width: 37px;
|
||||
height: 27px;
|
||||
fill: $primary;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quote-primary-body {
|
||||
position: relative;
|
||||
padding: 25px 0;
|
||||
border-top: 1px solid $gray-200;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: 13px;
|
||||
border-style: solid;
|
||||
border-color: $gray-200;
|
||||
}
|
||||
|
||||
&::before {
|
||||
left: 0;
|
||||
width: 78px;
|
||||
border-width: 1px 1px 0 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
right: 0;
|
||||
width: calc(100% - 78px - 12px);
|
||||
border-width: 1px 0 0 1px;
|
||||
transform-origin: 0 0;
|
||||
transform: skew(-45deg);
|
||||
}
|
||||
}
|
||||
|
||||
.quote-primary-text {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.quote-primary-cite {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.quote-primary-footer {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
* + .quote-primary {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
* + .quote-primary-footer {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
.quote-primary-body {
|
||||
display: flex;
|
||||
padding: 32px 20px 40px 30px;
|
||||
}
|
||||
|
||||
.quote-primary-text {
|
||||
padding-top: 0;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.quote-primary-footer {
|
||||
padding-left: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.quote-primary-body {
|
||||
padding-right: 40px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
*
|
||||
* Snackbars
|
||||
*/
|
||||
|
||||
.snackbars {
|
||||
padding: 9px 16px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
color: $white;
|
||||
text-align: left;
|
||||
background-color: $gray-800;
|
||||
border-radius: 0;
|
||||
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
|
||||
|
||||
font-size: 14px;
|
||||
|
||||
.icon-xxs {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
// padding on text
|
||||
p span:last-child {
|
||||
padding-left: 14px;
|
||||
}
|
||||
|
||||
// snackbar icon on the left side
|
||||
&-left {
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
// snackbar link or button on the right side
|
||||
&-right {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
text-transform: uppercase;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
max-width: 540px;
|
||||
padding: 12px 15px;
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
141
templates/template_3/sources/scss/custom/components/_tables.scss
Normal file
141
templates/template_3/sources/scss/custom/components/_tables.scss
Normal file
@@ -0,0 +1,141 @@
|
||||
/*
|
||||
*
|
||||
* Tables custom
|
||||
*/
|
||||
|
||||
$table-head-padding: 35px 24px;
|
||||
$table-cell-padding: 17px 24px;
|
||||
$table-condensed-cell-padding: 5px;
|
||||
|
||||
$table-bg: $white;
|
||||
$table-bg-accent: $gray-200;
|
||||
$table-bg-hover: $primary;
|
||||
$table-bg-active: $table-bg-hover;
|
||||
|
||||
$table-border-color: $gray-300;
|
||||
|
||||
.table-custom {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
text-align: left;
|
||||
background: $table-bg;
|
||||
border-collapse: collapse;
|
||||
|
||||
th,
|
||||
td {
|
||||
color: $gray-700;
|
||||
background: $table-bg;
|
||||
}
|
||||
|
||||
th {
|
||||
padding: $table-head-padding;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: .05em;
|
||||
text-transform: uppercase;
|
||||
background: $gray-200;
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
padding: $table-cell-padding;
|
||||
}
|
||||
|
||||
tbody tr:first-child {
|
||||
td {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
tr td {
|
||||
border-bottom: 1px solid $table-border-color;
|
||||
}
|
||||
|
||||
tfoot {
|
||||
td {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .table-custom-responsive {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
* + .table-custom-responsive {
|
||||
margin-top: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Table Custom styles variants
|
||||
//
|
||||
.table-custom.table-custom-primary {
|
||||
thead th {
|
||||
color: $white;
|
||||
background: $primary;
|
||||
border: 0;
|
||||
}
|
||||
tbody tr:hover td {
|
||||
background: $table-bg-accent;
|
||||
}
|
||||
}
|
||||
|
||||
.table-custom.table-custom-bordered {
|
||||
tr {
|
||||
td:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
td:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
td {
|
||||
border: 1px solid $table-border-color;
|
||||
}
|
||||
|
||||
tbody > tr:first-of-type > td {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.table-custom.table-custom-striped {
|
||||
border-bottom: 1px solid $table-border-color;
|
||||
tbody tr:nth-of-type(odd) td {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
tbody tr:nth-of-type(even) td {
|
||||
background: $table-bg-accent;
|
||||
}
|
||||
|
||||
tbody td {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
tfoot td:not(:first-child) {
|
||||
border-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Table Custom Additional
|
||||
//
|
||||
.table-custom-responsive {
|
||||
@include media-breakpoint-down(md) {
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
-ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
|
||||
|
||||
// Prevent double border on horizontal scroll due to use of `display: block;`
|
||||
&.table-bordered {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
*
|
||||
* Thumbnails
|
||||
*/
|
||||
|
||||
//
|
||||
// Table of Contents
|
||||
//
|
||||
// Figure Light
|
||||
//
|
||||
|
||||
//
|
||||
// Figure Light
|
||||
//
|
||||
.figure-light figcaption {
|
||||
padding-top: 10px;
|
||||
color: $gray-400;
|
||||
}
|
||||
@@ -0,0 +1,303 @@
|
||||
/*
|
||||
*
|
||||
* Typography
|
||||
*/
|
||||
|
||||
//
|
||||
// Body
|
||||
//
|
||||
body {
|
||||
font-family: $font-family-base;
|
||||
font-size: 14px;
|
||||
line-height: 1.3;
|
||||
font-weight: $font-weight-base;
|
||||
color: rgba($body-color, .8);
|
||||
letter-spacing: .025em;
|
||||
background-color: $body-bg;
|
||||
-webkit-text-size-adjust: none;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: $font-size-base;
|
||||
line-height: $line-height-base;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Headings
|
||||
//
|
||||
#{headings()} {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
letter-spacing: 0.005em;
|
||||
font-weight: $headings-font-weight;
|
||||
font-family: $headings-font-family;
|
||||
color: $headings-color;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.heading-small {
|
||||
font: 600 16px/1.2 $font-family-sec;
|
||||
letter-spacing: .3em;
|
||||
text-transform: uppercase;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
font: 400 20px/1.2 $font-family-cursive;
|
||||
|
||||
&:after{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
content: '';
|
||||
height: 6px;
|
||||
background-color: rgba($gray-100, 1);
|
||||
}
|
||||
|
||||
> span {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
line-height: 1.3;
|
||||
background: $primary-gradient;
|
||||
-webkit-background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: 33px;
|
||||
&:after{
|
||||
height: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ie-10 ,
|
||||
.ie-11 ,
|
||||
.ie-edge {
|
||||
.subtitle,
|
||||
.subtitle span {
|
||||
background: inherit;
|
||||
color: $primary-darken;
|
||||
}
|
||||
}
|
||||
|
||||
.heading-decoration-line {
|
||||
position: relative;
|
||||
padding-left: 45px;
|
||||
|
||||
&:before{
|
||||
position: absolute;
|
||||
top: 33%;
|
||||
left: 0;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
border-top: 3px solid $primary;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
padding-left: 70px;
|
||||
&:before{
|
||||
width: 45px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.heading-decoration-line-2 {
|
||||
position: relative;
|
||||
padding-left: 33px;
|
||||
|
||||
&:before{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
transform: translateY(-50%);
|
||||
content: "";
|
||||
height: 40px;
|
||||
border-left: 3px solid $primary;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
&:before{
|
||||
height: 60px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.heading-decoration-quote {
|
||||
position: relative;
|
||||
padding-left: 50px;
|
||||
|
||||
&:before{
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: 0;
|
||||
content: "\eae5";
|
||||
color: $primary;
|
||||
font-family: $linear;
|
||||
font-size: 32px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
padding-left: 80px;
|
||||
&:before{
|
||||
font-size: 57px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h1,
|
||||
.heading-1 {
|
||||
font-size: 32px;
|
||||
line-height: 1.2;
|
||||
font-weight: 700;
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: $h1-font-size;
|
||||
line-height: $h1-line-height;
|
||||
}
|
||||
}
|
||||
|
||||
h2,
|
||||
.heading-2 {
|
||||
font-size: 28px;
|
||||
line-height: 1.2;
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: $h2-font-size;
|
||||
line-height: $h2-line-height;
|
||||
}
|
||||
}
|
||||
|
||||
h3,
|
||||
.heading-3 {
|
||||
font-size: 22px;
|
||||
line-height: 1.2;
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: $h3-font-size;
|
||||
line-height: $h3-line-height;
|
||||
}
|
||||
}
|
||||
|
||||
h4,
|
||||
.heading-4 {
|
||||
font-size: 21px;
|
||||
line-height: 1.2;
|
||||
font-weight: 500;
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: $h4-font-size;
|
||||
line-height: $h4-line-height;
|
||||
}
|
||||
}
|
||||
|
||||
h5,
|
||||
.heading-5 {
|
||||
font-size: 19px;
|
||||
line-height: 1.2;
|
||||
font-weight: 500;
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: $h5-font-size;
|
||||
line-height: $h5-line-height;
|
||||
}
|
||||
}
|
||||
|
||||
h6,
|
||||
.heading-6 {
|
||||
font-size: 17px;
|
||||
line-height: 1.2;
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
font-size: $h6-font-size;
|
||||
line-height: $h6-line-height;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Emphasis
|
||||
//
|
||||
small,
|
||||
.small {
|
||||
display: block;
|
||||
font-size: $font-size-sm;
|
||||
line-height: $line-height-sm;
|
||||
}
|
||||
|
||||
mark,
|
||||
.mark {
|
||||
padding: 3px 5px;
|
||||
color: $white-invariable;
|
||||
background: $primary;
|
||||
}
|
||||
|
||||
// Big text
|
||||
.big {
|
||||
font-size: $font-size-lg;
|
||||
line-height: $line-height-lg;
|
||||
}
|
||||
|
||||
.lead {
|
||||
font-size: $lead-font-size;
|
||||
line-height: $lead-line-height;
|
||||
font-weight: $lead-font-weight;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: $code-padding-y $code-padding-x;
|
||||
border-radius: $border-radius-sm;
|
||||
font-size: $code-font-size;
|
||||
color: $code-color;
|
||||
background: $code-bg;
|
||||
}
|
||||
|
||||
//
|
||||
// Paragraph
|
||||
//
|
||||
p {
|
||||
[data-toggle='tooltip'] {
|
||||
padding-left: .25em;
|
||||
padding-right: .25em;
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
[style*='max-width'] {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.font-family-cursive {
|
||||
font-family: $font-family-cursive;
|
||||
}
|
||||
|
||||
.img-wrap {
|
||||
img{
|
||||
transform: translateX(-15%);
|
||||
}
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
img {
|
||||
float: right;
|
||||
max-width: none;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
*
|
||||
* Responsive units
|
||||
*/
|
||||
|
||||
@include unit-responsive(20px, 30px);
|
||||
|
||||
//
|
||||
// Unit Spacing
|
||||
//
|
||||
.unit-spacing-xs {
|
||||
@include unit-spacing(7px, 15px);
|
||||
}
|
||||
7
templates/template_3/sources/scss/custom/fonts.scss
Normal file
7
templates/template_3/sources/scss/custom/fonts.scss
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
*
|
||||
* Fonts
|
||||
*/
|
||||
//@import "fonts/font-awesome";
|
||||
@import "fonts/mdi";
|
||||
@import "fonts/linearicons";
|
||||
3054
templates/template_3/sources/scss/custom/fonts/_font-awesome.scss
Normal file
3054
templates/template_3/sources/scss/custom/fonts/_font-awesome.scss
Normal file
File diff suppressed because it is too large
Load Diff
3039
templates/template_3/sources/scss/custom/fonts/_linearicons.scss
Normal file
3039
templates/template_3/sources/scss/custom/fonts/_linearicons.scss
Normal file
File diff suppressed because it is too large
Load Diff
5887
templates/template_3/sources/scss/custom/fonts/_mdi.scss
Normal file
5887
templates/template_3/sources/scss/custom/fonts/_mdi.scss
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,153 @@
|
||||
/*
|
||||
*
|
||||
* Backgrounds
|
||||
*/
|
||||
|
||||
.context-dark {
|
||||
@extend %context-dark;
|
||||
}
|
||||
|
||||
%context-dark {
|
||||
color: rgba($white, .8);
|
||||
#{headings()} {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
&:after {
|
||||
background-color: rgba($white, .26);
|
||||
}
|
||||
}
|
||||
|
||||
.ie-10 &,
|
||||
.ie-11 &,
|
||||
.ie-edge & {
|
||||
.subtitle {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
// Logo
|
||||
.brand {
|
||||
.brand-logo-dark {
|
||||
display: none;
|
||||
}
|
||||
.brand-logo-light {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.button-default-outline {
|
||||
@include btn-variant($white, transparent, $white, $white-invariable, $primary, $primary);
|
||||
}
|
||||
|
||||
//form subscribe
|
||||
.rd-form-inline {
|
||||
.form-input {
|
||||
background-color: rgba($white, .14);
|
||||
border-color: rgba($white, .14);
|
||||
color: $white;
|
||||
}
|
||||
.form-label {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.form-validation {
|
||||
color: lighten($form-feedback-invalid-color, 25%);
|
||||
}
|
||||
|
||||
.owl-carousel {
|
||||
.owl-prev,
|
||||
.owl-next {
|
||||
color: rgba($white, .5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
%context-light {
|
||||
color: rgba($body-color, .9);
|
||||
#{headings()} {
|
||||
color: $headings-color;
|
||||
}
|
||||
// Logo
|
||||
.brand {
|
||||
.brand-logo-dark {
|
||||
display: block;
|
||||
}
|
||||
.brand-logo-light {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.context-light {
|
||||
@extend %context-light;
|
||||
}
|
||||
|
||||
/**
|
||||
* Light Backgrounds
|
||||
*/
|
||||
.bg-default {
|
||||
@include bg-behaviour($body-bg);
|
||||
}
|
||||
|
||||
.bg-gray-100 {
|
||||
@extend %context-light;
|
||||
@include bg-behaviour($gray-100);
|
||||
|
||||
.subtitle {
|
||||
&:after {
|
||||
background-color: #ddd;
|
||||
}
|
||||
}
|
||||
|
||||
.box-process {
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
.box-service-body {
|
||||
color: rgba($body-color, .8);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Dark Backgrounds
|
||||
*/
|
||||
.bg-gray-dark {
|
||||
@extend %context-dark;
|
||||
@include bg-behaviour($gray-700);
|
||||
}
|
||||
|
||||
/**
|
||||
* Accent Backgrounds
|
||||
*/
|
||||
.bg-primary {
|
||||
@extend %context-dark;
|
||||
& + & {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-gradient-gray-100 {
|
||||
background: linear-gradient(to right, $gray-100, $white);
|
||||
}
|
||||
|
||||
/**
|
||||
* Background Image
|
||||
*/
|
||||
|
||||
[class*='bg-'] {
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
// Desktop only
|
||||
//
|
||||
html:not(.tablet):not(.mobile) {
|
||||
.bg-fixed {
|
||||
@include media-breakpoint-up(lg) {
|
||||
background-attachment: fixed;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
/*
|
||||
*
|
||||
* Grid modules
|
||||
*/
|
||||
|
||||
//
|
||||
// Grid demonstration
|
||||
//
|
||||
.grid-demonstration {
|
||||
$grid-heading: unquote("h5, .heading-5");
|
||||
padding: 12px 8px;
|
||||
letter-spacing: 0;
|
||||
text-align: left;
|
||||
|
||||
#{$grid-heading} {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
#{$grid-heading} {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(xl) {
|
||||
p {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.container-fluid.grid-demonstration {
|
||||
@include media-breakpoint-down(md) {
|
||||
.row {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[class^='cell'] {
|
||||
padding: 5px;
|
||||
@include media-breakpoint-down(md) {
|
||||
p {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
* + p {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
padding: 15px 10px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding: 25px 15px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
padding: 30px 15px 30px 30px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xxl) {
|
||||
padding: 50px 100px;
|
||||
|
||||
* + p {
|
||||
margin-top: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.row {
|
||||
@include media-breakpoint-up(xxl) {
|
||||
margin-left: -70px;
|
||||
margin-right: -70px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Grid system bordered
|
||||
//
|
||||
.grid-system-bordered {
|
||||
[class*='col'] {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.row {
|
||||
border-bottom: 1px solid $gray-200;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
[class*='col'] {
|
||||
padding-top: 25px;
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
[class*='col'] {
|
||||
padding-top: 45px;
|
||||
padding-bottom: 45px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Grid system outline
|
||||
//
|
||||
.grid-system-outline {
|
||||
.row {
|
||||
border: 1px solid $gray-200;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[class*='col']:not(:last-child) {
|
||||
border-right: 1px solid $gray-200;
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
* + .row {
|
||||
margin-top: 45px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Custom Grid
|
||||
//
|
||||
// Change $enable-grid-classes-custom: true
|
||||
// that would generate custom grid (example: 10 columns)
|
||||
|
||||
$enable-grid-classes-custom: false;
|
||||
|
||||
@mixin make-grid-columns-custom($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
|
||||
@each $breakpoint in map-keys($breakpoints) {
|
||||
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
||||
|
||||
@include media-breakpoint-up($breakpoint, $breakpoints) {
|
||||
@for $i from 1 through $columns {
|
||||
.col#{$infix}-#{$i} {
|
||||
@include make-col($i, $columns);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@if $enable-grid-classes-custom {
|
||||
.row-ten {
|
||||
@include make-grid-columns-custom(10);
|
||||
}
|
||||
|
||||
.row-xl-ten {
|
||||
@include make-grid-columns-custom(10, 30px, (xl: map-get($grid-breakpoints, xl), xlg: map-get($grid-breakpoints, xlg), xxl: map-get($grid-breakpoints, xxl)));
|
||||
}
|
||||
}
|
||||
189
templates/template_3/sources/scss/custom/helpers/_offsets.scss
Normal file
189
templates/template_3/sources/scss/custom/helpers/_offsets.scss
Normal file
@@ -0,0 +1,189 @@
|
||||
/*
|
||||
*
|
||||
* Offsets
|
||||
*/
|
||||
|
||||
// Elements offset
|
||||
* + p {
|
||||
margin-top: 15px;
|
||||
}
|
||||
* + h1 {
|
||||
margin-top: 12px;
|
||||
}
|
||||
* + h4 {
|
||||
margin-top: 12px;
|
||||
}
|
||||
* + h3 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
* + h5 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
* + h6 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
// Headings
|
||||
h1 + h3 {
|
||||
margin-top: 30px;
|
||||
}
|
||||
h1 + h2 {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
// Headings + Paragraph
|
||||
h2 + p,
|
||||
h4 + p,
|
||||
.heading-2 + p {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
// Paragraph + Headings
|
||||
p + h2,
|
||||
p + .heading-2 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
// Tags + Tags
|
||||
p + p {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
img + p {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
h3 + img {
|
||||
margin-top: 42px;
|
||||
}
|
||||
|
||||
.group-md + h1 {
|
||||
margin-top: 40px;
|
||||
}
|
||||
h6 + .group-sm {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
// Classes
|
||||
* + .row {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
* + .big {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
* + .text-block {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
* + .button {
|
||||
margin-top: 30px;
|
||||
}
|
||||
* + .button-sm {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
* + .custom-button-group {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
// Classes + Tags
|
||||
.row + h3,
|
||||
.row + .heading-3 {
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
.group-xl + hr {
|
||||
margin-top: 45px;
|
||||
}
|
||||
|
||||
// Classes + Classes
|
||||
.container + .container {
|
||||
margin-top: 35px;
|
||||
}
|
||||
.isotope-wrap + .button {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.row + .row {
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
// Medium ≥768px
|
||||
@include media-breakpoint-up(md) {
|
||||
* + h1 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
* + .row {
|
||||
margin-top: 55px;
|
||||
}
|
||||
|
||||
h2 + p,
|
||||
h4 + p {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.subtitle + h2,
|
||||
.subtitle + h4 {
|
||||
margin-top: 22px;
|
||||
}
|
||||
h6 + .group-sm {
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
// Media offsets
|
||||
@include media-breakpoint-up(xl) {
|
||||
* + h1 {
|
||||
margin-top: 25px;
|
||||
}
|
||||
* + .rd-form {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
h3 + .group-sm {
|
||||
margin-top: 45px;
|
||||
}
|
||||
|
||||
.container + .container {
|
||||
margin-top: 60px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.isotope-wrap + .row {
|
||||
margin-top: 80px;
|
||||
}
|
||||
.isotope-wrap + .button {
|
||||
margin-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
// Range spacing
|
||||
.row-0 {
|
||||
@include grid-offset(0px);
|
||||
}
|
||||
|
||||
.row-15 {
|
||||
@include grid-offset(15px);
|
||||
}
|
||||
|
||||
.row-20 {
|
||||
@include grid-offset(20px);
|
||||
}
|
||||
|
||||
.row-30 {
|
||||
@include grid-offset(30px);
|
||||
}
|
||||
|
||||
.row-50 {
|
||||
@include grid-offset(50px);
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.row-md-30 {
|
||||
@include grid-offset(30px);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
*
|
||||
* Page layout
|
||||
*/
|
||||
|
||||
//
|
||||
// Page
|
||||
//
|
||||
.page {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 100vh;
|
||||
opacity: 0;
|
||||
|
||||
[data-x-mode] & {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.overflow-hidden {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
//
|
||||
// Boxed Layout
|
||||
//
|
||||
html.boxed {
|
||||
body {
|
||||
background: $page-boxed-background-color $page-boxed-background-image repeat fixed;
|
||||
}
|
||||
|
||||
@media (min-width: $page-boxed-width + $grid-gutter-width) {
|
||||
.page {
|
||||
max-width: $page-boxed-width;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
box-shadow: 0 0 23px 0 rgba(1, 1, 1, 0.1);
|
||||
}
|
||||
|
||||
.rd-navbar-static {
|
||||
max-width: $page-boxed-width;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
&.rd-navbar--is-stuck {
|
||||
max-width: $page-boxed-width;
|
||||
width: 100%;
|
||||
left: calc(50% - #{$page-boxed-width});
|
||||
right: calc(50% - #{$page-boxed-width});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
168
templates/template_3/sources/scss/custom/helpers/_sections.scss
Normal file
168
templates/template_3/sources/scss/custom/helpers/_sections.scss
Normal file
@@ -0,0 +1,168 @@
|
||||
/*
|
||||
*
|
||||
* Sections
|
||||
*/
|
||||
|
||||
//
|
||||
// Section Spacing
|
||||
//
|
||||
.section-xs {
|
||||
padding: 25px 0;
|
||||
}
|
||||
|
||||
.section-sm {
|
||||
padding: 45px 0 0;
|
||||
}
|
||||
|
||||
.section-md,
|
||||
.section-lg,
|
||||
.section-xl,
|
||||
.section-xxl {
|
||||
padding: 65px 0;
|
||||
}
|
||||
|
||||
.section-xxl {
|
||||
padding: 90px 0;
|
||||
}
|
||||
|
||||
// Section collapse
|
||||
.section-collapse + .section-collapse {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.section-collapse:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
// Section with bottom zero padding
|
||||
html [class*='section-'].section-bottom-0 {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
section.section-sm,
|
||||
section.section-md,
|
||||
section.section-lg,
|
||||
section.section-xl,
|
||||
section.section-xxl {
|
||||
&:first-of-type {
|
||||
padding-top: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
|
||||
.section-md {
|
||||
padding: 70px 0;
|
||||
}
|
||||
|
||||
.section-lg {
|
||||
padding: 85px 0;
|
||||
}
|
||||
|
||||
.section-xxl {
|
||||
padding: 120px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.section-md {
|
||||
padding: 80px 0 100px;
|
||||
}
|
||||
|
||||
.section-lg {
|
||||
padding: 100px 0;
|
||||
}
|
||||
.section-xxl {
|
||||
padding: 145px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
.section-lg {
|
||||
padding: 115px 0;
|
||||
}
|
||||
.section-xxl {
|
||||
padding: 190px 0 180px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Custom sections
|
||||
//
|
||||
|
||||
// Section single
|
||||
.section-single {
|
||||
display: flex;
|
||||
text-align: center;
|
||||
|
||||
p {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
* + .rights {
|
||||
margin-top: 35px;
|
||||
}
|
||||
* + .countdown-wrap {
|
||||
margin-top: 35px;
|
||||
}
|
||||
.countdown-wrap + * {
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
* + .rights {
|
||||
margin-top: 60px;
|
||||
}
|
||||
.countdown-wrap + * {
|
||||
margin-top: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-mailform-wrap {
|
||||
max-width: 670px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
* + .rd-mailform-wrap {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-single-header {
|
||||
padding: calc(1em + 3vh) 0 calc(1em + 2vh);
|
||||
}
|
||||
|
||||
.section-single-main {
|
||||
padding: calc(1em + 4vh) 0;
|
||||
}
|
||||
|
||||
.section-single-footer {
|
||||
padding: calc(1em + 2vh) 0 calc(1em + 3vh);
|
||||
}
|
||||
|
||||
.section-single-inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
|
||||
> * {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@supports (display: grid) {
|
||||
.section-single-inner {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
align-content: space-between;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
*
|
||||
* Text styling
|
||||
*/
|
||||
|
||||
// Text styles
|
||||
.text-italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.text-normal {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
// Text decoration
|
||||
.text-underline {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.text-strike {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
// Text weight
|
||||
.font-weight-thin {
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.font-weight-light {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.font-weight-regular {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.font-weight-medium {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.font-weight-sbold {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.font-weight-ubold {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
// Text spacing
|
||||
.text-spacing-0 {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.text-primary {
|
||||
color: $primary !important;
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
*
|
||||
* Utilities custom
|
||||
*/
|
||||
.height-fill {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
||||
> * {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Object inline
|
||||
.object-inline {
|
||||
white-space: nowrap;
|
||||
> * {
|
||||
display: inline-block;
|
||||
min-width: 20px;
|
||||
vertical-align: top;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
> * + * {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.oh {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// Text decorations
|
||||
.text-decoration-lines {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
&-content {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
min-width: 170px;
|
||||
font-size: 13px;
|
||||
text-transform: uppercase;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
height: 1px;
|
||||
background: $gray-200;
|
||||
top: 50%;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
&::before {
|
||||
left: 0;
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
|
||||
&::after {
|
||||
right: 0;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .text-decoration-lines {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
// Rights
|
||||
p.rights {
|
||||
font-size: 16px;
|
||||
color: $body-color;
|
||||
a {
|
||||
color: inherit;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// JSColor Workaround
|
||||
[style*='z-index: 1000;'] {
|
||||
z-index: $zindex-layout-panel + 1 !important;
|
||||
}
|
||||
|
||||
.text-block {
|
||||
> * {
|
||||
margin-left: .125em;
|
||||
margin-right: .125em;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// Custom button variants
|
||||
@mixin btn-variant($clr, $bg, $bd, $clr-hover, $bg-hover, $bd-hover) {
|
||||
&,
|
||||
&:focus {
|
||||
color: $clr;
|
||||
background-color: $bg;
|
||||
border-color: $bd;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
color: $clr-hover;
|
||||
background-color: $bg-hover;
|
||||
border-color: $bd-hover;
|
||||
}
|
||||
|
||||
&.button-ujarak {
|
||||
&::before {
|
||||
background: $bg-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Button sizes
|
||||
@mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $line-height) {
|
||||
padding: $padding-vertical $padding-horizontal;
|
||||
font-size: $font-size;
|
||||
line-height: $line-height;
|
||||
}
|
||||
|
||||
// Reset Button
|
||||
@mixin reset-button() {
|
||||
background: none;
|
||||
border: none;
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
outline: none;
|
||||
outline-offset: 0;
|
||||
cursor: pointer;
|
||||
-webkit-appearance: none;
|
||||
|
||||
&::-moz-focus-inner {
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
*
|
||||
* Contexts
|
||||
*/
|
||||
|
||||
@mixin context-dark {
|
||||
&,
|
||||
#{headings()} {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin context-light {
|
||||
color: $body-color;
|
||||
|
||||
#{headings()} {
|
||||
color: $headings-color;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin gradient-text($gradient, $bg : 'light') {
|
||||
@supports(mix-blend-mode: lighten) {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0; right: 0; bottom: 0; left: 0;
|
||||
|
||||
background: unquote($gradient);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@if ($bg == 'light') {
|
||||
color: #000;
|
||||
background: #fff;
|
||||
will-change: transform;
|
||||
//.desktop & {
|
||||
// mix-blend-mode: multiply;
|
||||
// line-height: 1.3;
|
||||
//}
|
||||
|
||||
&::before {
|
||||
mix-blend-mode: screen;
|
||||
}
|
||||
} @else {
|
||||
color: #fff;
|
||||
background: #000;
|
||||
mix-blend-mode: lighten;
|
||||
|
||||
&::before {
|
||||
mix-blend-mode: multiply;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
//
|
||||
// Gradients
|
||||
// --------------------------------------------------
|
||||
|
||||
// Horizontal gradient, from left to right
|
||||
//
|
||||
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
||||
// Color stops are not available in IE9 and below.
|
||||
@mixin gradient-horizontal($start-color: #555555, $end-color: #333333, $start-percent: 0%, $end-percent: 100%) {
|
||||
background-image: -webkit-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
|
||||
background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down
|
||||
}
|
||||
|
||||
// Vertical gradient, from top to bottom
|
||||
//
|
||||
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
||||
// Color stops are not available in IE9 and below.
|
||||
@mixin gradient-vertical($start-color: #555555, $end-color: #333333, $start-percent: 0%, $end-percent: 100%) {
|
||||
background-image: -webkit-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
|
||||
background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down
|
||||
}
|
||||
|
||||
@mixin gradient-directional($start-color: #555555, $end-color: #333333, $deg: 45deg) {
|
||||
background-repeat: repeat-x;
|
||||
background-image: -webkit-linear-gradient($deg, $start-color, $end-color); // Safari 5.1-6, Chrome 10+
|
||||
background-image: linear-gradient($deg, $start-color, $end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
||||
}
|
||||
|
||||
@mixin gradient-horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
|
||||
background-image: -webkit-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
|
||||
background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
|
||||
background-repeat: no-repeat;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down, gets no color-stop at all for proper fallback
|
||||
}
|
||||
|
||||
@mixin gradient-vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
|
||||
background-image: -webkit-linear-gradient($start-color, $mid-color $color-stop, $end-color);
|
||||
background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
|
||||
background-repeat: no-repeat;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
|
||||
}
|
||||
|
||||
@mixin gradient-radial($inner-color: #555555, $outer-color: #333333) {
|
||||
background-image: -webkit-radial-gradient(circle, $inner-color, $outer-color);
|
||||
background-image: radial-gradient(circle, $inner-color, $outer-color);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
@mixin gradient-striped($color: rgba(255,255,255,.15), $angle: 45deg) {
|
||||
background-image: -webkit-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// Grid-dedicated responsive offset system
|
||||
//
|
||||
|
||||
@mixin grid-offset($offset) {
|
||||
margin-bottom: -$offset;
|
||||
|
||||
&:empty {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
> * {
|
||||
margin-bottom: $offset;
|
||||
}
|
||||
}
|
||||
43
templates/template_3/sources/scss/custom/mixins/_groups.scss
Normal file
43
templates/template_3/sources/scss/custom/mixins/_groups.scss
Normal file
@@ -0,0 +1,43 @@
|
||||
// Element-groups
|
||||
@mixin group($offset-x, $offset-y: $offset-x) {
|
||||
margin-bottom: -$offset-y;
|
||||
margin-left: -$offset-x;
|
||||
|
||||
&:empty {
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
> * {
|
||||
display: inline-block;
|
||||
margin-top: 0;
|
||||
margin-bottom: $offset-y;
|
||||
margin-left: $offset-x;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin group-media($offset-x, $offset-y: $offset-x) {
|
||||
margin-bottom: -$offset-y;
|
||||
margin-left: -$offset-x;
|
||||
|
||||
> * {
|
||||
margin-bottom: $offset-y;
|
||||
margin-left: $offset-x;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin groupX($offset-x) {
|
||||
margin-left: -$offset-x;
|
||||
|
||||
> * {
|
||||
margin-left: $offset-x;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin groupY($offset-y) {
|
||||
margin-bottom: -$offset-y;
|
||||
|
||||
> * {
|
||||
margin-bottom: $offset-y;
|
||||
}
|
||||
}
|
||||
19
templates/template_3/sources/scss/custom/mixins/_links.scss
Normal file
19
templates/template_3/sources/scss/custom/mixins/_links.scss
Normal file
@@ -0,0 +1,19 @@
|
||||
@mixin link($color: $body-color, $color-hover: $primary) {
|
||||
&,
|
||||
&:focus,
|
||||
&:active {
|
||||
color: $color;
|
||||
}
|
||||
&:hover {
|
||||
color: $color-hover;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin text-var($color, $hover-color) {
|
||||
&#{&} {
|
||||
color: $color;
|
||||
}
|
||||
@at-root a#{&}#{&} {
|
||||
@include link($color, $hover-color)
|
||||
}
|
||||
}
|
||||
52
templates/template_3/sources/scss/custom/mixins/_mixins.scss
Normal file
52
templates/template_3/sources/scss/custom/mixins/_mixins.scss
Normal file
@@ -0,0 +1,52 @@
|
||||
//
|
||||
// Mixins
|
||||
// --------------------------------------------------
|
||||
|
||||
// Clearfix
|
||||
//
|
||||
@mixin clearfix() {
|
||||
&:before,
|
||||
&:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
// Disable padding - top on two similar backgrounds
|
||||
//
|
||||
@mixin bg-behaviour($bg-color) {
|
||||
background-color: $bg-color;
|
||||
|
||||
& + & {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Grid related values
|
||||
//
|
||||
@mixin make-grid-parameter($parameter, $offset, $container, $col) {
|
||||
@if $offset > 0 {
|
||||
#{$parameter}: calc(50% - #{$container} / 2 + #{$offset} + (#{$container} / #{$grid-columns}) * #{$col});
|
||||
} @else if ($offset < 0) {
|
||||
#{$parameter}: calc(50% - #{$container} / 2 - #{-$offset} + (#{$container} / #{$grid-columns}) * #{$col});
|
||||
} @else {
|
||||
#{$parameter}: calc(50% - #{$container} / 2 + (#{$container} / #{$grid-columns}) * #{$col});
|
||||
}
|
||||
}
|
||||
|
||||
// Link universal mixin
|
||||
//
|
||||
@mixin link($default-clr, $hover-color) {
|
||||
&,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: $default-clr;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $hover-color;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// Spacing: padding-based layout
|
||||
//
|
||||
|
||||
@mixin spacing($x, $y : $x) {
|
||||
transform: translate3d(0, -$y, 0);
|
||||
margin-bottom: -$y;
|
||||
margin-left: - round($x / 2);
|
||||
margin-right: - round($x / 2);
|
||||
|
||||
> * {
|
||||
margin-top: $y;
|
||||
padding-left: round($x / 2);
|
||||
padding-right: round($x / 2);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin spacingX($x) {
|
||||
margin-left: - round($x / 2);
|
||||
margin-right: - round($x / 2);
|
||||
|
||||
> * {
|
||||
padding-left: round($x / 2);
|
||||
padding-right: round($x / 2);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin spacingY($y) {
|
||||
transform: translate3d(0, -$y, 0);
|
||||
margin-bottom: -$y;
|
||||
|
||||
> * {
|
||||
margin-top: $y;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// Unit Utilities
|
||||
@mixin unit-spacing($spacing-x, $spacing-y: $spacing-x) {
|
||||
margin-bottom: -$spacing-y;
|
||||
margin-left: -$spacing-x;
|
||||
|
||||
> * {
|
||||
margin-bottom: $spacing-y;
|
||||
margin-left: $spacing-x;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin unit-responsive($spacing-x, $spacing-y: $spacing-x) {
|
||||
.unit {
|
||||
display: flex;
|
||||
flex: 0 1 100%;
|
||||
@include unit-spacing($spacing-x, $spacing-y);
|
||||
}
|
||||
|
||||
.unit:empty {
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.unit-body {
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
.unit-left,
|
||||
.unit-right {
|
||||
flex: 0 0 auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
138
templates/template_3/sources/scss/custom/mixins/_vendors.scss
Normal file
138
templates/template_3/sources/scss/custom/mixins/_vendors.scss
Normal file
@@ -0,0 +1,138 @@
|
||||
// CSS vendors
|
||||
//
|
||||
|
||||
@mixin keyframes($name) {
|
||||
@-webkit-keyframes #{$name} {
|
||||
@content;
|
||||
}
|
||||
@keyframes #{$name} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
//@mixin display-flex() {
|
||||
// display: -ms-flexbox;
|
||||
// display: -webkit-flex;
|
||||
// display: flex;
|
||||
//}
|
||||
//
|
||||
//@mixin display-inline-flex() {
|
||||
// display: -webkit-inline-flex;
|
||||
// display: -ms-inline-flexbox;
|
||||
// display: inline-flex;
|
||||
//}
|
||||
//
|
||||
//@mixin flex($grow-shrink-basis) {
|
||||
// -ms-flex: $grow-shrink-basis;
|
||||
// -webkit-flex: $grow-shrink-basis;
|
||||
// flex: $grow-shrink-basis;
|
||||
//}
|
||||
//
|
||||
//@mixin flex-direction($direction) {
|
||||
// -webkit-flex-direction: $direction;
|
||||
// -ms-flex-direction: $direction;
|
||||
// flex-direction: $direction;
|
||||
//}
|
||||
//
|
||||
//@mixin flex-wrap($wrap) {
|
||||
// -webkit-flex-wrap: $wrap;
|
||||
// -ms-flex-wrap: $wrap;
|
||||
// flex-wrap: $wrap;
|
||||
//}
|
||||
//
|
||||
//@mixin flex-grow($grow) {
|
||||
// -webkit-flex-grow: $grow;
|
||||
// -ms-flex-positive: $grow;
|
||||
// flex-grow: $grow;
|
||||
//}
|
||||
//
|
||||
//@mixin flex-shrink($shrink) {
|
||||
// -ms-flex-negative: $shrink;
|
||||
// -webkit-flex-shrink: $shrink;
|
||||
// flex-shrink: $shrink;
|
||||
//}
|
||||
//
|
||||
//@mixin flex-basis($basis) {
|
||||
// -webkit-flex-basis: $basis;
|
||||
// -ms-flex-preferred-size: $basis;
|
||||
// flex-basis: $basis;
|
||||
// max-width: $basis;
|
||||
//}
|
||||
//
|
||||
//@mixin justify-content($align) {
|
||||
// -webkit-justify-content: $align;
|
||||
// @if ($align == "flex-start") {
|
||||
// -ms-flex-pack: start;
|
||||
// } @else if ($align == "flex-end") {
|
||||
// -ms-flex-pack: end;
|
||||
// } @else if ($align == "space-around") {
|
||||
// -ms-flex-pack: distribute;
|
||||
// } @else if ($align == "space-between") {
|
||||
// -ms-flex-pack: justify;
|
||||
// } @else {
|
||||
// -ms-flex-pack: $align;
|
||||
// }
|
||||
// justify-content: $align;
|
||||
//}
|
||||
//
|
||||
//@mixin align-content($align){
|
||||
// -webkit-align-content: $align;
|
||||
// @if ($align == "flex-start") {
|
||||
// -ms-flex-pack: start;
|
||||
// } @else if ($align == "flex-end") {
|
||||
// -ms-flex-pack: end;
|
||||
// } @else if ($align == "space-around") {
|
||||
// -ms-flex-pack: distribute;
|
||||
// } @else if ($align == "space-between") {
|
||||
// -ms-flex-pack: justify;
|
||||
// } @else if ($align == "center") {
|
||||
// -ms-flex-pack: center;
|
||||
// } @else if ($align == "stretch") {
|
||||
// -ms-flex-pack: stretch;
|
||||
// } @else {
|
||||
// -ms-flex-pack: $align;
|
||||
// }
|
||||
// align-content: $align;
|
||||
//}
|
||||
//
|
||||
//@mixin align-items($valign) {
|
||||
// -webkit-align-items: $valign;
|
||||
// @if ($valign == "flex-start") {
|
||||
// -ms-flex-align: start;
|
||||
// } @else if ($valign == "flex-end") {
|
||||
// -ms-flex-align: end;
|
||||
// } @else {
|
||||
// -ms-flex-align: $valign;
|
||||
// }
|
||||
// align-items: $valign;
|
||||
//}
|
||||
//
|
||||
//@mixin align-self($valign) {
|
||||
// -webkit-align-self: $valign;
|
||||
// @if ($valign == "flex-start") {
|
||||
// -ms-flex-item-align: start;
|
||||
// } @else if ($valign == "flex-end") {
|
||||
// -ms-flex-item-align: end;
|
||||
// } @else {
|
||||
// -ms-flex-item-align: $valign;
|
||||
// }
|
||||
// align-self: $valign;
|
||||
//}
|
||||
|
||||
@mixin order($order) {
|
||||
-webkit-order: $order;
|
||||
-ms-flex-order: $order;
|
||||
order: $order
|
||||
}
|
||||
|
||||
@mixin columns($count) {
|
||||
-webkit-columns: $count;
|
||||
-moz-columns: $count;
|
||||
columns: $count;
|
||||
}
|
||||
|
||||
@mixin break-inside($break-inside) {
|
||||
-webkit-column-break-inside: $break-inside;
|
||||
page-break-inside: $break-inside;
|
||||
break-inside: $break-inside;
|
||||
}
|
||||
274
templates/template_3/sources/scss/custom/plugins/_animate.scss
Normal file
274
templates/template_3/sources/scss/custom/plugins/_animate.scss
Normal file
@@ -0,0 +1,274 @@
|
||||
/*
|
||||
*
|
||||
* Animate.css
|
||||
*/
|
||||
|
||||
.animated {
|
||||
-webkit-animation-duration: 1s;
|
||||
animation-duration: 1s;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.animated.infinite {
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
.animated.hinge {
|
||||
-webkit-animation-duration: 2s;
|
||||
animation-duration: 2s;
|
||||
}
|
||||
|
||||
html:not(.lt-ie10) .not-animated {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
//
|
||||
// FadeIn Keyframes Animation
|
||||
//
|
||||
@include keyframes(fadeIn) {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.fadeIn {
|
||||
-webkit-animation-name: fadeIn;
|
||||
animation-name: fadeIn;
|
||||
}
|
||||
|
||||
//
|
||||
// FadeInUp Keyframes Animation
|
||||
//
|
||||
@include keyframes(fadeInUp) {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(0, 100%, 0);
|
||||
transform: translate3d(0, 100%, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.fadeInUp {
|
||||
-webkit-animation-name: fadeInUp;
|
||||
animation-name: fadeInUp;
|
||||
}
|
||||
|
||||
//
|
||||
// FadeInDown Keyframes Animation
|
||||
//
|
||||
@include keyframes(fadeInDown) {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(0, -100%, 0);
|
||||
transform: translate3d(0, -100%, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.fadeInDown {
|
||||
-webkit-animation-name: fadeInDown;
|
||||
animation-name: fadeInDown;
|
||||
}
|
||||
|
||||
//
|
||||
// FadeInLeft Keyframes Animation
|
||||
//
|
||||
@include keyframes(fadeInLeft) {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(-100%, 0, 0);
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.fadeInLeft {
|
||||
-webkit-animation-name: fadeInLeft;
|
||||
animation-name: fadeInLeft;
|
||||
}
|
||||
|
||||
//
|
||||
// FadeInRight Keyframes Animation
|
||||
//
|
||||
@include keyframes(fadeInRight) {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(100%, 0, 0);
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.fadeInRight {
|
||||
-webkit-animation-name: fadeInRight;
|
||||
animation-name: fadeInRight;
|
||||
}
|
||||
|
||||
//
|
||||
// FadeOut Keyframes Animation
|
||||
//
|
||||
@include keyframes(fadeOut) {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.fadeOut {
|
||||
-webkit-animation-name: fadeOut;
|
||||
animation-name: fadeOut;
|
||||
}
|
||||
|
||||
//
|
||||
// SlideInDown Keyframes Animation
|
||||
//
|
||||
@include keyframes(slideInDown) {
|
||||
0% {
|
||||
-webkit-transform: translate3d(0, -100%, 0);
|
||||
transform: translate3d(0, -100%, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideInDown {
|
||||
-webkit-animation-name: slideInDown;
|
||||
animation-name: slideInDown;
|
||||
}
|
||||
|
||||
//
|
||||
// SlideInLeft Keyframes Animation
|
||||
//
|
||||
@include keyframes(slideInLeft) {
|
||||
0% {
|
||||
-webkit-transform: translate3d(-100%, 0, 0);
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideInLeft {
|
||||
-webkit-animation-name: slideInLeft;
|
||||
animation-name: slideInLeft;
|
||||
}
|
||||
|
||||
//
|
||||
// SlideInRight Keyframes Animation
|
||||
//
|
||||
@include keyframes(slideInRight) {
|
||||
0% {
|
||||
-webkit-transform: translate3d(100%, 0, 0);
|
||||
transform: translate3d(100%, 0, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideInRight {
|
||||
-webkit-animation-name: slideInRight;
|
||||
animation-name: slideInRight;
|
||||
}
|
||||
|
||||
//
|
||||
// SlideOutDown Keyframes Animation
|
||||
//
|
||||
@include keyframes(slideOutDown) {
|
||||
0% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
visibility: hidden;
|
||||
-webkit-transform: translate3d(0, 100%, 0);
|
||||
transform: translate3d(0, 100%, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideOutDown {
|
||||
-webkit-animation-name: slideOutDown;
|
||||
animation-name: slideOutDown;
|
||||
}
|
||||
|
||||
//owl custom
|
||||
@include keyframes(slideOutDown) {
|
||||
0% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
visibility: hidden;
|
||||
-webkit-transform: translate3d(0, 100%, 0);
|
||||
transform: translate3d(0, 100%, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideOutDown {
|
||||
-webkit-animation-name: slideOutDown;
|
||||
animation-name: slideOutDown;
|
||||
}
|
||||
|
||||
|
||||
@keyframes zoomIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale3d(.3, .3, .3);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scale3d(1.2, 1.2, 1.2);
|
||||
}
|
||||
|
||||
100%{
|
||||
transform: scale3d(1, 1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
.zoomIn {
|
||||
animation-name: zoomIn;
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
//
|
||||
// animated text
|
||||
// --------------------------------------------------
|
||||
|
||||
.typed-text {
|
||||
color: rgba($primary, .55);
|
||||
font-family: $font-family-cursive;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.typed-cursor {
|
||||
vertical-align: text-top;
|
||||
color: rgba($gray-800, .72);
|
||||
opacity: 1;
|
||||
-webkit-animation: blink 0.7s infinite;
|
||||
-moz-animation: blink 0.7s infinite;
|
||||
animation: blink 0.7s infinite;
|
||||
}
|
||||
|
||||
.context-dark {
|
||||
.typed-text,
|
||||
.typed-cursor {
|
||||
color: rgba($white, .5);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes blink {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes blink {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
// texttilate
|
||||
|
||||
.textillate-text {
|
||||
> span {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,182 @@
|
||||
//
|
||||
// Panel custom styles
|
||||
//
|
||||
|
||||
// Light
|
||||
//
|
||||
$accordion-corporate-color: $gray-700;
|
||||
$accordion-corporate-background: $white;
|
||||
$accordion-corporate-border: #dedede;
|
||||
$accordion-corporate-content-color: $body-color;
|
||||
$accordion-corporate-arrow-color: $white;
|
||||
$accordion-corporate-arrow-background: $primary;
|
||||
$accordion-corporate-shadow: -1px 2px 5px 0px rgba(#444953, 0.12);
|
||||
$accordion-corporate-border-radius: 6px;
|
||||
$accordion-corporate-header-padding: 21px 82px 21px 32px;
|
||||
$accordion-corporate-content-padding: 25px 44px 25px nth($accordion-corporate-header-padding, 4);
|
||||
|
||||
// Panel groups
|
||||
.card-group-custom {
|
||||
margin-bottom: 0;
|
||||
|
||||
.card-header + .collapse > .card-body,
|
||||
.card-header + .collapse > .list-group {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.card + .card {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.card-group-custom.card-group-corporate {
|
||||
.card + .card {
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.card-custom {
|
||||
display: block;
|
||||
margin: 0;
|
||||
background: inherit;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
text-align: left;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Panel heading
|
||||
.card-header {
|
||||
padding: 0;
|
||||
border-bottom: 0;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
// Panel contents
|
||||
.card-body {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
* + .card-group-custom {
|
||||
margin-top: 35px;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
// Panel corporate
|
||||
.card-corporate {
|
||||
text-align: left;
|
||||
box-shadow: $accordion-corporate-shadow;
|
||||
.card-title {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.card-title a,
|
||||
.card-body {
|
||||
background: $accordion-corporate-background;
|
||||
}
|
||||
|
||||
.card-title a {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: $accordion-corporate-header-padding;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 1.25;
|
||||
letter-spacing: 0;
|
||||
color: $accordion-corporate-color;
|
||||
transition: 1.3s all ease;
|
||||
border-radius: $accordion-corporate-border-radius $accordion-corporate-border-radius 0 0;
|
||||
border-bottom: 1px solid $accordion-corporate-border;
|
||||
|
||||
// Open state
|
||||
.card-arrow {
|
||||
&:after {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
// Collapsed state
|
||||
&.collapsed {
|
||||
border-radius: $accordion-corporate-border-radius;
|
||||
border-bottom-width: 0;
|
||||
|
||||
.card-arrow {
|
||||
border-radius: 0 $accordion-corporate-border-radius $accordion-corporate-border-radius 0;
|
||||
&:after {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Panel arrow
|
||||
.card-arrow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: -1px;
|
||||
right: -1px;
|
||||
z-index: 2;
|
||||
width: 70px;
|
||||
background: $accordion-corporate-arrow-background;
|
||||
border-radius: 0 $accordion-corporate-border-radius 0 0;
|
||||
transition: .33s all ease;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
z-index: 4;
|
||||
transform: translateY(-50%);
|
||||
background: $accordion-corporate-arrow-color;
|
||||
}
|
||||
|
||||
&::before {
|
||||
width: 14px;
|
||||
height: 2px;
|
||||
right: 28px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
width: 2px;
|
||||
height: 14px;
|
||||
right: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
.collapse {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
color: $accordion-corporate-content-color;
|
||||
border-radius: 0 0 $accordion-corporate-border-radius $accordion-corporate-border-radius;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: $accordion-corporate-content-padding;
|
||||
}
|
||||
|
||||
// Media queries
|
||||
@include media-breakpoint-down(md) {
|
||||
.card-title a,
|
||||
.card-body {
|
||||
padding-left: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.card-title a {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
*
|
||||
* Counter
|
||||
*/
|
||||
|
||||
.counter {
|
||||
font: 400 50px/1.5 $font-family-cursive;
|
||||
opacity: .25;
|
||||
}
|
||||
|
||||
.box-counter {
|
||||
max-width: 210px;
|
||||
text-align: left;
|
||||
&__wrap {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.box-counter__title {
|
||||
position: relative;
|
||||
font-weight: 700;
|
||||
padding-left: 30px;
|
||||
|
||||
&:before{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
height: 70px;
|
||||
border-left: 1px solid $gray-200;
|
||||
transform: rotate(15deg);
|
||||
transform-origin: left bottom;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
.counter {
|
||||
font-size: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
// variant 2
|
||||
.box-counter_var-2 {
|
||||
|
||||
.box-counter__title {
|
||||
font-size: 16px;
|
||||
color: $gray-800;
|
||||
padding-left: 0;
|
||||
&:before{
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
.box-counter__wrap {
|
||||
span {
|
||||
font-size: 40px;
|
||||
font-family: $font-family-cursive;;
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
.counter {
|
||||
line-height: .9;
|
||||
}
|
||||
|
||||
}
|
||||
167
templates/template_3/sources/scss/custom/plugins/_instafeed.scss
Normal file
167
templates/template_3/sources/scss/custom/plugins/_instafeed.scss
Normal file
@@ -0,0 +1,167 @@
|
||||
/**
|
||||
* Instagram Plugin Style
|
||||
*/
|
||||
.instafeed {
|
||||
|
||||
[data-x-mode] & {
|
||||
pointer-events: auto;
|
||||
> * {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Thumbnail InstaFeed
|
||||
*/
|
||||
|
||||
.thumbnail-instafeed {
|
||||
position: relative;
|
||||
padding-bottom: 100%;
|
||||
|
||||
.label {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 30px;
|
||||
left: 25px;
|
||||
color: $white;
|
||||
font-weight: 700;
|
||||
|
||||
&:before{
|
||||
margin-right: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
background: $gray-800;
|
||||
}
|
||||
|
||||
img {
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.caption {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: $white;
|
||||
background-color: rgba($primary, .35);
|
||||
transition: .3s ease-out all;
|
||||
pointer-events: none;
|
||||
overflow: hidden;
|
||||
will-change: transfrom;
|
||||
|
||||
.list-inline {
|
||||
margin-left: -10px;
|
||||
margin-right: -10px;
|
||||
> li {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-right: 5px;
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ie-10,
|
||||
.ie-11 {
|
||||
.thumbnail-instafeed {
|
||||
overflow: hidden;
|
||||
img {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 135%;
|
||||
max-height: 135%;
|
||||
min-height: 101%;
|
||||
min-width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
.thumbnail-instafeed {
|
||||
.caption {
|
||||
.list-inline {
|
||||
margin-left: -25px;
|
||||
margin-right: -25px;
|
||||
> li {
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thumbnail InstaFeedl Minimal
|
||||
*/
|
||||
.thumbnail-instafeed-minimal {
|
||||
.caption {
|
||||
.list-inline {
|
||||
> li {
|
||||
display: block;
|
||||
}
|
||||
> li + li { margin-top: 10px; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.desktop {
|
||||
// Large ≥992px
|
||||
@include media-breakpoint-up(lg) {
|
||||
.thumbnail-instafeed {
|
||||
.caption {
|
||||
background-color: rgba($primary, .8);
|
||||
}
|
||||
.caption,
|
||||
.list-inline > li {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
.list-inline > li {
|
||||
transform: scale3d(0, 0, 0);
|
||||
will-change: transfrom;
|
||||
}
|
||||
&:hover {
|
||||
.caption,
|
||||
.list-inline > li {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
.list-inline > li {
|
||||
transform: scale3d(1, 1, 1);
|
||||
transition: 480ms cubic-bezier(0.18, 0.89, 0.32, 1.28) transform, 150ms cubic-bezier(0.18, 0.89, 0.32, 1.28) opacity;
|
||||
transition-delay: .15s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
342
templates/template_3/sources/scss/custom/plugins/_isotope.scss
Normal file
342
templates/template_3/sources/scss/custom/plugins/_isotope.scss
Normal file
@@ -0,0 +1,342 @@
|
||||
/*
|
||||
*
|
||||
* Isotope
|
||||
*/
|
||||
|
||||
$isotope-default-color: $gray-300;
|
||||
$isotope-default-color-active: $primary;
|
||||
$isotope-default-border: $isotope-default-color-active;
|
||||
$isotope-nav-spacing: 5px;
|
||||
|
||||
$isotope-inverse-color: $white;
|
||||
$isotope-inverse-color-active: $primary;
|
||||
$isotope-inverse-border: $isotope-inverse-color-active;
|
||||
|
||||
//
|
||||
// Isotope animations
|
||||
//
|
||||
@keyframes sprite-animation {
|
||||
from {
|
||||
background-position: 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
[data-isotope-layout] {
|
||||
z-index: 0;
|
||||
display: block;
|
||||
min-height: 160px;
|
||||
margin-left: -15px;
|
||||
margin-right: -15px;
|
||||
transition: .4s all ease;
|
||||
|
||||
.row {
|
||||
margin-bottom: -30px;
|
||||
|
||||
> [class*="col-"] {
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.row-narrow {
|
||||
margin-bottom: -$grid-gutter-width-narrow;
|
||||
|
||||
> [class*="col-"] {
|
||||
margin-top: $grid-gutter-width-narrow;
|
||||
}
|
||||
}
|
||||
|
||||
.row-condensed {
|
||||
margin-bottom: 0;
|
||||
|
||||
> [class*="col-"] {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[class*="col-"] {
|
||||
display: block;
|
||||
will-change: transform;
|
||||
backface-visibility: hidden;
|
||||
transition: .1s opacity ease-in;
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Isotope defaults
|
||||
.isotope-filters {
|
||||
$value: 10px;
|
||||
|
||||
> * {
|
||||
margin-top: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.inline-list {
|
||||
position: relative;
|
||||
word-spacing: 0;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
transition: .3s;
|
||||
}
|
||||
|
||||
.isotope-filters-trigger {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.isotope-filters-modern {
|
||||
.inline-list {
|
||||
@include spacing(20px, 10px);
|
||||
|
||||
> li {
|
||||
font-family: $font-family-sec;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
padding-bottom: 10px;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 0;
|
||||
height: 2px;
|
||||
transition: .4s;
|
||||
background: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: $isotope-default-color-active;
|
||||
}
|
||||
|
||||
a.active {
|
||||
&::after {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
@include spacing(45px, 10px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.isotope-modern-wrap {
|
||||
[class*='col'] {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
[class*='col'] {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
html:not(.tablet):not(.mobile) & {
|
||||
@include media-breakpoint-up(lg) {
|
||||
[class*='col'] {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.isotope-condensed {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
.row > * {
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
.isotope-filters-responsive {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
||||
// Medium <768px
|
||||
@include media-breakpoint-down(sm) {
|
||||
> li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.isotope-filters {
|
||||
position: absolute;
|
||||
top: 49px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 10;
|
||||
width: 200px;
|
||||
padding: 15px;
|
||||
background: $white;
|
||||
border-radius: 3px;
|
||||
text-align: left;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: .33s all ease;
|
||||
border: 1px solid darken($white, 5%);
|
||||
|
||||
&.active {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.inline-list {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.inline-list a {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
padding: 5px 8px;
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
|
||||
&.active,
|
||||
&:hover {
|
||||
color: $primary;
|
||||
background-color: rgba($primary, .1);
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
li + li {
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Medium ≥576px
|
||||
@include media-breakpoint-up(sm) {
|
||||
> li {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
> li + li {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Medium ≥768px
|
||||
@include media-breakpoint-up(md) {
|
||||
.isotope-filters {
|
||||
left: 0;
|
||||
transform: none;
|
||||
.inline-list a {
|
||||
position: relative;
|
||||
padding: 23px 38px;
|
||||
|
||||
&:before{
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
background-color: $primary;
|
||||
border-radius: 45px;
|
||||
z-index: -1;
|
||||
opacity: 0;
|
||||
transition: .33s ease;
|
||||
box-shadow: 9px 9px 19px rgba($primary, .22);
|
||||
}
|
||||
|
||||
&.active,
|
||||
&:hover {
|
||||
color: $white;
|
||||
&:before{
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> li:first-child {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.isotope-filters {
|
||||
display: inline-block;
|
||||
border: 1px solid $gray-200;
|
||||
border-radius: 35px;
|
||||
|
||||
li {
|
||||
a {
|
||||
display: inline-block;
|
||||
text-transform: uppercase;
|
||||
color: rgba($gray-800, .65);
|
||||
font-weight: 900;
|
||||
letter-spacing: .07em;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.isotope-filters-toggle {
|
||||
display: block;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
// Medium ≥768px
|
||||
@include media-breakpoint-up(md) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
* + .isotope {
|
||||
//margin-top: 0;
|
||||
}
|
||||
|
||||
* + .isotope-condensed,
|
||||
* + .isotope-wrap {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.isotope-condensed {
|
||||
padding: 0 0 30px;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
.row.row-condensed > [class*='col'] {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.row.row-condensed > [class*='col'] + [class*='col'] {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
* + .isotope {
|
||||
margin-top: 40px;
|
||||
}
|
||||
* + .isotope-condensed {
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
*
|
||||
* Circle Progress Bars
|
||||
*/
|
||||
|
||||
.progress-bar-circle {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
|
||||
canvas {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
span {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 51%;
|
||||
font-size: 36px;
|
||||
line-height: 36px;
|
||||
transform: translate(-50%, -50%);
|
||||
color: $gray-500;
|
||||
|
||||
&::after {
|
||||
content: "%";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-bar-circle-title {
|
||||
font-size: 14px;
|
||||
letter-spacing: .05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
* + .progress-bar-circle-title {
|
||||
margin-top: 12px;
|
||||
}
|
||||
@@ -0,0 +1,617 @@
|
||||
/*
|
||||
*
|
||||
* Layout panel
|
||||
*/
|
||||
|
||||
$width-mobile: 260px;
|
||||
$width-desktop: 330px;
|
||||
|
||||
$scrollbar-padding: 2px;
|
||||
$scrollbar-width: 16px;
|
||||
|
||||
.layout-panel-wrap {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
z-index: $zindex-layout-panel;
|
||||
|
||||
&.active {
|
||||
.layout-panel {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.layout-panel-inner:after {
|
||||
box-shadow: $shadow-area-1;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel-toggle,
|
||||
.layout-panel-inner > * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel {
|
||||
width: auto;
|
||||
transform: translateX($width-mobile + $scrollbar-width);
|
||||
transition: .55s all ease;
|
||||
}
|
||||
|
||||
// Scroll
|
||||
.layout-panel-content {
|
||||
position: relative;
|
||||
height: 100vh;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
width: 100%;
|
||||
padding-right: $scrollbar-width;
|
||||
|
||||
.mCSB_outside + .mCSB_scrollTools {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools {
|
||||
width: $scrollbar-width;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_dragger,
|
||||
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
|
||||
width: $scrollbar-width - $scrollbar-padding * 2;
|
||||
}
|
||||
|
||||
.mCSB_draggerContainer {
|
||||
padding: $scrollbar-padding;
|
||||
background: $primary;
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: rgba($white-invariable, .5);
|
||||
}
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
|
||||
background-color: $white;
|
||||
border-radius: $form-input-border-radius;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar {
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
// Inner content
|
||||
.layout-panel-inner {
|
||||
position: relative;
|
||||
height: auto;
|
||||
min-height: 101vh;
|
||||
max-width: $width-mobile;
|
||||
padding: 20px 0 20px;
|
||||
color: $body-color;
|
||||
background: $white;
|
||||
margin-left: auto;
|
||||
text-align: center;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
box-shadow: -3px 0px 50px -2px rgba($black, 0);
|
||||
z-index: -10;
|
||||
transition: .33s all ease;
|
||||
}
|
||||
|
||||
> * + * {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel-controls {
|
||||
border-top: 1px solid $gray-100;
|
||||
border-bottom: 1px solid $gray-100;
|
||||
|
||||
> * + * {
|
||||
border-top: 1px solid $gray-100;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile,
|
||||
.tablet {
|
||||
&.rd-navbar-fixed-linked {
|
||||
.layout-panel-inner {
|
||||
padding-bottom: 90px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel-header {
|
||||
padding: 0 12px;
|
||||
|
||||
.button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
* + .layout-panel-element,
|
||||
* + .layout-panel-title {
|
||||
margin-top: 22px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
* + .layout-panel-element,
|
||||
* + .layout-panel-title {
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin layout-spacing($x: 5px, $y: $x) {
|
||||
padding-left: $x / 2;
|
||||
padding-right: $x / 2 - 1px;
|
||||
|
||||
.isotope {
|
||||
position: relative;
|
||||
margin-bottom: -$y;
|
||||
transform: translateY(-$y);
|
||||
}
|
||||
|
||||
.isotope-item {
|
||||
margin-top: $y;
|
||||
padding: 0 $x / 2;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel-isotope-wrap {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
@include layout-spacing(10px, 10px);
|
||||
|
||||
.isotope-item {
|
||||
flex-basis: 50%;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.isotope {
|
||||
position: static;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.isotope-filters {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.isotope-filters-list {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -100px;
|
||||
bottom: 0;
|
||||
right: -100px;
|
||||
border-bottom: 1px solid $gray-200;
|
||||
}
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
padding-left: 7px;
|
||||
padding-right: 7px;
|
||||
font: $font-weight-base 12px/18px $font-family-base;
|
||||
color: $gray-500;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
z-index: 2;
|
||||
padding-bottom: 14px;
|
||||
text-align: right;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 3px;
|
||||
background: $primary;
|
||||
transition: .34s;
|
||||
transform: translate(0, 8px);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
&.active,
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
&.active {
|
||||
&::after {
|
||||
transform: translate(0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .isotope {
|
||||
margin-top: 20px;
|
||||
}
|
||||
* + .isotope-filters {
|
||||
margin-top: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel-toggle {
|
||||
@include reset-button;
|
||||
position: fixed;
|
||||
top: 20vh;
|
||||
right: $width-mobile + $scrollbar-width;
|
||||
z-index: 10;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
background: $white;
|
||||
color: $black;
|
||||
text-align: center;
|
||||
box-shadow: -5px 1px 10px 0 rgba($black, .05);
|
||||
border-right: 0;
|
||||
transition: .55s all ease;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
font-family: 'Material Design Icons';
|
||||
font-size: 16px;
|
||||
transition: .33s;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: '\f582';
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '\f24c';
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&.active {
|
||||
&::before {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .layout-panel-main {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.layout-panel-row {
|
||||
padding: 15px 10px;
|
||||
text-align: left;
|
||||
font-size: 14px;
|
||||
|
||||
.jscolor {
|
||||
padding: 3px 6px;
|
||||
border-radius: $form-input-border-radius;
|
||||
border: none;
|
||||
box-shadow: 1px 1px 6px -1px rgba(0, 0, 0, .3);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
> * {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.toggle-custom-dummy {
|
||||
display: inline-block;
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
> * + * {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel-row-button-wrap {
|
||||
padding-top: 0;
|
||||
border: 0;
|
||||
.button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 10px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.layout-panel-wrap {
|
||||
&.active {
|
||||
.layout-panel {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel {
|
||||
transform: translateX($width-desktop + $scrollbar-width);
|
||||
}
|
||||
|
||||
.layout-panel-inner {
|
||||
max-width: $width-desktop;
|
||||
}
|
||||
|
||||
.layout-panel-toggle {
|
||||
right: $width-desktop + $scrollbar-width;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-panel-toggle {
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
line-height: 54px;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
font-size: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
&.ie-10,
|
||||
&.ie-11 {
|
||||
.layout-panel {
|
||||
transform: translateX($width-desktop + $scrollbar-width);
|
||||
}
|
||||
|
||||
.layout-panel-toggle {
|
||||
right: $scrollbar-width;
|
||||
}
|
||||
|
||||
.layout-panel-wrap {
|
||||
&.active {
|
||||
right: $scrollbar-width;
|
||||
|
||||
.layout-panel-toggle {
|
||||
right: $width-desktop + $scrollbar-width * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Thumbnail Small
|
||||
//
|
||||
.thumbnail-small {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 5px 5px 0;
|
||||
text-align: center;
|
||||
transition: 0.3s ease;
|
||||
color: $gray-700;
|
||||
background-color: $gray-100;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
background-color: $primary;
|
||||
border-color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.thumbnail-small-image,
|
||||
.thumbnail-small-hover-image {
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.thumbnail-small-image {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-height: 105px;
|
||||
}
|
||||
|
||||
.thumbnail-small-hover-image {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.thumbnail-small-caption {
|
||||
position: relative;
|
||||
padding: 8px 8px;
|
||||
}
|
||||
|
||||
.thumbnail-small-header {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
font: 400 13px/18px $font-family-base;
|
||||
color: inherit;
|
||||
|
||||
.brand {
|
||||
max-width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
html:not(.tablet):not(.mobile) {
|
||||
.thumbnail-small-hover-image {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: -10px;
|
||||
top: 50%;
|
||||
z-index: 11;
|
||||
width: 380px * 0.9;
|
||||
height: 280px * 0.9;
|
||||
padding: 7px;
|
||||
background: $white;
|
||||
transform: translate3d(-120%, -60%, 0);
|
||||
box-shadow: -3px 0px 50px -2px rgba($black, .14);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: .33s all ease;
|
||||
|
||||
img {
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: -11px;
|
||||
top: 50%;
|
||||
z-index: -1;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
transform: translate3d(0, -50%, 0) rotate(45deg);
|
||||
background: $white;
|
||||
box-shadow: -3px 0px 45px -2px rgba($black, 0.13);
|
||||
}
|
||||
}
|
||||
|
||||
.thumbnail-small {
|
||||
&:hover {
|
||||
.thumbnail-small-caption::after {
|
||||
bottom: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.thumbnail-small-header {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.thumbnail-small-image::after {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.thumbnail-small-hover-image {
|
||||
z-index: 12;
|
||||
opacity: 1;
|
||||
transform: translate(-100%, -60%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
* + .theme-switcher-group {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.theme-switcher-group {
|
||||
@include group(10px)
|
||||
}
|
||||
.theme-switcher-group-item {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
@include reset-button();
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
font-size: 0;
|
||||
cursor: pointer;
|
||||
background: $primary;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
content: '\f222';
|
||||
font-family: "Material Design Icons";
|
||||
font-size: 22px;
|
||||
transition: .22s;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
color: $white;
|
||||
text-shadow: 0 0 6px rgba($black, .2);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
&.active-theme {
|
||||
&::before {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.theme-switcher-group-item[data-theme-name='default'] {
|
||||
@import "../color-scheme/colors-default";
|
||||
background: $primary;
|
||||
}
|
||||
|
||||
.theme-switcher-group-item[data-theme-name='style-1'] {
|
||||
@import "../color-scheme/colors-fashion";
|
||||
background: $primary;
|
||||
}
|
||||
.theme-switcher-group-item[data-theme-name='style-2'] {
|
||||
@import "../color-scheme/colors-lawyer";
|
||||
background: $primary;
|
||||
}
|
||||
.theme-switcher-group-item[data-theme-name='style-3'] {
|
||||
@import "../color-scheme/colors-architect";
|
||||
background: $primary;
|
||||
}
|
||||
.theme-switcher-group-item[data-theme-name='style-4'] {
|
||||
@import "../color-scheme/colors-creatives";
|
||||
background: $primary;
|
||||
}
|
||||
.theme-switcher-group-item[data-theme-name='style-5'] {
|
||||
@import "../color-scheme/colors-restaurant";
|
||||
background: $primary;
|
||||
}
|
||||
.theme-switcher-group-item[data-theme-name='style-6'] {
|
||||
@import "../color-scheme/colors-video";
|
||||
background: $primary;
|
||||
}
|
||||
1087
templates/template_3/sources/scss/custom/plugins/_lightgallery.scss
Normal file
1087
templates/template_3/sources/scss/custom/plugins/_lightgallery.scss
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
*
|
||||
* Material Parallax
|
||||
*/
|
||||
|
||||
.parallax-container {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.material-parallax {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -1px;
|
||||
right: -1px;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.ipad, .iphone {
|
||||
.parallax-container {
|
||||
background-attachment: scroll !important;
|
||||
}
|
||||
}
|
||||
|
||||
.material-parallax img {
|
||||
display: none;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 0;
|
||||
max-width: none;
|
||||
min-width: 101%;
|
||||
min-height: 101%;
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
|
||||
.parallax-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
@@ -0,0 +1,377 @@
|
||||
//
|
||||
// Nav custom
|
||||
//
|
||||
|
||||
//
|
||||
// Table of Contents:
|
||||
//
|
||||
// Tabs Line
|
||||
// Tabs Corporate
|
||||
//
|
||||
|
||||
// Corporate style
|
||||
$tabs-corporate-color: $body-color;
|
||||
$tabs-corporate-background: transparent;
|
||||
$tabs-corporate-active-color: $white;
|
||||
$tabs-corporate-active-background: $primary;
|
||||
$tabs-corporate-border: #e5e7e9;
|
||||
|
||||
// Base styles
|
||||
.tabs-custom {
|
||||
text-align: left;
|
||||
.nav-tabs {
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
word-spacing: 0;
|
||||
border: 0;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
float: none;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
transition: .33s all ease;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.nav-link.active {
|
||||
cursor: default;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.tab-content > .tab-pane {
|
||||
display: block;
|
||||
visibility: hidden;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tab-content > .active {
|
||||
visibility: visible;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
// Offsets
|
||||
* + .tabs-horizontal.tabs-corporate {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
* + .tabs-vertical.tabs-corporate {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
* + .tabs-vertical.tabs-corporate {
|
||||
margin-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
* + .tabs-vertical.tabs-corporate {
|
||||
margin-top: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
// Tabs line
|
||||
.tabs-line {
|
||||
.nav-tabs {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
text-transform: uppercase;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
* + .tab-content {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.nav-tabs {
|
||||
max-width: 100%;
|
||||
border: 1px solid $tabs-corporate-border;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
margin: -1px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
padding: 7px 10px;
|
||||
color: $tabs-corporate-color;
|
||||
background: $tabs-corporate-background;
|
||||
border-bottom: 1px solid $tabs-corporate-border;
|
||||
|
||||
&:first-child {
|
||||
border-top: 1px solid $tabs-corporate-border;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link:hover,
|
||||
.nav-link.active {
|
||||
color: $tabs-corporate-active-color;
|
||||
background: $primary;
|
||||
border-color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Tabs corporate style
|
||||
.tabs-corporate {
|
||||
.nav-tabs {
|
||||
position: relative;
|
||||
border: 1px solid $tabs-corporate-border;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
margin: -1px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
padding: 10px 10px;
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.4;
|
||||
color: $tabs-corporate-color;
|
||||
background: $tabs-corporate-background;
|
||||
border-bottom: 1px solid $tabs-corporate-border;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
&:first-child {
|
||||
border-top: 1px solid $tabs-corporate-border;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link:hover,
|
||||
.nav-link.active {
|
||||
color: $tabs-corporate-active-color;
|
||||
background: $tabs-corporate-active-background;
|
||||
border-color: $tabs-corporate-active-background;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
//
|
||||
// Horizontal tabs
|
||||
//
|
||||
.tabs-horizontal {
|
||||
&.tabs-corporate {
|
||||
.nav-tabs {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: block;
|
||||
@include spacing(10px);
|
||||
text-align: center;
|
||||
border: 0;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: inline-block;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
display: block;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
min-width: 130px;
|
||||
letter-spacing: .1em;
|
||||
padding: 13px 20px;
|
||||
border: 2px solid $tabs-corporate-border;
|
||||
|
||||
&,
|
||||
&::before {
|
||||
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
width: calc(100% + 2px);
|
||||
height: calc(100% + 2px);
|
||||
z-index: -1;
|
||||
opacity: 0;
|
||||
transform: scale3d(0.7, 1, 1);
|
||||
transition: transform 0.4s, opacity 0.4s;
|
||||
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
|
||||
background: $tabs-corporate-active-background;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link.active,
|
||||
.nav-link:hover {
|
||||
color: $tabs-corporate-active-color;
|
||||
border-color: $tabs-corporate-active-background;
|
||||
background-color: transparent;
|
||||
|
||||
&::before {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tabs-line {
|
||||
.nav-tabs {
|
||||
border: 0;
|
||||
border-bottom: 4px solid $gray-200;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: inline-block;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
position: relative;
|
||||
padding: 0 0 15px 0;
|
||||
background-color: transparent;
|
||||
color: $gray-500;
|
||||
border: 0;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -4px;
|
||||
left: 0;
|
||||
height: 4px;
|
||||
width: 0;
|
||||
background: $primary;
|
||||
transition: .22s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link.active,
|
||||
.nav-link:hover {
|
||||
color: $gray-300;
|
||||
}
|
||||
|
||||
.nav-link.active {
|
||||
&::after {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
* + .tab-content {
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Vertical tabs
|
||||
//
|
||||
.tabs-vertical {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
||||
.nav-tabs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
flex-shrink: 0;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
border: 0;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.nav-link.active,
|
||||
.nav-link:hover {
|
||||
box-shadow: 0 9px 21px 0 rgba(#1e1e1e, .13);
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
// Tabs corporate
|
||||
&.tabs-corporate {
|
||||
.nav-tabs {
|
||||
width: auto;
|
||||
min-width: 260px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
position: relative;
|
||||
padding: 17px 30px;
|
||||
border: 0;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.nav-item + .nav-item {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding: 0 0 0 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
//
|
||||
// Horizontal tabs
|
||||
//
|
||||
.tabs-horizontal {
|
||||
|
||||
// Tabs Corporate
|
||||
&.tabs-corporate {
|
||||
.tab-content {
|
||||
padding: 60px 30px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Vertical tabs
|
||||
//
|
||||
.tabs-vertical {
|
||||
|
||||
// Tabs corporate
|
||||
&.tabs-corporate {
|
||||
.tab-content {
|
||||
padding: 0 0 0 45px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,392 @@
|
||||
/*
|
||||
*
|
||||
* Owl Carousel
|
||||
*/
|
||||
|
||||
.owl-carousel .animated {
|
||||
animation-duration: 1000ms;
|
||||
animation-fill-mode: both;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-animated-in {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-animated-out {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.owl-carousel .fadeOut {
|
||||
animation-name: fadeOut;
|
||||
}
|
||||
|
||||
@keyframes fadeOut {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Owl Carousel - Auto Height Plugin
|
||||
*/
|
||||
.owl-height {
|
||||
transition: height 500ms ease-in-out;
|
||||
}
|
||||
|
||||
/*
|
||||
* Core Owl Carousel CSS File
|
||||
*/
|
||||
.owl-carousel {
|
||||
display: none;
|
||||
width: 100%;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
/* position relative and z-index fix webkit rendering fonts issue */
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-stage {
|
||||
position: relative;
|
||||
-ms-touch-action: pan-Y;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-stage:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-stage-outer {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
/* fix for flashing background */
|
||||
-webkit-transform: translate3d(0px, 0px, 0px);
|
||||
}
|
||||
|
||||
.owl-carousel .owl-controls .owl-nav .owl-prev,
|
||||
.owl-carousel .owl-controls .owl-nav .owl-next,
|
||||
.owl-carousel .owl-controls .owl-dot {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.owl-carousel.owl-loaded {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.owl-carousel.owl-loading {
|
||||
opacity: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.owl-carousel.owl-hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-refresh .owl-item {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-item {
|
||||
position: relative;
|
||||
min-height: 1px;
|
||||
float: left;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-grab {
|
||||
cursor: move;
|
||||
cursor: -webkit-grab;
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
.owl-carousel.owl-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.owl-carousel.owl-rtl .owl-item {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* No Js */
|
||||
.no-js .owl-carousel {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Owl Carousel - Lazy Load Plugin
|
||||
*/
|
||||
.owl-carousel .owl-item .owl-lazy {
|
||||
opacity: 0;
|
||||
transition: opacity 400ms ease;
|
||||
}
|
||||
|
||||
/*
|
||||
* Owl Carousel - Video Plugin
|
||||
*/
|
||||
.owl-carousel .owl-video-wrapper {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-video-play-icon {
|
||||
position: absolute;
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
margin-left: -40px;
|
||||
margin-top: -40px;
|
||||
font: 400 40px/80px 'FontAwesome';
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
transition: scale 100ms ease;
|
||||
&:before {
|
||||
content: '\f144';
|
||||
}
|
||||
}
|
||||
|
||||
.owl-carousel .owl-video-play-icon:hover {
|
||||
transform: scale(1.3);
|
||||
}
|
||||
|
||||
.owl-carousel .owl-video-playing .owl-video-tn,
|
||||
.owl-carousel .owl-video-playing .owl-video-play-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-video-tn {
|
||||
opacity: 0;
|
||||
height: 100%;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
transition: opacity 400ms ease;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-video-frame {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Owl Navigation
|
||||
*/
|
||||
|
||||
.owl-nav {
|
||||
&.disabled {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.owl-prev,
|
||||
.owl-next {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
font: 400 46px/50px 'FontAwesome';
|
||||
color: $gray-300;
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.owl-prev {
|
||||
left: 0;
|
||||
|
||||
&::before {
|
||||
content: '\f104';
|
||||
}
|
||||
}
|
||||
|
||||
.owl-next {
|
||||
right: 0;
|
||||
|
||||
&::before {
|
||||
content: '\f105';
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Owl Pagination
|
||||
*/
|
||||
|
||||
.owl-dots {
|
||||
text-align: center;
|
||||
margin-top: 25px;
|
||||
|
||||
&.disabled {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
margin-top: 38px;
|
||||
}
|
||||
}
|
||||
|
||||
.owl-dot {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 27px;
|
||||
height: 6px;
|
||||
border-radius: 10px;
|
||||
margin-left: 7px;
|
||||
margin-right: 7px;
|
||||
text-align: center;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
background-color: rgba($primary, .3);
|
||||
border: none;
|
||||
transition: .2s;
|
||||
|
||||
&:only-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.context-dark & {
|
||||
background-color: rgba($white, .3);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: rgba($primary, 1);
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: rgba($primary, 1);
|
||||
}
|
||||
}
|
||||
|
||||
.owl-carousel.owl-carousel-light-dots {
|
||||
.owl-dot {
|
||||
border-color: $white;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.carousel-team {
|
||||
.owl-stage-outer {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
* + & {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
* + & {
|
||||
margin-top: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.carousel-project {
|
||||
max-width: 1200px;
|
||||
margin: 35px auto;
|
||||
.owl-stage-outer {
|
||||
padding-bottom: 40px;
|
||||
overflow: visible;
|
||||
}
|
||||
* + & {
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
.owl-item {
|
||||
opacity: .4;
|
||||
pointer-events: none;
|
||||
transition: .33s ease;
|
||||
|
||||
&.center {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.owl-nav {
|
||||
display: none;
|
||||
}
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
.owl-dots {
|
||||
margin-top: 30px;
|
||||
}
|
||||
.owl-nav {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -300%);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 632px;
|
||||
margin: 0 auto;
|
||||
pointer-events: none;
|
||||
|
||||
.owl-next,
|
||||
.owl-prev {
|
||||
position: relative;
|
||||
pointer-events: auto;
|
||||
font: 400 25px/1 $font-family-cursive;
|
||||
|
||||
&:before{
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
||||
.owl-next { transform: translateX(180%); }
|
||||
.owl-prev { transform: translateX(-180%); }
|
||||
}
|
||||
* + & {
|
||||
margin-top: 55px;
|
||||
}
|
||||
}
|
||||
// Mega large ≥1600px
|
||||
@include media-breakpoint-up(xxl) {
|
||||
max-width: 1600px;
|
||||
.owl-nav {
|
||||
.owl-next {
|
||||
transform: translateX(300%);
|
||||
}
|
||||
.owl-prev {
|
||||
transform: translateX(-300%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.carousel-testimonials {
|
||||
* + & {
|
||||
margin-top: 30px;
|
||||
}
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
* + & {
|
||||
margin-top: 45px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// Parallax js
|
||||
//
|
||||
|
||||
.parallax-scene-js {
|
||||
.layer-01 .layer {
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
*
|
||||
* Preloader
|
||||
*/
|
||||
|
||||
//
|
||||
// Base styles
|
||||
//
|
||||
.preloader {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 9999999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
background: $white;
|
||||
transition: .3s all ease;
|
||||
|
||||
&.loaded {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.preloader-body {
|
||||
text-align: center;
|
||||
|
||||
p {
|
||||
position: relative;
|
||||
right: -8px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Custom Styles
|
||||
//
|
||||
.cssload-container {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cssload-speeding-wheel {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin: 0 auto;
|
||||
border: 3px solid $primary;
|
||||
border-radius: 50%;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
animation: cssload-spin .88s infinite linear;
|
||||
}
|
||||
|
||||
@include keyframes (cssload-spin) {
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
*
|
||||
* Progress Bars
|
||||
*/
|
||||
|
||||
//
|
||||
// Linear Progress Bars
|
||||
//
|
||||
.progress-bar-container {
|
||||
* + & {
|
||||
margin-top: 35px;
|
||||
}
|
||||
}
|
||||
.progress-linear {
|
||||
position: relative;
|
||||
text-align: left;
|
||||
|
||||
.progress-header {
|
||||
position: absolute;
|
||||
left: 25px;
|
||||
right: 25px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@include spacing(10px);
|
||||
font: 400 18px/1 $font-family-cursive;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.progress-linear-bar-wrap {
|
||||
height: 44px;
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.progress-linear-bar {
|
||||
position: relative;
|
||||
width: 0;
|
||||
height: inherit;
|
||||
background: $primary;
|
||||
border-radius: 30px;
|
||||
transition: .5s all ease-in-out;
|
||||
}
|
||||
|
||||
.progress-linear-counter {
|
||||
&::after {
|
||||
content: "%";
|
||||
}
|
||||
}
|
||||
|
||||
&.progress-bg-var1 {
|
||||
.progress-linear-bar {
|
||||
background: #7c6cc0;
|
||||
}
|
||||
}
|
||||
&.progress-bg-var2 {
|
||||
.progress-linear-bar {
|
||||
background: #5f7ca8;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
* + .progress-linear-bar-wrap {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.progress-linear + .progress-linear {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.progress-linear + .progress-linear {
|
||||
margin-top: 25px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* @subsection Google Map
|
||||
* @description Describes style declarations for RD Google Map extension
|
||||
* @version 1.0.0
|
||||
*/
|
||||
$map-height: 250px;
|
||||
$map-xs-height: 300px;
|
||||
$map-sm-height: 400px;
|
||||
$map-lg-height: 450px;
|
||||
$map-xl-height: 520px;
|
||||
|
||||
.google-map-markers{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.google-map-container {
|
||||
width: 100%;
|
||||
}
|
||||
.google-map {
|
||||
height: $map-height;
|
||||
width: 100%;
|
||||
|
||||
// Medium ≥768px
|
||||
@include media-breakpoint-up(md) {
|
||||
height: $map-sm-height;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
height: $map-xl-height;
|
||||
}
|
||||
}
|
||||
|
||||
179
templates/template_3/sources/scss/custom/plugins/_rd-navbar.scss
Normal file
179
templates/template_3/sources/scss/custom/plugins/_rd-navbar.scss
Normal file
@@ -0,0 +1,179 @@
|
||||
/*
|
||||
*
|
||||
* RD Navbar
|
||||
*/
|
||||
|
||||
//
|
||||
// RD Navbar variables
|
||||
//
|
||||
$rd-navbar-static-width: map-get($container-max-widths, xl);
|
||||
$navbar-static-nav-indent: 38px;
|
||||
|
||||
$rd-navbar-min-font-size: 24px;
|
||||
$rd-navbar-min-line-height: 48px;
|
||||
$rd-navbar-min-height: 56px;
|
||||
|
||||
$rd-navbar-color: $white;
|
||||
$rd-navbar-background: transparent;
|
||||
$rd-navbar-stuck-background: $gray-800;
|
||||
$rd-navbar-shadow: 0 0 22px -4px rgba(0, 0, 0, 0.17);
|
||||
$rd-navbar-border: 1px solid $gray-200;
|
||||
$rd-navbar-width: 1200px;
|
||||
|
||||
// RD Navbar Panel
|
||||
$rd-navbar-panel-color: $rd-navbar-color;
|
||||
$rd-navbar-panel-background: $rd-navbar-background;
|
||||
|
||||
// RD Navbar Nav
|
||||
$rd-navbar-nav-min-width: 270px;
|
||||
$rd-navbar-nav-color: $rd-navbar-color;
|
||||
$rd-navbar-nav-background: transparent;
|
||||
$rd-navbar-nav-hover-color: $primary;
|
||||
$rd-navbar-nav-hover-background: transparent;
|
||||
$rd-navbar-nav-active-color: $rd-navbar-nav-hover-color;
|
||||
$rd-navbar-nav-active-background: $rd-navbar-nav-hover-background;
|
||||
|
||||
// RD Navbar Dropdown
|
||||
$rd-navbar-dropdown-width: 270px;
|
||||
$rd-navbar-dropdown-background: $white;
|
||||
$rd-navbar-dropdown-item-color: $gray-500;
|
||||
$rd-navbar-dropdown-item-background: transparent;
|
||||
$rd-navbar-dropdown-item-hover-color: $primary;
|
||||
$rd-navbar-dropdown-item-hover-background: transparent;
|
||||
$rd-navbar-dropdown-item-active-color: $rd-navbar-dropdown-item-hover-color;
|
||||
$rd-navbar-dropdown-item-active-background: $rd-navbar-dropdown-item-hover-background;
|
||||
|
||||
// RD Navbar Megamenu
|
||||
$rd-navbar-megamenu-gutter: 30px;
|
||||
$rd-navbar-megamenu-background: $white;
|
||||
$rd-navbar-megamenu-item-color: $black;
|
||||
$rd-navbar-megamenu-item-background: transparent;
|
||||
$rd-navbar-megamenu-item-hover-color: $primary;
|
||||
$rd-navbar-megamenu-item-hover-background: transparent;
|
||||
|
||||
// RD Navbar toggles
|
||||
$rd-navbar-toggle-preset: "button-lines-arrow-2";
|
||||
$rd-navbar-toggle-border-radius: 0;
|
||||
$rd-navbar-collapse-toggle-preset: "collapse-preset-1";
|
||||
$rd-navbar-toggle-color: $white;
|
||||
|
||||
@import "rd-navbar_includes/_rd-navbar-mixins";
|
||||
|
||||
// RD Navbar Basics
|
||||
%rd-navbar-transition {
|
||||
transition: 0.35s all cubic-bezier(0.65, 0.05, 0.36, 1);
|
||||
}
|
||||
|
||||
.rd-navbar--no-transition {
|
||||
&, * {
|
||||
transition: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-wrap {
|
||||
@extend %rd-navbar-transition;
|
||||
}
|
||||
|
||||
.rd-navbar,
|
||||
.rd-navbar.rd-navbar--is-clone {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rd-navbar,
|
||||
.rd-menu,
|
||||
.rd-navbar-nav,
|
||||
.rd-navbar-panel {
|
||||
@extend %rd-navbar-transition;
|
||||
}
|
||||
|
||||
.rd-navbar.rd-navbar-fixed + .rd-navbar.rd-navbar--is-clone,
|
||||
.rd-navbar.rd-navbar-sidebar + .rd-navbar.rd-navbar--is-clone {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// RD Navbar
|
||||
.rd-navbar {
|
||||
display: none;
|
||||
background: $rd-navbar-background;
|
||||
}
|
||||
|
||||
// RD Navbar Toggle
|
||||
.rd-navbar-toggle {
|
||||
@include make-toggle(
|
||||
$rd-navbar-toggle-preset,
|
||||
$rd-navbar-min-line-height,
|
||||
$rd-navbar-min-font-size,
|
||||
$border-radius,
|
||||
$rd-navbar-toggle-color
|
||||
);
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
// RD Navbar Collapse
|
||||
.rd-navbar-collapse-toggle {
|
||||
@include make-toggle(
|
||||
$rd-navbar-collapse-toggle-preset,
|
||||
$rd-navbar-min-line-height,
|
||||
$rd-navbar-min-font-size,
|
||||
$rd-navbar-toggle-border-radius,
|
||||
$rd-navbar-panel-color
|
||||
);
|
||||
display: none;
|
||||
}
|
||||
|
||||
// RD Navbar Brand
|
||||
.rd-navbar-brand {
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Search
|
||||
.rd-navbar-search {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
|
||||
.form-input {
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.rd-search-form-submit {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 50px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
color: $gray-300;
|
||||
transition: .33s;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-search-toggle {
|
||||
@include reset-button;
|
||||
}
|
||||
|
||||
// RD Navbar Dropdown
|
||||
.rd-navbar-dropdown {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@import "rd-navbar_includes/rd-navbar-static";
|
||||
@import "rd-navbar_includes/rd-navbar-fixed";
|
||||
@import "rd-navbar_includes/rd-navbar-sidebar";
|
||||
|
||||
// Themes
|
||||
@import "rd-navbar_includes/rd-navbar_themes/rd-navbar-classic";
|
||||
@import "rd-navbar_includes/rd-navbar_themes/rd-navbar-fullwidth";
|
||||
|
||||
|
||||
352
templates/template_3/sources/scss/custom/plugins/_rd-search.scss
Normal file
352
templates/template_3/sources/scss/custom/plugins/_rd-search.scss
Normal file
@@ -0,0 +1,352 @@
|
||||
/*
|
||||
*
|
||||
* Search Results
|
||||
*/
|
||||
.rd-search-results-live {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 100%;
|
||||
max-height: 600px;
|
||||
overflow-y: auto;
|
||||
margin: -3px 0 0;
|
||||
text-align: left;
|
||||
z-index: 998;
|
||||
|
||||
#search-results {
|
||||
position: relative;
|
||||
padding: 16px 0 0;
|
||||
color: $form-input-color;
|
||||
background: $form-input-background;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform-origin: 50% 0;
|
||||
transform: scale(1, .9);
|
||||
transition: .3s all ease;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
border: 1px solid $gray-200;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: scale(1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
.search-quick-result {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
font-family: $font-family-sec;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 30px;
|
||||
text-transform: uppercase;
|
||||
color: $headings-color;
|
||||
}
|
||||
|
||||
.search-list {
|
||||
margin-top: 11px;
|
||||
|
||||
li:only-child {
|
||||
padding: 0 15px 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.search-link {
|
||||
color: $gray-300;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.search-error {
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.search-title {
|
||||
position: relative;
|
||||
font-family: $font-family-sec;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: $headings-color;
|
||||
|
||||
a:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.search-list-item-all {
|
||||
margin-top: 18px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.search-submit {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
z-index: 0;
|
||||
display: block;
|
||||
padding: 8px;
|
||||
font-family: $font-family-base;
|
||||
font-size: $input-btn-font-size;
|
||||
font-weight: $btn-font-weight;
|
||||
letter-spacing: $btn-letter-spacing;
|
||||
text-transform: $btn-text-transform;
|
||||
text-align: center;
|
||||
color: $white;
|
||||
background: $primary;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
background: $gray-300;
|
||||
}
|
||||
}
|
||||
|
||||
.match {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.not-empty ~ & {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 11px;
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.search-list-item {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
* + p {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.search-list-item + .search-list-item {
|
||||
margin-top: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// RD Search Results
|
||||
//
|
||||
.rd-search-results {
|
||||
.search-list {
|
||||
counter-reset: li;
|
||||
text-align: left;
|
||||
padding-left: 0;
|
||||
font-size: 18px;
|
||||
list-style-type: none;
|
||||
overflow: hidden;
|
||||
|
||||
li div {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
li:only-child::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.search-list-item {
|
||||
position: relative;
|
||||
padding-left: 40px;
|
||||
font-size: $font-size-base;
|
||||
color: $gray-500;
|
||||
|
||||
&::before {
|
||||
content: counter(li, decimal-leading-zero) '.';
|
||||
counter-increment: li;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
font-size: 14px;
|
||||
line-height: inherit;
|
||||
font-weight: $headings-font-weight;
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
|
||||
.search-list-item + .search-list-item {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.search-title {
|
||||
font-size: 16px;
|
||||
color: $black;
|
||||
}
|
||||
|
||||
.search {
|
||||
color: $white;
|
||||
padding: 0 .25em;
|
||||
background: $primary;
|
||||
}
|
||||
|
||||
.match {
|
||||
padding: 5px;
|
||||
font-size: 12px;
|
||||
line-height: 1.7;
|
||||
letter-spacing: .1em;
|
||||
text-transform: uppercase;
|
||||
color: $black;
|
||||
|
||||
em {
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
p * {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
* + .match {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.search-title {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.search-list-item {
|
||||
&::before {
|
||||
top: -1px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
* + p {
|
||||
margin-top: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.search-list-item {
|
||||
padding-left: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .rd-search-results {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
* + .rd-search-results {
|
||||
margin-top: 55px;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Search Classic
|
||||
.rd-search-classic {
|
||||
position: relative;
|
||||
|
||||
.form-input {
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.form-input,
|
||||
.form-label {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.rd-search-submit {
|
||||
@include reset-button;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 50px;
|
||||
padding-top: 3px;
|
||||
padding-right: 2px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: $gray-300;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
|
||||
&:before {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
content: '\e014';
|
||||
font: 400 20px 'fl-chapps';
|
||||
line-height: 1;
|
||||
transition: .33s all ease;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-search.rd-search-inline {
|
||||
position: relative;
|
||||
|
||||
.form-input {
|
||||
padding-right: $form-input-height;
|
||||
}
|
||||
|
||||
.button-link {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: $form-input-height;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
font-size: 21px;
|
||||
color: $gray-300;
|
||||
transition: .33s;
|
||||
|
||||
&::before {
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
&.form-sm {
|
||||
.form-input {
|
||||
padding-right: $form-input-sm-height;
|
||||
}
|
||||
|
||||
.button-link {
|
||||
width: $form-input-sm-height;
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
&.form-lg {
|
||||
.form-input {
|
||||
padding-right: $form-input-lg-height;
|
||||
}
|
||||
|
||||
.button-link {
|
||||
width: $form-input-lg-height;
|
||||
}
|
||||
}
|
||||
}
|
||||
466
templates/template_3/sources/scss/custom/plugins/_scrollbar.scss
Normal file
466
templates/template_3/sources/scss/custom/plugins/_scrollbar.scss
Normal file
@@ -0,0 +1,466 @@
|
||||
/*
|
||||
* jQuery mousewheel plugin
|
||||
*/
|
||||
|
||||
/*
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
1. BASIC STYLE
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
.mCustomScrollbar {
|
||||
-ms-touch-action: pinch-zoom;
|
||||
touch-action: pinch-zoom; /* direct pointer events to js */
|
||||
}
|
||||
|
||||
.mCustomScrollbar.mCS_no_scrollbar, .mCustomScrollbar.mCS_touch_action {
|
||||
-ms-touch-action: auto;
|
||||
touch-action: auto;
|
||||
}
|
||||
|
||||
.mCustomScrollBox { /* contains plugin's markup */
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
outline: none;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.mCSB_container { /* contains the original content */
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
2. VERTICAL SCROLLBAR
|
||||
y-axis
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
.mCSB_inside > .mCSB_container {
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* non-visible scrollbar */
|
||||
|
||||
.mCS-dir-rtl-custom > .mCSB_inside > .mCSB_container { /* RTL direction/left-side scrollbar */
|
||||
margin-right: 0;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.mCS-dir-rtl-custom > .mCSB_inside > .mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* RTL direction/left-side scrollbar */
|
||||
|
||||
.mCSB_scrollTools { /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: auto;
|
||||
left: auto;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.mCSB_outside + .mCSB_scrollTools {
|
||||
right: -26px;
|
||||
}
|
||||
|
||||
/* scrollbar position: outside */
|
||||
|
||||
.mCS-dir-rtl-custom > .mCSB_inside > .mCSB_scrollTools,
|
||||
.mCS-dir-rtl-custom > .mCSB_outside + .mCSB_scrollTools { /* RTL direction/left-side scrollbar */
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mCS-dir-rtl-custom > .mCSB_outside + .mCSB_scrollTools {
|
||||
left: -26px;
|
||||
}
|
||||
|
||||
/* RTL direction/left-side scrollbar (scrollbar position: outside) */
|
||||
|
||||
.mCSB_scrollTools .mCSB_draggerContainer { /* contains the draggable element and dragger rail markup */
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools a + .mCSB_draggerContainer {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_draggerRail {
|
||||
width: 16px;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_dragger { /* the draggable element */
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
height: 30px; /* minimum dragger height */
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { /* the dragger element */
|
||||
position: relative;
|
||||
width: 16px;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
border-radius: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar {
|
||||
width: 12px; /* auto-expanded scrollbar */
|
||||
}
|
||||
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded + .mCSB_draggerRail,
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail {
|
||||
width: 8px; /* auto-expanded scrollbar */
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonUp,
|
||||
.mCSB_scrollTools .mCSB_buttonDown {
|
||||
display: block;
|
||||
position: absolute;
|
||||
height: 20px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin: 0 auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonDown {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
3. HORIZONTAL SCROLLBAR
|
||||
x-axis
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
.mCSB_horizontal.mCSB_inside > .mCSB_container {
|
||||
margin-right: 0;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.mCSB_horizontal.mCSB_outside > .mCSB_container {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.mCSB_horizontal > .mCSB_container.mCS_no_scrollbar_x.mCS_x_hidden {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* non-visible scrollbar */
|
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal {
|
||||
width: auto;
|
||||
height: 16px;
|
||||
top: auto;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mCustomScrollBox + .mCSB_scrollTools.mCSB_scrollTools_horizontal,
|
||||
.mCustomScrollBox + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal {
|
||||
bottom: -26px;
|
||||
}
|
||||
|
||||
/* scrollbar position: outside */
|
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal a + .mCSB_draggerContainer {
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
margin: 7px 0;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger {
|
||||
width: 30px; /* minimum dragger width */
|
||||
height: 100%;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
margin: 6px auto;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar {
|
||||
height: 12px; /* auto-expanded scrollbar */
|
||||
margin: 2px auto;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded + .mCSB_draggerRail,
|
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail {
|
||||
height: 8px; /* auto-expanded scrollbar */
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft,
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
margin: 0 auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
4. VERTICAL AND HORIZONTAL SCROLLBARS
|
||||
yx-axis
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
.mCSB_container_wrapper {
|
||||
position: absolute;
|
||||
height: auto;
|
||||
width: auto;
|
||||
overflow: hidden;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin-right: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.mCSB_container_wrapper > .mCSB_container {
|
||||
padding-right: 30px;
|
||||
padding-bottom: 30px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mCSB_vertical_horizontal > .mCSB_scrollTools.mCSB_scrollTools_vertical {
|
||||
bottom: 20px;
|
||||
}
|
||||
|
||||
.mCSB_vertical_horizontal > .mCSB_scrollTools.mCSB_scrollTools_horizontal {
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
/* non-visible horizontal scrollbar */
|
||||
.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden + .mCSB_scrollTools.mCSB_scrollTools_vertical {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
/* non-visible vertical scrollbar/RTL direction/left-side scrollbar */
|
||||
.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden + .mCSB_scrollTools ~ .mCSB_scrollTools.mCSB_scrollTools_horizontal,
|
||||
.mCS-dir-rtl-custom > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_scrollTools.mCSB_scrollTools_horizontal {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* RTL direction/left-side scrollbar */
|
||||
.mCS-dir-rtl-custom > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_scrollTools.mCSB_scrollTools_horizontal {
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
/* non-visible scrollbar/RTL direction/left-side scrollbar */
|
||||
.mCS-dir-rtl-custom > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden + .mCSB_scrollTools ~ .mCSB_scrollTools.mCSB_scrollTools_horizontal {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mCS-dir-rtl-custom > .mCSB_inside > .mCSB_container_wrapper { /* RTL direction/left-side scrollbar */
|
||||
margin-right: 0;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden > .mCSB_container {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden > .mCSB_container {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden {
|
||||
margin-right: 0; /* non-visible scrollbar */
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* non-visible horizontal scrollbar */
|
||||
.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
5. TRANSITIONS
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
.mCSB_scrollTools,
|
||||
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools .mCSB_buttonUp,
|
||||
.mCSB_scrollTools .mCSB_buttonDown,
|
||||
.mCSB_scrollTools .mCSB_buttonLeft,
|
||||
.mCSB_scrollTools .mCSB_buttonRight {
|
||||
-webkit-transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
|
||||
-moz-transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
|
||||
-o-transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
|
||||
transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar, /* auto-expanded scrollbar */
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,
|
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail {
|
||||
-webkit-transition: width .2s ease-out .2s, height .2s ease-out .2s,
|
||||
margin-left .2s ease-out .2s, margin-right .2s ease-out .2s,
|
||||
margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s,
|
||||
opacity .2s ease-in-out, background-color .2s ease-in-out;
|
||||
-moz-transition: width .2s ease-out .2s, height .2s ease-out .2s,
|
||||
margin-left .2s ease-out .2s, margin-right .2s ease-out .2s,
|
||||
margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s,
|
||||
opacity .2s ease-in-out, background-color .2s ease-in-out;
|
||||
-o-transition: width .2s ease-out .2s, height .2s ease-out .2s,
|
||||
margin-left .2s ease-out .2s, margin-right .2s ease-out .2s,
|
||||
margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s,
|
||||
opacity .2s ease-in-out, background-color .2s ease-in-out;
|
||||
transition: width .2s ease-out .2s, height .2s ease-out .2s,
|
||||
margin-left .2s ease-out .2s, margin-right .2s ease-out .2s,
|
||||
margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s,
|
||||
opacity .2s ease-in-out, background-color .2s ease-in-out;
|
||||
}
|
||||
|
||||
/*
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
6. SCROLLBAR COLORS, OPACITY AND BACKGROUNDS
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
----------------------------------------
|
||||
6.1 THEMES
|
||||
----------------------------------------
|
||||
*/
|
||||
|
||||
/* default theme ("light") */
|
||||
|
||||
.mCSB_scrollTools .mCSB_draggerRail {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
|
||||
background-color: #f2f3f8;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
|
||||
background-color: darken(#f2f3f8, 10%);
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonUp,
|
||||
.mCSB_scrollTools .mCSB_buttonDown,
|
||||
.mCSB_scrollTools .mCSB_buttonLeft,
|
||||
.mCSB_scrollTools .mCSB_buttonRight {
|
||||
background-image: url(../images/mCSB_buttons.png); /* css sprites */
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonUp {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonDown {
|
||||
background-position: 0 -20px;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonLeft {
|
||||
background-position: 0 -40px;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonRight {
|
||||
background-position: 0 -56px;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonUp:hover,
|
||||
.mCSB_scrollTools .mCSB_buttonDown:hover,
|
||||
.mCSB_scrollTools .mCSB_buttonLeft:hover,
|
||||
.mCSB_scrollTools .mCSB_buttonRight:hover {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.mCSB_scrollTools .mCSB_buttonUp:active,
|
||||
.mCSB_scrollTools .mCSB_buttonDown:active,
|
||||
.mCSB_scrollTools .mCSB_buttonLeft:active,
|
||||
.mCSB_scrollTools .mCSB_buttonRight:active {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* theme: "dark" */
|
||||
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_draggerRail {
|
||||
background-color: #000000;
|
||||
background-color: rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
|
||||
background-color: #000000;
|
||||
background-color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
|
||||
background-color: rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
}
|
||||
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_buttonUp {
|
||||
background-position: -80px 0;
|
||||
}
|
||||
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_buttonDown {
|
||||
background-position: -80px -20px;
|
||||
}
|
||||
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_buttonLeft {
|
||||
background-position: -80px -40px;
|
||||
}
|
||||
|
||||
.mCS-dark.mCSB_scrollTools .mCSB_buttonRight {
|
||||
background-position: -80px -56px;
|
||||
}
|
||||
320
templates/template_3/sources/scss/custom/plugins/_swiper.scss
Normal file
320
templates/template_3/sources/scss/custom/plugins/_swiper.scss
Normal file
@@ -0,0 +1,320 @@
|
||||
/*
|
||||
*
|
||||
* Swiper
|
||||
*/
|
||||
|
||||
.swiper-container {
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
/* Fix of Webkit flickering */
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.swiper-container-no-flexbox .swiper-slide {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.swiper-container-vertical > .swiper-wrapper {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.swiper-wrapper {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
align-self: stretch;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
min-height: inherit;
|
||||
transition-property: transform;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.swiper-container {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.swiper-container-android .swiper-slide,
|
||||
.swiper-wrapper {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.swiper-container-multirow > .swiper-wrapper {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.swiper-container-free-mode > .swiper-wrapper {
|
||||
transition-timing-function: ease-out;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* a11y */
|
||||
.swiper-container .swiper-notification {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
z-index: -1000;
|
||||
}
|
||||
|
||||
/* IE10 Windows Phone 8 Fixes */
|
||||
.swiper-wp8-horizontal {
|
||||
touch-action: pan-y;
|
||||
}
|
||||
|
||||
.swiper-wp8-vertical {
|
||||
touch-action: pan-x;
|
||||
}
|
||||
|
||||
/* Coverflow */
|
||||
.swiper-container-coverflow .swiper-wrapper {
|
||||
/* Windows 8 IE 10 fix */
|
||||
}
|
||||
|
||||
// Swiper fade effect
|
||||
//
|
||||
|
||||
.swiper-container-fade.swiper-container-free-mode .swiper-slide {
|
||||
transition-timing-function: ease-out;
|
||||
}
|
||||
|
||||
.swiper-container-fade .swiper-slide {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.swiper-container-fade .swiper-slide .swiper-slide {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.swiper-container-fade .swiper-slide-active,
|
||||
.swiper-container-fade .swiper-slide-active .swiper-slide-active {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
// Swiper preloader
|
||||
//
|
||||
|
||||
.swiper-lazy-preloader {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
margin-left: -21px;
|
||||
margin-top: -21px;
|
||||
z-index: 10;
|
||||
transform-origin: 50%;
|
||||
animation: swiper-preloader-spin 1s steps(12, end) infinite;
|
||||
}
|
||||
|
||||
.swiper-lazy-preloader:after {
|
||||
display: block;
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
||||
background-position: 50%;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.swiper-lazy-preloader-white:after {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
@keyframes swiper-preloader-spin {
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-slide > .vide__body,
|
||||
.swiper-slide > .parallax_cnt {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
//
|
||||
// Swiper navigation
|
||||
//
|
||||
|
||||
.swiper-button-prev,
|
||||
.swiper-button-next {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
display: none;
|
||||
font-size: 26px;
|
||||
line-height: 1;
|
||||
color: $white-invariable;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
transition: .2s ease-in;
|
||||
will-change: transform;
|
||||
z-index: 10;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Disabled button
|
||||
&.swiper-button-disabled {
|
||||
opacity: 0.35;
|
||||
cursor: auto;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-button-prev {
|
||||
left: 30px;
|
||||
|
||||
&:before {
|
||||
font-family: $fa;
|
||||
content: "\f060";
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-button-next {
|
||||
right: 30px;
|
||||
|
||||
&:before {
|
||||
font-family: $fa;
|
||||
content: "\f061";
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-slider.swiper-container-rtl {
|
||||
.swiper-wrapper {
|
||||
|
||||
}
|
||||
.swiper-button-prev {
|
||||
&::before {
|
||||
content: "\f061";
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-button-next {
|
||||
&::before {
|
||||
content: "\f060";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Swiper pagination
|
||||
//
|
||||
|
||||
.swiper-pagination {
|
||||
position: absolute;
|
||||
display: block;
|
||||
text-align: center;
|
||||
transition: .3s;
|
||||
transform: translate3d(0, 0, 0);
|
||||
z-index: 10;
|
||||
|
||||
&.swiper-pagination-hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
display: inline-block;
|
||||
border-radius: 100%;
|
||||
background: rgba($white-invariable, .6);
|
||||
transition: .2s;
|
||||
|
||||
&.swiper-pagination-bullet-active,
|
||||
&:hover {
|
||||
background: rgba($white-invariable, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.swiper-pagination-clickable .swiper-pagination-bullet {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// Dark pagination
|
||||
.swiper-pagination-black {
|
||||
.swiper-pagination-bullet {
|
||||
background: rgba(0, 0, 0, .6);
|
||||
|
||||
&.swiper-pagination-bullet-active {
|
||||
background: rgba(0, 0, 0, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Swiper pagination orientation
|
||||
//
|
||||
|
||||
// Vertical pagination
|
||||
.swiper-container-vertical {
|
||||
> .swiper-pagination {
|
||||
right: 10px;
|
||||
top: 50%;
|
||||
transform: translate3d(0px, -50%, 0);
|
||||
|
||||
.swiper-pagination-bullet {
|
||||
margin: 5px 0;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Horizontal pagination
|
||||
.swiper-container-horizontal {
|
||||
> .swiper-pagination {
|
||||
bottom: 20px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
|
||||
.swiper-pagination-bullet {
|
||||
margin: 0 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Swiper slide styles
|
||||
//
|
||||
.swiper-slide {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
white-space: nowrap;
|
||||
background-size: cover;
|
||||
|
||||
&-caption {
|
||||
width: 100%;
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-slider-1 {
|
||||
min-height: (700 / 1920) * 100vw;
|
||||
|
||||
* + .group-sm {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
* + .group-sm {
|
||||
margin-top: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
*
|
||||
* Time Circles
|
||||
*/
|
||||
|
||||
//
|
||||
// This element is created inside your target element
|
||||
// It is used so that your own element will not need to be altered
|
||||
//
|
||||
.time_circles {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
//
|
||||
// This is all the elements used to house all text used
|
||||
// in time circles
|
||||
//
|
||||
.time_circles > div {
|
||||
position: absolute;
|
||||
top: 0 !important;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
margin-top: -10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
#DateCountdown {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Titles (Days, Hours, etc)
|
||||
//
|
||||
.time_circles > div > h4 {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: calc(100% + 10px);
|
||||
right: 0;
|
||||
transform: translateY(-100%);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
font-family: $font-family-base;
|
||||
font-weight: 500;
|
||||
font-size: 13px !important;
|
||||
line-height: 1.2 !important;
|
||||
color: $gray-600;
|
||||
text-transform: uppercase;
|
||||
|
||||
& + * {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Time numbers, ie: 12
|
||||
//
|
||||
.time_circles > div > span {
|
||||
display: block;
|
||||
text-align: center;
|
||||
letter-spacing: 0;
|
||||
font-size: 24px !important;
|
||||
font-weight: 400;
|
||||
line-height: 1 !important;
|
||||
color: $gray-900;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
font-size: 34px !important;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
font-size: 48px !important;
|
||||
}
|
||||
}
|
||||
|
||||
%context-dark {
|
||||
.time_circles > div > span {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.countdown-wrap {
|
||||
max-width: 730px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
* + .countdown-wrap {
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
.countdown-wrap + .button {
|
||||
margin-top: 40px;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
*
|
||||
* Tooltop Custom
|
||||
*/
|
||||
|
||||
//
|
||||
// Base class
|
||||
//
|
||||
.tooltip {
|
||||
font-size: $font-size-base;
|
||||
line-height: 1.2;
|
||||
}
|
||||
214
templates/template_3/sources/scss/custom/plugins/_twitter.scss
Normal file
214
templates/template_3/sources/scss/custom/plugins/_twitter.scss
Normal file
@@ -0,0 +1,214 @@
|
||||
/**
|
||||
* Twitter
|
||||
*/
|
||||
|
||||
.twitter {
|
||||
> h6 {
|
||||
padding: 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.twitter-feed {
|
||||
max-width: 576px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: left;
|
||||
background-color: $white;
|
||||
transition: .3s ease-out all;
|
||||
border: 1px solid $gray-100;
|
||||
|
||||
.twitter-feed-name {
|
||||
font-weight: 400;
|
||||
color: $gray-800;
|
||||
> * {
|
||||
font-weight: inherit;
|
||||
color: inherit;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-gray-darker &,
|
||||
.bg-gray-lighter &,
|
||||
.bg-image & {
|
||||
background-color: $white;
|
||||
.twitter-feed-name {
|
||||
color: $gray-800;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover { box-shadow: 0 9px 21px rgba($gray-800, .08); }
|
||||
}
|
||||
|
||||
.twitter-feed-header { padding: 30px 20px 20px; }
|
||||
.twitter-feed-body { padding: 0 20px 20px; }
|
||||
|
||||
.twitter-feed-avatar {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.twitter-feed-name-tag,
|
||||
.twitter-feed-content,
|
||||
.twitter-feed-footer {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.twitter-feed-name-tag {
|
||||
color: $gray-400;
|
||||
a {
|
||||
&, &:focus, &:active { color: inherit; }
|
||||
&:hover { color: $primary; }
|
||||
}
|
||||
}
|
||||
|
||||
.twitter-feed-content {
|
||||
color: $gray-800;
|
||||
a {
|
||||
&, &:focus, &:active { color: $primary; }
|
||||
&:hover { color: $gray-800; }
|
||||
}
|
||||
}
|
||||
|
||||
.twitter-feed-footer {
|
||||
padding: 23px 30px 30px;
|
||||
time { color: $gray-400; }
|
||||
}
|
||||
|
||||
.twitter-image {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
* + .twitter-feed { margin-top: 30px; }
|
||||
|
||||
* + .twitter-feed-content { margin-top: 29px; }
|
||||
|
||||
.twitter-feed-header + .twitter-feed-body { margin-top: 10px; }
|
||||
|
||||
.twitter-feed-header + .twitter-feed-body:empty { margin-top: 0; }
|
||||
|
||||
.twitter-feed-body:empty + .twitter-feed-footer { padding-top: 0; }
|
||||
|
||||
// Medium ≥768px
|
||||
@include media-breakpoint-up(md) {
|
||||
* + .twitter { margin-top: 30px; }
|
||||
}
|
||||
|
||||
/**
|
||||
* Twitter Feed minimal
|
||||
*/
|
||||
.twitter-feed-minimal {
|
||||
max-width: 334px;
|
||||
.twitter-icon {
|
||||
color: #00bbf5;
|
||||
}
|
||||
time {
|
||||
display: block;
|
||||
color: $gray-800;
|
||||
}
|
||||
* + time { margin-top: 10px; }
|
||||
}
|
||||
|
||||
.twitter-feed-minimal-content {
|
||||
color: $gray-800;
|
||||
letter-spacing: 0;
|
||||
a {
|
||||
color: $primary;
|
||||
&:hover {
|
||||
color: $gray-800;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* + .twitter-feed-minimal { margin-top: 30px; }
|
||||
|
||||
// Medium ≥576px
|
||||
@include media-breakpoint-up(sm) {
|
||||
* + .twitter-feed-minimal { margin-top: 25px; }
|
||||
}
|
||||
|
||||
/**
|
||||
* Twitter Feed Block
|
||||
*/
|
||||
.twitter-feed-block {
|
||||
max-width: 770px;
|
||||
background-color: $white;
|
||||
|
||||
.twitter-feed-header { padding: 30px; }
|
||||
.twitter-feed-name {
|
||||
letter-spacing: 0;
|
||||
> * { letter-spacing: inherit; }
|
||||
h5 {
|
||||
font-size: 18px;
|
||||
font-family: $font-family-base;
|
||||
font-weight: 700;
|
||||
color: $gray-800;
|
||||
}
|
||||
time {
|
||||
color: $gray-800;
|
||||
font-weight: 300;
|
||||
}
|
||||
}
|
||||
// Medium ≥576px
|
||||
@include media-breakpoint-up(sm) {
|
||||
.twitter-feed-name {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
* + .twitter-feed-content { margin-top: 10px; }
|
||||
}
|
||||
|
||||
.twitter-feed-block + .twitter-feed-block { margin-top: 10px; }
|
||||
|
||||
/**
|
||||
* Twitter Center
|
||||
*/
|
||||
.twitter-feed-centered {
|
||||
max-width: 570px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
.bg-gray-darker &,
|
||||
.bg-image & {
|
||||
.twitter-feed-name-tag {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.twitter-feed-avatar { border-radius: 1px solid $gray-100; }
|
||||
.twitter-feed-name-tag,
|
||||
time { letter-spacing: 0; }
|
||||
.twitter-feed-name-tag {
|
||||
color: $gray-800;
|
||||
font-weight: 700;
|
||||
}
|
||||
time {
|
||||
display: block;
|
||||
color: $gray-400;
|
||||
}
|
||||
* + .twitter-feed-name-tag { margin-top: 20px; }
|
||||
* + time { margin-top: 20px; }
|
||||
* + .twitter-feed-minimal-content { margin-top: 30px; }
|
||||
}
|
||||
|
||||
|
||||
// Extra large ≥1200px
|
||||
@include media-breakpoint-up(xl) {
|
||||
.twitter-feed-minimal-content {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
// twitter column
|
||||
.twitter-column {
|
||||
position: relative;
|
||||
padding-top: 40px;
|
||||
|
||||
> h6 {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 15px;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
*
|
||||
* ToTop
|
||||
*/
|
||||
|
||||
.ui-to-top {
|
||||
position: fixed;
|
||||
right: 15px;
|
||||
bottom: 15px;
|
||||
z-index: 100;
|
||||
width: $form-input-height;
|
||||
height: $form-input-height;
|
||||
font-size: 24px;
|
||||
line-height: $form-input-height - 1px;
|
||||
color: $white-invariable;
|
||||
background: $primary;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
transition: .45s all ease-in-out;
|
||||
transform: translate3d(0, 100px, 0);
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
background: $gray-900;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: $white-invariable;
|
||||
}
|
||||
|
||||
&.active {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
html.mobile .ui-to-top,
|
||||
html.tablet .ui-to-top {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
.ui-to-top {
|
||||
right: 40px;
|
||||
bottom: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
//
|
||||
// Video BG
|
||||
// --------------------------------------------------
|
||||
// Custom Styles
|
||||
|
||||
.vide_bg {
|
||||
width: 100%;
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.video-bg-overlay {
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: rgba($gray-800, .37);
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.video-overlay {
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
background: linear-gradient(to bottom, #106bb8, #010c5f);
|
||||
opacity: .72;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,494 @@
|
||||
/*
|
||||
*
|
||||
* RD Navbar Fixed
|
||||
*/
|
||||
|
||||
$rd-navbar-fixed-height: $rd-navbar-min-height;
|
||||
$rd-navbar-fixed-line-height: $rd-navbar-min-line-height;
|
||||
|
||||
$rd-navbar-fixed-panel-color: $white;
|
||||
$rd-navbar-fixed-panel-background: $gray-800;
|
||||
$rd-navbar-fixed-shadow: none;
|
||||
$rd-navbar-fixed-border: $rd-navbar-border;
|
||||
|
||||
$rd-navbar-fixed-nav-color: $rd-navbar-color;
|
||||
$rd-navbar-fixed-nav-background: $rd-navbar-fixed-panel-background;
|
||||
|
||||
$rd-navbar-fixed-nav-active-color: $white;
|
||||
$rd-navbar-fixed-nav-active-background: $primary;
|
||||
|
||||
$rd-navbar-fixed-menu-item-color: $gray-500;
|
||||
$rd-navbar-fixed-menu-item-hover-color: $white;
|
||||
$rd-navbar-fixed-menu-item-background: $rd-navbar-fixed-panel-background;
|
||||
$rd-navbar-fixed-menu-item-hover-background: $primary;
|
||||
|
||||
$rd-navbar-fixed-menu-item-font-size: 14px;
|
||||
$rd-navbar-fixed-menu-item-line-height: 24px;
|
||||
$rd-navbar-fixed-menu-item-padding-vertical: 9px;
|
||||
$rd-navbar-fixed-menu-item-padding-horizontal: 18px;
|
||||
$rd-navbar-fixed-menu-item-height: 52px;
|
||||
|
||||
$rd-navbar-fixed-submenu-toggle-color: $white;
|
||||
$rd-navbar-fixed-submenu-toggle-hover-color: $primary;
|
||||
$rd-navbar-fixed-submenu-toggle-focus-color: $white;
|
||||
|
||||
.rd-navbar-fixed {
|
||||
display: block;
|
||||
|
||||
// Reveal nav panel toggle
|
||||
.rd-navbar-toggle {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
// RD Navbar Brand
|
||||
.rd-navbar-brand {
|
||||
position: relative;
|
||||
margin-left: 6px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: left;
|
||||
font-size: 22px;
|
||||
line-height: 34px;
|
||||
|
||||
img {
|
||||
max-width: 160px;
|
||||
max-height: 58px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Panel
|
||||
.rd-navbar-panel {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: $zindex-rd-navbar;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: $rd-navbar-fixed-height;
|
||||
padding: ($rd-navbar-fixed-height - $rd-navbar-fixed-line-height) / 2;
|
||||
}
|
||||
|
||||
// Nav wrap and Search into nav wrap styles
|
||||
.rd-navbar-nav-wrap {
|
||||
@extend %rd-navbar-transition;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: -$rd-navbar-min-height;
|
||||
bottom: -$rd-navbar-min-height;
|
||||
z-index: $zindex-rd-navbar - 1;
|
||||
width: $rd-navbar-nav-min-width;
|
||||
padding: $rd-navbar-min-height * 2 0 ($rd-navbar-min-height + 25px);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
font-size: 14px;
|
||||
line-height: 34px;
|
||||
transform: translateX(-110%);
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: lighten($primary, 20%);
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
opacity: .2;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: $primary;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
&.active {
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Nav
|
||||
.rd-navbar-nav {
|
||||
display: block;
|
||||
margin: 15px 0;
|
||||
height: auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.rd-nav-item {
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
+ .rd-nav-item {
|
||||
margin-top: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-nav-link {
|
||||
display: block;
|
||||
padding: $rd-navbar-fixed-menu-item-padding-vertical 56px $rd-navbar-fixed-menu-item-padding-vertical $rd-navbar-fixed-menu-item-padding-horizontal;
|
||||
}
|
||||
|
||||
li {
|
||||
&.opened {
|
||||
> .rd-navbar-dropdown {
|
||||
padding: 4px 0 0;
|
||||
}
|
||||
|
||||
> .rd-navbar-megamenu {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
> .rd-menu {
|
||||
opacity: 1;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
> .rd-navbar-submenu-toggle {
|
||||
&::after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-menu {
|
||||
display: none;
|
||||
transition: opacity 0.3s, height 0.4s ease;
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.rd-navbar-submenu {
|
||||
position: relative;
|
||||
@extend %rd-navbar-transition;
|
||||
|
||||
.rd-navbar-dropdown {
|
||||
.rd-navbar-submenu-toggle:after {
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-dropdown > li > a {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.rd-navbar-dropdown li li > a,
|
||||
.rd-navbar-megamenu ul li li > a {
|
||||
padding-left: 46px;
|
||||
}
|
||||
|
||||
&.opened {
|
||||
> .rd-navbar-dropdown,
|
||||
> .rd-navbar-megamenu {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-megamenu-list,
|
||||
.rd-navbar-dropdown {
|
||||
> li > a {
|
||||
display: block;
|
||||
padding: 9px 56px 9px 16px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
> li + li {
|
||||
margin-top: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-megamenu-list {
|
||||
> li > a {
|
||||
padding-left: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-megamenu {
|
||||
.rd-megamenu-title {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 0 $rd-navbar-fixed-menu-item-padding-horizontal 7px;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 0;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
}
|
||||
|
||||
// Offsets
|
||||
* + .rd-megamenu-list {
|
||||
margin-top: 11px;
|
||||
}
|
||||
* + .rd-megamenu-title {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
> li + li {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar toggle
|
||||
.rd-navbar-submenu-toggle {
|
||||
cursor: pointer;
|
||||
&::after {
|
||||
content: '\f107';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 56px;
|
||||
height: $rd-navbar-fixed-menu-item-height;
|
||||
font: 400 14px "FontAwesome";
|
||||
line-height: $rd-navbar-fixed-menu-item-height;
|
||||
text-align: center;
|
||||
transition: 0.4s all ease;
|
||||
z-index: 2;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Collapse
|
||||
.rd-navbar-collapse-toggle {
|
||||
display: block;
|
||||
top: round(($rd-navbar-min-height - $rd-navbar-min-line-height) / 2);
|
||||
z-index: $zindex-rd-navbar + 1;
|
||||
}
|
||||
|
||||
.rd-navbar-collapse {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: $rd-navbar-fixed-height;
|
||||
z-index: $zindex-rd-navbar - 1;
|
||||
transform: translate3d(0, -10px, 0);
|
||||
padding: 15px;
|
||||
width: auto;
|
||||
border-radius: $border-radius;
|
||||
text-align: left;
|
||||
font-size: 14px;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: .3s;
|
||||
|
||||
&.active {
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.list-inline {
|
||||
> li {
|
||||
display: block;
|
||||
}
|
||||
> li + li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-main-element {
|
||||
position: absolute;
|
||||
float: left;
|
||||
}
|
||||
|
||||
// RD Navbar Search
|
||||
.rd-navbar-search {
|
||||
.rd-search {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
top: $rd-navbar-fixed-height;
|
||||
z-index: $zindex-rd-navbar - 1;
|
||||
width: 100%;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: .3s;
|
||||
transform: translate3d(0, -10px, 0);
|
||||
}
|
||||
|
||||
.rd-search-results-live {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.form-input {
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.rd-search-form-submit {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 50px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&.active {
|
||||
.rd-search {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Search toggle
|
||||
.rd-navbar-search-toggle {
|
||||
display: inline-flex;
|
||||
@include toggle-icons-via-rotation(48px, 48px, 26px, '\f43b', '\f24c', 'Material Design Icons', 'Material Design Icons');
|
||||
}
|
||||
|
||||
[class*='rd-navbar-fixed-element'] {
|
||||
position: fixed;
|
||||
top: ($rd-navbar-fixed-height - $rd-navbar-fixed-line-height) / 2;
|
||||
z-index: $zindex-rd-navbar + 2;
|
||||
}
|
||||
|
||||
.rd-navbar-fixed-element-1 {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.rd-navbar-fixed-element-2 {
|
||||
right: 46px;
|
||||
}
|
||||
|
||||
&.rd-navbar--is-clone {
|
||||
display: none;
|
||||
}
|
||||
.rd-navbar-fixed--visible {
|
||||
display: block;
|
||||
}
|
||||
.rd-navbar-fixed--hidden {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Default color theme
|
||||
.rd-navbar-fixed {
|
||||
// RD Navbar Panel
|
||||
.rd-navbar-panel {
|
||||
color: $rd-navbar-fixed-panel-color;
|
||||
box-shadow: $rd-navbar-fixed-shadow;
|
||||
background: $rd-navbar-fixed-panel-background;
|
||||
}
|
||||
|
||||
// RD Navbar Nav Wrap
|
||||
.rd-navbar-nav-wrap {
|
||||
color: $white;
|
||||
background: $rd-navbar-fixed-panel-background;
|
||||
//border: $rd-navbar-border;
|
||||
border-left: none;
|
||||
box-shadow: $rd-navbar-fixed-shadow;
|
||||
}
|
||||
|
||||
// RD Navbar Nav
|
||||
.rd-nav-item {
|
||||
&:hover,
|
||||
&.focus,
|
||||
&.active,
|
||||
&.opened {
|
||||
.rd-nav-link {
|
||||
color: $rd-navbar-fixed-menu-item-hover-color;
|
||||
background: $rd-navbar-fixed-menu-item-hover-background;
|
||||
}
|
||||
|
||||
> .rd-navbar-submenu-toggle {
|
||||
color: $rd-navbar-fixed-submenu-toggle-focus-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
.rd-nav-link {
|
||||
color: $rd-navbar-fixed-panel-color;
|
||||
}
|
||||
|
||||
// Mixed RD Navbar Dropdown & Megamenu
|
||||
.rd-megamenu-list,
|
||||
.rd-navbar-dropdown {
|
||||
> li > a {
|
||||
color: $rd-navbar-dropdown-item-color;
|
||||
}
|
||||
|
||||
> li:hover,
|
||||
> li.focus,
|
||||
> li.active,
|
||||
> li.opened {
|
||||
> a {
|
||||
color: $rd-navbar-fixed-menu-item-hover-color;
|
||||
background: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar megamenu
|
||||
.rd-navbar-megamenu {
|
||||
.rd-megamenu-title {
|
||||
color: $gray-300;
|
||||
|
||||
&::after {
|
||||
border-bottom: $rd-navbar-border;
|
||||
}
|
||||
|
||||
a {
|
||||
@include link($white, $primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-submenu-toggle {
|
||||
color: $rd-navbar-fixed-panel-color;
|
||||
}
|
||||
|
||||
// RD Navbar Search
|
||||
.rd-navbar-search {
|
||||
.rd-search-form-submit {
|
||||
color: $gray-300;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Search toggle
|
||||
.rd-navbar-search-toggle {
|
||||
color: $rd-navbar-panel-color;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Collapse
|
||||
.rd-navbar-collapse {
|
||||
background-color: $rd-navbar-fixed-panel-background;
|
||||
box-shadow: $rd-navbar-shadow;
|
||||
|
||||
&,
|
||||
a {
|
||||
color: $rd-navbar-fixed-panel-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
html.rd-navbar-fixed-linked {
|
||||
.page {
|
||||
padding-top: $rd-navbar-fixed-height;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,437 @@
|
||||
@keyframes rd-navbar-slide-down {
|
||||
0% {
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rd-navbar-slide-up {
|
||||
0% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Navbar Toggle Presets
|
||||
//
|
||||
@mixin toggle($width-size: 48px, $height-size: 48px, $font-size: 24px) {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: $width-size;
|
||||
height: $height-size;
|
||||
font-size: $font-size;
|
||||
line-height: $height-size;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@mixin toggle-icons-via-rotation($width-size: 48px, $height-size: 48px, $font-size: 24px, $icon-before: '\f002', $icon-after: '\f00d', $icon-before-family: 'Material Design Icons', $icon-after-family: 'Material Design Icons') {
|
||||
span {
|
||||
@include toggle($width-size, $height-size, $font-size);
|
||||
|
||||
&, &::before, &::after {
|
||||
transition: .3s all ease-in-out;
|
||||
}
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: $icon-before;
|
||||
transform: rotate(0deg) scale(1);
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
font-family: $icon-before-family;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: $icon-after;
|
||||
transform: rotate(-90deg) scale(.4);
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
font-family: $icon-after-family;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
span {
|
||||
&::before {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform: rotate(90deg) scale(.4);
|
||||
}
|
||||
|
||||
&::after {
|
||||
transform: rotate(0deg) scale(1);
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hamburger
|
||||
@mixin button-lines($size: 48px, $font-size: 24px, $border-radius: 2px, $color: #111111) {
|
||||
span {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: auto;
|
||||
transition: .3s all ease;
|
||||
|
||||
&:after,
|
||||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: (round($font-size / 6)) * -2;
|
||||
transition: .3s all ease;
|
||||
}
|
||||
|
||||
&:after {
|
||||
top: (round($font-size / 6)) * 2;
|
||||
}
|
||||
|
||||
&:after,
|
||||
&:before,
|
||||
& {
|
||||
width: $font-size;
|
||||
height: round($font-size / 6);
|
||||
background-color: $color;
|
||||
//backface-visibility: hidden;
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hamburger to Cross
|
||||
@mixin button-lines__cross-1($size: 48px, $font-size: 24px, $color: #111111) {
|
||||
&.active span {
|
||||
background: transparent;
|
||||
|
||||
&:before, &:after {
|
||||
transform-origin: 50% 50%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
&:before {
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
&:after {
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin button-lines__cross-2($size: 48px, $font-size: 24px, $color: #111111) {
|
||||
span {
|
||||
&:before, &:after {
|
||||
-webkit-transition-duration: 0.3s, 0.3s;
|
||||
transition-duration: 0.3s, 0.3s;
|
||||
-webkit-transition-delay: 0.3s, 0s;
|
||||
transition-delay: 0.3s, 0s;
|
||||
-webkit-transition-property: top, -webkit-transform;
|
||||
transition-property: top, transform;
|
||||
}
|
||||
}
|
||||
|
||||
&.active span {
|
||||
transition: background .3s 0s ease;
|
||||
background: transparent;
|
||||
|
||||
&:before, &:after {
|
||||
top: 0;
|
||||
-webkit-transition-delay: 0s, 0.3s;
|
||||
transition-delay: 0s, 0.3s;
|
||||
}
|
||||
&:before {
|
||||
-webkit-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
&:after {
|
||||
-webkit-transform: rotate(-45deg);
|
||||
-ms-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin button-lines__cross-3($size: 48px, $font-size: 24px, $color: #111111) {
|
||||
span {
|
||||
&:before, &:after {
|
||||
-webkit-transition-duration: 0.3s, 0.3s;
|
||||
transition-duration: 0.3s, 0.3s;
|
||||
-webkit-transition-delay: 0.3s, 0s;
|
||||
transition-delay: 0.3s, 0s;
|
||||
-webkit-transition-property: top, -webkit-transform;
|
||||
transition-property: top, transform;
|
||||
}
|
||||
}
|
||||
|
||||
&.active span {
|
||||
transform: rotate(180deg);
|
||||
transition: background .3s 0s ease;
|
||||
background: transparent;
|
||||
|
||||
&:before, &:after {
|
||||
top: 0;
|
||||
-webkit-transition-delay: 0s, 0.3s;
|
||||
transition-delay: 0s, 0.3s;
|
||||
}
|
||||
&:before {
|
||||
-webkit-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
&:after {
|
||||
-webkit-transform: rotate(-45deg);
|
||||
-ms-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hamburger to Arrow
|
||||
@mixin button-lines__arrow-1($size: 48px, $font-size: 24px, $color: #111111) {
|
||||
span {
|
||||
&:before,
|
||||
&:after {
|
||||
transform-origin: $font-size/14 center;
|
||||
}
|
||||
}
|
||||
|
||||
&.active span {
|
||||
&:before,
|
||||
&:after {
|
||||
top: 0;
|
||||
width: $font-size/1.6;
|
||||
}
|
||||
|
||||
&:before {
|
||||
transform: rotate(-40deg);
|
||||
}
|
||||
&:after {
|
||||
transform: rotate(40deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hamburger to Arrow (Material Design)
|
||||
@mixin button-lines__arrow-2($size: 48px, $font-size: 24px, $color: #111111) {
|
||||
span {
|
||||
transform: rotate(180deg);
|
||||
&:before,
|
||||
&:after {
|
||||
transform-origin: $font-size/14 center;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
&.active span {
|
||||
transform: rotate(360deg);
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
top: 0;
|
||||
width: $font-size/1.6;
|
||||
}
|
||||
|
||||
&:before {
|
||||
transform: rotate(-40deg);
|
||||
}
|
||||
&:after {
|
||||
transform: rotate( 40deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hamburger to Minus
|
||||
@mixin button-lines__minus-1($size: 48px, $font-size: 24px, $color: #111111) {
|
||||
span {
|
||||
&:before,
|
||||
&:after {
|
||||
transition: .3s all ease;
|
||||
}
|
||||
}
|
||||
|
||||
&.active span {
|
||||
&:before,
|
||||
&:after {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin search-preset-1($size: 48px, $font-size: 24px, $color: #111111) {
|
||||
text-align: center;
|
||||
font-size: $font-size;
|
||||
|
||||
&:before {
|
||||
content: "\f002";
|
||||
font-weight: 400;
|
||||
font-family: "FontAwesome";
|
||||
}
|
||||
|
||||
&.active {
|
||||
transform: scale(0.7);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin collapse-preset-1($size: 48px, $font-size: 24px, $color: #111111) {
|
||||
span {
|
||||
top: 50%;
|
||||
margin-top: -($size / 16);
|
||||
|
||||
&, &:before, &:after {
|
||||
position: absolute;
|
||||
width: $size / 8;
|
||||
height: $size / 8;
|
||||
line-height: $size / 8;
|
||||
text-align: center;
|
||||
background: $color;
|
||||
left: 50%;
|
||||
margin-left: -($size / 16);
|
||||
border-radius: 50%;
|
||||
transition: .3s all ease;
|
||||
}
|
||||
|
||||
&:before, &:after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
&:before {
|
||||
bottom: 100%;
|
||||
margin-bottom: ($size / 16);
|
||||
}
|
||||
|
||||
&:after {
|
||||
top: 100%;
|
||||
margin-top: ($size / 16);
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
span {
|
||||
transform: scale(0.7);
|
||||
&:before {
|
||||
transform: translateY(($size / 8)*2 + ($size / 16)*2);
|
||||
}
|
||||
|
||||
&:after {
|
||||
transform: translateY(-(($size / 8)*2 + ($size / 16)*2));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin make-toggle($preset: "button-lines-arrow-2", $size: 48px, $font-size: 24px, $border-radius: 2px, $color: #111111) {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: $size;
|
||||
height: $size;
|
||||
line-height: $size;
|
||||
cursor: pointer;
|
||||
color: $color;
|
||||
|
||||
@if ($preset == "collapse-preset-1") {
|
||||
@include collapse-preset-1($size, $font-size, $color);
|
||||
}
|
||||
|
||||
@if ($preset == "search-preset-1") {
|
||||
@include search-preset-1($size, $font-size, $color);
|
||||
}
|
||||
|
||||
@if ($preset == "button-lines-cross-1") {
|
||||
@include button-lines($size, $font-size, $border-radius, $color);
|
||||
@include button-lines__cross-1($size, $font-size, $color);
|
||||
}
|
||||
|
||||
@if ($preset == "button-lines-cross-2") {
|
||||
@include button-lines($size, $font-size, $border-radius, $color);
|
||||
@include button-lines__cross-2($size, $font-size, $color);
|
||||
}
|
||||
|
||||
@if ($preset == "button-lines-cross-3") {
|
||||
@include button-lines($size, $font-size, $border-radius, $color);
|
||||
@include button-lines__cross-3($size, $font-size, $color);
|
||||
}
|
||||
|
||||
@if ($preset == "button-lines-arrow-1") {
|
||||
@include button-lines($size, $font-size, $border-radius, $color);
|
||||
@include button-lines__arrow-1($size, $font-size, $color);
|
||||
}
|
||||
|
||||
@if ($preset == "button-lines-arrow-2") {
|
||||
@include button-lines($size, $font-size, $border-radius, $color);
|
||||
@include button-lines__arrow-2($size, $font-size, $color);
|
||||
}
|
||||
|
||||
@if ($preset == "button-lines-minus-1") {
|
||||
@include button-lines($size, $font-size, $border-radius, $color);
|
||||
@include button-lines__minus-1($size, $font-size, $color);
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Submenu with Arrow
|
||||
@mixin submenu-with-arrow() {
|
||||
li {
|
||||
> a {
|
||||
position: relative;
|
||||
left: -3px;
|
||||
display: flex;
|
||||
padding: 1px 14px 1px 0;
|
||||
text-align: left;
|
||||
@include link($rd-navbar-dropdown-item-color, $rd-navbar-dropdown-item-hover-color);
|
||||
|
||||
&,
|
||||
&::before {
|
||||
transition: .15s ease-in-out;
|
||||
}
|
||||
|
||||
&::before {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
left: -6px;
|
||||
display: inline-block;
|
||||
content: '\f105';
|
||||
font-family: 'FontAwesome';
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
color: $rd-navbar-dropdown-item-hover-color;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&.focus > a,
|
||||
&.opened > a,
|
||||
> a:hover {
|
||||
left: 0;
|
||||
padding-left: 14px;
|
||||
padding-right: 0;
|
||||
|
||||
&::before {
|
||||
left: -7px;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,352 @@
|
||||
/*
|
||||
*
|
||||
* RD Navbar Sidebar
|
||||
*/
|
||||
|
||||
$rd-navbar-sidebar-width: map-get($container-max-widths, xl);
|
||||
|
||||
.rd-navbar-sidebar {
|
||||
display: block;
|
||||
background: $white;
|
||||
|
||||
.rd-navbar-main-outer {
|
||||
padding-left: $grid-gutter-width / 2;
|
||||
padding-right: $grid-gutter-width / 2;
|
||||
}
|
||||
|
||||
// RD Navbar Main
|
||||
.rd-navbar-main {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 22px 60px 22px 0;
|
||||
max-width: $rd-navbar-sidebar-width;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.rd-navbar-main-element {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
> * + * {
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Toggle
|
||||
.rd-navbar-toggle {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
display: block;
|
||||
z-index: $zindex-layout-panel + 2;
|
||||
}
|
||||
|
||||
// RD Navbar Panel
|
||||
.rd-navbar-panel {
|
||||
min-width: 200px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// RD Navbar Brand
|
||||
.rd-navbar-brand {
|
||||
img {
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Nav Wrap Inner
|
||||
.rd-navbar-nav-wrap {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: $zindex-layout-panel + 1;
|
||||
width: 450px;
|
||||
padding: 94px 0 0 0;
|
||||
background: $white;
|
||||
transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transform: translateX(100%);
|
||||
box-shadow: 0 0 13px 0 rgba($gray-300, .16);
|
||||
|
||||
&.active {
|
||||
transition-delay: .1s;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-nav {
|
||||
height: calc(100vh - 100px);
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
border-top: 1px solid $gray-200;
|
||||
}
|
||||
|
||||
.rd-nav-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 19px 30px 19px 40px;
|
||||
|
||||
&.active {
|
||||
.rd-nav-link {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-nav-link,
|
||||
> .rd-navbar-submenu-toggle {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
+ .rd-nav-item {
|
||||
border-top: 1px solid $gray-200;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-bottom: 1px solid $gray-200;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-nav-link {
|
||||
max-width: calc(100% - 30px);
|
||||
word-break: break-all;
|
||||
font-size: 18px;
|
||||
line-height: 1.4;
|
||||
text-transform: none;
|
||||
color: $gray-300;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Submenu
|
||||
.rd-navbar-submenu {
|
||||
.opened > .rd-navbar-submenu-toggle {
|
||||
&::after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
> .rd-navbar-dropdown,
|
||||
> .rd-navbar-megamenu {
|
||||
display: none;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
will-change: opacity, visibility;
|
||||
transition: opacity .2s;
|
||||
}
|
||||
|
||||
&.opened {
|
||||
> .rd-navbar-dropdown,
|
||||
> .rd-navbar-megamenu {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
> .rd-navbar-submenu {
|
||||
> .rd-navbar-dropdown,
|
||||
> .rd-navbar-megamenu {
|
||||
transform: translateY(30px);
|
||||
}
|
||||
|
||||
&.opened {
|
||||
> .rd-navbar-dropdown,
|
||||
> .rd-navbar-megamenu {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-submenu {
|
||||
> .rd-navbar-dropdown {
|
||||
transform: translateX(-20px);
|
||||
}
|
||||
|
||||
&.opened {
|
||||
> .rd-navbar-dropdown {
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Submenu Toggle
|
||||
.rd-nav-item > .rd-navbar-submenu-toggle,
|
||||
.rd-nav-item .rd-navbar--has-dropdown > .rd-navbar-submenu-toggle {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding-top: inherit;
|
||||
padding-right: inherit;
|
||||
padding-left: 10px;
|
||||
margin-bottom: inherit;
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
margin-left: 5px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
color: $rd-navbar-nav-color;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '\f107';
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
font-family: "FontAwesome";
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
transition: 0.4s all ease;
|
||||
z-index: 2;
|
||||
will-change: transform;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-nav-item .rd-navbar--has-dropdown > .rd-navbar-submenu-toggle {
|
||||
font-size: 14px;
|
||||
color: $gray-300;
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
// RD Navbar Submenu
|
||||
.rd-menu {
|
||||
margin-top: 31px;
|
||||
}
|
||||
|
||||
.rd-navbar-dropdown,
|
||||
.rd-megamenu-list {
|
||||
font-size: 14px;
|
||||
@include submenu-with-arrow;
|
||||
}
|
||||
|
||||
// RD Navbar Megamenu
|
||||
.rd-navbar-megamenu {
|
||||
max-width: 450px;
|
||||
@include groupY(30px);
|
||||
|
||||
> li {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: 45%;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-megamenu-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rd-megamenu-list {
|
||||
margin-top: 0;
|
||||
|
||||
> li + li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Dropdown
|
||||
.rd-navbar-dropdown {
|
||||
.rd-navbar--has-dropdown {
|
||||
> a {
|
||||
padding-right: 0;
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
&:hover {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.focus > a {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar--has-dropdown.opened > .rd-navbar-submenu-toggle {
|
||||
color: $primary;
|
||||
|
||||
&::after {
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
> li + li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-nav-item > .rd-navbar-dropdown {
|
||||
margin-top: 25px;
|
||||
.rd-navbar-dropdown {
|
||||
margin-top: 10px;
|
||||
padding-left: 15px;
|
||||
|
||||
> li > a {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
.rd-navbar-megamenu {
|
||||
@include groupY(30px);
|
||||
}
|
||||
|
||||
.rd-navbar-dropdown,
|
||||
.rd-megamenu-list {
|
||||
> li + li {
|
||||
margin-top: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
.rd-navbar-nav-wrap {
|
||||
width: auto;
|
||||
left: calc(50% + 600px - 80px);
|
||||
}
|
||||
}
|
||||
|
||||
// States
|
||||
&.rd-navbar--is-clone {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1000;
|
||||
transform: translateY(-101%);
|
||||
|
||||
&.rd-navbar--is-stuck {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
&.rd-navbar--is-stuck {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
box-shadow: 0 2px 10px 1px rgba($black, .1);
|
||||
|
||||
.rd-navbar-main {
|
||||
padding-top: 11px;
|
||||
padding-bottom: 11px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,284 @@
|
||||
/*
|
||||
* @subsection RD Navbar Static
|
||||
*/
|
||||
// - li first level and li
|
||||
// - link first level and link
|
||||
// - menus
|
||||
// - dropdowns
|
||||
// - megamenus
|
||||
// - rd-search
|
||||
// - submenus
|
||||
|
||||
.rd-navbar-static {
|
||||
display: block;
|
||||
|
||||
// RD Navbar Nav
|
||||
//
|
||||
// RD Nav item 1-st level
|
||||
.rd-nav-item {
|
||||
display: inline-block;
|
||||
&.focus,
|
||||
&.opened {
|
||||
.rd-nav-link {
|
||||
color: $rd-navbar-nav-hover-color;
|
||||
background: $rd-navbar-nav-hover-background;
|
||||
}
|
||||
|
||||
> .rd-navbar-submenu-toggle {
|
||||
color: $rd-navbar-nav-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
.rd-nav-link {
|
||||
color: $rd-navbar-nav-active-color;
|
||||
background: $rd-navbar-nav-active-background;
|
||||
}
|
||||
|
||||
> .rd-navbar-submenu-toggle {
|
||||
color: $rd-navbar-nav-active-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.focus > .rd-navbar-submenu-toggle,
|
||||
&.opened > .rd-navbar-submenu-toggle,
|
||||
.rd-nav-link:hover + .rd-navbar-submenu-toggle {
|
||||
&::before {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
> .rd-navbar-submenu-toggle {
|
||||
margin-left: 4px;
|
||||
font-family: "Material Design Icons";
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
|
||||
&::before {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
transition: .22s;
|
||||
content: '\f236';
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $rd-navbar-nav-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
// If Have submenu
|
||||
> .rd-navbar-submenu {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-nav-item + .rd-nav-item {
|
||||
margin-left: $navbar-static-nav-indent;
|
||||
}
|
||||
|
||||
// Rd Nav Link 1-st level
|
||||
.rd-nav-link {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
color: $rd-navbar-nav-color;
|
||||
font-size: 13px;
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .075em;
|
||||
line-height: 1.2;
|
||||
transition: .25s;
|
||||
|
||||
&:hover {
|
||||
color: $rd-navbar-nav-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Rd Menu (dropdown and megamenu)
|
||||
.rd-menu {
|
||||
z-index: 15;
|
||||
position: absolute;
|
||||
display: block;
|
||||
margin-top: 22px;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
text-align: left;
|
||||
border: $rd-navbar-border;
|
||||
transform: translate3d(0, 30px, 0);
|
||||
@extend %rd-navbar-transition;
|
||||
}
|
||||
|
||||
// RD Dropdown 1-st level
|
||||
.rd-navbar-dropdown {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: $rd-navbar-dropdown-width;
|
||||
padding: 15px;
|
||||
background: $rd-navbar-dropdown-background;
|
||||
z-index: 5;
|
||||
.rd-navbar-dropdown {
|
||||
top: -1px;
|
||||
left: 100%;
|
||||
z-index: 2;
|
||||
margin-top: -15px;
|
||||
margin-left: 15px;
|
||||
transform: translate3d(30px, 0, 0);
|
||||
|
||||
// If the menu is on the right edge window
|
||||
&.rd-navbar-open-left {
|
||||
left: auto;
|
||||
right: 100%;
|
||||
margin-left: 0;
|
||||
margin-right: 15px;
|
||||
transform: translate3d(-30px, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-dropdown-item {
|
||||
&.focus,
|
||||
&.opened {
|
||||
.rd-dropdown-link {
|
||||
color: $rd-navbar-dropdown-item-active-color;
|
||||
//background: $rd-navbar-dropdown-item-active-background;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-dropdown-link {
|
||||
color: $rd-navbar-dropdown-item-color;
|
||||
//background: $rd-navbar-dropdown-item-background;
|
||||
|
||||
&:hover {
|
||||
color: $rd-navbar-dropdown-item-hover-color;
|
||||
//background: $rd-navbar-dropdown-item-hover-background;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-dropdown,
|
||||
.rd-megamenu-list {
|
||||
@include submenu-with-arrow;
|
||||
}
|
||||
|
||||
// RD all megamenu
|
||||
.rd-navbar-megamenu {
|
||||
display: flex;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
max-width: $rd-navbar-width;
|
||||
padding: 30px 40px;
|
||||
background: $rd-navbar-megamenu-background;
|
||||
}
|
||||
|
||||
// Megamenu item 1st level
|
||||
.rd-megamenu-item {
|
||||
flex-basis: 50%;
|
||||
flex-grow: 1;
|
||||
|
||||
+ .rd-megamenu-item {
|
||||
padding-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// Megamenu title
|
||||
.rd-megamenu-title {
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid $gray-200;
|
||||
}
|
||||
|
||||
// Megamenu list item
|
||||
.rd-megamenu-list-item {
|
||||
+ .rd-megamenu-list-item {
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
// Megamenu list link
|
||||
.rd-megamenu-list-link {
|
||||
color: $rd-navbar-megamenu-item-color;
|
||||
background: $rd-navbar-megamenu-item-background;
|
||||
&:hover {
|
||||
color: $rd-navbar-megamenu-item-hover-color;
|
||||
background: $rd-navbar-megamenu-item-hover-background;
|
||||
}
|
||||
}
|
||||
|
||||
// Megamenu list offset
|
||||
* + .rd-megamenu-list {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
// RD all submenus
|
||||
.rd-navbar-submenu {
|
||||
&.focus,
|
||||
&.opened {
|
||||
> .rd-menu {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// RD navbar search
|
||||
.rd-navbar-search {
|
||||
&.active {
|
||||
.rd-search {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rd-search {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
width: 270px;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: .3s;
|
||||
margin-top: 20px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
// RD search offset
|
||||
* + .rd-navbar-search {
|
||||
margin-left: $navbar-static-nav-indent;
|
||||
}
|
||||
|
||||
.rd-navbar-search-toggle {
|
||||
display: inline-flex;
|
||||
@include toggle-icons-via-rotation(32px, 32px, 26px, '\f43b', '\f24c', 'Material Design Icons', 'Material Design Icons');
|
||||
color: $rd-navbar-nav-color;
|
||||
|
||||
&:hover {
|
||||
color: $rd-navbar-nav-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
// RD navbar Clone
|
||||
&.rd-navbar--is-clone {
|
||||
display: block;
|
||||
transform: translate3d(0, -100%, 0);
|
||||
|
||||
&.rd-navbar--is-stuck {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Stuck || Clone
|
||||
&.rd-navbar--is-stuck,
|
||||
&.rd-navbar--is-clone {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: $zindex-rd-navbar;
|
||||
background: $rd-navbar-stuck-background;
|
||||
}
|
||||
|
||||
// RD Navbar States
|
||||
.rd-navbar--has-dropdown {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
/**
|
||||
*
|
||||
* RD Navbar Classic
|
||||
* =====================================================
|
||||
*/
|
||||
.rd-navbar-wrap {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
.rd-navbar-classic {
|
||||
// Static
|
||||
&.rd-navbar-static {
|
||||
//background: transparent;
|
||||
//border-bottom: 1px solid transparent;
|
||||
|
||||
.rd-navbar-aside-outer,
|
||||
.rd-navbar-main-outer {
|
||||
padding-left: $grid-gutter-width / 2;
|
||||
padding-right: $grid-gutter-width / 2;
|
||||
}
|
||||
|
||||
.rd-navbar-aside,
|
||||
.rd-navbar-main {
|
||||
max-width: $rd-navbar-static-width;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.rd-navbar-aside {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.rd-navbar-main {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
// RD Navbar Brand
|
||||
.rd-navbar-brand {
|
||||
img {
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
.rd-navbar-main-element {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&.rd-navbar--is-stuck,
|
||||
&.rd-navbar--is-clone {
|
||||
border-bottom-color: nth($rd-navbar-border, 3);
|
||||
.rd-navbar-aside-outer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rd-navbar-main {
|
||||
padding: 17px 0;
|
||||
}
|
||||
|
||||
.rd-navbar-nav-item {
|
||||
> .rd-navbar-submenu {
|
||||
margin-top: 17px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Fixed
|
||||
&.rd-navbar-fixed {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
*
|
||||
* RD Navbar Fullwidth
|
||||
*/
|
||||
$rd-navbar-fullwidth-width: map-get($container-max-widths, xl);
|
||||
$navbar-fullwidth-nav-indent: 20px;
|
||||
|
||||
.rd-navbar-fullwidth {
|
||||
display: block;
|
||||
|
||||
// RD Navbar Nav
|
||||
.rd-navbar-nav {
|
||||
> li + li {
|
||||
margin-left: $navbar-fullwidth-nav-indent;
|
||||
}
|
||||
}
|
||||
|
||||
// RD Navbar Stuck || Clone
|
||||
&.rd-navbar--is-stuck,
|
||||
&.rd-navbar--is-clone {
|
||||
.rd-navbar-main {
|
||||
padding: 10px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
24
templates/template_3/sources/scss/custom/style-1.scss
Normal file
24
templates/template_3/sources/scss/custom/style-1.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Trunk version 2.0.0
|
||||
*/
|
||||
@import "color-scheme/_colors-fashion";
|
||||
@import "main-styles";
|
||||
@import "plugins/layout-panel";
|
||||
|
||||
$secondary: #f9f472;
|
||||
|
||||
// custom styles
|
||||
.section-context-styling {
|
||||
.button-primary {
|
||||
@include btn-variant($gray-800, $secondary, $secondary, $white, $gray-800, $gray-800);
|
||||
}
|
||||
}
|
||||
|
||||
.box-team {
|
||||
&-header {
|
||||
.icon {
|
||||
background-color: $secondary;
|
||||
color: $gray-800;
|
||||
}
|
||||
}
|
||||
}
|
||||
6
templates/template_3/sources/scss/custom/style-2.scss
Normal file
6
templates/template_3/sources/scss/custom/style-2.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
* Trunk version 2.0.0
|
||||
*/
|
||||
@import "color-scheme/_colors-lawyer";
|
||||
@import "main-styles";
|
||||
@import "plugins/layout-panel";
|
||||
6
templates/template_3/sources/scss/custom/style-3.scss
Normal file
6
templates/template_3/sources/scss/custom/style-3.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
* Trunk version 2.0.0
|
||||
*/
|
||||
@import "color-scheme/_colors-architect";
|
||||
@import "main-styles";
|
||||
@import "plugins/layout-panel";
|
||||
6
templates/template_3/sources/scss/custom/style-4.scss
Normal file
6
templates/template_3/sources/scss/custom/style-4.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
* Trunk version 2.0.0
|
||||
*/
|
||||
@import "color-scheme/_colors-creatives";
|
||||
@import "main-styles";
|
||||
@import "plugins/layout-panel";
|
||||
6
templates/template_3/sources/scss/custom/style-5.scss
Normal file
6
templates/template_3/sources/scss/custom/style-5.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
* Trunk version 2.0.0
|
||||
*/
|
||||
@import "color-scheme/_colors-restaurant";
|
||||
@import "main-styles";
|
||||
@import "plugins/layout-panel";
|
||||
6
templates/template_3/sources/scss/custom/style-6.scss
Normal file
6
templates/template_3/sources/scss/custom/style-6.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
* Trunk version 2.0.0
|
||||
*/
|
||||
@import "color-scheme/_colors-video";
|
||||
@import "main-styles";
|
||||
@import "plugins/layout-panel";
|
||||
6
templates/template_3/sources/scss/custom/style.scss
Normal file
6
templates/template_3/sources/scss/custom/style.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
* Trunk version 2.0.0
|
||||
*/
|
||||
@import "color-scheme/_colors-default";
|
||||
@import "main-styles";
|
||||
@import "plugins/layout-panel";
|
||||
Reference in New Issue
Block a user