First commit.
This commit is contained in:
commit
b7977e1c28
2 changed files with 28081 additions and 0 deletions
25
sass/components/highlight-mark/_highlight-mark.scss
Normal file
25
sass/components/highlight-mark/_highlight-mark.scss
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// Highlight mark
|
||||
//
|
||||
// The "new" or "updated" marker. This is a very thin component. A front-end
|
||||
// developer may choose to delete this component and just style the `<mark>`
|
||||
// element directly.
|
||||
//
|
||||
// Markup: highlight-mark.twig
|
||||
//
|
||||
// Style guide: components.highlight-mark
|
||||
|
||||
.highlight-mark,
|
||||
%highlight-mark {
|
||||
color: color(mark-highlight);
|
||||
// Remove background highlighting from <mark> in normalize.
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
//
|
||||
// Drupal selectors. (In case a module doesn't use theme_mark().)
|
||||
//
|
||||
|
||||
.new,
|
||||
.update {
|
||||
@extend %highlight-mark;
|
||||
}
|
||||
1
sass/components/highlight-mark/highlight-mark.twig
Normal file
1
sass/components/highlight-mark/highlight-mark.twig
Normal file
|
|
@ -0,0 +1 @@
|
|||
<mark class="highlight-mark">New</mark>
|
||||
Loading…
Reference in a new issue