diustyles.css 7.0 KB

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