Skip to content

Instantly share code, notes, and snippets.

@nicothin
Created July 1, 2016 18:26
Show Gist options
  • Save nicothin/e0314d84c1407b6eb2fdebb0b6a0b4bb to your computer and use it in GitHub Desktop.
Save nicothin/e0314d84c1407b6eb2fdebb0b6a0b4bb to your computer and use it in GitHub Desktop.
// Для импорта в диспетчер подключений: @import './src/blocks/main-nav/main-nav.less';
.main-nav {
&__toggler {
position: absolute;
top: 10px;
right: 10px;
@media (min-width: @screen-xl) {
display: none;
}
}
&__list {
display: none;
@media (min-width: @screen-xl) {
display: block;
}
}
}
// Для импорта в диспетчер подключений: @import './src/blocks/page-header/page-header.less';
.page-header {
&__inner {
display: flex;
position: relative;
@media (min-width: @screen-xl) {
width: 1200px;
margin: auto;
}
}
&__logo {
width: 100%;
text-align: center;
@media (min-width: @screen-xl) {
width: 16.66%;
text-align: left;
}
}
&__nav {
@media (min-width: @screen-xl) {
width: 41.65%;
}
}
&__contacts {
display: none;
@media (min-width: @screen-xl) {
display: block;
width: 24.99%;
}
}
&__btn-wrapper {
display: none;
@media (min-width: @screen-xl) {
display: block;
width: 16.66%;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment