update gulpfile to make SASS default
This commit is contained in:
parent
1cd2fada7e
commit
ee4604de57
674
css/agency.css
674
css/agency.css
@ -5,78 +5,64 @@
|
|||||||
*/
|
*/
|
||||||
body {
|
body {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif; }
|
||||||
}
|
|
||||||
.text-primary {
|
.text-primary {
|
||||||
color: #fed136 !important;
|
color: #fed136 !important; }
|
||||||
}
|
|
||||||
p {
|
p {
|
||||||
line-height: 1.75;
|
line-height: 1.75; }
|
||||||
}
|
|
||||||
a {
|
a {
|
||||||
color: #fed136;
|
color: #fed136; }
|
||||||
}
|
a:hover, a:focus, a:active, a.active {
|
||||||
a:hover,
|
color: #fec503; }
|
||||||
a:focus,
|
|
||||||
a:active,
|
h1, h2, h3, h4, h5, h6 {
|
||||||
a.active {
|
|
||||||
color: #fec503;
|
|
||||||
}
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700; }
|
||||||
}
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #fed136;
|
background-color: #fed136;
|
||||||
border-color: #fed136;
|
border-color: #fed136;
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700; }
|
||||||
}
|
.btn-primary:focus, .btn-primary.focus {
|
||||||
.btn-primary:hover,
|
|
||||||
.btn-primary:focus,
|
|
||||||
.btn-primary:active,
|
|
||||||
.btn-primary.active,
|
|
||||||
.btn-primary:active:focus,
|
|
||||||
.open .dropdown-toggle.btn-primary {
|
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #fec503;
|
background-color: #fec503;
|
||||||
border-color: #f6bf01;
|
border-color: #b48b01; }
|
||||||
}
|
.btn-primary:hover {
|
||||||
.btn-primary:active,
|
color: white;
|
||||||
.btn-primary.active,
|
background-color: #fec503;
|
||||||
.open .dropdown-toggle.btn-primary {
|
border-color: #f6bf01; }
|
||||||
background-image: none;
|
.btn-primary:active, .btn-primary.active,
|
||||||
}
|
.open > .btn-primary.dropdown-toggle {
|
||||||
.btn-primary.disabled,
|
color: white;
|
||||||
.btn-primary[disabled],
|
background-color: #fec503;
|
||||||
fieldset[disabled] .btn-primary,
|
border-color: #f6bf01; }
|
||||||
.btn-primary.disabled:hover,
|
.btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus,
|
||||||
.btn-primary[disabled]:hover,
|
.open > .btn-primary.dropdown-toggle:hover,
|
||||||
fieldset[disabled] .btn-primary:hover,
|
.open > .btn-primary.dropdown-toggle:focus,
|
||||||
.btn-primary.disabled:focus,
|
.open > .btn-primary.dropdown-toggle.focus {
|
||||||
.btn-primary[disabled]:focus,
|
color: white;
|
||||||
fieldset[disabled] .btn-primary:focus,
|
background-color: #dcab01;
|
||||||
.btn-primary.disabled:active,
|
border-color: #b48b01; }
|
||||||
.btn-primary[disabled]:active,
|
.btn-primary:active, .btn-primary.active,
|
||||||
fieldset[disabled] .btn-primary:active,
|
.open > .btn-primary.dropdown-toggle {
|
||||||
.btn-primary.disabled.active,
|
background-image: none; }
|
||||||
.btn-primary[disabled].active,
|
.btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus,
|
||||||
fieldset[disabled] .btn-primary.active {
|
fieldset[disabled] .btn-primary:hover,
|
||||||
|
fieldset[disabled] .btn-primary:focus,
|
||||||
|
fieldset[disabled] .btn-primary.focus {
|
||||||
background-color: #fed136;
|
background-color: #fed136;
|
||||||
border-color: #fed136;
|
border-color: #fed136; }
|
||||||
}
|
.btn-primary .badge {
|
||||||
.btn-primary .badge {
|
|
||||||
color: #fed136;
|
color: #fed136;
|
||||||
background-color: white;
|
background-color: white; }
|
||||||
}
|
|
||||||
.btn-xl {
|
.btn-xl {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #fed136;
|
background-color: #fed136;
|
||||||
@ -86,84 +72,70 @@ fieldset[disabled] .btn-primary.active {
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
padding: 20px 40px;
|
padding: 20px 40px; }
|
||||||
}
|
.btn-xl:focus, .btn-xl.focus {
|
||||||
.btn-xl:hover,
|
|
||||||
.btn-xl:focus,
|
|
||||||
.btn-xl:active,
|
|
||||||
.btn-xl.active,
|
|
||||||
.btn-xl:active:focus,
|
|
||||||
.open .dropdown-toggle.btn-xl {
|
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #fec503;
|
background-color: #fec503;
|
||||||
border-color: #f6bf01;
|
border-color: #b48b01; }
|
||||||
}
|
.btn-xl:hover {
|
||||||
.btn-xl:active,
|
color: white;
|
||||||
.btn-xl.active,
|
background-color: #fec503;
|
||||||
.open .dropdown-toggle.btn-xl {
|
border-color: #f6bf01; }
|
||||||
background-image: none;
|
.btn-xl:active, .btn-xl.active,
|
||||||
}
|
.open > .btn-xl.dropdown-toggle {
|
||||||
.btn-xl.disabled,
|
color: white;
|
||||||
.btn-xl[disabled],
|
background-color: #fec503;
|
||||||
fieldset[disabled] .btn-xl,
|
border-color: #f6bf01; }
|
||||||
.btn-xl.disabled:hover,
|
.btn-xl:active:hover, .btn-xl:active:focus, .btn-xl:active.focus, .btn-xl.active:hover, .btn-xl.active:focus, .btn-xl.active.focus,
|
||||||
.btn-xl[disabled]:hover,
|
.open > .btn-xl.dropdown-toggle:hover,
|
||||||
fieldset[disabled] .btn-xl:hover,
|
.open > .btn-xl.dropdown-toggle:focus,
|
||||||
.btn-xl.disabled:focus,
|
.open > .btn-xl.dropdown-toggle.focus {
|
||||||
.btn-xl[disabled]:focus,
|
color: white;
|
||||||
fieldset[disabled] .btn-xl:focus,
|
background-color: #dcab01;
|
||||||
.btn-xl.disabled:active,
|
border-color: #b48b01; }
|
||||||
.btn-xl[disabled]:active,
|
.btn-xl:active, .btn-xl.active,
|
||||||
fieldset[disabled] .btn-xl:active,
|
.open > .btn-xl.dropdown-toggle {
|
||||||
.btn-xl.disabled.active,
|
background-image: none; }
|
||||||
.btn-xl[disabled].active,
|
.btn-xl.disabled:hover, .btn-xl.disabled:focus, .btn-xl.disabled.focus, .btn-xl[disabled]:hover, .btn-xl[disabled]:focus, .btn-xl[disabled].focus,
|
||||||
fieldset[disabled] .btn-xl.active {
|
fieldset[disabled] .btn-xl:hover,
|
||||||
|
fieldset[disabled] .btn-xl:focus,
|
||||||
|
fieldset[disabled] .btn-xl.focus {
|
||||||
background-color: #fed136;
|
background-color: #fed136;
|
||||||
border-color: #fed136;
|
border-color: #fed136; }
|
||||||
}
|
.btn-xl .badge {
|
||||||
.btn-xl .badge {
|
|
||||||
color: #fed136;
|
color: #fed136;
|
||||||
background-color: white;
|
background-color: white; }
|
||||||
}
|
|
||||||
#mainNav {
|
#mainNav {
|
||||||
background-color: #222222;
|
background-color: #222222; }
|
||||||
}
|
#mainNav .navbar-toggler {
|
||||||
#mainNav .navbar-toggler {
|
|
||||||
border: 0;
|
border: 0;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #fed136;
|
background-color: #fed136;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
text-transform: uppercase;
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
padding: 13px;
|
padding: 13px;
|
||||||
right: 0;
|
right: 0; }
|
||||||
}
|
#mainNav .container {
|
||||||
#mainNav .container {
|
padding: 0; }
|
||||||
padding: 0;
|
#mainNav .container .navbar-brand {
|
||||||
}
|
|
||||||
#mainNav .container .navbar-brand {
|
|
||||||
color: #fed136;
|
color: #fed136;
|
||||||
font-family: "Kaushan Script", "Helvetica Neue", Helvetica, Arial, cursive;
|
font-family: "Kaushan Script", "Helvetica Neue", Helvetica, Arial, cursive; }
|
||||||
}
|
#mainNav .container .navbar-brand:hover, #mainNav .container .navbar-brand:focus, #mainNav .container .navbar-brand:active, #mainNav .container .navbar-brand.active {
|
||||||
#mainNav .container .navbar-brand:hover,
|
color: #fec503; }
|
||||||
#mainNav .container .navbar-brand:focus,
|
#mainNav .container .navbar-nav .nav-item .nav-link {
|
||||||
#mainNav .container .navbar-brand:active,
|
|
||||||
#mainNav .container .navbar-brand.active {
|
|
||||||
color: #fec503;
|
|
||||||
}
|
|
||||||
#mainNav .container .navbar-nav .nav-item .nav-link {
|
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding: 0.75em 0;
|
padding: 0.75em 0;
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
color: white;
|
color: white; }
|
||||||
}
|
#mainNav .container .navbar-nav .nav-item .nav-link:hover, #mainNav .container .navbar-nav .nav-item .nav-link.active {
|
||||||
#mainNav .container .navbar-nav .nav-item .nav-link:hover,
|
color: #fed136; }
|
||||||
#mainNav .container .navbar-nav .nav-item .nav-link.active {
|
|
||||||
color: #fed136;
|
|
||||||
}
|
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
#mainNav {
|
#mainNav {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -171,28 +143,23 @@ fieldset[disabled] .btn-xl.active {
|
|||||||
-webkit-transition: padding 0.3s;
|
-webkit-transition: padding 0.3s;
|
||||||
-moz-transition: padding 0.3s;
|
-moz-transition: padding 0.3s;
|
||||||
transition: padding 0.3s;
|
transition: padding 0.3s;
|
||||||
border: none;
|
border: none; }
|
||||||
}
|
|
||||||
#mainNav .navbar-brand {
|
#mainNav .navbar-brand {
|
||||||
font-size: 1.75em;
|
font-size: 1.75em;
|
||||||
-webkit-transition: all 0.3s;
|
-webkit-transition: all 0.3s;
|
||||||
-moz-transition: all 0.3s;
|
-moz-transition: all 0.3s;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s; }
|
||||||
}
|
|
||||||
#mainNav .navbar-nav .nav-item .nav-link {
|
#mainNav .navbar-nav .nav-item .nav-link {
|
||||||
padding: 1.1em 1em !important;
|
padding: 1.1em 1em !important; }
|
||||||
}
|
|
||||||
#mainNav.navbar-shrink {
|
#mainNav.navbar-shrink {
|
||||||
background-color: #222222;
|
background-color: #222222;
|
||||||
padding: 0;
|
padding: 0; }
|
||||||
}
|
|
||||||
#mainNav.navbar-shrink .navbar-brand {
|
#mainNav.navbar-shrink .navbar-brand {
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
font-size: 1.25em;
|
font-size: 1.25em; } }
|
||||||
}
|
|
||||||
}
|
|
||||||
header {
|
header {
|
||||||
background-image: url('../img/header-bg.jpg');
|
background-image: url("../img/header-bg.jpg");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-attachment: scroll;
|
background-attachment: scroll;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
@ -201,97 +168,84 @@ header {
|
|||||||
background-size: cover;
|
background-size: cover;
|
||||||
-o-background-size: cover;
|
-o-background-size: cover;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
color: white; }
|
||||||
}
|
header .intro-text {
|
||||||
header .intro-text {
|
|
||||||
padding-top: 100px;
|
padding-top: 100px;
|
||||||
padding-bottom: 50px;
|
padding-bottom: 50px; }
|
||||||
}
|
header .intro-text .intro-lead-in {
|
||||||
header .intro-text .intro-lead-in {
|
|
||||||
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px; }
|
||||||
}
|
header .intro-text .intro-heading {
|
||||||
header .intro-text .intro-heading {
|
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 50px;
|
font-size: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px; }
|
||||||
}
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
header .intro-text {
|
header .intro-text {
|
||||||
padding-top: 300px;
|
padding-top: 300px;
|
||||||
padding-bottom: 200px;
|
padding-bottom: 200px; }
|
||||||
}
|
|
||||||
header .intro-text .intro-lead-in {
|
header .intro-text .intro-lead-in {
|
||||||
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px; }
|
||||||
}
|
|
||||||
header .intro-text .intro-heading {
|
header .intro-text .intro-heading {
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 75px;
|
font-size: 75px;
|
||||||
line-height: 75px;
|
line-height: 75px;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px; } }
|
||||||
}
|
|
||||||
}
|
|
||||||
section {
|
section {
|
||||||
padding: 100px 0;
|
padding: 100px 0; }
|
||||||
}
|
section h2.section-heading {
|
||||||
section h2.section-heading {
|
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px; }
|
||||||
}
|
section h3.section-subheading {
|
||||||
section h3.section-subheading {
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
margin-bottom: 75px;
|
margin-bottom: 75px; }
|
||||||
}
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
section {
|
section {
|
||||||
padding: 150px 0;
|
padding: 150px 0; } }
|
||||||
}
|
|
||||||
}
|
|
||||||
.service-heading {
|
.service-heading {
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
text-transform: none;
|
text-transform: none; }
|
||||||
}
|
|
||||||
#portfolio .portfolio-item {
|
#portfolio .portfolio-item {
|
||||||
margin: 0 0 15px;
|
margin: 0 0 15px;
|
||||||
right: 0;
|
right: 0; }
|
||||||
}
|
#portfolio .portfolio-item .portfolio-link {
|
||||||
#portfolio .portfolio-item .portfolio-link {
|
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
margin: 0 auto;
|
margin: 0 auto; }
|
||||||
}
|
#portfolio .portfolio-item .portfolio-link .portfolio-hover {
|
||||||
#portfolio .portfolio-item .portfolio-link .portfolio-hover {
|
background: rgba(254, 209, 54, 0.1);
|
||||||
background: rgba(254, 209, 54, 0.9);
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: all ease 0.5s;
|
transition: all ease 0.5s;
|
||||||
-webkit-transition: all ease 0.5s;
|
-webkit-transition: all ease 0.5s;
|
||||||
-moz-transition: all ease 0.5s;
|
-moz-transition: all ease 0.5s; }
|
||||||
}
|
#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
|
||||||
#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
|
opacity: 1; }
|
||||||
opacity: 1;
|
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
|
||||||
}
|
|
||||||
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
@ -299,46 +253,39 @@ section h3.section-subheading {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
margin-top: -12px;
|
margin-top: -12px;
|
||||||
color: white;
|
color: white; }
|
||||||
}
|
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
|
||||||
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
|
margin-top: -12px; }
|
||||||
margin-top: -12px;
|
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
|
||||||
}
|
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
|
||||||
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
|
margin: 0; }
|
||||||
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
|
#portfolio .portfolio-item .portfolio-caption {
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
#portfolio .portfolio-item .portfolio-caption {
|
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 25px;
|
padding: 25px; }
|
||||||
}
|
#portfolio .portfolio-item .portfolio-caption h4 {
|
||||||
#portfolio .portfolio-item .portfolio-caption h4 {
|
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
margin: 0;
|
margin: 0; }
|
||||||
}
|
#portfolio .portfolio-item .portfolio-caption p {
|
||||||
#portfolio .portfolio-item .portfolio-caption p {
|
|
||||||
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin: 0;
|
margin: 0; }
|
||||||
}
|
|
||||||
#portfolio * {
|
#portfolio * {
|
||||||
z-index: 2;
|
z-index: 2; }
|
||||||
}
|
|
||||||
@media (min-width: 767px) {
|
@media (min-width: 767px) {
|
||||||
#portfolio .portfolio-item {
|
#portfolio .portfolio-item {
|
||||||
margin: 0 0 30px;
|
margin: 0 0 30px; } }
|
||||||
}
|
|
||||||
}
|
|
||||||
.timeline {
|
.timeline {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative; }
|
||||||
}
|
.timeline:before {
|
||||||
.timeline:before {
|
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -346,41 +293,33 @@ section h3.section-subheading {
|
|||||||
width: 2px;
|
width: 2px;
|
||||||
background-color: #f1f1f1;
|
background-color: #f1f1f1;
|
||||||
left: 40px;
|
left: 40px;
|
||||||
margin-left: -1.5px;
|
margin-left: -1.5px; }
|
||||||
}
|
.timeline > li {
|
||||||
.timeline > li {
|
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 50px;
|
min-height: 50px; }
|
||||||
}
|
.timeline > li:before, .timeline > li:after {
|
||||||
.timeline > li:before,
|
|
||||||
.timeline > li:after {
|
|
||||||
content: " ";
|
content: " ";
|
||||||
display: table;
|
display: table; }
|
||||||
}
|
.timeline > li:after {
|
||||||
.timeline > li:after {
|
clear: both; }
|
||||||
clear: both;
|
.timeline > li .timeline-panel {
|
||||||
}
|
|
||||||
.timeline > li .timeline-panel {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: right;
|
float: right;
|
||||||
padding: 0 20px 0 100px;
|
padding: 0 20px 0 100px;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: left;
|
text-align: left; }
|
||||||
}
|
.timeline > li .timeline-panel:before {
|
||||||
.timeline > li .timeline-panel:before {
|
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 15px;
|
border-right-width: 15px;
|
||||||
left: -15px;
|
left: -15px;
|
||||||
right: auto;
|
right: auto; }
|
||||||
}
|
.timeline > li .timeline-panel:after {
|
||||||
.timeline > li .timeline-panel:after {
|
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 14px;
|
border-right-width: 14px;
|
||||||
left: -14px;
|
left: -14px;
|
||||||
right: auto;
|
right: auto; }
|
||||||
}
|
.timeline > li .timeline-image {
|
||||||
.timeline > li .timeline-image {
|
|
||||||
left: 0;
|
left: 0;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
@ -391,213 +330,172 @@ section h3.section-subheading {
|
|||||||
color: white;
|
color: white;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
border: 7px solid #f1f1f1;
|
border: 7px solid #f1f1f1;
|
||||||
text-align: center;
|
text-align: center; }
|
||||||
}
|
.timeline > li .timeline-image h4 {
|
||||||
.timeline > li .timeline-image h4 {
|
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
line-height: 14px;
|
line-height: 14px; }
|
||||||
}
|
.timeline > li.timeline-inverted > .timeline-panel {
|
||||||
.timeline > li.timeline-inverted > .timeline-panel {
|
|
||||||
float: right;
|
float: right;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 0 20px 0 100px;
|
padding: 0 20px 0 100px; }
|
||||||
}
|
.timeline > li.timeline-inverted > .timeline-panel:before {
|
||||||
.timeline > li.timeline-inverted > .timeline-panel:before {
|
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 15px;
|
border-right-width: 15px;
|
||||||
left: -15px;
|
left: -15px;
|
||||||
right: auto;
|
right: auto; }
|
||||||
}
|
.timeline > li.timeline-inverted > .timeline-panel:after {
|
||||||
.timeline > li.timeline-inverted > .timeline-panel:after {
|
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 14px;
|
border-right-width: 14px;
|
||||||
left: -14px;
|
left: -14px;
|
||||||
right: auto;
|
right: auto; }
|
||||||
}
|
.timeline > li:last-child {
|
||||||
.timeline > li:last-child {
|
margin-bottom: 0; }
|
||||||
margin-bottom: 0;
|
.timeline .timeline-heading h4 {
|
||||||
}
|
|
||||||
.timeline .timeline-heading h4 {
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
color: inherit;
|
color: inherit; }
|
||||||
}
|
.timeline .timeline-heading h4.subheading {
|
||||||
.timeline .timeline-heading h4.subheading {
|
text-transform: none; }
|
||||||
text-transform: none;
|
.timeline .timeline-body > p,
|
||||||
}
|
.timeline .timeline-body > ul {
|
||||||
.timeline .timeline-body > p,
|
margin-bottom: 0; }
|
||||||
.timeline .timeline-body > ul {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.timeline:before {
|
.timeline:before {
|
||||||
left: 50%;
|
left: 50%; }
|
||||||
}
|
|
||||||
.timeline > li {
|
.timeline > li {
|
||||||
margin-bottom: 100px;
|
margin-bottom: 100px;
|
||||||
min-height: 100px;
|
min-height: 100px; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-panel {
|
.timeline > li .timeline-panel {
|
||||||
width: 41%;
|
width: 41%;
|
||||||
float: left;
|
float: left;
|
||||||
padding: 0 20px 20px 30px;
|
padding: 0 20px 20px 30px;
|
||||||
text-align: right;
|
text-align: right; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-image {
|
.timeline > li .timeline-image {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -50px;
|
margin-left: -50px; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-image h4 {
|
.timeline > li .timeline-image h4 {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
line-height: 18px;
|
line-height: 18px; }
|
||||||
}
|
|
||||||
.timeline > li.timeline-inverted > .timeline-panel {
|
.timeline > li.timeline-inverted > .timeline-panel {
|
||||||
float: right;
|
float: right;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 0 30px 20px 20px;
|
padding: 0 30px 20px 20px; } }
|
||||||
}
|
|
||||||
}
|
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.timeline > li {
|
.timeline > li {
|
||||||
min-height: 150px;
|
min-height: 150px; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-panel {
|
.timeline > li .timeline-panel {
|
||||||
padding: 0 20px 20px;
|
padding: 0 20px 20px; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-image {
|
.timeline > li .timeline-image {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
margin-left: -75px;
|
margin-left: -75px; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-image h4 {
|
.timeline > li .timeline-image h4 {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
line-height: 26px;
|
line-height: 26px; }
|
||||||
}
|
|
||||||
.timeline > li.timeline-inverted > .timeline-panel {
|
.timeline > li.timeline-inverted > .timeline-panel {
|
||||||
padding: 0 20px 20px;
|
padding: 0 20px 20px; } }
|
||||||
}
|
|
||||||
}
|
|
||||||
@media (min-width: 1200px) {
|
@media (min-width: 1200px) {
|
||||||
.timeline > li {
|
.timeline > li {
|
||||||
min-height: 170px;
|
min-height: 170px; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-panel {
|
.timeline > li .timeline-panel {
|
||||||
padding: 0 20px 20px 100px;
|
padding: 0 20px 20px 100px; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-image {
|
.timeline > li .timeline-image {
|
||||||
width: 170px;
|
width: 170px;
|
||||||
height: 170px;
|
height: 170px;
|
||||||
margin-left: -85px;
|
margin-left: -85px; }
|
||||||
}
|
|
||||||
.timeline > li .timeline-image h4 {
|
.timeline > li .timeline-image h4 {
|
||||||
margin-top: 40px;
|
margin-top: 40px; }
|
||||||
}
|
|
||||||
.timeline > li.timeline-inverted > .timeline-panel {
|
.timeline > li.timeline-inverted > .timeline-panel {
|
||||||
padding: 0 100px 20px 20px;
|
padding: 0 100px 20px 20px; } }
|
||||||
}
|
|
||||||
}
|
|
||||||
.team-member {
|
.team-member {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px; }
|
||||||
}
|
.team-member img {
|
||||||
.team-member img {
|
|
||||||
height: 225px;
|
height: 225px;
|
||||||
width: 225px;
|
width: 225px;
|
||||||
border: 7px solid white;
|
border: 7px solid white; }
|
||||||
}
|
.team-member h4 {
|
||||||
.team-member h4 {
|
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
text-transform: none;
|
text-transform: none; }
|
||||||
}
|
.team-member p {
|
||||||
.team-member p {
|
margin-top: 0; }
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
aside.clients img {
|
aside.clients img {
|
||||||
margin: 50px auto;
|
margin: 50px auto; }
|
||||||
}
|
|
||||||
section#contact {
|
section#contact {
|
||||||
background-color: #222222;
|
background-color: #222222;
|
||||||
background-image: url('../img/map-image.png');
|
background-image: url("../img/map-image.png");
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat; }
|
||||||
}
|
section#contact .section-heading {
|
||||||
section#contact .section-heading {
|
color: white; }
|
||||||
color: white;
|
section#contact .form-group {
|
||||||
}
|
margin-bottom: 25px; }
|
||||||
section#contact .form-group {
|
section#contact .form-group input,
|
||||||
margin-bottom: 25px;
|
section#contact .form-group textarea {
|
||||||
}
|
padding: 20px; }
|
||||||
section#contact .form-group input,
|
section#contact .form-group input.form-control {
|
||||||
section#contact .form-group textarea {
|
height: auto; }
|
||||||
padding: 20px;
|
section#contact .form-group textarea.form-control {
|
||||||
}
|
height: 236px; }
|
||||||
section#contact .form-group input.form-control {
|
section#contact .form-control:focus {
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
section#contact .form-group textarea.form-control {
|
|
||||||
height: 236px;
|
|
||||||
}
|
|
||||||
section#contact .form-control:focus {
|
|
||||||
border-color: #fed136;
|
border-color: #fed136;
|
||||||
box-shadow: none;
|
box-shadow: none; }
|
||||||
}
|
section#contact ::-webkit-input-placeholder {
|
||||||
section#contact ::-webkit-input-placeholder {
|
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #eeeeee;
|
color: #eeeeee; }
|
||||||
}
|
section#contact :-moz-placeholder {
|
||||||
section#contact :-moz-placeholder {
|
|
||||||
/* Firefox 18- */
|
/* Firefox 18- */
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #eeeeee;
|
color: #eeeeee; }
|
||||||
}
|
section#contact ::-moz-placeholder {
|
||||||
section#contact ::-moz-placeholder {
|
|
||||||
/* Firefox 19+ */
|
/* Firefox 19+ */
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #eeeeee;
|
color: #eeeeee; }
|
||||||
}
|
section#contact :-ms-input-placeholder {
|
||||||
section#contact :-ms-input-placeholder {
|
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #eeeeee;
|
color: #eeeeee; }
|
||||||
}
|
section#contact .text-danger {
|
||||||
section#contact .text-danger {
|
color: #e74c3c; }
|
||||||
color: #e74c3c;
|
|
||||||
}
|
|
||||||
footer {
|
footer {
|
||||||
padding: 25px 0;
|
padding: 25px 0;
|
||||||
text-align: center;
|
text-align: center; }
|
||||||
}
|
footer span.copyright {
|
||||||
footer span.copyright {
|
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-transform: none;
|
text-transform: none; }
|
||||||
}
|
footer ul.quicklinks {
|
||||||
footer ul.quicklinks {
|
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-transform: none;
|
text-transform: none; }
|
||||||
}
|
|
||||||
ul.social-buttons {
|
ul.social-buttons {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0; }
|
||||||
}
|
ul.social-buttons li a {
|
||||||
ul.social-buttons li a {
|
|
||||||
display: block;
|
display: block;
|
||||||
background-color: #222222;
|
background-color: #222222;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
@ -609,24 +507,21 @@ ul.social-buttons li a {
|
|||||||
outline: none;
|
outline: none;
|
||||||
-webkit-transition: all 0.3s;
|
-webkit-transition: all 0.3s;
|
||||||
-moz-transition: all 0.3s;
|
-moz-transition: all 0.3s;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s; }
|
||||||
}
|
ul.social-buttons li a:hover, ul.social-buttons li a:focus, ul.social-buttons li a:active {
|
||||||
ul.social-buttons li a:hover,
|
background-color: #fed136; }
|
||||||
ul.social-buttons li a:focus,
|
|
||||||
ul.social-buttons li a:active {
|
|
||||||
background-color: #fed136;
|
|
||||||
}
|
|
||||||
.btn:focus,
|
.btn:focus,
|
||||||
.btn:active,
|
.btn:active,
|
||||||
.btn.active,
|
.btn.active,
|
||||||
.btn:active:focus {
|
.btn:active:focus {
|
||||||
outline: none;
|
outline: none; }
|
||||||
}
|
|
||||||
.portfolio-modal .modal-dialog {
|
.portfolio-modal .modal-dialog {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: none;
|
max-width: none; }
|
||||||
}
|
|
||||||
.portfolio-modal .modal-content {
|
.portfolio-modal .modal-content {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-clip: border-box;
|
background-clip: border-box;
|
||||||
@ -635,28 +530,23 @@ ul.social-buttons li a:active {
|
|||||||
border: none;
|
border: none;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
padding: 100px 0;
|
padding: 100px 0;
|
||||||
text-align: center;
|
text-align: center; }
|
||||||
}
|
.portfolio-modal .modal-content h2 {
|
||||||
.portfolio-modal .modal-content h2 {
|
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
font-size: 3em;
|
font-size: 3em; }
|
||||||
}
|
.portfolio-modal .modal-content p {
|
||||||
.portfolio-modal .modal-content p {
|
margin-bottom: 30px; }
|
||||||
margin-bottom: 30px;
|
.portfolio-modal .modal-content p.item-intro {
|
||||||
}
|
|
||||||
.portfolio-modal .modal-content p.item-intro {
|
|
||||||
margin: 20px 0 30px;
|
margin: 20px 0 30px;
|
||||||
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-size: 16px;
|
font-size: 16px; }
|
||||||
}
|
.portfolio-modal .modal-content ul.list-inline {
|
||||||
.portfolio-modal .modal-content ul.list-inline {
|
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
margin-top: 0;
|
margin-top: 0; }
|
||||||
}
|
.portfolio-modal .modal-content img {
|
||||||
.portfolio-modal .modal-content img {
|
margin-bottom: 30px; }
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
|
||||||
.portfolio-modal .close-modal {
|
.portfolio-modal .close-modal {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 75px;
|
width: 75px;
|
||||||
@ -664,12 +554,10 @@ ul.social-buttons li a:active {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
top: 25px;
|
top: 25px;
|
||||||
right: 25px;
|
right: 25px;
|
||||||
cursor: pointer;
|
cursor: pointer; }
|
||||||
}
|
.portfolio-modal .close-modal:hover {
|
||||||
.portfolio-modal .close-modal:hover {
|
opacity: 0.3; }
|
||||||
opacity: 0.3;
|
.portfolio-modal .close-modal .lr {
|
||||||
}
|
|
||||||
.portfolio-modal .close-modal .lr {
|
|
||||||
height: 75px;
|
height: 75px;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
margin-left: 35px;
|
margin-left: 35px;
|
||||||
@ -679,9 +567,8 @@ ul.social-buttons li a:active {
|
|||||||
/* IE 9 */
|
/* IE 9 */
|
||||||
-webkit-transform: rotate(45deg);
|
-webkit-transform: rotate(45deg);
|
||||||
/* Safari and Chrome */
|
/* Safari and Chrome */
|
||||||
z-index: 1051;
|
z-index: 1051; }
|
||||||
}
|
.portfolio-modal .close-modal .lr .rl {
|
||||||
.portfolio-modal .close-modal .lr .rl {
|
|
||||||
height: 75px;
|
height: 75px;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
background-color: #222222;
|
background-color: #222222;
|
||||||
@ -690,26 +577,25 @@ ul.social-buttons li a:active {
|
|||||||
/* IE 9 */
|
/* IE 9 */
|
||||||
-webkit-transform: rotate(90deg);
|
-webkit-transform: rotate(90deg);
|
||||||
/* Safari and Chrome */
|
/* Safari and Chrome */
|
||||||
z-index: 1052;
|
z-index: 1052; }
|
||||||
}
|
|
||||||
.portfolio-modal .modal-backdrop {
|
.portfolio-modal .modal-backdrop {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
display: none;
|
display: none; }
|
||||||
}
|
|
||||||
::-moz-selection {
|
::-moz-selection {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
background: #fed136;
|
background: #fed136; }
|
||||||
}
|
|
||||||
::selection {
|
::selection {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
background: #fed136;
|
background: #fed136; }
|
||||||
}
|
|
||||||
img::selection {
|
img::selection {
|
||||||
background: transparent;
|
background: transparent; }
|
||||||
}
|
|
||||||
img::-moz-selection {
|
img::-moz-selection {
|
||||||
background: transparent;
|
background: transparent; }
|
||||||
}
|
|
||||||
body {
|
body {
|
||||||
webkit-tap-highlight-color: #fed136;
|
webkit-tap-highlight-color: #fed136; }
|
||||||
}
|
|
||||||
|
2
css/agency.min.css
vendored
2
css/agency.min.css
vendored
File diff suppressed because one or more lines are too long
25
gulpfile.js
25
gulpfile.js
@ -17,10 +17,10 @@ var banner = ['/*!\n',
|
|||||||
''
|
''
|
||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
// Compile LESS files from /less into /css
|
// Compiles SCSS files from /scss into /css
|
||||||
gulp.task('less', function() {
|
gulp.task('sass', function() {
|
||||||
return gulp.src('less/agency.less')
|
return gulp.src('scss/agency.scss')
|
||||||
.pipe(less())
|
.pipe(sass())
|
||||||
.pipe(header(banner, { pkg: pkg }))
|
.pipe(header(banner, { pkg: pkg }))
|
||||||
.pipe(gulp.dest('css'))
|
.pipe(gulp.dest('css'))
|
||||||
.pipe(browserSync.reload({
|
.pipe(browserSync.reload({
|
||||||
@ -29,7 +29,7 @@ gulp.task('less', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Minify compiled CSS
|
// Minify compiled CSS
|
||||||
gulp.task('minify-css', ['less'], function() {
|
gulp.task('minify-css', ['sass'], function() {
|
||||||
return gulp.src('css/agency.css')
|
return gulp.src('css/agency.css')
|
||||||
.pipe(cleanCSS({ compatibility: 'ie8' }))
|
.pipe(cleanCSS({ compatibility: 'ie8' }))
|
||||||
.pipe(rename({ suffix: '.min' }))
|
.pipe(rename({ suffix: '.min' }))
|
||||||
@ -74,7 +74,7 @@ gulp.task('copy', function() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Run everything
|
// Run everything
|
||||||
gulp.task('default', ['less', 'minify-css', 'minify-js', 'copy']);
|
gulp.task('default', ['sass', 'minify-css', 'minify-js', 'copy']);
|
||||||
|
|
||||||
// Configure the browserSync task
|
// Configure the browserSync task
|
||||||
gulp.task('browserSync', function() {
|
gulp.task('browserSync', function() {
|
||||||
@ -86,8 +86,8 @@ gulp.task('browserSync', function() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Dev task with browserSync
|
// Dev task with browserSync
|
||||||
gulp.task('dev', ['browserSync', 'less', 'minify-css', 'minify-js'], function() {
|
gulp.task('dev', ['browserSync', 'sass', 'minify-css', 'minify-js'], function() {
|
||||||
gulp.watch('less/*.less', ['less']);
|
gulp.watch('scss/*.scss', ['sass']);
|
||||||
gulp.watch('css/*.css', ['minify-css']);
|
gulp.watch('css/*.css', ['minify-css']);
|
||||||
gulp.watch('js/*.js', ['minify-js']);
|
gulp.watch('js/*.js', ['minify-js']);
|
||||||
// Reloads the browser whenever HTML or JS files change
|
// Reloads the browser whenever HTML or JS files change
|
||||||
@ -95,11 +95,10 @@ gulp.task('dev', ['browserSync', 'less', 'minify-css', 'minify-js'], function()
|
|||||||
gulp.watch('js/**/*.js', browserSync.reload);
|
gulp.watch('js/**/*.js', browserSync.reload);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Compiles SCSS files from /scss into /css
|
// OPTIONAL: LESS task if you prefer to use LESS over SASS
|
||||||
// NOTE: This theme uses LESS by default. To swtich to SCSS you will need to update this gulpfile by changing the 'less' tasks to run 'sass'!
|
gulp.task('less', function() {
|
||||||
gulp.task('sass', function() {
|
return gulp.src('less/agency.less')
|
||||||
return gulp.src('scss/agency.scss')
|
.pipe(less())
|
||||||
.pipe(sass())
|
|
||||||
.pipe(header(banner, { pkg: pkg }))
|
.pipe(header(banner, { pkg: pkg }))
|
||||||
.pipe(gulp.dest('css'))
|
.pipe(gulp.dest('css'))
|
||||||
.pipe(browserSync.reload({
|
.pipe(browserSync.reload({
|
||||||
|
Loading…
Reference in New Issue
Block a user