[master | DONE | FIXED] you-we component: add condition for background class - change bg color for <mark> HTML element
This commit is contained in:
parent
a61ce5ce1c
commit
5196f25525
|
@ -19,7 +19,7 @@ declare var UIkit;
|
|||
<h3 class="uk-h4 uk-text-center uk-margin-large-top uk-margin-large-bottom">Are you a <span
|
||||
[ngClass]="titleClass">{{type}}?</span></h3>
|
||||
</div>
|
||||
<div [id]="'sticky-' + id" #sticky class="uk-sticky uk-visible@l" [ngClass]="backgroundClass"
|
||||
<div [id]="'sticky-' + id" #sticky class="uk-sticky uk-visible@l" [ngClass]="isSticky?backgroundClass:null"
|
||||
uk-sticky="animation: uk-animation-slide-bottom" [attr.end]="'#' + id"
|
||||
[attr.start]="'100vh -' + height + 'px'" [attr.offset]="offset">
|
||||
<div class="uk-container">
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
// Base
|
||||
@import "variables";
|
||||
@import "base";
|
||||
|
||||
// Elements
|
||||
@import "button";
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
@base-mark-background: fade(@global-primary-background, 20%);
|
Loading…
Reference in New Issue