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
block vcard { | |
tag: 'span' | |
this.elem { | |
tag: 'span' | |
cls: this.ctx.elem == 'fn' ? this.ctx.elem + ' org' : this.ctx.elem | |
} | |
} |
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
body { | |
font: 0.8em Arial, Helvetica, sans-serif; | |
color: #000; | |
} | |
.popup { | |
position: absolute; | |
z-index: 32700; | |
padding: 1px; |
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
[ | |
{ thumb: 'name_of_thumb_photo'}, | |
{ main: 'name_of_main_photo' }, | |
{ extra: ['photo_1', 'photo_2', 'photo_3'] }, | |
{ colors: [ | |
{ | |
green: ['photo_1', 'photo_2', 'photo_3'], | |
gray: ['photo_1', 'photo_2', 'photo_3'], | |
another_color: ['photo_1', 'photo_2', 'photo_3'] | |
} |
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
block index-promo-carousel { | |
elem title { | |
mix: [ { block: 'i-font', mods: { face: 'hermes' } } ] | |
} | |
elem 'photo' { | |
tag: 'img', | |
attrs: { |
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
/** @requires BEM */ | |
/** @requires BEM.DOM */ | |
(function (undefined) { | |
BEM.DOM.decl('i-promo-carousel', { | |
onSetMod: { |
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
({ | |
block: 'b-page', | |
mods: { page: 'index' }, | |
title: 'Title of the page', | |
favicon: '/favicon.ico', | |
head: [ | |
{ elem: 'css', url: '_index.css', ie: false }, | |
{ elem: 'css', url: '_index', ie: true }, | |
{ block: 'i-jquery', elem: 'core'}, | |
{ elem: 'js', url: '_index.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
{% for menuItem in data %} | |
<tr class="site-sections-table__tr"> | |
{# Контрол порядка #} | |
<td class="site-sections-table__td site-sections-table__td_section_order"> | |
<div class="order-control"></div> | |
</td> |
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
({ | |
block: 'b-page', | |
title: 'testpage', | |
head: [ | |
{ elem: 'css', url: '_testpage.css', ie: false}, | |
{ elem: 'css', url: '_testpage', ie: true }, | |
{ block: 'i-jquery', elem: 'core'}, | |
{ elem: 'js', url: '_testpage.js'}, | |
], | |
content: [ |