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
gulp.task('common-js', function() { | |
return gulp.src([ | |
'app/libs/jquery/dist/jquery.min.js', | |
'app/libs/mmenu/js/jquery.mmenu.all.min.js', | |
'app/js/common.min.js', | |
]) | |
.pipe(concat('scripts.min.js')) | |
// .pipe(uglify()) // Минимизировать весь js (на выбор) | |
.pipe(gulp.dest('app/js')) |
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
$colors: $blue, $red, $accent | |
@for $i from 1 through length($colors) | |
.carousel-services .owl-item:nth-child(#{length($colors)}n+#{$i}), | |
.carousel-services-aside .owl-item:nth-child(#{length($colors)}n+#{$i}) | |
background-color: nth($colors, $i) |
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
$('.carousel-service-composition h3').each(function() { | |
var ths = $(this); | |
ths.html(ths.html().replace(/(\S+)\s*$/,'<span>$1</span>')); | |
}); |
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
<?php if ($page['docs']): ?>> | |
<div class="docs"> | |
<?php print render($page['docs']); ?> | |
</div> <!-- /#test --> | |
<?php endif; ?> |
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
.button | |
display: inline-block | |
border: none | |
color: #fff | |
text-decoration: none | |
background-color: $accent | |
padding: 15px 45px | |
font-size: 13px | |
text-transform: uppercase | |
font-weight: 600 |
OlderNewer