2016-09-07 00:41:13 -05:00
|
|
|
/**
|
|
|
|
* RetroArch Web Player
|
|
|
|
*
|
|
|
|
* This provides the basic styling for the RetroArch web player.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Make sure the background of the player is black.
|
2018-01-15 14:04:28 -06:00
|
|
|
* Also make sure line height is 0 so there's no extra space on the bottom.
|
2016-09-07 00:41:13 -05:00
|
|
|
*/
|
|
|
|
.webplayer-container {
|
|
|
|
background-color: black;
|
2018-01-15 14:04:28 -06:00
|
|
|
line-height: 0;
|
2016-09-07 00:41:13 -05:00
|
|
|
}
|
|
|
|
|
2016-09-09 22:36:09 -04:00
|
|
|
/**
|
|
|
|
* Webplayer Preview when not loaded.
|
|
|
|
*/
|
|
|
|
.webplayer-preview {
|
2016-09-10 02:10:31 -04:00
|
|
|
margin: 0 auto;
|
2016-09-09 22:36:09 -04:00
|
|
|
cursor: wait;
|
2016-09-10 00:28:14 -04:00
|
|
|
opacity: 0.2;
|
|
|
|
transition: all 0.8s;
|
|
|
|
-webkit-animation: loading 0.8s ease-in-out infinite alternate;
|
|
|
|
-moz-animation: loading 0.8s ease-in-out infinite alternate;
|
|
|
|
animation: loading 0.8s ease-in-out infinite alternate;
|
2016-09-09 22:36:09 -04:00
|
|
|
}
|
|
|
|
.webplayer-preview.loaded {
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 1;
|
2016-09-10 00:28:14 -04:00
|
|
|
-webkit-animation: loaded 0.8s ease-in-out;
|
|
|
|
-moz-animation: loaded 0.8s ease-in-out;
|
|
|
|
animation: loaded 0.8s ease-in-out;
|
|
|
|
}
|
2016-09-10 02:21:33 -04:00
|
|
|
@keyframes loaded {
|
|
|
|
from {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes loaded {
|
|
|
|
from {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2016-09-10 00:28:14 -04:00
|
|
|
@-webkit-keyframes loaded {
|
|
|
|
from {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2016-09-10 02:21:33 -04:00
|
|
|
@keyframes loading{
|
|
|
|
from {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0.35;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes loading{
|
|
|
|
from {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0.35;
|
|
|
|
}
|
|
|
|
}
|
2016-09-10 00:28:14 -04:00
|
|
|
@-webkit-keyframes loading {
|
|
|
|
from {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0.35;
|
|
|
|
}
|
2016-09-09 22:36:09 -04:00
|
|
|
}
|
|
|
|
|
2016-09-07 00:41:13 -05:00
|
|
|
/**
|
|
|
|
* Disable the border around the player.
|
|
|
|
*/
|
|
|
|
canvas.webplayer {
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2016-09-09 22:36:09 -04:00
|
|
|
textarea {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 0.7em;
|
2016-09-07 00:41:13 -05:00
|
|
|
height: 95%;
|
|
|
|
width: 95%;
|
2018-01-14 21:10:15 -06:00
|
|
|
border-style: none;
|
|
|
|
border-color: transparent;
|
2016-09-07 00:41:13 -05:00
|
|
|
overflow: auto;
|
|
|
|
resize: none;
|
2016-09-10 00:28:14 -04:00
|
|
|
}
|
2018-01-14 21:10:15 -06:00
|
|
|
|
2018-01-14 23:57:53 -05:00
|
|
|
/**
|
|
|
|
* Toggle Top Navigation
|
|
|
|
*/
|
|
|
|
.toggleMenu {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.showMenu {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#icnShowMenu {
|
|
|
|
color: #565656 !important;
|
|
|
|
}
|
2018-01-15 04:09:26 -06:00
|
|
|
|
2018-01-15 14:04:28 -06:00
|
|
|
.navbar {
|
|
|
|
box-shadow: none;
|
2018-01-14 21:10:15 -06:00
|
|
|
}
|