123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- /* CSS style sheet used with Epic Games HTML5 projects
- *
- * much of this is for UE4 development purposes.
- *
- * to create a custom CSS file for your project:
- * - make a copy of this file - or make one from scratch
- * - and put it in: "your project folder"/Build/HTML/GameX.css.template
- */
- html, body, .container {
- height: 100%;
- font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
- background: rgba(50, 50, 50, 1);
- }
- .h4, h4 {
- margin-top: 1pt;
- margin-bottom: 1pt;
- font-size: 10pt;
- }
- .container {
- display: table;
- vertical-align: middle;
- border: 0px;
- border-spacing: 0px;
- }
- .glyphicon-spin {
- animation: spin 2000ms infinite linear;
- }
- @keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(359deg);
- }
- }
- @-webkit-keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(359deg);
- }
- }
- .wrapper {
- position: relative;
- margin: 0 auto 0 auto;
- text-align: center;
- min-width: 100%;
- width: 100%;
- height: 100%; /* initial height, will be dynamically adjusted at runtime */
- display: block;
- align-items: center;
- position: relative;
- text-align: center;
- justify-content: center;
- }
- .emscripten {
- padding-right: 0;
- margin-left: auto;
- margin-right: auto;
- display: block;
- display: -webkit-box;
- display: -moz-box;
- display: box;
- -webkit-box-align: center;
- -moz-box-align: center;
- box-align: center;
- -webkit-box-pack: center;
- -moz-box-pack: center;
- box-pack: center;
-
- outline: none;
- }
- #canvas:not([fullscreen]) {
- padding-right: 0;
- margin-left: auto;
- margin-right: auto;
- width: 100%;
- }
- .texthalf {
- height: 37%;
- border: 0px;
- padding: 0px;
- overflow-y: scroll;
- font-size: 2em;
- }
- .buttonarea {
- /*
- position: relative;
- top: -50px;
- */
- border-top: 0px;
- border-bottom: 0px;
- padding: 0px;
- margin-left: 0px;
- margin-right: 0px;
- margin-top: 0px;
- margin-bottom: 0px;
- min-height: 35px;
- }
- .btn { padding: 3px; text-align: center; min-width: 150px; max-height: 25px; margin-top: 10px; margin-bottom: 10px; margin-left: 5px; margin-right: 5px; }
- .progress { background: rgba(245, 245, 245, 1); border: 0px solid rgba(245, 245, 245, 1); border-radius: 0px; height: 4px; }
- .progress-bar-custom { background: rgba(153, 153, 153, 1); }
- .centered-axis-xy {
- position: fixed;
- }
- /* these styles convert the "blue buttons" into transparent buttons which are more subtle and less distracting */
- /*
- .btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
- background-color: transparent;
- border-color: transparent;
- outline: none;
- }
- .btn-primary {
- color: rgba(150, 150, 150, 150);
- }
- .btn-primary:hover {
- color: rgba(200, 200, 200, 200);
- }
- .btn-primary:focus {
- color: rgba(225, 225, 225, 225);
- }
- .btn-primary:active {
- color: rgba(250, 250, 250, 250);
- outline: none !important;
- box-shadow: none;
- }
- */
- /** these styles hide the text on each button, leaving just the icon */
- /*
- .buttontext {
- display: none;
- }
- .btn {
- min-width: 30px;
- margin-left: 30px; margin-right: 30px;
- }
- */
|