diustyles.css 7.9 KB

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