diustyles.css 7.1 KB

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