Skip to content

Instantly share code, notes, and snippets.

@trapex
Last active December 9, 2015 10:28
Show Gist options
  • Save trapex/9fc520536e5834d3f9d7 to your computer and use it in GitHub Desktop.
Save trapex/9fc520536e5834d3f9d7 to your computer and use it in GitHub Desktop.
bem
.b-nav
a.b-nav--catalog(href="#toys") Каталог
.b-nav--filters
.b-nav--filters--item(data-js-filter="universe")
.b-nav--filters--item(data-js-filter="category")
.b-nav--icon(data-js-universe-icon)
.b-nav {
position: relative;
width: 100%;
height: 50px;
padding-top: 24px;
&--catalog {
display: inline-block;
position: relative;
@include img_toys_catalog-bg;
@include retinaImage(295px, 90px);
padding-left: 35px;
line-height: 48px;
font-family: 'pfdindisplaypro-bold', arial;
font-size: 22px;
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
}
&--filters {
display: inline-block;
margin-left: 26px;
position: relative;
&--item {
display: inline-block;
position: relative;
margin-right: 40px;
cursor: pointer;
font-family: 'pfdindisplaypro-bold', arial;
color: $c-red;
font-size: 14px;
}
}
&--icon {
display: inline-block;
vertical-align: middle;
@include img_toys_universe-icon;
@include retinaImage(86px, 86px);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment