diustyles.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  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. }
  82. .textrow.error {
  83. background: #ff7f33;
  84. color: #444444;
  85. }
  86. /***********/
  87. /*
  88. A horrible hack but there's no way to turn
  89. off text highlighting in a text area.
  90. Instead, make the highlight color the same as the
  91. background and font color.
  92. I still see artifacts but they're much subtler then
  93. the default text highlighting.
  94. */
  95. /*
  96. ::selection {
  97. background-color: rgb(255,255,255,1);
  98. color: #444444;
  99. }
  100. ::-moz-selection {
  101. background-color: rgb(255,255,255,1);
  102. color: #444444;
  103. }
  104. ::-o-selection {
  105. background-color: rgb(255,255,255,1);
  106. color: #444444;
  107. }
  108. ::-ms-selection {
  109. background-color: rgb(255,255,255,1);
  110. color: #444444;
  111. }
  112. ::-webkit-selection {
  113. background-color: rgb(255,255,255,1);
  114. color: #444444;
  115. }
  116. */
  117. .bkeyFull {
  118. width: 96vw;
  119. height:96vh;
  120. }
  121. /* small size */
  122. @media only screen and (max-width: 640px) {
  123. body {
  124. letter-spacing: 0.125em;
  125. }
  126. .row { height: 80px; }
  127. .col { width: 80px; }
  128. .bdisp {
  129. font-size: 20px;
  130. margin-top: 15px;
  131. margin-right: 15px;
  132. }
  133. .bstatus {
  134. font-size: 20px;
  135. border: solid 2px #888888;
  136. box-shadow: 3px 3px 0px #aaaaaa;
  137. }
  138. .bstatus {
  139. font-size: 20px;
  140. border: solid 2px #888888;
  141. box-shadow: 3px 3px 0px #aaaaaa;
  142. }
  143. .bdrop {
  144. font-size: 19px;
  145. border: solid 2px #888888;
  146. box-shadow: 3px 3px 0px #aaaaaa;
  147. }
  148. .bdropinp {
  149. font-size: 22px;
  150. border: solid 2px #888888;
  151. box-shadow: 3px 3px 0px #aaaaaa;
  152. }
  153. .bkey {
  154. width: 75px;
  155. height:75px;
  156. }
  157. .bkeyNarrow {
  158. width: 75px;
  159. height:75px;
  160. }
  161. .bkeyw {
  162. width: 150px;
  163. height:58px;
  164. }
  165. .bkeym {
  166. width: 100px;
  167. height:58px;
  168. }
  169. .bkeyHuge {
  170. width: 300px;
  171. height:300px;
  172. }
  173. .bfieldinp {
  174. width: 150px;
  175. height: 58px;
  176. }
  177. }
  178. /* LARGE SIZE */
  179. .row4 { height: 20vh; }
  180. .row5 { height: 15vh; }
  181. @media only screen and (min-width: 640px) {
  182. body {
  183. letter-spacing: 0.25em;
  184. }
  185. .row { height: 160px; }
  186. .col { width: 160px; }
  187. .bdisp {
  188. font-size: 7vh;
  189. margin-top: 5vh;
  190. margin-right: 1vw;
  191. }
  192. .bstatus {
  193. font-size: 40px;
  194. border: solid 4px #888888;
  195. box-shadow: 6px 6px 0px #aaaaaa;
  196. }
  197. .bstatus {
  198. font-size: 40px;
  199. border: solid 4px #888888;
  200. box-shadow: 6px 6px 0px #aaaaaa;
  201. }
  202. .bdrop {
  203. font-size: 7vh;
  204. border: solid 4px #888888;
  205. box-shadow: 6px 6px 0px #aaaaaa;
  206. }
  207. .bdropinp {
  208. font-size: 7vh;
  209. border: solid 4px #888888;
  210. box-shadow: 6px 6px 0px #aaaaaa;
  211. }
  212. .bkey {
  213. width: 20vh;
  214. height:20vh;
  215. }
  216. .bkeyFull {
  217. width: 96vw;
  218. height:96vh;
  219. }
  220. .bkeyNarrow {
  221. width: 10vw;
  222. height:40vh;
  223. }
  224. .bkeyw {
  225. width: 25vw;
  226. height:17vh;
  227. }
  228. .bkeym {
  229. width: 20vw;
  230. height:17vh;
  231. }
  232. .bkeyHuge {
  233. width: 80vw;
  234. height:80vh;
  235. }
  236. .bfieldinp {
  237. width: 20vw;
  238. height: 20vh;
  239. }
  240. }
  241. .bdisp:focus {
  242. outline:0;
  243. }
  244. .bdisp {
  245. font-weight: bold;
  246. color: #444444;
  247. margin-left: auto;
  248. background: none;
  249. border: none;
  250. }
  251. .bmsg {
  252. font-weight: bold;
  253. color: #444444;
  254. background: #ADD8E6;
  255. }
  256. .bmsg:focus {
  257. outline:0;
  258. }
  259. .bstatus {
  260. font-weight: bold;
  261. color: #444444;
  262. }
  263. .bstatus:focus {
  264. outline:0;
  265. }
  266. .bdrop {
  267. font-weight: bold;
  268. color: #444444;
  269. background: none;
  270. }
  271. .bdrop:focus {
  272. outline:0;
  273. }
  274. .bdropinp {
  275. font-weight: bold;
  276. color: #444444;
  277. background: none;
  278. -webkit-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  279. -moz-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  280. transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  281. }
  282. .bdropinp.ltyellow {
  283. background: #ffffe0;
  284. }
  285. .bdropinp.mny {
  286. color: #446444;
  287. }
  288. .bdropinp.logout {
  289. color: #aa4444;
  290. }
  291. .bdropinp.highlight {
  292. background: #aaaaff;
  293. }
  294. .bdropinp:focus {
  295. outline:0;
  296. }
  297. .bdropinp:active {
  298. margin-left:9px;
  299. background: #aaaaaa;
  300. -webkit-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  301. -moz-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  302. transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  303. -webkit-box-shadow: 0px 0px 0px #8e44ad;
  304. -moz-box-shadow: 0px 0px 0px #8e44ad;
  305. box-shadow: 0px 0px 0px #8e44ad;
  306. }
  307. /***********/
  308. .bkey:focus {
  309. outline:0;
  310. }
  311. .bkeym:focus {
  312. outline:0;
  313. }
  314. /*****/
  315. .bkeyw:focus {
  316. outline:0;
  317. }
  318. /*****/
  319. .bkeyHuge:focus {
  320. outline:0;
  321. }
  322. /*****/
  323. .bfieldinp:focus {
  324. outline:0;
  325. }
  326. /*****/
  327. .btnprv {
  328. position: absolute;
  329. /*
  330. left: 83%;
  331. top: 5%;
  332. */
  333. left: 85vw;
  334. top: 5vh;
  335. }
  336. .btnnxt {
  337. position: absolute;
  338. /*
  339. left: 83%;
  340. top: 35%;
  341. */
  342. left: 85vw;
  343. top: 30vh;
  344. }
  345. #mainstatus {
  346. font-family: "Courier New";
  347. font-weight:bold;
  348. font-size: 5vh;
  349. color: #d7d644;
  350. position:absolute;
  351. bottom:0;
  352. width:110%;
  353. height: 8vh;
  354. background:#555555;
  355. margin-left: -5vw;
  356. }
  357. /*****/
  358. .rowmain0 {
  359. position: absolute;
  360. top: 50%;
  361. }
  362. .rowmain1 {
  363. position: absolute;
  364. top: 70%;
  365. }
  366. /** **/
  367. .invisiblock {
  368. background-color: rgba(0,0,0,0);
  369. /*
  370. width: 100px;
  371. height: 100px;
  372. */
  373. border: none !important;
  374. font-size: 0;
  375. position: fixed;
  376. z-index: 2;
  377. outline:0;
  378. }