Skip to content

Commit

Permalink
modified docs.css to compensate for foundation css
Browse files Browse the repository at this point in the history
added css watch task to gulp
  • Loading branch information
laveesingh committed Mar 7, 2018
1 parent f83b2bb commit f230cfb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
19 changes: 17 additions & 2 deletions docs/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@ h3 {
height: 45px;
}
.slick-thumb li img {
width: 100%;
height: 100%;
filter: grayscale(100%);
}
.slick-thumb li img.slick-active img{
filter: grayscale(0%);
.slick-thumb li.slick-active img{
filter: grayscale(0%);
}
@media (max-width: 768px) {
h3 {
Expand All @@ -93,3 +95,16 @@ h3 {
.slick-vertical .slick-slide {
height: 180px;
}
.slick-arrow {
background-color: grey;
}
.button {
background-color: #00558B;
padding: 10px 20px;
margin: 0px 20px;
border: none;
color: white;
font-size: 20px;
border-radius: 5px;
min-height: 45px
}
5 changes: 4 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ gulp.task('sass', function () {
gulp.task('watch', ['copy', 'sass'], function () {
gulp.watch(['./docs/**/*.{scss,sass}'], ['sass']);
gulp.watch(['./docs/index.html'], ['copy']);
gulp.watch(['./docs/docs.css'], ['copy']);
gulp.watch(['./docs/slick.css'], ['copy']);
gulp.watch(['./docs/slick-theme.css'], ['copy']);
});

gulp.task('server', ['copy', 'sass'], function (callback) {
gulp.task('server', ['watch', 'copy', 'sass'], function (callback) {
var myConfig = require('./webpack.config');
myConfig.plugins = myConfig.plugins.concat(
new webpack.DefinePlugin({
Expand Down
2 changes: 1 addition & 1 deletion src/default-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ var defaultProps = {
}
};

export default defaultProps
export default defaultProps

0 comments on commit f230cfb

Please sign in to comment.