feat: Add a breadcrumb

This commit is contained in:
kbe
2025-08-19 09:54:49 +02:00
parent 90340d03aa
commit 686ece4479
55 changed files with 24172 additions and 2 deletions

View File

@@ -0,0 +1,107 @@
//
// Blog Styles //
//
.blog-card-wrapper {
position: relative;
background-position: center center;
background-attachment: scroll;
@include background-size(cover);
background-repeat: no-repeat;
width: 100%;
* {
@include transition(ease-out 0.12s);
}
.blog-card {
background: white;
border: 1px solid get-color("dark", 0.1);
}
&:hover {
color: get-color("white", 0.7);
h1,h2,h3,h4,h5,h6 { color: white; }
a {
&:not([class^='button']) {
color: get-color("white", 0.8);
&:hover, &:focus { color: white; }
}
}
.blog-card {
background: get-color("dark", 0.6);
}
.button-text-1,
.button-text-2,
.button-text-3 {
color: get-color("white", 0.8);
&:hover {
color: white;
}
}
.button-text-1 {
&:before { background: get-color("white", 0.3); }
&:after { background: white; }
}
.button-text-2 {
&:before { background: get-color("white", 0.4); }
&:after { background: white; }
}
.button-text-3 {
&:before { background: get-color("white", 0.8); }
&:hover {
&:before { background: white; }
}
}
}
@include breakpoint-above(lg) {
.blog-card {
padding: 36px 36px 36px 140px;
.blog-card-date {
position: absolute;
top: 50%;
left: 36px;
@include transform(translateY(-50%));
text-align: center;
}
}
}
@include breakpoint-less(md) {
.blog-card {
padding: 24px;
}
}
}
//
// Comment box //
//
.comment-box {
position: relative;
margin-bottom: 30px;
padding-left: 80px;
.comment-user-avatar {
position: absolute;
top: 0;
left: 0;
background: $bg-gray;
width: 60px;
height: 60px;
border-radius: 50%;
text-align: center;
line-height: 60px;
img {
width: 60px;
height: 60px;
}
}
.comment-content {
position: relative;
.comment-time {
position: absolute;
top: 0;
right: 0;
text-align: right;
color: $color-primary-lighter;
font-style: italic;
font-size: 14px;
}
}
}

View File

@@ -0,0 +1,161 @@
// Breadcrumb Component
.breadcrumb-wrapper {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-bottom: 1px solid #dee2e6;
padding: 1rem 0;
@media (max-width: 768px) {
padding: 0.75rem 0;
}
.breadcrumb {
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 0;
padding: 0;
list-style: none;
font-size: 0.875rem;
line-height: 1.4;
@media (max-width: 576px) {
font-size: 0.8125rem;
}
.breadcrumb-item {
display: flex;
align-items: center;
&:not(:last-child) {
margin-right: 0.5rem;
&::after {
content: "";
display: inline-block;
width: 0;
height: 0;
border-left: 4px solid #6c757d;
border-top: 3px solid transparent;
border-bottom: 3px solid transparent;
margin-left: 0.75rem;
opacity: 0.7;
@media (max-width: 576px) {
margin-left: 0.5rem;
border-left-width: 3px;
border-top-width: 2px;
border-bottom-width: 2px;
}
}
}
a {
color: #495057;
text-decoration: none;
font-weight: 500;
transition: all 0.2s ease-in-out;
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
&:hover {
color: #007bff;
background-color: rgba(0, 123, 255, 0.1);
transform: translateY(-1px);
}
&:focus {
outline: 2px solid #007bff;
outline-offset: 1px;
}
i.fas {
margin-right: 0.375rem;
font-size: 0.75rem;
@media (max-width: 576px) {
margin-right: 0.25rem;
font-size: 0.6875rem;
}
}
}
&.active {
color: #6c757d;
font-weight: 600;
padding: 0.25rem 0.5rem;
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@media (max-width: 768px) {
max-width: 150px;
}
@media (max-width: 576px) {
max-width: 120px;
}
}
}
// Responsive truncation for long breadcrumbs
@media (max-width: 576px) {
.breadcrumb-item {
&:not(:last-child):not(:nth-last-child(2)) {
display: none;
& + .breadcrumb-item::before {
content: "...";
margin: 0 0.5rem;
color: #6c757d;
font-weight: bold;
}
}
}
}
}
// Dark mode support
@media (prefers-color-scheme: dark) {
background: linear-gradient(135deg, #343a40 0%, #495057 100%);
border-bottom-color: #6c757d;
.breadcrumb {
.breadcrumb-item {
&:not(:last-child)::after {
border-left-color: #adb5bd;
}
a {
color: #dee2e6;
&:hover {
color: #66b2ff;
background-color: rgba(102, 178, 255, 0.1);
}
&:focus {
outline-color: #66b2ff;
}
}
&.active {
color: #adb5bd;
}
}
}
}
}
// Accessibility improvements
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

View File

@@ -0,0 +1,17 @@
//
// Cookie Consent //
//
#cookie-consent {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: 997;
visibility: visible;
opacity: 1;
@include transition(ease-out 0.2s);
&.consent-hidden {
visibility: hidden;
opacity: 0;
}
}

View File

@@ -0,0 +1,171 @@
//
// Fullscreen Menu Styles //
//
.fm-toggle {
margin-left: auto;
cursor: pointer;
@include transition(ease-out 0.2s);
.lines {
position: relative;
display: inline-block;
background: black;
width: 25px;
height: 2px;
margin: 0;
padding: 0;
vertical-align: middle;
@include transition(linear 0.12s);
&:before, &:after {
content: '';
position: absolute;
left: 0;
background: black;
width: 25px;
height: 2px;
display: inline-block;
@include transition(linear 0.12s);
}
&:before { top: -7px;}
&:after { bottom: -7px;}
}
@include breakpoint-above(lg) {
.lines {
&:before { @include transform(scaleX(0.8)); @include transform-origin(100% 50%); }
&:after { @include transform(scaleX(0.6)); @include transform-origin(100% 50%); }
}
&:hover {
.lines {
&:before { @include transform(scaleX(1)); }
&:after { @include transform(scaleX(1)); }
}
}
}
}
.header {
&[class*='header-color'], &.transparent-light {
&:not(.transparent-dark) {
.fm-toggle {
.lines, .lines:before, .lines:after { background: white; }
}
}
}
}
//
// Fullscreen Menu //
//
.fullscreen-menu {
position: fixed;
top: 0;
left: 0;
z-index: 996;
visibility: hidden;
opacity: 0;
width: 100%;
height: 100%;
@include transition(ease-out 0.2s);
.fm-wrapper {
@include transform(scale(0.98));
height: 100%;
@include transition(ease-out 0.2s);
.position-top,
.position-middle,
.position-bottom {
padding: 0 30px;
}
@include breakpoint-above(md) {
.position-top,
.position-middle,
.position-bottom {
padding: 0 50px;
}
.position-top { top: 50px; }
.position-bottom { bottom: 50px; }
}
.fm-close {
position: absolute;
top: 50px;
right: 50px;
cursor: pointer;
span {
position: relative;
display: inline-block;
opacity: 0.8;
width: 60px;
height: 60px;
border-radius: 50%;
@include transition(ease-out 0.18s);
&:before, &:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 14px;
height: 2px;
border-radius: 2px;
@include transition(ease-out 0.18s);
}
&:before { @include transform(translate(-50%, -50%) rotate(45deg)) }
&:after { @include transform(translate(-50%, -50%) rotate(-45deg)) }
}
&:hover {
span {
opacity: 1;
&:before { @include transform(translate(-50%, -50%) rotate(180deg)) }
&:after { @include transform(translate(-50%, -50%) rotate(180deg)) }
}
}
}
@include breakpoint-less(md) {
.fm-close {
top: 30px;
right: 30px;
}
}
@include breakpoint-less(sm) {
.fm-close {
top: 20px;
right: 20px;
span {
width: 50px;
height: 50px;
}
}
}
}
&.fm-show {
visibility: visible;
opacity: 1;
.fm-wrapper {
@include transform(scale(1));
}
}
}
.bg-black,
[class*='bg-dark'],
[class*='bg-gradient-'],
[class*='bg-color-'] {
&.fullscreen-menu {
.fm-wrapper {
.fm-close {
span {
background: get-color("white", 0.1);
&:before, &:after { background: white; }
}
}
}
}
}
[class*='bg-gray'],
[class*='bg-white'] {
&.fullscreen-menu {
.fm-wrapper {
.fm-close {
span {
background: get-color("dark", 0.1);
&:before, &:after { background: black; }
}
}
}
}
}

View File

@@ -0,0 +1,81 @@
//
// Gallery Styles //
//
.gallery-wrapper {
.gallery-box {
.gallery-img {
position: relative;
overflow: hidden;
a {
display: block;
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
z-index: 1;
opacity: 0;
background: get-color("white", 0.1);
width: 100%;
height: 100%;
@include transition(ease-out 0.12s);
}
img {
@include transform(scale(1));
width: 100%;
@include transition(transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1));
}
&:hover {
&:before {
opacity: 1;
}
img {
@include transform(scale(1.04));
}
}
.gallery-title {
position: absolute;
top: 50%;
left: 50%;
@include transform(translate(-50%,-50%));
z-index: 2;
background: white;
padding: 10px 20px;
h1, h2, h3, h4, h5, h6 {
display: inline-block;
margin: 0;
}
}
}
}
}
//
// Gallery Image Hover Styles //
//
&.hover-style-2 {
.gallery-box {
.gallery-img {
a {
&:before { background: get-color("dark", 0.1); }
}
}
}
}
//
// Gallery Image border-radius //
//
&[class*='border-radius'] {
.gallery-box {
.gallery-img {
@include transform(translate3d(0,0,0));
overflow: hidden;
}
}
}
&.border-radius {
.gallery-box .gallery-img { border-radius: 0.4em; }
}
&.border-radius-1 {
.gallery-box .gallery-img { border-radius: 1.0em; }
}
}

View File

@@ -0,0 +1,974 @@
//
// Header Menu //
//
.header {
top: 0;
z-index: 993;
overflow: visible;
background: white;
width: 100%;
height: 80px;
@include transition(ease-in-out 0.2s);
&.hide {
@include transform(translateY(-100%));
}
.container, .container-fluid {
@include display-flex;
align-items: center;
height: 100%;
}
.header-logo {
display: inline-block;
.logo-light {
display: none;
}
* {
@include transition(linear 0.1s);
}
h1,h2,h3,h4,h5,h6 {
margin: 0;
}
img {
width: auto;
height: 54px;
max-height: 54px;
}
a {
color: get-color("dark");
&:hover { color: get-color("dark"); }
}
}
.header-toggle {
position: relative;
display: inline-block;
width: 28px;
height: 28px;
margin-left: auto;
cursor: pointer;
span {
position: absolute;
top: 50%;
left: 0;
@include transform(translateY(-50%));
background: get-color("dark");
width: 100%;
height: 2px;
border-radius: 2px;
@include transition(linear 0.1s);
&:before, &:after {
content: '';
position: absolute;
left: 0;
background: get-color("dark");
width: 100%;
height: 2px;
border-radius: 2px;
@include transition(linear 0.1s);
}
&:before { top: -7px; }
&:after { bottom: -7px; }
}
&.toggle-close {
span {
background: transparent;
&:before { top: 0; bottom: 0; @include transform(rotate(-45deg)); }
&:after { top: 0; bottom: 0; @include transform(rotate(45deg)); }
}
}
}
.header-menu {
display: inline-block;
font-size: 0.938rem;
z-index: 995;
.nav {
display: block;
margin: 0;
padding: 0;
list-style-type: none;
margin: 0;
padding: 0;
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.nav-item {
text-align: left;
.nav-link {
padding: 0;
font-family: $font-family-poppins;
letter-spacing: -0.2px;
color: get-color("dark");
&:hover, &.active {
color: get-color("dark");
}
}
.nav-dropdown-toggle {
position: relative;
display: inline-block;
&:after {
content: '\f107';
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 0.8rem;
}
}
.nav-dropdown {
background: white;
h1,h2,h3,h4,h5,h6 { color: get-color("dark"); }
a {
&:not([class^='button'], [class^="link-social"]) {
color: $color-primary;
&:hover, &:focus { color: get-color("dark"); }
}
}
.nav-dropdown-item {
.nav-subdropdown-toggle {
position: absolute;
&:after {
content: '\f105';
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 0.8rem;
}
}
}
}
}
}
&.font-2 {
.nav {
.nav-item {
.nav-link {
font-size: 0.9em;
font-weight: 500;
letter-spacing: 1px;
text-transform: uppercase;
}
}
}
}
}
.header-menu-extra {
a {
&:not([class^='button'], [class^="link-social"]) {
color: get-color("dark");
&:hover, &:focus { color: get-color("dark"); }
}
}
}
//
// Header Boxed //
//
&.header-boxed {
position: absolute;
top: 0;
left: 0;
}
//
// Positions //
//
&.sticky-autohide, &.sticky {
position: fixed;
top: 0;
left: 0;
@include box-shadow(0 0 36px 0 rgba(22,25,28,0.17));
}
}
.theme-font-nunito {
.header {
.header-menu {
.nav {
.nav-item {
.nav-link {
font-family: $font-family-nunito;
}
}
}
}
}
}
//
// Header Backgrounds //
//
.header {
//
// Header Dark //
//
&[class*='header-color'] {
&:not(.transparent-dark) {
.header-logo {
.logo-dark {
display: none;
}
.logo-light {
display: inline-block;
}
h1,h2,h3,h4,h5,h6 { color: white; }
a {
color: white;
&:hover { color: white; }
}
}
@include breakpoint-above(lg) {
.header-menu {
.nav {
.nav-item {
.nav-link, .nav-dropdown-toggle {
color: white;
&:hover, &:focus, &.active { color: white; }
}
.nav-link {
&:before {
background: get-color("white", 0.15);
}
}
}
}
}
}
.header-menu-extra {
a {
&:not([class^='button'], [class^="link-social"]) {
color: white;
&:hover, &:focus { color: white; }
}
}
}
.header-toggle {
span {
background: white;
&:before, &:after { background: white; }
}
&.toggle-close {
span {
background: transparent;
}
}
}
}
}
&.header-color-dark { background: $bg-dark; }
&.header-color-black { background: black; }
//
// Transparent Dark, Light //
//
&.transparent-dark, &.transparent-light {
&:not(.sticky-autohide, .sticky) {
position: absolute;
top: 0;
left: 0;
}
background: transparent;
@include box-shadow(none);
}
&[class*='header-color'], &.transparent-light {
&.border-top, &.border-bottom {
border-color: get-color("white", 0.1);
}
}
&.transparent-light {
.header-logo {
.logo-dark {
display: none;
}
.logo-light {
display: inline-block;
}
h1,h2,h3,h4,h5,h6 { color: white; }
a {
color: white;
&:hover { color: white; }
}
}
.header-toggle {
span {
background: white;
&:before, &:after { background: white; }
}
&.toggle-close {
span {
background: transparent;
}
}
}
@include breakpoint-above(lg) {
.header-menu {
.nav {
.nav-item {
.nav-link, .nav-dropdown-toggle {
color: white;
&:hover, &:focus, &.active { color: white; }
}
.nav-link {
&:before {
background: get-color("white", 0.15);
}
}
}
}
}
}
.header-menu-extra {
a {
&:not([class^='button'], [class^="link-social"]) {
color: white;
&:hover, &:focus { color: white; }
}
}
}
}
//
// Header Boxed //
//
&.header-boxed {
background: transparent;
.container, .container-fluid {
background: get-color("white", 0.9);
border-bottom-right-radius: 1.5em;
border-bottom-left-radius: 1.5em;
@include box-shadow(0 0 36px 0 rgba(22,25,28,0.1));
}
.container-fluid {
width: auto;
margin: 0 30px;
}
&.sticky-autohide, &.sticky {
@include box-shadow(none);
}
&[class*='header-color'] {
background: transparent;
}
&.header-color-dark {
.container {
background: get-color("dark", 0.8);
}
}
&.header-color-black {
.container {
background: rgba(0, 0, 0, 0.8);
}
}
}
}
@include breakpoint-above(lg) {
.header {
//
// Sizes //
//
.header-logo, .header-menu-extra {
z-index: 996;
}
.header-menu {
height: 80px;
}
&.header-lg {
.header-logo {
img {
height: 64px;
max-height: 64px;
}
}
.header-menu {
height: 90px;
}
}
&.header-xl {
.header-logo {
img {
height: 74px;
max-height: 74px;
}
}
.header-menu {
height: 100px;
}
}
//
// Alignments //
//
&:not(.left, .center) {
.header-menu {
margin-left: auto;
}
}
&.left {
.header-logo {
margin-right: 30px;
}
.header-menu {
margin-right: auto;
}
}
&.center {
.header-logo {
margin-right: auto;
}
.header-menu {
.nav {
position: absolute;
top: 0;
right: 0;
width: 100%;
text-align: center;
}
}
}
.header-menu {
.nav {
.nav-item {
position: relative;
display: inline-block;
height: 100%;
margin: 0 0 0 20px;
&.mega-menu-item {
position: static;
.nav-link {
&:after {
content: '\f107';
padding-left: 5px;
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 0.8rem;
}
&.d-toggle {
padding-right: 0;
}
}
.nav-dropdown-toggle {
display: none;
}
}
&:first-child {
margin-left: 0;
}
.nav-link {
position: relative;
display: inline-block;
line-height: 80px;
&:before {
position: absolute;
right: 0;
bottom: 22px;
left: 0;
content: '';
background: $bg-gray;
height: 0;
@include transition(all 0.14s cubic-bezier(0.165, 0.84, 0.44, 1));
}
&.d-toggle {
padding-right: 16px;
}
}
.nav-dropdown-toggle {
position: absolute;
top: 50%;
right: 0;
@include transform(translateY(-50%));
margin-top: -2px;
color: get-color("dark");
&:hover {
color: get-color("dark");
}
}
.nav-dropdown {
position: absolute;
top: 84px;
left: 0;
@include transform(translateY(10px));
z-index: 995;
visibility: hidden;
opacity: 0;
background: white;
width: 240px;
@include box-shadow(0 10px 40px -4px rgba(22,25,28,0.17));
border-radius: 0.4em;
padding: 15px 0;
@include transition(ease-out 0.14s);
&:before {
content: '';
position: absolute;
top: -4px;
width: 100%;
height: 4px;
}
.nav-dropdown-item {
position: relative;
display: block;
margin: 0;
padding: 0 15px;
.nav-dropdown-link {
position: relative;
display: block;
border-radius: 0.4em;
padding: 7px 15px;
@include transition(linear 0.06s);
&:hover {
background: $bg-gray;
padding: 7px 15px 7px 17px;
}
&.sd-toggle {
&:after {
position: absolute;
top: 50%;
right: 15px;
@include transform(translateY(-50%));
content: '\f105';
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 0.8rem;
}
}
}
.nav-subdropdown-toggle {
display: none;
}
.nav-subdropdown {
position: absolute;
top: 0;
left: 228px;
visibility: hidden;
opacity: 0;
background: white;
width: 240px;
@include box-shadow(0 10px 40px -4px rgba(22,25,28,0.17));
border-radius: 0.4em;
padding: 15px;
@include transition(linear 0.06s);
.nav-subdropdown-item {
display: block;
margin: 0;
.nav-subdropdown-link {
display: block;
border-radius: 0.4em;
padding: 7px 15px;
@include transition(linear 0.06s);
&:hover {
background: $bg-gray;
padding: 7px 15px 7px 17px;
}
}
}
&.nav-subdropdown-lg {
width: 476px;
[class*='col'] {
&:first-child {
border-right: 1px solid $border-gray;
}
}
}
}
&:hover {
.nav-subdropdown {
visibility: visible;
opacity: 1;
}
}
}
}
.mega-menu-content {
position: absolute;
top: 84px;
right: 2em;
left: 2em;
@include transform(translateY(10px));
z-index: 995;
visibility: hidden;
opacity: 0;
background: white;
width: auto;
@include box-shadow(0 10px 40px -4px rgba(22,25,28,0.17));
border-radius: 0.4em;
padding: 1em;
@include transition(ease-out 0.14s);
&:before {
content: '';
position: absolute;
top: -4px;
width: 100%;
height: 4px;
}
}
&.mega-menu-item {
&:hover {
.mega-menu-content {
@include transform(translateY(0));
visibility: visible;
opacity: 1;
}
}
}
&:hover {
.nav-link {
&:before {
height: 6px;
}
}
.nav-dropdown {
@include transform(translateY(0));
visibility: visible;
opacity: 1;
}
}
}
}
&[class*='dropdown-color'] {
.nav {
.nav-item {
.nav-dropdown {
h1,h2,h3,h4,h5,h6 { color: white; }
a {
&:not([class^='button'], [class^="link-social"]) {
color: get-color("white", 0.8);
&:hover, &:focus { color: white; }
}
}
.nav-dropdown-item {
.nav-dropdown-link {
&:hover {
background: get-color("white", 0.1);
}
}
.nav-subdropdown {
.nav-subdropdown-item {
.nav-subdropdown-link {
&:hover {
background: get-color("white", 0.1);
}
}
}
&.nav-subdropdown-lg {
[class*='col'] {
border-color: get-color("white", 0.2);
}
}
}
}
}
}
}
}
&.dropdown-color-dark {
.nav {
.nav-item {
.nav-dropdown {
background: get-color("dark");
.nav-dropdown-item {
.nav-subdropdown {
background: get-color("dark");
}
}
}
}
}
}
}
&.transparent-dark {
.header-menu {
.nav {
.nav-item {
.nav-link {
&:before {
background: get-color("dark", 0.05);
}
}
}
}
}
}
.header-menu-extra {
display: inline-block;
margin-left: 30px;
}
.header-toggle {
display: none;
}
//
// Header Boxed //
//
&.header-boxed {
.container,
.container-fluid {
backdrop-filter: blur(8px);
}
}
&:not(.center, .left) {
.header-menu {
.nav {
.nav-item {
&:last-child,
&:nth-last-child(2) {
.nav-dropdown {
right: 0;
left: auto;
.nav-dropdown-item {
.nav-subdropdown {
right: 228px;
left: auto;
}
}
}
}
}
}
}
.container-fluid {
.header-menu {
.nav {
.nav-item {
.nav-dropdown {
right: 0;
left: auto;
.nav-dropdown-item {
.nav-subdropdown {
right: 228px;
left: auto;
}
}
}
}
}
}
}
}
}
}
@include breakpoint-less(md) {
.header {
height: 70px;
.header-menu {
position: fixed;
top: 0;
left: -100%;
overflow-y: auto;
background: white;
width: 300px;
height: 100%;
@include box-shadow(0 0 36px 0 rgba(22,25,28,0.17));
padding: 20px 30px;
@include transition(all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1));
&.show {
left: 0;
}
.nav {
width: 100%;
margin: 0;
padding: 0;
.nav-item {
position: relative;
display: block;
width: 100%;
height: auto;
margin: 0;
border-bottom: 1px solid $border-gray;
padding: 12px 0;
&:last-child {
border: 0;
}
.nav-link {
display: inline-block;
width: auto;
height: auto;
color: $color-primary;
&:hover, &:focus, &.active { color: get-color("dark"); }
}
&.mega-menu-item {
.nav-link {
width: 100%;
&:after {
float: right;
}
}
.mega-menu-content {
padding-top: 12px;
}
}
.nav-dropdown-toggle {
position: absolute;
top: 13px;
right: 0;
width: 21px;
height: 21px;
text-align: right;
&.active {
color: get-color("dark");
}
}
.nav-dropdown {
display: none;
background: white;
padding: 8px 0 0 20px;
&.show {
display: block;
}
.nav-dropdown-item {
position: relative;
margin: 0 0 8px;
&:last-child {
margin: 0;
}
.nav-dropdown-link {
&.active {
color: get-color("dark");
}
}
.nav-subdropdown-toggle {
top: 0;
right: 0;
width: 21px;
height: 21px;
text-align: right;
&:after {
content: '\f107';
}
}
.nav-subdropdown {
display: none;
padding: 8px 0 0 20px;
&.show {
display: block;
}
li {
margin: 0 0 8px;
&:last-child {
margin: 0;
}
}
}
}
}
.mega-menu-content {
display: none;
&.show {
display: block;
}
}
}
}
}
.header-menu-extra {
position: absolute;
top: 50%;
right: 80px;
left: auto;
@include transform(translateY(-50%));
}
//
// Header Boxed //
//
&.header-boxed {
.container,
.container-fluid {
background: get-color("white", 0.95);
}
}
//
// Mobile Menu - Dark //
//
&[class*='mobile-menu-color'] {
.nav {
.nav-item {
border-color: get-color("white", 0.2);
.nav-link,
.nav-dropdown-toggle {
color: get-color("white", 0.8);
&:hover, &:focus, &.active {
color: white;
}
}
.nav-dropdown {
background: transparent;
a {
&:not([class^='button'], [class^="link-social"]) {
color: get-color("white", 0.8);
&:hover, &:focus { color: white; }
}
}
}
}
}
}
&.mobile-menu-color-dark {
.header-menu { background: $bg-dark; }
}
}
}
@include breakpoint-less(xs) {
.header {
&.header-boxed {
.container,
.container-fluid {
width: auto;
margin-right: 8px;
margin-left: 8px;
padding: 0 26px;
}
}
}
}
//
// Header Sizes //
//
@include breakpoint-above(lg) {
.header-lg {
height: 90px;
.container-fluid {
padding: 0 40px;
}
.header-menu {
.nav {
.nav-item {
.nav-link {
line-height: 90px;
&:before {
bottom: 27px;
}
}
.nav-dropdown, .mega-menu-content {
top: 94px;
}
}
}
}
}
.header-xl {
height: 100px;
.container-fluid {
padding: 0 50px;
}
.header-menu {
.nav {
.nav-item {
.nav-link {
line-height: 100px;
&:before {
bottom: 32px;
}
}
.nav-dropdown, .mega-menu-content {
top: 104px;
}
}
}
}
}
}
//
// Placeholders for Sticky Header //
//
.header-placeholder { height: 80px; }
.header-placeholder-lg { height: 90px; }
.header-placeholder-xl { height: 100px; }
@include breakpoint-less(md) {
.header-placeholder, .header-placeholder-lg, .header-placeholder-xl { height: 70px; }
}

View File

@@ -0,0 +1,97 @@
//
// Masonry Styles //
//
.masonry {
margin: 0 -1em -2em;
.masonry-item {
margin-bottom: 2em;
padding: 0 1em;
}
//
// Masonry - Columns //
//
&.column-1 {
.masonry-item { width: 100%; }
}
&.column-2 {
@include breakpoint-above(md) {
.masonry-item { width: 50%; }
}
}
&.column-3 {
@include breakpoint-above(md) {
.masonry-item { width: 50%; }
}
@include breakpoint-above(lg) {
.masonry-item { width: 33.33%; }
}
}
&.column-4 {
@include breakpoint-above(sm) {
.masonry-item { width: 50%; }
}
@include breakpoint-above(md) {
.masonry-item { width: 33.33%; }
}
@include breakpoint-above(lg) {
.masonry-item { width: 25%; }
}
}
&.column-5 {
@extend .column-4;
@include breakpoint-above(xl) {
.masonry-item { width: 20%; }
}
}
&.column-6 {
@extend .column-4;
@include breakpoint-above(xl) {
.masonry-item { width: 16.66%; }
}
}
//
// Masonry - Item Spacings //
//
&.spacing-0 {
margin: 0;
.masonry-item {
margin: 0;
padding: 0;
}
}
&.spacing-1 {
margin: 0 -0.5em -1em;
.masonry-item {
margin-bottom: 1em;
padding: 0 0.5em;
}
}
&.spacing-2 {
margin: 0 -1em -2em;
.masonry-item {
margin-bottom: 2em;
padding: 0 1em;
}
}
&.spacing-3 {
margin: 0 -1.5em -3em;
.masonry-item {
margin-bottom: 3em;
padding: 0 1.5em;
}
}
&.spacing-4 {
margin: 0 -2em -4em;
.masonry-item {
margin-bottom: 4em;
padding: 0 2em;
}
}
&.spacing-5 {
margin: 0 -2.5em -5em;
.masonry-item {
margin-bottom: 5em;
padding: 0 2.5em;
}
}
}

View File

@@ -0,0 +1,555 @@
//
// Portfolio Styles //
//
.portfolio-masonry {
.portfolio-item {
width: 100%;
}
.portfolio-item {
text-align: left;
}
//
// Portfolio Columns //
//
&.column-1 {
.portfolio-item { width: 100%; }
}
&.column-2 {
@include breakpoint-above(md) {
.portfolio-item { width: 50%; }
}
}
&.column-3 {
@include breakpoint-above(md) {
.portfolio-item { width: 50%; }
}
@include breakpoint-above(lg) {
.portfolio-item { width: 33.33%; }
}
}
&.column-4 {
@include breakpoint-above(sm) {
.portfolio-item { width: 50%; }
}
@include breakpoint-above(md) {
.portfolio-item { width: 33.33%; }
}
@include breakpoint-above(lg) {
.portfolio-item { width: 25%; }
}
}
&.column-5 {
@extend .column-4;
@include breakpoint-above(xl) {
.portfolio-item { width: 20%; }
}
}
&.column-6 {
@extend .column-4;
@include breakpoint-above(xl) {
.portfolio-item { width: 16.66%; }
}
}
//
// Portfolio box spacings //
//
&.spacing-0 {
.portfolio-item { padding: 0; }
}
&.spacing-1 {
.portfolio-item { padding: 0.5em; }
}
&.spacing-2 {
.portfolio-item { padding: 1em; }
}
&.spacing-3 {
.portfolio-item { padding: 1.5em; }
}
&.spacing-4 {
.portfolio-item { padding: 2em; }
}
&.spacing-5 {
.portfolio-item { padding: 2.5em; }
}
}
.portfolio-masonry,
.portfolio-grid {
//
// Portfolio box border-radius //
//
&[class*='border-radius'] {
.portfolio-item {
.portfolio-box {
@include transform(translate3d(0,0,0));
overflow: hidden;
}
}
}
&.border-radius {
.portfolio-item .portfolio-box { border-radius: 0.4em; }
}
&.border-radius-1 {
.portfolio-item .portfolio-box { border-radius: 1.0em; }
}
}
.text-center {
.portfolio-item { text-align: center; }
}
.text-end {
.portfolio-item { text-align: right; }
}
.container {
.portfolio-masonry {
&.spacing-0 { margin: 0; }
&.spacing-1 { margin: -0.5em; }
&.spacing-2 { margin: -1em; }
&.spacing-3 { margin: -1.5em; }
&.spacing-4 { margin: -2em; }
&.spacing-5 { margin: -2.5em; }
}
}
//
// Portfolio Filter Styles //
//
.filter {
ul {
margin: 0 -5px;
padding: 0;
li {
display: inline-block;
background: $button-gray-lighter;
border-radius: 30px;
margin: 0 5px;
padding: 7px 15px;
font: 500 0.9em $font-family-poppins;
letter-spacing: 1px;
text-transform: uppercase;
cursor: pointer;
@include transition(linear 0.1s);
&:hover {
background: $button-gray;
}
&.active, &.mixitup-control-active {
background: $bg-dark;
color: white;
}
}
}
//
// Filter Font Styles //
//
&.filter-font-2 {
ul {
li {
font-size: 15px;
letter-spacing: -0.2px;
text-transform: none;
}
}
}
//
// Filter Styles //
//
&.filter-style-2 {
ul {
margin: 0 -2px;
li {
background: transparent;
margin: 0 2px;
color: $color-primary;
&:hover, &.active, &.mixitup-control-active {
color: get-color("dark");
}
&.active, &.mixitup-control-active {
background: $button-gray-lighter;
}
}
}
}
&.filter-style-3 {
ul {
margin: 0 -14px -8px;
li {
position: relative;
background: transparent;
margin: 0 14px 8px;
padding: 0;
color: $color-primary;
&:after {
content: '';
position: absolute;
right: 0;
bottom: -1px;
left: 0;
background: get-color("dark");
height: 1px;
@include animation(button-line-out 0.24s cubic-bezier(0.165, 0.84, 0.44, 1) both);
}
&:hover, &.active, &.mixitup-control-active {
color: get-color("dark");
}
&.active, &.mixitup-control-active {
&:after {
width: 100%;
@include animation(button-line-in 0.24s cubic-bezier(0.165, 0.84, 0.44, 1) both);
}
}
}
}
}
&.filter-style-4 {
ul {
margin: 0 -14px -7px;
li {
background: transparent;
margin: 0 14px 7px;
padding: 0;
color: $color-primary-lighter;
&:hover, &.active, &.mixitup-control-active {
background: transparent;
color: get-color("dark");
}
}
}
}
}
.theme-font-unito {
.filter {
ul {
li {
font: 600 0.9em $font-family-nunito;
}
}
&.filter-font-2 {
ul {
li {
font-size: 1em;
letter-spacing: 0;
}
}
}
}
}
.bg-black,
[class*='bg-dark'],
[class*='bg-gradient-'],
[class*='bg-color-'] {
.filter {
ul {
li {
background: transparent;
color: get-color("white", 0.7);
&:hover {
background: transparent;
color: white;
}
&.active, &.mixitup-control-active {
background: white;
color: get-color("dark");
}
}
}
&.filter-style-2 {
ul {
li {
color: get-color("white", 0.7);
&:hover, &.active, &.mixitup-control-active {
color: white;
}
&.active, &.mixitup-control-active {
background: white;
color: get-color("dark");
}
}
}
}
&.filter-style-3 {
ul {
li {
color: get-color("white", 0.7);
&:after {
background: white;
}
&:hover, &.active, &.mixitup-control-active {
color: white;
}
&.active, &.mixitup-control-active {
background: transparent;
}
}
}
}
&.filter-style-4 {
ul {
li {
background: transparent;
color: get-color("white", 0.7);
&:hover, &.active, &.mixitup-control-active {
background: transparent;
color: white;
}
}
}
}
}
}
//
// Hover Styles //
//
.portfolio-item {
.portfolio-box {
position: relative;
.portfolio-img {
position: relative;
overflow: hidden;
img {
@include transform(scale(1));
width: 100%;
@include transition(transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1));
}
}
a {
position: absolute;
top: 0;
left: 0;
z-index: 2;
display: block;
width: 100%;
height: 100%;
}
&:hover {
.portfolio-img {
img {
@include transform(scale(1.04));
@include filter(blur(1.5px));
}
}
}
}
}
.portfolio-grid, .portfolio-masonry {
&:not(.hover-style-2, .hover-style-3) {
.portfolio-item {
.portfolio-box {
.portfolio-title {
position: absolute;
top: 0;
left: 0;
opacity: 0;
background-image: linear-gradient(to top, get-color("dark", 0.4), transparent);
width: 100%;
height: 100%;
@include transition(ease-out 0.12s);
div {
position: absolute;
left: 30px;
bottom: 30px;
* {
opacity: 0;
@include transform(translateY(5px));
margin-bottom: 0.5rem;
color: white;
@include transition(ease-out 0.12s);
&:first-child { @include transition-delay(0.05s); }
&:last-child { @include transition-delay(0.10s); margin-bottom: 0; }
}
span {
display: inline-block;
}
}
}
&:hover {
.portfolio-title {
opacity: 1;
* {
opacity: 1;
@include transform(translateY(0));
}
}
}
}
}
}
}
//
// Hover Style 2 //
//
.hover-style-2 {
.portfolio-item {
.portfolio-box {
.portfolio-title {
position: absolute;
top: 0;
left: 0;
opacity: 1;
background: get-color("dark", 0.1);
width: 100%;
height: 100%;
@include transition(ease-out 0.12s);
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
opacity: 0;
background-image: linear-gradient(to top, get-color("dark", 0.3), transparent);
width: 100%;
height: 100%;
@include transition(ease-out 0.12s);
}
div {
position: absolute;
top: 30px;
left: 30px;
span {
display: block;
}
* {
margin-bottom: 0.5rem;
color: white;
@include transition(ease-out 0.12s);
}
}
i {
position: absolute;
right: 30px;
bottom: 30px;
@include transform(translateY(5px));
opacity: 0;
font-size: 1.2em;
color: white;
@include transition(ease-out 0.12s);
}
}
&:hover {
.portfolio-title {
&:before {
opacity: 1;
}
i {
@include transform(translateY(0));
opacity: 1;
}
}
}
}
}
}
//
// Hover style 3 //
//
.hover-style-3 {
.portfolio-item {
.portfolio-box {
.portfolio-title {
position: absolute;
right: 1.5rem;
bottom: 1.5rem;
left: 1.5rem;
.portfolio-title-item {
display: table;
@include transform(translateY(4px));
visibility: hidden;
opacity: 0;
background: white;
margin-bottom: 0.25rem;
padding: 0.6rem 1rem;
@include transition(ease-out 0.12s);
&:last-child {
margin-bottom: 0;
}
&:nth-child(1) { @include transition-delay(0.05s); }
&:nth-child(2) { @include transition-delay(0.10s); }
&:nth-child(3) { @include transition-delay(0.15s); }
* {
margin-bottom: 0;
color: get-color("dark");
}
}
}
@include breakpoint-less(md) {
.portfolio-title {
right: 1.25rem;
bottom: 1.25rem;
left: 1.25rem;
}
}
&:hover {
.portfolio-title {
.portfolio-title-item {
@include transform(translateY(0));
visibility: visible;
opacity: 1;
}
}
}
}
}
}
//
// Hero Portfolio //
//
.hero-portfolio-slider {
.hero-portfolio-box {
position: relative;
a {
display: block;
&:hover {
text-decoration: underline;
}
}
.hero-portfolio-img {
overflow: hidden;
@include transform(translate3d(0,0,0));
img {
@include transition(transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1));
}
}
.hero-portfolio-caption {
visibility: hidden;
opacity: 0;
position: absolute;
top: 50%;
left: -50px;
@include transform(translateY(-50%));
background: get-color("dark", 0.9);
max-width: 70%;
padding: 1.5rem 2rem;
@include transition(ease-out 0.16s);
* {
color: white;
margin: 0;
}
@include breakpoint-less(sm) {
left: 50%;
@include transform(translate(-50%, -50%));
padding: 1rem 1.5rem;
}
}
&:hover {
.hero-portfolio-img {
img {
@include transform(scale(1.04));
}
}
}
}
.swiper-wrapper {
.swiper-slide {
&.swiper-slide-active {
.hero-portfolio-caption {
visibility: visible;
opacity: 1;
text-align: center;
}
}
}
}
}

View File

@@ -0,0 +1,531 @@
//
// Preloader Styles //
//
body {
&:after {
content: '';
position: fixed;
top: 0;
left: 0;
z-index: 998;
background: white;
width: 100%;
height: 100%;
}
&.loaded {
&:after {
display: none;
}
}
}
.preloader {
position: fixed;
top: 0;
left: 0;
z-index: 999;
visibility: visible;
opacity: 1;
background: white;
width: 100%;
height: 100%;
text-align: center;
div {
position: absolute;
top: 50%;
left: 50%;
@include transform(translate(-50%,-50%));
}
}
.loaded {
.preloader {
visibility: hidden;
opacity: 0;
@include transition(ease-out 0.3s);
}
}
//
// Preloader 1 //
//
.preloader-1 {
div {
position: relative;
width: 70px;
height: 70px;
.loader-circular {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
transform-origin: center center;
width: 70px;
height: 70px;
margin: auto;
animation: loader-one-rotate 2s linear infinite;
}
.loader-path {
fill: none;
stroke: get-color("dark");
stroke-width: 2.5;
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
stroke-linecap: round;
stroke-miterlimit: 10;
animation: loader-one-dash 1.5s ease-in-out infinite;
}
}
}
//
// Preloader 1 - Color Options //
//
.preloader-dark {
.preloader-1 {
background: black;
div {
.loader-path {
stroke: white;
}
}
}
}
.preloader-blue {
.preloader-1 {
div {
.loader-path {
stroke: get-color("blue");
}
}
}
}
.preloader-purple {
.preloader-1 {
div {
.loader-path {
stroke: get-color("purple");
}
}
}
}
.preloader-pink-edge {
.preloader-1 {
div {
.loader-path {
stroke: get-color("pink-edge");
}
}
}
}
.preloader-golden-yellow {
.preloader-1 {
div {
.loader-path {
stroke: get-color("golden-yellow");
}
}
}
}
.preloader-very-peri {
.preloader-1 {
div {
.loader-path {
stroke: get-color("very-peri");
}
}
}
}
.preloader-turquoise {
.preloader-1 {
div {
.loader-path {
stroke: get-color("turquoise");
}
}
}
}
.preloader-spring-red {
.preloader-1 {
div {
.loader-path {
stroke: get-color("spring-red");
}
}
}
}
.preloader-tan {
.preloader-1 {
div {
.loader-path {
stroke: get-color("tan");
}
}
}
}
.preloader-aqua {
.preloader-1 {
div {
.loader-path {
stroke: get-color("aqua");
}
}
}
}
@keyframes loader-one-rotate {
100% { transform: rotate(360deg); }
}
@keyframes loader-one-dash {
0% {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -35px;
}
100% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -124px;
}
}
//
// Preloader 2 //
//
.preloader-2 {
div {
span {
display: inline-block;
opacity: 0.2;
background: black;
background: linear-gradient(to right, black 10%, transparent 40%);
width: 60px;
height: 60px;
border-radius: 50%;
@include animation(loader-two 0.6s infinite linear);
&:before, &:after {
content: '';
position: absolute;
top: 0;
left: 0;
}
&:before {
background: black;
width: 50%;
height: 50%;
border-radius: 100% 0 0 0;
}
&:after {
right: 0;
bottom: 0;
background: white;
width: 90%;
height: 90%;
margin: auto;
border-radius: 50%;
}
}
}
}
@keyframes loader-two {
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-webkit-keyframes loader-two {
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
//
// Preloader 2 - Color Options //
//
.preloader-dark {
.preloader-2 {
background: black;
div {
span {
background: white;
background: linear-gradient(to right, white 10%, transparent 40%);
&:before {
background: white;
}
&:after {
background: black;
}
}
}
}
}
.preloader-blue {
.preloader-2 {
div {
span {
background: get-color("blue");
background: linear-gradient(to right, get-color("blue") 10%, transparent 40%);
&:before {
background: get-color("blue");
}
}
}
}
}
.preloader-purple {
.preloader-2 {
div {
span {
background: get-color("purple");
background: linear-gradient(to right, get-color("purple") 10%, transparent 40%);
&:before {
background: get-color("purple");
}
}
}
}
}
.preloader-pink-edge {
.preloader-2 {
div {
span {
background: get-color("pink-edge");
background: linear-gradient(to right, get-color("pink-edge") 10%, transparent 40%);
&:before {
background: get-color("pink-edge");
}
}
}
}
}
.preloader-golden-yellow {
.preloader-2 {
div {
span {
background: get-color("golden-yellow");
background: linear-gradient(to right, get-color("golden-yellow") 10%, transparent 40%);
&:before {
background: get-color("golden-yellow");
}
}
}
}
}
.preloader-very-peri {
.preloader-2 {
div {
span {
background: get-color("very-peri");
background: linear-gradient(to right, get-color("very-peri") 10%, transparent 40%);
&:before {
background: get-color("very-peri");
}
}
}
}
}
.preloader-turquoise {
.preloader-2 {
div {
span {
background: get-color("turquoise");
background: linear-gradient(to right, get-color("turquoise") 10%, transparent 40%);
&:before {
background: get-color("turquoise");
}
}
}
}
}
.preloader-spring-red {
.preloader-2 {
div {
span {
background: get-color("spring-red");
background: linear-gradient(to right, get-color("spring-red") 10%, transparent 40%);
&:before {
background: get-color("spring-red");
}
}
}
}
}
.preloader-tan {
.preloader-2 {
div {
span {
background: get-color("tan");
background: linear-gradient(to right, get-color("tan") 10%, transparent 40%);
&:before {
background: get-color("tan");
}
}
}
}
}
.preloader-aqua {
.preloader-2 {
div {
span {
background: get-color("aqua");
background: linear-gradient(to right, get-color("aqua") 10%, transparent 40%);
&:before {
background: get-color("aqua");
}
}
}
}
}
//
// Preloader 3 //
//
.preloader-3 {
div {
width: 50px;
height: 50px;
span {
position: relative;
display: block;
&:before, &:after {
content: '';
position: absolute;
top: 0;
left: 0;
background: get-color("dark", 0.1);
width: 50px;
height: 50px;
border-radius: 50%;
}
&:before { @include animation(loader-three-bounceIn 1.2s infinite ease-in-out); }
&:after { @include animation(loader-three-bounceOut 1.2s infinite ease-in-out); }
}
}
}
@-webkit-keyframes loader-three-bounceIn {
0%, 100% { -webkit-transform: scale(0); }
50% { -webkit-transform: scale(1.0); }
}
@keyframes loader-three-bounceIn {
0%, 100% { -webkit-transform: scale(0); transform: scale(0); }
50% { -webkit-transform: scale(1.0); transform: scale(1.0); }
}
@-webkit-keyframes loader-three-bounceOut {
0%, 100% { -webkit-transform: scale(1.0); }
50% { -webkit-transform: scale(0); }
}
@keyframes loader-three-bounceOut {
0%, 100% { -webkit-transform: scale(1.0); transform: scale(1.0); }
50% { -webkit-transform: scale(0); transform: scale(0); }
}
//
// Preloader 3 - Color Options //
//
.preloader-dark {
.preloader-3 {
background: black;
div {
span {
&:before, &:after {
background: get-color("white", 0.2);
}
}
}
}
}
.preloader-blue {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("blue", 0.2);
}
}
}
}
}
.preloader-purple {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("purple", 0.2);
}
}
}
}
}
.preloader-pink-edge {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("pink-edge", 0.2);
}
}
}
}
}
.preloader-golden-yellow {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("golden-yellow", 0.2);
}
}
}
}
}
.preloader-very-peri {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("very-peri", 0.2);
}
}
}
}
}
.preloader-turquoise {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("turquoise", 0.2);
}
}
}
}
}
.preloader-spring-red {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("spring-red", 0.2);
}
}
}
}
}
.preloader-tan {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("tan", 0.2);
}
}
}
}
}
.preloader-aqua {
.preloader-3 {
div {
span {
&:before, &:after {
background: get-color("aqua", 0.2);
}
}
}
}
}

View File

@@ -0,0 +1,127 @@
//
// Sections Styles //
//
.section-xs {
padding: 50px 0;
&.bg-image {
.container, .container-fluid { padding: 50px 30px; }
}
}
.section-sm {
padding: 70px 0;
&.bg-image {
.container, .container-fluid { padding: 70px 30px; }
}
}
.section, .section-md {
padding: 100px 0;
&.bg-image {
.container, .container-fluid { padding: 100px 30px; }
}
}
.section-lg {
padding: 140px 0;
&.bg-image {
.container, .container-fluid { padding: 140px 30px; }
}
}
.section-xl {
padding: 180px 0;
&.bg-image {
.container, .container-fluid { padding: 180px 30px; }
}
}
.section-2xl {
padding: 220px 0;
&.bg-image {
.container, .container-fluid { padding: 220px 30px; }
}
}
@include breakpoint-less(sm) {
.section-xs {
padding: 30px 0;
&.bg-image {
.container, .container-fluid { padding: 30px 30px; }
}
}
.section-sm {
padding: 50px 0;
&.bg-image {
.container, .container-fluid { padding: 50px 30px; }
}
}
.section, .section-md {
padding: 80px 0;
&.bg-image {
.container, .container-fluid { padding: 80px 30px; }
}
}
.section-lg {
padding: 110px 0;
&.bg-image {
.container, .container-fluid { padding: 110px 30px; }
}
}
.section-xl {
padding: 140px 0;
&.bg-image {
.container, .container-fluid { padding: 140px 30px; }
}
}
.section-2xl {
padding: 170px 0;
&.bg-image {
.container, .container-fluid { padding: 170px 30px; }
}
}
}
@include breakpoint-less(xs) {
.section, .section-md {
padding: 70px 0;
&.bg-image {
.container, .container-fluid { padding: 70px 30px; }
}
}
.section-lg {
padding: 90px 0;
&.bg-image {
.container, .container-fluid { padding: 90px 30px; }
}
}
.section-xl {
padding: 120px 0;
&.bg-image {
.container, .container-fluid { padding: 120px 30px; }
}
}
.section-2xl {
padding: 150px 0;
&.bg-image {
.container, .container-fluid { padding: 150px 30px; }
}
}
}
.section-xs,
.section-sm,
.section, .section-md,
.section-lg,
.section-xl,
.section-2xl {
&.bg-image {
padding: 0;
}
}
.section-fullscreen {
width: 100%;
height: 100vh;
.bg-black,
[class*='bg-white'],
[class*='bg-gray'],
[class*='bg-dark'],
[class*='bg-gradient'],
[class*='bg-color'],
.container, .container-fluid {
height: 100%;
}
}

View File

@@ -0,0 +1,27 @@
/* Styles for tables */
figure.wp-block-table table {
border-collapse: collapse;
width: 100%;
margin-top: 1.25rem;
margin-bottom: 1.25rem;
thead {
background-color: #f8f9fa;
color: #000;
}
th, td {
border: 1px solid #dee2e6;
padding: 0.5rem;
text-align: left;
}
th {
background-color: #f1f3f5;
font-weight: bold;
}
tbody tr:nth-child(odd) {
background-color: #f9f9f9;
}
}