piustyles.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  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. #ui_test {
  21. position:absolute;
  22. visibility:hidden;
  23. height:auto;
  24. width:auto;
  25. white-space:nowrap;
  26. font-size: 3vw;
  27. letter-spacing: 0.125vw;
  28. font-weight:bold;
  29. font-family: monospace;
  30. }
  31. #dim_overlay {
  32. opacity:0.0;
  33. background: #000000;
  34. position:absolute;
  35. height: 120vh;
  36. width: 120vw;
  37. margin-left: -5vw;
  38. margin-top: -5vh;
  39. pointer-events:none;
  40. }
  41. html, body {
  42. height: 100%;
  43. }
  44. body {
  45. background: #efefef;
  46. color: hsl(240,30,10);
  47. text-align: center;
  48. -webkit-touch-callout: none; /* iOS Safari */
  49. -webkit-user-select: none; /* Safari */
  50. -khtml-user-select: none; /* Konqueror HTML */
  51. -moz-user-select: none; /* Firefox */
  52. -ms-user-select: none; /* Internet Explorer/Edge */
  53. user-select: none; /* Non-prefixed version, currently
  54. supported by Chrome and Opera */
  55. overflow: hidden;
  56. }
  57. h1 {
  58. margin: 3em 0 2em;
  59. }
  60. p:focus {
  61. border:0;
  62. }
  63. .textwindow {
  64. float: left;
  65. color: #444444;
  66. font-size: 3vw;
  67. letter-spacing: 0.125vw;
  68. font-weight:bold;
  69. font-family: monospace;
  70. outline: thin solid #999999;
  71. background: #f7f7f7;
  72. /* width:90vw; */
  73. width:95vw;
  74. /* height:60vh; */
  75. height:70vh;
  76. overflow:hidden;
  77. }
  78. .textwindowmain {
  79. float: left;
  80. color: #444444;
  81. font-size: 3vw;
  82. letter-spacing: 0.125vw;
  83. font-weight:bold;
  84. font-family: monospace;
  85. outline: thin solid #999999;
  86. background: #f7f7f7;
  87. width:63vw;
  88. height:50vh;
  89. overflow:hidden;
  90. }
  91. .textrow {
  92. padding-left: 0.5vw;
  93. float:left;
  94. width: 100%;
  95. text-align:left;
  96. }
  97. .textrow.accept {
  98. background: #44cc44;
  99. color: #444444;
  100. }
  101. .textrow.reject {
  102. background: #cc4444;
  103. color: #dddddd;
  104. }
  105. .textrow.error {
  106. background: #ff7f33;
  107. color: #444444;
  108. }
  109. /***********/
  110. .bkeyFull {
  111. width: 96vw;
  112. height:96vh;
  113. }
  114. .row4 { height: 20vh; }
  115. .row5 { height: 15vh; }
  116. body { letter-spacing: 0.25em; }
  117. .row { height: 160px; }
  118. .col { width: 160px; }
  119. .bdisp {
  120. font-size: 12vh;
  121. margin-top: 1vh;
  122. margin-right: 1vw;
  123. font-weight: bold;
  124. color: #444444;
  125. margin-left: auto;
  126. background: none;
  127. border: none;
  128. }
  129. .bdispSmall {
  130. font-size: 4vh;
  131. margin-top: 1vh;
  132. margin-right: 1vw;
  133. font-weight: bold;
  134. color: #444444;
  135. margin-left: auto;
  136. background: none;
  137. border: none;
  138. }
  139. .bstatus { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  140. .bstatus { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  141. .bdrop { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  142. .bkey { width: 20vh; height: 20vh; }
  143. .bkeyFull { width: 96vw; height: 96vh; }
  144. .bkeyNarrow { width: 12vw; height: 25vh; }
  145. .bkeyTimeLogin {
  146. width:20vw;
  147. height:12vh;
  148. color:#bb4444;
  149. font-family: monospace;
  150. font-size: 12vh;
  151. margin-top:1vh;
  152. }
  153. .bkeyDateLogin {
  154. width:20vw;
  155. height:6vh;
  156. font-family: monospace;
  157. /* font-size: 3.5vh; */
  158. font-size: 5vh;
  159. margin-left:1.75vw;
  160. }
  161. .bkeyTime {
  162. width:16vw;
  163. height:10vh;
  164. color:#bb4444;
  165. font-family: monospace;
  166. font-size: 8vh;
  167. }
  168. .bkeyDate {
  169. width:16vw;
  170. height:6vh;
  171. font-family: monospace;
  172. font-size: 3.5vh;
  173. }
  174. .bkeyTimeBig { width:16vw; height:10vh; }
  175. .bkeyw { width: 25vw; height: 17vh; }
  176. .bkeym { width: 20vw; height: 17vh; }
  177. .bkeyHuge { width: 80vw; height: 80vh; }
  178. .bfieldinp { width: 18vh; height: 22vh; }
  179. .bdisp:focus { outline:0; }
  180. .bmsg {
  181. font-weight: bold;
  182. color: #444444;
  183. background: #ADD8E6;
  184. }
  185. .bmsg:focus { outline:0; }
  186. .bstatus {
  187. font-weight: bold;
  188. color: #444444;
  189. }
  190. .bstatus:focus { outline:0; }
  191. .bdrop {
  192. font-weight: bold;
  193. color: #444444;
  194. background: none;
  195. }
  196. .bdrop:focus {
  197. outline:0;
  198. }
  199. .bdropinp {
  200. font-weight: bold;
  201. color: #444444;
  202. background: none;
  203. -webkit-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  204. -moz-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  205. transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  206. font-size: 6vh;
  207. border: solid .3vw #888888;
  208. box-shadow: .5vw .5vw 0px #aaaaaa;
  209. }
  210. .bdropdark {
  211. font-weight: bold;
  212. color: #444444;
  213. background: none;
  214. -webkit-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  215. -moz-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  216. transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  217. font-size: 6vh;
  218. border: solid .3vw #000000;
  219. box-shadow: .5vw .5vw 0px #000000;
  220. }
  221. .bdropinp.ltyellow { background: #ffffbb; }
  222. .bdropinp.mny { color: #446444; background: #efefef; }
  223. .bdropinp.blk { color: #444444; }
  224. .bdropinp.mnu { color: #444444; }
  225. .bdropinp.logout { color: #aa4444; background: #efe3e3; }
  226. .bdropinp.options { color: #aa4444; background: #efe3e3; }
  227. .bdropinp.highlight { background: #aaaaff; }
  228. .bdropinp.dim { background: #efefef; }
  229. .bdropinp:focus { outline:0; }
  230. .bdropinp:active {
  231. margin-left:1vw;
  232. background: #aaaaaa;
  233. -webkit-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  234. -moz-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  235. transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  236. -webkit-box-shadow: 0px 0px 0px #8e44ad;
  237. -moz-box-shadow: 0px 0px 0px #8e44ad;
  238. box-shadow: 0px 0px 0px #8e44ad;
  239. }
  240. /***********/
  241. .bkey:focus { outline:0; }
  242. .bkeym:focus { outline:0; }
  243. .bkeyw:focus { outline:0; }
  244. .bkeyHuge:focus { outline:0; }
  245. .bfieldinp:focus { outline:0; }
  246. .btnprv {
  247. position: absolute;
  248. left: 83vw;
  249. top: 5vh;
  250. /*
  251. background: #efefdf;
  252. */
  253. }
  254. .btnnxt {
  255. position: absolute;
  256. left: 83vw;
  257. top: 30vh;
  258. /*
  259. background: #efefdf;
  260. */
  261. }
  262. #mainstatus {
  263. font-family: "Courier New";
  264. font-weight:bold;
  265. font-family: monospace;
  266. font-size: 3.85vh;
  267. letter-spacing: 0.125vw;
  268. color: #d7d644;
  269. position:absolute;
  270. bottom:0;
  271. width:110%;
  272. height: 6vh;
  273. background:#555555;
  274. margin-left: -7vw;
  275. }
  276. .rowmain0 {
  277. position: absolute;
  278. top: 50%;
  279. }
  280. .rowmain1 {
  281. position: absolute;
  282. top: 70%;
  283. }
  284. .invisiblock {
  285. background-color: rgba(0,0,0,0);
  286. border: none !important;
  287. font-size: 0;
  288. position: fixed;
  289. z-index: 2;
  290. outline:0;
  291. }
  292. /* slider range css */
  293. /*
  294. * https://codepen.io/noahblon/pen/OyajvN
  295. */
  296. input[type="range"] {
  297. margin: auto;
  298. -webkit-appearance: none;
  299. position: relative;
  300. overflow: hidden;
  301. height: 20vh;
  302. width: 40vw;
  303. cursor: pointer;
  304. border-radius: 0; /* iOS */
  305. }
  306. input[type="range"].wide {
  307. width: 40vw;
  308. }
  309. input[type="range"]:focus {
  310. outline:none;
  311. }
  312. ::-webkit-slider-runnable-track {
  313. background: #ddd;
  314. }
  315. /*
  316. * 1. Set to 0 width and remove border for a slider without a thumb
  317. */
  318. ::-webkit-slider-thumb {
  319. -webkit-appearance: none;
  320. height: 20vh;
  321. width: 5vw;
  322. background: #efefef;
  323. box-shadow: -100vw 0 0 100vw #555555;
  324. border: 2px solid #999;
  325. }
  326. ::-moz-range-track {
  327. height: 20vh;
  328. background: #ddd;
  329. }
  330. ::-moz-range-thumb {
  331. background: #fff;
  332. height: 20vh;
  333. width: 10vw;
  334. border: 3px solid #999;
  335. border-radius: 0 !important;
  336. box-shadow: -100vw 0 0 100vw #555555;
  337. box-sizing: border-box;
  338. }
  339. ::-ms-fill-lower {
  340. background: #555555;
  341. }