Skip to content

Commit

Permalink
Add icons to play/pause button
Browse files Browse the repository at this point in the history
  • Loading branch information
rodfersou committed Jun 10, 2016
1 parent b339062 commit df54899
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
1.0b1 (unreleased)
------------------

- Add icons to play/pause button.
[rodfersou]

- Implement i18n on the widget and update translations.
[rodfersou, hvelarde]

Expand Down
1 change: 1 addition & 0 deletions src/collective/texttospeech/static/file-audio-o.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 16 additions & 1 deletion src/collective/texttospeech/static/main.css
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
#viewlet-texttospeech{ text-align: right;}
#viewlet-texttospeech
{
text-align: right;
}#texttospeech-button
{
display: inline-block; min-width: 5rem; height: 1rem; padding-left: 1.2rem; cursor: pointer; text-align: left; border: none; background-color: transparent;
}#texttospeech-button.stopped
{
background: url('++resource++collective.texttospeech/file-audio-o.svg') no-repeat left center; background-size: 1rem;
}#texttospeech-button.playing
{
background: url('++resource++collective.texttospeech/pause.svg') no-repeat left center; background-size: 1rem;
}#texttospeech-button.paused
{
background: url('++resource++collective.texttospeech/play.svg') no-repeat left center; background-size: 1rem;
}
Expand Down
1 change: 1 addition & 0 deletions src/collective/texttospeech/static/pause.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/collective/texttospeech/static/play.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit df54899

Please sign in to comment.