mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
emscripten: use the fa-spin class
This commit is contained in:
parent
37fe47c209
commit
842f6816ae
@ -54,21 +54,6 @@ canvas.webplayer {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.fa.spinning {
|
||||
animation: spin 1s infinite linear;
|
||||
-webkit-animation: spin2 1s infinite linear;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from { transform: scale(1) rotate(0deg); }
|
||||
to { transform: scale(1) rotate(360deg); }
|
||||
}
|
||||
|
||||
@-webkit-keyframes spin2 {
|
||||
from { -webkit-transform: rotate(0deg); }
|
||||
to { -webkit-transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: monospace;
|
||||
font-size: 0.7em;
|
||||
|
@ -107,7 +107,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-12 form-group btn-group text-xs-center p-t-2" id="openrom">
|
||||
<button class="btn btn-primary disabled" id="btnRun" onclick="startRetroArch()">
|
||||
<span class="fa fa-spinner spinning" id="icnRun"></span> Run
|
||||
<span class="fa fa-spinner fa-spin" id="icnRun"></span> Run
|
||||
</button>
|
||||
<button class="btn btn-primary disabled" id="btnAdd" onclick="document.getElementById('btnRom').click()">
|
||||
<span class="fa fa-plus" id="icnAdd"></span> Add Content
|
||||
|
@ -50,7 +50,7 @@ function dropboxInit()
|
||||
document.getElementById('btnRun').disabled = true;
|
||||
document.getElementById('btnDrop').disabled = true;
|
||||
$('#icnDrop').removeClass('fa-dropbox');
|
||||
$('#icnDrop').addClass('fa-spinner spinning');
|
||||
$('#icnDrop').addClass('fa-spinner fa-spin');
|
||||
|
||||
|
||||
client.authDriver(new Dropbox.AuthDriver.Redirect());
|
||||
@ -66,7 +66,7 @@ function dropboxInit()
|
||||
function success()
|
||||
{
|
||||
document.getElementById('btnRun').disabled = false;
|
||||
$('#icnDrop').removeClass('fa-spinner spinning');
|
||||
$('#icnDrop').removeClass('fa-spinner').removeClass('fa-spin');
|
||||
$('#icnDrop').addClass('fa-check');
|
||||
console.log("WEBPLAYER: Sync successful");
|
||||
setupFileSystem("dropbox");
|
||||
@ -311,7 +311,7 @@ $(function() {
|
||||
|
||||
// Activate the Start RetroArch button.
|
||||
$('#btnRun').removeClass('disabled');
|
||||
$('#icnRun').removeClass('fa-spinner spinning');
|
||||
$('#icnRun').removeClass('fa-spinner').removeClass('fa-spin');
|
||||
$('#icnRun').addClass('fa-play');
|
||||
|
||||
if (localStorage.getItem("backend") == "dropbox")
|
||||
|
Loading…
x
Reference in New Issue
Block a user