Skip to content

Commit

Permalink
FFE-60 Fixes from pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Torgeir Pedersen Cook committed Sep 27, 2016
1 parent e2dc86f commit 4c1182b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Importer LESS-filen i din main.less fil:

Merk: Denne modulen har en `peerDependency``ffe-core@^8.1.0`.

Link styling må settes eksplisitt: `<a href="http://www.sparebank1.no" class="ffe-message-box--link">En lenke</a>`
Link styling må settes eksplisitt: `<a href="http://www.sparebank1.no" class="ffe-message-box__link">En lenke</a>`
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h4 class="ffe-h4 ffe-message-box__title--success">Betalingen er gjennomført</h
<div class="ffe-message-box"><span class="ffe-message-box__icon ffe-message-box__icon--error"><svg class="" style="width:40px;height:40px;" focusable="false" viewBox="0 0 200 200" width="150" height="150" x="1200" y="750"><path d="M79.777 179.42c0-11.37 9.15-20.58 20.444-20.58 11.295 0 20.444 9.21 20.444 20.58 0 11.37-9.15 20.58-20.443 20.58-11.294 0-20.443-9.21-20.443-20.58zM127.35 31.433c-1.673 13.845-14.682 81.384-18.77 103.65-.744 4.116-4.09 7.11-8.364 7.11-4.09 0-7.992-2.994-8.735-7.11-4.087-22.64-17.097-90.177-18.77-104.02C70.667 14.786 83.49.006 99.846.006c16.17-.187 29.18 14.593 27.5 31.43l.005-.003z"></path></svg></span>
<div class="ffe-message-box__box ffe-message-box__box--error">
<h4 class="ffe-h4 ffe-message-box__title--error">Noe gikk galt</h4>
<p class="ffe-body-text">Noe gikk galt. Vennligst prøv igjen senere! <a href="http://www.sparebank1.no" class="ffe-message-box--link">En lenke</a></p>
<p class="ffe-body-text">Noe gikk galt. Vennligst prøv igjen senere! <a href="http://www.sparebank1.no" class="ffe-message-box__link">En lenke</a></p>
</div>
</div>
</div>
Expand Down
8 changes: 5 additions & 3 deletions less/ffe-message-box.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@

}

&--link {
&__link {
text-decoration: underline;
color : @ffe-black;
&:hover:extend(.ffe-strong-text){}
color: inherit;
&:hover {
font-family: "MuseoSansRounded-700", arial, sans-serif;
}
}
}

0 comments on commit 4c1182b

Please sign in to comment.