This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added native Neutrino UI in place of breeze
- Loading branch information
1 parent
be69921
commit da44243
Showing
21 changed files
with
473 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
require('@fortawesome/fontawesome-free/js/all.js'); | ||
import $ from 'jquery'; | ||
import slick from 'slick-carousel'; | ||
|
||
let $q = document.querySelector.bind(document), | ||
$$q = document.querySelectorAll.bind(document); | ||
|
||
document.addEventListener("DOMContentLoaded", function(){ | ||
if( $('.carousel-slides').length ){ | ||
var slickSettings = { dots: true, autoplay: true, autplaySpeed: 3000 }; | ||
$('.carousel-slides').slick({ | ||
autoplay: slickSettings.autoplay, | ||
autoplaySpeed: slickSettings.autoplaySpeed, | ||
arrows: false, | ||
dots: slickSettings.dots, | ||
appendDots: $q('.carousel-slides .hero-dots'), | ||
pauseOnHover: true | ||
}); | ||
} | ||
}); |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Body | ||
$body-bg: #f8fafc; | ||
|
||
// Typography | ||
$font-family-sans-serif: 'Nunito', sans-serif; | ||
$font-size-base: 0.9rem; | ||
$line-height-base: 1.6; | ||
|
||
// Colors | ||
$blue: #3490dc; | ||
$indigo: #6574cd; | ||
$purple: #9561e2; | ||
$pink: #f66d9b; | ||
$red: #e3342f; | ||
$orange: #f6993f; | ||
$yellow: #ffed4a; | ||
$green: #38c172; | ||
$teal: #4dc0b5; | ||
$cyan: #6cb2eb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Fonts | ||
@import url('https://fonts.googleapis.com/css?family=Nunito'); | ||
@import "~@fortawesome/fontawesome-free/scss/fontawesome"; | ||
@import '~@fortawesome/fontawesome-free/scss/brands'; | ||
@import '~@fortawesome/fontawesome-free/scss/regular'; | ||
|
||
// Variables | ||
@import 'variables'; | ||
|
||
// Bootstrap | ||
@import '~bootstrap/scss/bootstrap'; | ||
|
||
// Base - custom resets | ||
@import 'base'; | ||
|
||
// Globals | ||
@import 'neutrino/globals/globals'; | ||
|
||
// Components | ||
@import 'neutrino/components/buttons'; | ||
@import '~slick-carousel/slick/slick.scss'; | ||
|
||
// Block editor templates | ||
@import 'neutrino/blocks/carousel'; | ||
@import 'neutrino/blocks/columns'; | ||
@import 'neutrino/blocks/hero'; | ||
@import 'neutrino/blocks/testimonials'; | ||
@import 'neutrino/blocks/gallery'; | ||
@import 'neutrino/blocks/dividers'; | ||
|
||
// Partials | ||
@import 'neutrino/partials/header'; | ||
@import 'neutrino/partials/nav'; | ||
@import 'neutrino/partials/footer'; | ||
|
||
// Pages | ||
@import 'neutrino/pages/home'; | ||
@import 'neutrino/pages/about'; | ||
@import 'neutrino/pages/contact'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
.carousel{ | ||
position: relative; | ||
|
||
.dots{ | ||
position: absolute; | ||
bottom: 32px; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
z-index: 300; | ||
|
||
ul{ | ||
display: flex; | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
|
||
li{ | ||
margin: 0 4px; | ||
outline: none; | ||
} | ||
|
||
button{ | ||
appearance: none; | ||
border: 0; | ||
border-radius: 50%; | ||
width: 16px; | ||
height: 16px; | ||
background-color: #fff; | ||
text-index: -9999px; | ||
font-size: 0; | ||
content: ''; | ||
transition: background-color .25s ease; | ||
outline: none; | ||
|
||
&:hover{ | ||
background-color: #b5dbe3; | ||
} | ||
} | ||
|
||
li.slick-active{ | ||
button{ | ||
background-color: #33bfd4; | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
||
} | ||
|
||
.carousel-slides{ | ||
position: relative; | ||
|
||
.slide{ | ||
min-height: 10px !important; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
background-position: center center; | ||
position: relative; | ||
} | ||
|
||
.slide-content{ | ||
display: flex; | ||
background-color: rgba(#194F60, .55); | ||
position: absolute; | ||
right: 0; | ||
bottom: 0; | ||
top: 0; | ||
width: 50%; | ||
z-index: 1; | ||
|
||
.inner{ | ||
padding: 48px 0 24px 54px; | ||
|
||
h1, h2, h3, h4{ | ||
color: #fff; | ||
font-weight: 700; | ||
font-size: 3.5rem; | ||
line-height: 1.1; | ||
max-width: 460px; | ||
margin-bottom: 24px; | ||
} | ||
|
||
p{ | ||
max-width: 400px; | ||
font-size: 1.25rem; | ||
color: #fff; | ||
|
||
&:last-of-type{ | ||
margin-bottom: 0; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
@media( max-width: 960px ){ | ||
|
||
.carousel-slides .slide{ | ||
height: auto !important; | ||
padding: 24px 12px; | ||
} | ||
|
||
.carousel-slides .slide-content { | ||
right: auto; | ||
bottom: auto; | ||
top: auto; | ||
left: auto; | ||
width: 100%; | ||
position: static; | ||
|
||
.inner{ | ||
padding: 24px 12px; | ||
} | ||
} | ||
.carousel-slides .slide-content .inner { | ||
h1 { | ||
font-size: 2rem; | ||
} | ||
|
||
|
||
h3 *{ | ||
font-size: 1.35rem !important; | ||
line-height: 1.2; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.grid-block{ | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
position: relative; | ||
} | ||
|
||
.block-columns-row{ | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
position: relative; | ||
} | ||
|
||
.flex-col{ | ||
min-width: 200px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.divider-block{ | ||
padding: 24px 60px; | ||
background-color: #f3f3f3; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
position: relative; | ||
} | ||
|
||
.divider{ | ||
margin-bottom: 32px; | ||
|
||
&.center{ | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
&.left{ | ||
justify-content: start; | ||
align-items: center; | ||
} | ||
|
||
&.right{ | ||
justify-content: end; | ||
align-items: center; | ||
} | ||
} |
Oops, something went wrong.