Skip to content

docs(button): add explanation abbreviation fab #5790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2017
Merged
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions src/lib/button/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ There are five button variants, each applied as an attribute:

### Theming
Buttons can be colored in terms of the current theme using the `color` property to set the
background color to `primary`, `accent`, or `warn`. By default, only FABs are colored; the default
background color for `md-button` and `md-raised-button` matches the theme's background color.
background color to `primary`, `accent`, or `warn`. By default, only FABs (Floating Action Button)
are colored; the default background color for `md-button` and `md-raised-button` matches the theme's
background color.

### Capitalization
According to the Material design spec button text has to be capitalized, however we have opted not
Expand Down
2 changes: 1 addition & 1 deletion src/lib/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
}

// Only flat buttons (not raised, fabs or icon buttons) have a hover style.
// Only flat buttons (not raised, FABs or icon buttons) have a hover style.
// Use the same visual treatment for hover as for focus.
.mat-button:hover .mat-button-focus-overlay {
opacity: 1;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sidenav/sidenav.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ html, body, material-app, md-sidenav-container, .my-content {
```

### FABs inside sidenav
For a sidenav with a FAB (or other floating element), the recommended approach is to place the FAB
For a sidenav with a FAB (Floating Action Button) or other floating element, the recommended approach is to place the FAB
outside of the scrollable region and absolutely position it.