Skip to content

Commit

Permalink
Fix #4292: Upgraded font-awesome and play/pause icons (#4750)
Browse files Browse the repository at this point in the history
* upgraded font awesome

* fixed size of icons
  • Loading branch information
bansalnitish authored and tjiang11 committed Mar 1, 2018
1 parent 03863c1 commit 38754ba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ skip_files:
- third_party/static/angular-audio-1.7.4
- third_party/static/angular-scroll-1.0.0
- third_party/static/angular-toastr-1.7.0
- third_party/static/font-awesome-4.4.0
- third_party/static/font-awesome-4.7.0
- third_party/static/messageformat-0.3.1
- third_party/static/ng-img-crop-0.3.2
- third_party/static/nginfinitescroll-1.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div style="width: 560px;">
<i class="fa audio-controls-button-icon"
ng-click="onPlayButtonClicked()"
ng-class="{'fa-ellipsis-h': audioLoadingIndicatorIsShown, 'fa-play': !isAudioPlaying(), 'fa-pause': isAudioPlaying(), 'audio-controls-audio-not-available': !isAudioAvailableInCurrentLanguage() || audioIsLoading}"
ng-class="{'fa-ellipsis-h': audioLoadingIndicatorIsShown, 'fa-play-circle': !isAudioPlaying(), 'fa-pause-circle': isAudioPlaying(), 'audio-controls-audio-not-available': !isAudioAvailableInCurrentLanguage() || audioIsLoading}"
uib-tooltip="<[!isAudioAvailableInCurrentLanguage() ? ('I18N_PLAYER_AUDIO_NOT_AVAILABLE_IN' | translate:{languageDescription:getCurrentAudioLanguageDescription()}) : '']>"
tooltip-append-to-body="true" tooltip-placement="right"></i>
<div class="slider-section" ng-if="hasPressedPlayButtonAtLeastOnce">
Expand Down Expand Up @@ -32,6 +32,14 @@

<style>

.fa-play-circle:before {
font-size: 1.7em;
}

.fa-pause-circle:before {
font-size: 1.7em;
}

audio-bar md-progress-linear.md-default-theme .md-bar {
background-color: #009688;
}
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@
}
},
"fontAwesome": {
"version": "4.4.0",
"version": "4.7.0",
"downloadFormat": "zip",
"url": "https://github.com/FortAwesome/Font-Awesome/archive/v4.4.0.zip",
"url": "https://github.com/FortAwesome/Font-Awesome/archive/v4.7.0.zip",
"rootDirPrefix": "Font-Awesome-",
"targetDirPrefix": "font-awesome-",
"bundle": {
Expand Down

0 comments on commit 38754ba

Please sign in to comment.