mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-18 00:56:38 +00:00
Merge branch 'master' of https://github.com/abdallahsoliman/moonlight-chrome into abdallahsoliman-master
This commit is contained in:
commit
ed649b386b
@ -1,5 +1,6 @@
|
|||||||
.mdl-layout__header-row {
|
.mdl-layout__header-row {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
margin: 0 72px;
|
||||||
}
|
}
|
||||||
.mdl-button {
|
.mdl-button {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
@ -177,20 +178,17 @@ main {
|
|||||||
width: 80px;;
|
width: 80px;;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.cancel-cell {
|
.cancel-current:hover {
|
||||||
/*display: inline-block;*/
|
|
||||||
background-color: #000;
|
|
||||||
box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.34);
|
|
||||||
}
|
|
||||||
.cancel-cell > img {
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.34);
|
|
||||||
-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.34);
|
|
||||||
box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.34);
|
|
||||||
}
|
|
||||||
.cancel-cell:hover > img {
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.cancel-current {
|
||||||
|
border: 2px solid white;
|
||||||
|
padding: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
.cancel-current img {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
.cancel-current .game-title {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
@ -336,10 +336,8 @@ function showApps() {
|
|||||||
console.log(api.toString());
|
console.log(api.toString());
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
if ($('quitCurrentApp').length === 0) { // also prevent duplicate quit buttons from showing up
|
$(".mdl-layout__header-row").append($("<div>", {html:$("<img src=static\\res\\ic_remove_circle_white_24px.svg\>"), class: 'cancel-current', id: 'quitCurrentApp'}).append($("<span>", {html: 'Quit Current App', class:"game-title"})));
|
||||||
$("#game-grid").append($("<div>", {html:$("<img src=static\\res\\ic_remove_circle_white_24px.svg id=quitCurrentApp\>"), class: 'cancel-cell mdl-cell mdl-cell--3-col'}).append($("<span>", {html: 'Quit Current App', class:"game-title"})));
|
|
||||||
$('#quitCurrentApp').on('click', function() {api.quitApp(); api.refreshServerInfo(); });
|
$('#quitCurrentApp').on('click', function() {api.quitApp(); api.refreshServerInfo(); });
|
||||||
}
|
|
||||||
|
|
||||||
}, function (failedAppList) {
|
}, function (failedAppList) {
|
||||||
console.log('Failed to get applist from host: ' + api.address);
|
console.log('Failed to get applist from host: ' + api.address);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user