View function 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
$('.carousel-service-composition h3').each(function() { | |
var ths = $(this); | |
ths.html(ths.html().replace(/(\S+)\s*$/,'<span>$1</span>')); | |
}); |
View main.sass
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) |
View gist:ef6bf400ff12f8f0270180a92c70089e
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 |
View Gulp
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')) |
View gist:dd0b9da467d8cd90bc15
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; ?> |
View gist:c347d56e1bef71e86c7d
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
div.warning, .warning { | |
color: #840; | |
margin-top: 50px; | |
} | |
.messages.status { | |
margin: -33px 0 7px; | |
margin-top: 50px; | |
} |
View gist:df203fe6c4b85599313f
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
@import url(reset.css); | |
@import url(media.css); | |
@import url(menu.css); |
View gist:605c9cf4075cf860f328
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
html body #page-pages-wrapper { | |
background: url(../images/background/bg2.jpg) no-repeat center center; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
height: 100%; | |
width: 100%; | |
} |
View gist:fa81328ea90677e83df5
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
.logo img{ | |
margin-left: 5px; | |
-webkit-transition:-webkit-transform .9s; | |
-moz-transition:-moz-transform .9s; | |
-o-transition:-o-transform .9s; | |
-ms-transition:-ms-transform .9s; | |
transition:transform .9s; | |
} |
View gist:dc4916e65b7ba66cfccc
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
.views_slideshow_cycle_main { | |
width: 100%; | |
} | |
.views_slideshow_cycle_main .views-slideshow-cycle-main-frame { | |
width: 100% !important; | |
height: auto; | |
} | |
.views_slideshow_cycle_main .views-slideshow-cycle-main-frame-row { | |
width: 100% !important; |
NewerOlder