style.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. header {
  2. text-align: center;
  3. }
  4. th,
  5. td {
  6. padding: 15px;
  7. }
  8. select {
  9. padding: 2px 15px;
  10. background-color: rgb(181, 222, 255);
  11. font-weight: 600;
  12. padding: 5px 0;
  13. }
  14. select option {
  15. font-size: 11px;
  16. }
  17. .innerControls input {
  18. font-weight: normal;
  19. float: right;
  20. }
  21. .innerControls.permalink {
  22. display: inline-block;
  23. }
  24. @media (prefers-color-scheme: dark) {
  25. body {
  26. color: #ddd;
  27. background-color: #111;
  28. }
  29. button,
  30. optgroup,
  31. select {
  32. background-color: rgb(0, 40, 70);
  33. }
  34. input,
  35. textarea {
  36. background-color: #222;
  37. }
  38. label {
  39. font-weight: initial;
  40. }
  41. a {
  42. color: #337ab7;
  43. }
  44. pre {
  45. background-color: #050505;
  46. border-color: #333;
  47. color: #ccc;
  48. }
  49. .ace-github {
  50. background: #000;
  51. color: #fff;
  52. }
  53. .ace-github .ace_gutter {
  54. background: #181818;
  55. color: #888;
  56. }
  57. .ace-github .ace_marker-layer .ace_active-line {
  58. background: #111;
  59. }
  60. .ace-github.ace_focus .ace_marker-layer .ace_active-line {
  61. background: #321;
  62. }
  63. div.config-editor-commands {
  64. background-color: #444;
  65. border-color: #333;
  66. }
  67. button.btn {
  68. color: #050505;
  69. }
  70. canvas {
  71. background: #bbb;
  72. }
  73. }
  74. #controls {
  75. display: flex;
  76. flex-direction: column;
  77. width: 80%;
  78. max-width: 1200px;
  79. margin: 0 auto 20px auto;
  80. border: 1px solid #606060;
  81. overflow: hidden;
  82. }
  83. .demo-controls-wrapper {
  84. flex: 1 1 auto;
  85. max-width: 100%;
  86. padding: 5px 5px 0 3px;
  87. }
  88. .config-editor-wrapper {
  89. flex: 1 1 auto;
  90. display: flex;
  91. flex-direction: column;
  92. border-top: solid 1px #ccc;
  93. height: 256px;
  94. }
  95. .config-editor-container {
  96. flex: 1 1 auto;
  97. position: relative;
  98. width: 100%;
  99. height: 100%;
  100. }
  101. #config-editor {
  102. position: absolute;
  103. top: 0;
  104. right: 0;
  105. bottom: 0;
  106. left: 0;
  107. }
  108. .config-editor-commands {
  109. flex: 1 1 auto;
  110. background-color: #ddd;
  111. border-top: solid 1px #ccc;
  112. padding: 5px;
  113. display: flex;
  114. justify-content: space-between;
  115. align-items: center;
  116. }
  117. .config-editor-commands label {
  118. margin-bottom: 0;
  119. }
  120. .config-editor-commands button {
  121. padding: 5px 8px;
  122. font-size: 14px;
  123. }
  124. .innerControls {
  125. display: flex;
  126. font-size: 12px;
  127. align-items: center;
  128. margin-bottom: 5px;
  129. padding-left: 5px;
  130. justify-content: space-between;
  131. }
  132. .videoCentered {
  133. width: 720px;
  134. margin-left: auto;
  135. margin-right: auto;
  136. display: block;
  137. }
  138. .center {
  139. width: 70%;
  140. min-width: 615px;
  141. overflow: hidden;
  142. margin-left: auto;
  143. margin-right: auto;
  144. display: block;
  145. }
  146. #toggleButtons button {
  147. width: 16%;
  148. display: inline-block;
  149. text-align: center;
  150. font-size: 10pt;
  151. font-weight: bolder;
  152. background-color: rgb(181, 222, 255);
  153. padding: 5px;
  154. overflow: hidden;
  155. text-overflow: ellipsis;
  156. }
  157. #statusOut {
  158. height: auto;
  159. max-height: calc((17px * 3) + 19px);
  160. overflow: auto;
  161. }
  162. #errorOut {
  163. height: auto;
  164. max-height: calc((17px * 3) + 19px);
  165. overflow: auto;
  166. }
  167. #streamURL,
  168. #streamSelect {
  169. width: calc(100% - 4px);
  170. margin-left: 3px;
  171. }
  172. #streamURL {
  173. margin-bottom: 10px;
  174. padding-left: 3px;
  175. }
  176. #streamSelect {
  177. padding: 5px 0;
  178. }
  179. #StreamPermalink {
  180. overflow-wrap: break-word;
  181. overflow: hidden; /* for IE11 */
  182. }
  183. #StreamPermalink a {
  184. font-size: 10px;
  185. font-family: monospace;
  186. }
  187. /* Small devices (portrait tablets and large phones, 600px and up) */
  188. @media only screen and (min-width: 600px) {
  189. #controls {
  190. flex-direction: row;
  191. }
  192. .demo-controls-wrapper {
  193. max-width: 50%;
  194. }
  195. .config-editor-wrapper {
  196. height: auto;
  197. border-top: 0;
  198. border-left: solid 1px #ccc;
  199. }
  200. }