Skip to content
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

fix(style): add mixin for close fab button #11

Merged
merged 2 commits into from
Sep 12, 2017
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
18 changes: 10 additions & 8 deletions paper-fab-speed-dial.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
### Styling
Style | Description
------------------------------------------------ | ------------
--paper-fab-speed-dial-background | The background color of the Floating Action Button
--paper-fab-speed-dial-keyboard-focus-background | The background color of the Floating Action Button when focused
--paper-fab-speed-dial-right | Margin to the right of the screen (default: 16px)
--paper-fab-speed-dial-bottom | Margin to the bottom of the screen (default: 16px)
Style | Description
------------------------------------------------ | ------------
--paper-fab-speed-dial-background | The background color of the Floating Action Button
--paper-fab-speed-dial-keyboard-focus-background | The background color of the Floating Action Button when focused
--paper-fab-speed-dial-background-close | The background color of the Floating Action Button when opened
--paper-fab-speed-dial-keyboard-focus-background-close | The background color of the Floating Action Button when opened and focused
--paper-fab-speed-dial-right | Margin to the right of the screen (default: 16px)
--paper-fab-speed-dial-bottom | Margin to the bottom of the screen (default: 16px)
### Example
Expand Down Expand Up @@ -43,8 +45,8 @@
}

.close {
--paper-fab-background: var(--paper-grey-500);
--paper-fab-keyboard-focus-background: var(--paper-grey-500);
--paper-fab-background: var(--paper-fab-speed-dial-background-close, var(--paper-grey-500));
--paper-fab-keyboard-focus-background: var(--paper-fab-speed-dial-keyboard-focus-background-close, var(--paper-grey-500));
margin-top: 20px;
display: inline-block;
}
Expand Down