AHND-HTML5-Shipping.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /* CSS style sheet used with Epic Games HTML5 projects
  2. *
  3. * much of this is for UE4 development purposes.
  4. *
  5. * to create a custom CSS file for your project:
  6. * - make a copy of this file - or make one from scratch
  7. * - and put it in: "your project folder"/Build/HTML/GameX.css.template
  8. */
  9. html, body, .container {
  10. height: 100%;
  11. font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
  12. background: rgba(50, 50, 50, 1);
  13. }
  14. .h4, h4 {
  15. margin-top: 1pt;
  16. margin-bottom: 1pt;
  17. font-size: 10pt;
  18. }
  19. .container {
  20. display: table;
  21. vertical-align: middle;
  22. border: 0px;
  23. border-spacing: 0px;
  24. }
  25. .glyphicon-spin {
  26. animation: spin 2000ms infinite linear;
  27. }
  28. @keyframes spin {
  29. 0% {
  30. transform: rotate(0deg);
  31. }
  32. 100% {
  33. transform: rotate(359deg);
  34. }
  35. }
  36. @-webkit-keyframes spin {
  37. 0% {
  38. transform: rotate(0deg);
  39. }
  40. 100% {
  41. transform: rotate(359deg);
  42. }
  43. }
  44. .wrapper {
  45. margin: 0 auto 0 auto;
  46. text-align: center;
  47. min-width: 100%;
  48. width: 100%;
  49. height: 100%; /* initial height, will be dynamically adjusted at runtime */
  50. max-width: 100%;
  51. display: block;
  52. align-items: center;
  53. position: absolute;
  54. text-align: center;
  55. justify-content: center;
  56. }
  57. .emscripten {
  58. padding-right: 0;
  59. margin-left: auto;
  60. margin-right: auto;
  61. display: block;
  62. display: -webkit-box;
  63. display: -moz-box;
  64. display: box;
  65. -webkit-box-align: center;
  66. -moz-box-align: center;
  67. box-align: center;
  68. -webkit-box-pack: center;
  69. -moz-box-pack: center;
  70. box-pack: center;
  71. outline: none;
  72. }
  73. #canvas:not([fullscreen]) {
  74. padding-right: 0;
  75. margin-left: auto;
  76. margin-right: auto;
  77. width: 100%;
  78. }
  79. .texthalf {
  80. height: 37%;
  81. border: 0px;
  82. padding: 0px;
  83. overflow-y: scroll;
  84. font-size: 2em;
  85. }
  86. .buttonarea {
  87. /*
  88. position: relative;
  89. top: -50px;
  90. */
  91. border-top: 0px;
  92. border-bottom: 0px;
  93. padding: 0px;
  94. margin-left: 0px;
  95. margin-right: 0px;
  96. margin-top: 0px;
  97. margin-bottom: 0px;
  98. min-height: 35px;
  99. }
  100. .btn { padding: 3px; text-align: center; min-width: 150px; max-height: 25px; margin-top: 10px; margin-bottom: 10px; margin-left: 5px; margin-right: 5px; }
  101. .progress { background: rgba(245, 245, 245, 1); border: 0px solid rgba(245, 245, 245, 1); border-radius: 0px; height: 4px; }
  102. .progress-bar-custom { background: rgba(153, 153, 153, 1); }
  103. .centered-axis-xy {
  104. position: fixed;
  105. }
  106. /* these styles convert the "blue buttons" into transparent buttons which are more subtle and less distracting */
  107. /*
  108. .btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  109. background-color: transparent;
  110. border-color: transparent;
  111. outline: none;
  112. }
  113. .btn-primary {
  114. color: rgba(150, 150, 150, 150);
  115. }
  116. .btn-primary:hover {
  117. color: rgba(200, 200, 200, 200);
  118. }
  119. .btn-primary:focus {
  120. color: rgba(225, 225, 225, 225);
  121. }
  122. .btn-primary:active {
  123. color: rgba(250, 250, 250, 250);
  124. outline: none !important;
  125. box-shadow: none;
  126. }
  127. */
  128. /** these styles hide the text on each button, leaving just the icon */
  129. /*
  130. .buttontext {
  131. display: none;
  132. }
  133. .btn {
  134. min-width: 30px;
  135. margin-left: 30px; margin-right: 30px;
  136. }
  137. */