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
3 changed files with 201 additions and 398 deletions

View file

@ -45,10 +45,6 @@ select {
// Show the overflow in Edge.
input {
overflow: visible;
@if support-for(firefox, 29) {
// Firefox sets `line-height` using `!important` in the UA stylesheet.
line-height: normal;
}
}
// Correct the cursor style of increment and decrement buttons in Chrome.
@ -196,7 +192,6 @@ legend {
// Style guide: forms.base.label
label {
// Drupal-style form labels.
display: block;
font-weight: bold;
}

View file

@ -49,25 +49,3 @@ a:active,
a:hover {
outline-width: 0;
}
@media print {
// Underline all links.
:link,
:visited {
text-decoration: underline;
}
// Add visible URL after links.
a[href]::after {
content: ' (' attr(href) ')';
font-weight: normal;
font-size: $base-font-size;
text-decoration: none;
}
// Only display useful links.
a[href^='javascript:']::after,
a[href^='#']::after {
content: '';
}
}

View file

@ -21,13 +21,6 @@ abbr[title] {
// Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
text-decoration: underline;
text-decoration: underline dotted;
@media print {
// Add visible title after abbreviations.
&::after {
content: ' (' attr(title) ')';
}
}
}
// Bold