Replace zen grids with css grid. Move print styles print style file. Remove Drupal specific styles.

This commit is contained in:
Fredrik Jonsson 2017-07-16 13:55:22 +02:00
commit 265a50cda5
6 changed files with 201 additions and 398 deletions

View file

@ -11,10 +11,6 @@
.breadcrumb,
%breadcrumb {
@media print {
display: none;
}
&__title {
@extend %visually-hidden;
}

View file

@ -1,6 +1,6 @@
// "More" link
//
// Styles the "Read more…" and "Help" links common in Drupal.
// Styles the "Read more…" and "Help" links common on the web.
//
// Markup: more-link.twig
//
@ -26,15 +26,3 @@
}
}
}
//
// Drupal selectors.
//
.more-help-link {
@extend %more-link;
a {
@extend %more-link__help-icon;
}
}

View file

@ -38,24 +38,3 @@
}
}
}
//
// Drupal selectors.
//
.menu__item {
@extend %nav-menu__item;
&.is-expanded {
@extend %nav-menu__item--is-expanded;
}
&.is-collapsed {
@extend %nav-menu__item--is-collapsed;
}
}
// The active item in a Drupal menu.
.menu a.active {
@extend %nav-menu__link--is-active;
}

View file

@ -32,21 +32,3 @@
}
}
}
//
// Drupal selectors.
//
.main-navigation {
// Hide the block titles put into the main-navigation area of the page.tpl.php.
.block-menu .block__title,
.block-menu-block .block__title {
@extend %visually-hidden;
}
// Main menu and secondary menu links and menu block links.
.links,
.menu {
@extend %navbar;
}
}

View file

@ -13,10 +13,6 @@
padding: 0;
text-align: center;
@media print {
display: none;
}
// A page item in the pager list.
&__item {
display: inline;
@ -33,7 +29,7 @@
}
//
// Drupal selectors.
// Zen selectors.
//
// .pager-item - A list item containing a page number in the list of pages.

View file

@ -23,9 +23,5 @@
&__wrapper {
margin: 0;
@media print {
display: none;
}
}
}