diustyles.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. /*
  2. * Copyright (c) 2019 Clementine Computing LLC.
  3. *
  4. * This file is part of PopuFare.
  5. *
  6. * PopuFare is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU Affero General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * PopuFare is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU Affero General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Affero General Public License
  17. * along with PopuFare. If not, see <https://www.gnu.org/licenses/>.
  18. *
  19. */
  20. html, body {
  21. height: 100%;
  22. }
  23. body {
  24. background: #efefef;
  25. color: hsl(240,30,10);
  26. text-align: center;
  27. -webkit-touch-callout: none; /* iOS Safari */
  28. -webkit-user-select: none; /* Safari */
  29. -khtml-user-select: none; /* Konqueror HTML */
  30. -moz-user-select: none; /* Firefox */
  31. -ms-user-select: none; /* Internet Explorer/Edge */
  32. user-select: none; /* Non-prefixed version, currently
  33. supported by Chrome and Opera */
  34. overflow: hidden;
  35. }
  36. h1 {
  37. margin: 3em 0 2em;
  38. }
  39. p:focus {
  40. border:0;
  41. }
  42. .textwindow {
  43. float: left;
  44. color: #444444;
  45. font-size: 5vh;
  46. letter-spacing: 0.125vh;
  47. font-weight:bold;
  48. font-family: monospace;
  49. outline: thin solid #999999;
  50. background: #f7f7f7;
  51. width:80vw;
  52. height:60vh;
  53. overflow:hidden;
  54. }
  55. .textwindowmain {
  56. float: left;
  57. color: #444444;
  58. font-size: 5vh;
  59. letter-spacing: 0.125vh;
  60. font-weight:bold;
  61. font-family: monospace;
  62. outline: thin solid #999999;
  63. background: #f7f7f7;
  64. width:65vw;
  65. height:51vh;
  66. overflow:hidden;
  67. }
  68. .textrow {
  69. padding-left: 0.5vw;
  70. float:left;
  71. width: 100%;
  72. text-align:left;
  73. }
  74. .textrow.accept {
  75. background: #44cc44;
  76. color: #444444;
  77. }
  78. .textrow.reject {
  79. background: #cc4444;
  80. /* color: #333333; */
  81. color: #dddddd;
  82. }
  83. .textrow.error {
  84. background: #ff7f33;
  85. color: #444444;
  86. }
  87. /***********/
  88. .bkeyFull {
  89. width: 96vw;
  90. height:96vh;
  91. }
  92. /* small size */
  93. /*
  94. @media only screen and (max-width: 640px) {
  95. body { letter-spacing: 0.125em; }
  96. .row { height: 80px; }
  97. .col { width: 80px; }
  98. .bdisp { font-size: 20px; margin-top: 15px; margin-right: 15px; }
  99. .bstatus { font-size: 20px; border: solid 2px #888888; box-shadow: 3px 3px 0px #aaaaaa; }
  100. .bstatus { font-size: 20px; border: solid 2px #888888; box-shadow: 3px 3px 0px #aaaaaa; }
  101. .bdrop { font-size: 19px; border: solid 2px #888888; box-shadow: 3px 3px 0px #aaaaaa; }
  102. .bdropinp { font-size: 22px; border: solid 2px #888888; box-shadow: 3px 3px 0px #aaaaaa; }
  103. .bkey { width: 75px; height:75px; }
  104. .bkeyNarrow { width: 75px; height:75px; }
  105. .bkeyw { width: 150px; height:58px; }
  106. .bkeym { width: 100px; height:58px; }
  107. .bkeyHuge { width: 300px; height:300px; }
  108. .bfieldinp { width: 150px; height: 58px; }
  109. }
  110. */
  111. /* LARGE SIZE */
  112. .row4 { height: 20vh; }
  113. .row5 { height: 15vh; }
  114. /* @media only screen and (min-width: 640px) { */
  115. body { letter-spacing: 0.25em; }
  116. .row { height: 160px; }
  117. .col { width: 160px; }
  118. /*
  119. .row { height: 20vh; }
  120. .col { width: 20vw; }
  121. */
  122. .bdisp {
  123. font-size: 7vh;
  124. margin-top: 5vh;
  125. margin-right: 1vw;
  126. }
  127. /*
  128. .bstatus { font-size: 40px; border: solid 4px #888888; box-shadow: 6px 6px 0px #aaaaaa; }
  129. .bstatus { font-size: 40px; border: solid 4px #888888; box-shadow: 6px 6px 0px #aaaaaa; }
  130. .bdrop { font-size: 7vh; border: solid 4px #888888; box-shadow: 6px 6px 0px #aaaaaa; }
  131. .bdropinp { font-size: 7vh; border: solid 4px #888888; box-shadow: 6px 6px 0px #aaaaaa; }
  132. */
  133. .bstatus { font-size: 7vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  134. .bstatus { font-size: 7vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  135. .bdrop { font-size: 7vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  136. .bdropinp { font-size: 7vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  137. .bkey { width: 20vh; height: 20vh; }
  138. .bkeyFull { width: 96vw; height: 96vh; }
  139. .bkeyNarrow { width: 10vw; height: 40vh; }
  140. .bkeyw { width: 25vw; height: 17vh; }
  141. .bkeym { width: 20vw; height: 17vh; }
  142. .bkeyHuge { width: 80vw; height: 80vh; }
  143. .bfieldinp { width: 20vw; height: 20vh; }
  144. /*
  145. }
  146. */
  147. .bdisp {
  148. font-weight: bold;
  149. color: #444444;
  150. margin-left: auto;
  151. background: none;
  152. border: none;
  153. }
  154. .bdisp:focus { outline:0; }
  155. .bmsg {
  156. font-weight: bold;
  157. color: #444444;
  158. background: #ADD8E6;
  159. }
  160. .bmsg:focus { outline:0; }
  161. .bstatus {
  162. font-weight: bold;
  163. color: #444444;
  164. }
  165. .bstatus:focus { outline:0; }
  166. .bdrop {
  167. font-weight: bold;
  168. color: #444444;
  169. background: none;
  170. }
  171. .bdrop:focus {
  172. outline:0;
  173. }
  174. .bdropinp {
  175. font-weight: bold;
  176. color: #444444;
  177. background: none;
  178. -webkit-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  179. -moz-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  180. transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  181. }
  182. .bdropinp.ltyellow { background: #ffffe0; }
  183. .bdropinp.mny { color: #446444; }
  184. .bdropinp.logout { color: #aa4444; }
  185. .bdropinp.highlight { background: #aaaaff; }
  186. .bdropinp:focus { outline:0; }
  187. .bdropinp:active {
  188. /* margin-left:9px; */
  189. margin-left:1vw;
  190. background: #aaaaaa;
  191. -webkit-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  192. -moz-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  193. transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  194. -webkit-box-shadow: 0px 0px 0px #8e44ad;
  195. -moz-box-shadow: 0px 0px 0px #8e44ad;
  196. box-shadow: 0px 0px 0px #8e44ad;
  197. }
  198. /***********/
  199. .bkey:focus { outline:0; }
  200. .bkeym:focus { outline:0; }
  201. .bkeyw:focus { outline:0; }
  202. .bkeyHuge:focus { outline:0; }
  203. .bfieldinp:focus { outline:0; }
  204. .btnprv {
  205. position: absolute;
  206. left: 85vw;
  207. top: 5vh;
  208. }
  209. .btnnxt {
  210. position: absolute;
  211. left: 85vw;
  212. top: 30vh;
  213. }
  214. #mainstatus {
  215. font-family: "Courier New";
  216. font-weight:bold;
  217. font-size: 5vh;
  218. color: #d7d644;
  219. position:absolute;
  220. bottom:0;
  221. width:110%;
  222. height: 8vh;
  223. background:#555555;
  224. margin-left: -5vw;
  225. }
  226. .rowmain0 {
  227. position: absolute;
  228. top: 50%;
  229. }
  230. .rowmain1 {
  231. position: absolute;
  232. top: 70%;
  233. }
  234. .invisiblock {
  235. background-color: rgba(0,0,0,0);
  236. border: none !important;
  237. font-size: 0;
  238. position: fixed;
  239. z-index: 2;
  240. outline:0;
  241. }