not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

239 lines
3.5 KiB

  1. #main-toolbar #activity-button {
  2. background-image: url(../activity/activity-icon.svg);
  3. }
  4. #main-toolbar #language-button {
  5. background-image: url(../icons/module-language.svg);
  6. }
  7. #main-toolbar #face-button {
  8. background-image: url(../icons/face.svg);
  9. }
  10. #main-toolbar #speech-button {
  11. background-image: url(../icons/voice.svg);
  12. }
  13. #main-toolbar #gamemode1-button {
  14. background-image: url(../icons/mode-type.svg);
  15. }
  16. #main-toolbar #gamemode2-button {
  17. background-image: url(../icons/mode-robot.svg);
  18. }
  19. #main-toolbar #gamemode3-button {
  20. background-image: url(../icons/mode-chat.svg);
  21. }
  22. #speakText {
  23. height:45px;
  24. width:50px;
  25. margin:8px;
  26. right:4px;
  27. bottom: 15px;
  28. z-index:1;
  29. position:absolute;
  30. background-image: url(../icons/go-right.svg);
  31. background-size: 55px 50px;
  32. background-position: 50% 50%;
  33. }
  34. #userText {
  35. height:40px;
  36. margin:5px;
  37. margin-left:8vh;
  38. width:90vw;
  39. font-size: 28pt;
  40. font-weight: bold;
  41. z-index:0;
  42. }
  43. /** Custom dropdown arrow for select tag **/
  44. .dropdown {
  45. position: absolute;
  46. }
  47. .dropdown:before {
  48. content: "";
  49. position: absolute;
  50. margin-left: 5px;
  51. left: 23px;
  52. top: 27px;
  53. width: 0;
  54. height: 0;
  55. border-left: 10px solid transparent;
  56. border-right: 10px solid transparent;
  57. border-top: 10px solid #000;
  58. pointer-events: none;
  59. }
  60. /** CSS for the select tag to make it look like a button **/
  61. #combo-box {
  62. position:absolute;
  63. top: 5px;
  64. width:2vw;
  65. height:25px;
  66. line-height:20px;
  67. margin:13px;
  68. margin-left:3vh;
  69. padding:0;
  70. font-size: 0;
  71. }
  72. #combo-box option{
  73. font-size: 20px;
  74. }
  75. /** Select tag custom css **/
  76. select {
  77. padding:3px;
  78. margin: 0;
  79. background: transparent;
  80. color:#888;
  81. border: none !important;;
  82. outline:none;
  83. display: inline-block;
  84. -webkit-appearance:none;
  85. -moz-appearance:none;
  86. appearance:none;
  87. cursor:pointer;
  88. }
  89. #activity-palette {
  90. z-index: 3;
  91. }
  92. .widepalette {
  93. z-index: 3;
  94. }
  95. .thinpalette {
  96. z-index: 3;
  97. }
  98. body {
  99. overflow: hidden;
  100. }
  101. /** Added @media access for dropdown button to make it responsive **/
  102. @media screen and (min-width: 890px) {
  103. .thinpalette .wrapper {
  104. max-width: 66px;
  105. min-width: 61px;
  106. min-height: 51px;
  107. pointer-events: auto;
  108. background-color: black;
  109. border: 2px solid #808080;
  110. }
  111. .widepalette .wrapper {
  112. max-width: 500px;
  113. min-width: 500px;
  114. min-height: 51px;
  115. pointer-events: auto;
  116. background-color: black;
  117. border: 2px solid #808080;
  118. }
  119. }
  120. @media screen and (max-width: 504px) {
  121. select {
  122. position: absolute;
  123. right: 460px;
  124. }
  125. }
  126. @media screen and (max-width: 600px) {
  127. select {
  128. position: absolute;
  129. right: 300px;
  130. }
  131. }
  132. @media screen and (max-width: 630px) {
  133. select {
  134. position: absolute;
  135. right: 570px;
  136. }
  137. }
  138. @media screen and (max-width: 740px) {
  139. select {
  140. position: absolute;
  141. right: 670px;
  142. }
  143. }
  144. @media screen and (max-width: 667px) {
  145. select {
  146. position: absolute;
  147. right: 610px;
  148. }
  149. }
  150. @media screen and (max-width: 640px) {
  151. select {
  152. position: absolute;
  153. right: 585px;
  154. }
  155. .dropdown:before {
  156. margin-left: -15px;
  157. }
  158. }
  159. @media screen and (max-width: 480px) {
  160. select {
  161. position: absolute;
  162. right: 440px;
  163. }
  164. .dropdown:before {
  165. margin-left:-25px;
  166. }
  167. }
  168. @media screen and (max-width: 375px) {
  169. select {
  170. position: absolute;
  171. right: 365px;
  172. }
  173. }
  174. @media screen and (max-width: 360px) {
  175. select {
  176. position: absolute;
  177. right: 355px;
  178. }
  179. }
  180. .dropdown:before {
  181. margin-left: -10px;
  182. }
  183. }
  184. @media screen and (max-width: 890px) {
  185. .toolbar {
  186. padding-left: 10px;
  187. }
  188. }
  189. @media screen and (max-width: 320px) {
  190. select {
  191. position: absolute;
  192. right: 300px;
  193. }
  194. .dropdown:before {
  195. margin-left: -10px;
  196. }
  197. }