diustyles.css 7.1 KB

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