Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 7 additions & 21 deletions src/components/Link/Link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@

@mixin ms-Link {
@include ms-baseFont;
@include focus-border();
font-size: $ms-font-size-m;
font-weight: $ms-font-weight-regular;
color: $ms-color-themePrimary;
text-decoration: none;
cursor: pointer;
outline: none;
padding: 0;
margin: 0;
background: none;
@include text-align(left);
display: inline;
border: none;

&:hover,
&:focus {
Expand All @@ -38,23 +44,3 @@
.ms-Link {
@include ms-Link;
}

// TODO: Remove overrides below.

.ms-Link,
BUTTON.ms-Link {
@include focus-border();

/* Needed for buttons disguised as links scenario. */
font-family: inherit;
font-size: inherit;
font-weight: normal;

border: none;
background: none;
@include text-align(left);
display: inline;
padding: 0;
margin: 0;
}