piustyles.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  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 {
  117. letter-spacing: 0.25em;
  118. background-color: #000;
  119. }
  120. .row { height: 160px; }
  121. .col { width: 160px; }
  122. .bdisp {
  123. font-size: 11vh;
  124. margin-top: 0.5vh;
  125. /* margin-right: 1vw; */
  126. font-weight: bold;
  127. /* color: #444444; */
  128. color: #aaa;
  129. margin-left: auto;
  130. background: none;
  131. border: none;
  132. }
  133. .bdispSmall {
  134. font-size: 4vh;
  135. margin-top: 1vh;
  136. margin-right: 1vw;
  137. font-weight: bold;
  138. color: #444444;
  139. margin-left: auto;
  140. background: none;
  141. border: none;
  142. }
  143. .bstatus { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  144. .bstatus { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  145. .bdrop { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  146. .bkey { width: 20vh; height: 20vh; }
  147. .bkeyFull { width: 96vw; height: 96vh; }
  148. .bkeyNarrow { width: 12vw; height: 25vh; }
  149. .bkeyTimeLogin {
  150. width:20vw;
  151. height:12vh;
  152. color:#bb4444;
  153. font-family: monospace;
  154. font-size: 12vh;
  155. margin-top:1vh;
  156. }
  157. .bkeyDateLogin {
  158. width:20vw;
  159. height:6vh;
  160. font-family: monospace;
  161. /* font-size: 3.5vh; */
  162. font-size: 5vh;
  163. margin-left:1.75vw;
  164. }
  165. .bkeyTime {
  166. width:16vw;
  167. height:10vh;
  168. color:#bb4444;
  169. font-family: monospace;
  170. font-size: 8vh;
  171. }
  172. .bkeyDate {
  173. width:16vw;
  174. height:6vh;
  175. font-family: monospace;
  176. font-size: 3.5vh;
  177. }
  178. .bkeyTimeBig { width:16vw; height:10vh; }
  179. .bkeyw { width: 25vw; height: 17vh; }
  180. .bkeym { width: 20vw; height: 17vh; }
  181. .bkeyHuge { width: 80vw; height: 80vh; }
  182. .bfieldinp { width: 18vh; height: 22vh; }
  183. .bdisp:focus { outline:0; }
  184. .bmsg {
  185. font-weight: bold;
  186. color: #444444;
  187. background: #ADD8E6;
  188. }
  189. .bmsg:focus { outline:0; }
  190. .bstatus {
  191. font-weight: bold;
  192. color: #444444;
  193. }
  194. .bstatus:focus { outline:0; }
  195. .bdrop {
  196. font-weight: bold;
  197. color: #444444;
  198. background: none;
  199. }
  200. .bdrop:focus {
  201. outline:0;
  202. }
  203. .bdropinp {
  204. font-weight: bold;
  205. color: #444444;
  206. background: none;
  207. -webkit-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  208. -moz-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  209. transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  210. font-size: 6vh;
  211. border: solid .3vw #888888;
  212. box-shadow: .5vw .5vw 0px #aaaaaa;
  213. }
  214. .bdropdark {
  215. font-weight: bold;
  216. color: #444444;
  217. background: none;
  218. -webkit-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  219. -moz-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  220. transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  221. font-size: 6vh;
  222. border: solid .3vw #000000;
  223. box-shadow: .5vw .5vw 0px #000000;
  224. }
  225. .bdropinp.ltyellow { background: #ffffbb; }
  226. .bdropinp.mny { color: #446444; background: #efefef; }
  227. .bdropinp.blk { color: #444444; }
  228. .bdropinp.mnu { color: #444444; }
  229. .bdropinp.logout { color: #aa4444; background: #efe3e3; }
  230. .bdropinp.options { color: #aa4444; background: #efe3e3; }
  231. .bdropinp.highlight { background: #aaaaff; }
  232. .bdropinp.dim { background: #efefef; }
  233. .bdropinp:focus { outline:0; }
  234. .bdropinp:active {
  235. margin-left:1vw;
  236. background: #aaaaaa;
  237. -webkit-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  238. -moz-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  239. transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  240. -webkit-box-shadow: 0px 0px 0px #8e44ad;
  241. -moz-box-shadow: 0px 0px 0px #8e44ad;
  242. box-shadow: 0px 0px 0px #8e44ad;
  243. }
  244. /***********/
  245. .bkey:focus { outline:0; }
  246. .bkeym:focus { outline:0; }
  247. .bkeyw:focus { outline:0; }
  248. .bkeyHuge:focus { outline:0; }
  249. .bfieldinp:focus { outline:0; }
  250. .btnprv {
  251. position: absolute;
  252. left: 83vw;
  253. top: 5vh;
  254. /*
  255. background: #efefdf;
  256. */
  257. }
  258. .btnnxt {
  259. position: absolute;
  260. left: 83vw;
  261. top: 30vh;
  262. /*
  263. background: #efefdf;
  264. */
  265. }
  266. .datetimebar {
  267. font-family: "Courier New";
  268. font-weight:bold;
  269. font-family: monospace;
  270. font-size: 3.85vh;
  271. letter-spacing: 0.125vw;
  272. color: #d7d644;
  273. position:absolute;
  274. bottom:0;
  275. width:110%;
  276. height: 6vh;
  277. background:#555555;
  278. margin-left: -7vw;
  279. }
  280. .rowmain0 {
  281. position: absolute;
  282. top: 50%;
  283. }
  284. .rowmain1 {
  285. position: absolute;
  286. top: 70%;
  287. }
  288. .invisiblock {
  289. background-color: rgba(0,0,0,0);
  290. border: none !important;
  291. font-size: 0;
  292. position: fixed;
  293. z-index: 2;
  294. outline:0;
  295. }
  296. /* slider range css */
  297. /*
  298. * https://codepen.io/noahblon/pen/OyajvN
  299. */
  300. input[type="range"] {
  301. margin: auto;
  302. -webkit-appearance: none;
  303. position: relative;
  304. overflow: hidden;
  305. height: 20vh;
  306. width: 40vw;
  307. cursor: pointer;
  308. border-radius: 0; /* iOS */
  309. }
  310. input[type="range"].wide {
  311. width: 40vw;
  312. }
  313. input[type="range"]:focus {
  314. outline:none;
  315. }
  316. ::-webkit-slider-runnable-track {
  317. background: #ddd;
  318. }
  319. /*
  320. * 1. Set to 0 width and remove border for a slider without a thumb
  321. */
  322. ::-webkit-slider-thumb {
  323. -webkit-appearance: none;
  324. height: 20vh;
  325. width: 5vw;
  326. background: #efefef;
  327. box-shadow: -100vw 0 0 100vw #555555;
  328. border: 2px solid #999;
  329. }
  330. ::-moz-range-track {
  331. height: 20vh;
  332. background: #ddd;
  333. }
  334. ::-moz-range-thumb {
  335. background: #fff;
  336. height: 20vh;
  337. width: 10vw;
  338. border: 3px solid #999;
  339. border-radius: 0 !important;
  340. box-shadow: -100vw 0 0 100vw #555555;
  341. box-sizing: border-box;
  342. }
  343. ::-ms-fill-lower {
  344. background: #555555;
  345. }