Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
style(button): explicitly style docs buttons (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin authored Mar 16, 2017
1 parent 686b5dd commit e704d54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/app/pages/homepage/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1>Angular Material</h1>
<h2> Material Design components for Angular apps</h2>
</div>
<div class="docs-header-start">
<a md-raised-button routerLink="guide/getting-started">Get started</a>
<a md-raised-button class="docs-button" routerLink="guide/getting-started">Get started</a>
</div>
</div>
</header>
Expand Down Expand Up @@ -51,7 +51,7 @@ <h2>Optimized for Angular</h2>
</div>
</div>
<div class="docs-homepage-bottom-start">
<a md-raised-button routerLink="guide/getting-started">Get started</a>
<a md-raised-button class="docs-button" routerLink="guide/getting-started">Get started</a>
</div>
</div>

Expand Down
8 changes: 4 additions & 4 deletions src/app/shared/navbar/navbar.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!-- TODO: figure out if the <nav> should go inside of a <header> element. -->
<nav class="docs-navbar">
<a md-button routerLink="/" aria-label="Angular Material">
<a md-button class="docs-button" routerLink="/" aria-label="Angular Material">
<img class="docs-angular-logo"
src="../../../assets/img/homepage/angular-white-transparent.svg"
alt="Angular">
<span>Material</span>
</a>
<a md-button routerLink="components">Components</a>
<a md-button routerLink="guides">Guides</a>
<a md-button href="https://github.com/angular/material2" aria-label="GitHub Repository">
<a md-button class="docs-button" routerLink="components">Components</a>
<a md-button class="docs-button" routerLink="guides">Guides</a>
<a md-button class="docs-button" href="https://github.com/angular/material2" aria-label="GitHub Repository">
<img class="docs-github-logo"
src="../../../assets/img/homepage/github-circle-white-transparent.svg"
alt="GitHub">
Expand Down
2 changes: 1 addition & 1 deletion src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ body {
margin: 0;
}

[md-button], [md-raised-button] {
.docs-button[md-button], .docs-button[md-raised-button] {
text-transform: uppercase;
}

Expand Down

0 comments on commit e704d54

Please sign in to comment.