diustyles.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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. height:60vh;
  74. overflow:hidden;
  75. }
  76. .textwindowmain {
  77. float: left;
  78. color: #444444;
  79. font-size: 3vw;
  80. letter-spacing: 0.125vw;
  81. font-weight:bold;
  82. font-family: monospace;
  83. outline: thin solid #999999;
  84. background: #f7f7f7;
  85. width:63vw;
  86. height:50vh;
  87. overflow:hidden;
  88. }
  89. .textrow {
  90. padding-left: 0.5vw;
  91. float:left;
  92. width: 100%;
  93. text-align:left;
  94. }
  95. .textrow.accept {
  96. background: #44cc44;
  97. color: #444444;
  98. }
  99. .textrow.reject {
  100. background: #cc4444;
  101. color: #dddddd;
  102. }
  103. .textrow.error {
  104. background: #ff7f33;
  105. color: #444444;
  106. }
  107. /***********/
  108. .bkeyFull {
  109. width: 96vw;
  110. height:96vh;
  111. }
  112. .row4 { height: 20vh; }
  113. .row5 { height: 15vh; }
  114. body { letter-spacing: 0.25em; }
  115. .row { height: 160px; }
  116. .col { width: 160px; }
  117. .bdisp {
  118. font-size: 6vh;
  119. margin-top: 4vh;
  120. margin-right: 1vw;
  121. font-weight: bold;
  122. color: #444444;
  123. margin-left: auto;
  124. background: none;
  125. border: none;
  126. }
  127. .bstatus { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  128. .bstatus { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  129. .bdrop { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  130. /*
  131. .bdropinp { font-size: 6vh; border: solid .3vw #888888; box-shadow: .5vw .5vw 0px #aaaaaa; }
  132. */
  133. .bkey { width: 20vh; height: 20vh; }
  134. .bkeyFull { width: 96vw; height: 96vh; }
  135. .bkeyNarrow { width: 12vw; height: 25vh; }
  136. .bkeyTime {
  137. width:16vw;
  138. height:10vh;
  139. color:#bb4444;
  140. font-family: monospace;
  141. font-size: 6.5vh;
  142. }
  143. .bkeyTimeBig { width:16vw; height:10vh; }
  144. .bkeyw { width: 25vw; height: 17vh; }
  145. .bkeym { width: 20vw; height: 17vh; }
  146. .bkeyHuge { width: 80vw; height: 80vh; }
  147. .bfieldinp { width: 18vh; height: 22vh; }
  148. .bdisp:focus { outline:0; }
  149. .bmsg {
  150. font-weight: bold;
  151. color: #444444;
  152. background: #ADD8E6;
  153. }
  154. .bmsg:focus { outline:0; }
  155. .bstatus {
  156. font-weight: bold;
  157. color: #444444;
  158. }
  159. .bstatus:focus { outline:0; }
  160. .bdrop {
  161. font-weight: bold;
  162. color: #444444;
  163. background: none;
  164. }
  165. .bdrop:focus {
  166. outline:0;
  167. }
  168. .bdropinp {
  169. font-weight: bold;
  170. color: #444444;
  171. background: none;
  172. -webkit-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  173. -moz-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  174. transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  175. font-size: 6vh;
  176. border: solid .3vw #888888;
  177. box-shadow: .5vw .5vw 0px #aaaaaa;
  178. }
  179. .bdropinp.ltyellow { background: #ffffbb; }
  180. .bdropinp.mny { color: #446444; background: #efefef; }
  181. .bdropinp.blk { color: #444444; }
  182. .bdropinp.mnu { color: #444444; }
  183. .bdropinp.logout { color: #aa4444; background: #efe3e3; }
  184. .bdropinp.options { color: #aa4444; background: #efe3e3; }
  185. .bdropinp.highlight { background: #aaaaff; }
  186. .bdropinp.dim { background: #efefef; }
  187. /*
  188. .bdropinp.mny { color: #444444; background: #e3efe3; }
  189. .bdropinp.blk { color: #444444; background: #e9efe9; }
  190. .bdropinp.mnu { color: #444444; background: #e3e3ef; }
  191. .bdropinp.logout { color: #aa4444; background: #efe3e3; }
  192. .bdropinp.highlight { background: #aaaaff; }
  193. .bdropinp.dim { background: #e7e7e7; }
  194. */
  195. .bdropinp:focus { outline:0; }
  196. .bdropinp:active {
  197. margin-left:1vw;
  198. background: #aaaaaa;
  199. -webkit-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  200. -moz-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  201. transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  202. -webkit-box-shadow: 0px 0px 0px #8e44ad;
  203. -moz-box-shadow: 0px 0px 0px #8e44ad;
  204. box-shadow: 0px 0px 0px #8e44ad;
  205. }
  206. /***********/
  207. .bkey:focus { outline:0; }
  208. .bkeym:focus { outline:0; }
  209. .bkeyw:focus { outline:0; }
  210. .bkeyHuge:focus { outline:0; }
  211. .bfieldinp:focus { outline:0; }
  212. .btnprv {
  213. position: absolute;
  214. left: 83vw;
  215. top: 5vh;
  216. /*
  217. background: #efefdf;
  218. */
  219. }
  220. .btnnxt {
  221. position: absolute;
  222. left: 83vw;
  223. top: 30vh;
  224. /*
  225. background: #efefdf;
  226. */
  227. }
  228. #mainstatus {
  229. font-family: "Courier New";
  230. font-weight:bold;
  231. font-family: monospace;
  232. font-size: 3.85vh;
  233. letter-spacing: 0.125vw;
  234. color: #d7d644;
  235. position:absolute;
  236. bottom:0;
  237. width:110%;
  238. height: 6vh;
  239. background:#555555;
  240. margin-left: -7vw;
  241. }
  242. .rowmain0 {
  243. position: absolute;
  244. top: 50%;
  245. }
  246. .rowmain1 {
  247. position: absolute;
  248. top: 70%;
  249. }
  250. .invisiblock {
  251. background-color: rgba(0,0,0,0);
  252. border: none !important;
  253. font-size: 0;
  254. position: fixed;
  255. z-index: 2;
  256. outline:0;
  257. }
  258. /* slider range css */
  259. /*
  260. * https://codepen.io/noahblon/pen/OyajvN
  261. */
  262. input[type="range"] {
  263. margin: auto;
  264. -webkit-appearance: none;
  265. position: relative;
  266. overflow: hidden;
  267. height: 20vh;
  268. width: 40vw;
  269. cursor: pointer;
  270. border-radius: 0; /* iOS */
  271. }
  272. input[type="range"].wide {
  273. width: 40vw;
  274. }
  275. input[type="range"]:focus {
  276. outline:none;
  277. }
  278. ::-webkit-slider-runnable-track {
  279. background: #ddd;
  280. }
  281. /*
  282. * 1. Set to 0 width and remove border for a slider without a thumb
  283. */
  284. ::-webkit-slider-thumb {
  285. -webkit-appearance: none;
  286. height: 20vh;
  287. width: 5vw;
  288. background: #efefef;
  289. box-shadow: -100vw 0 0 100vw #555555;
  290. border: 2px solid #999;
  291. }
  292. ::-moz-range-track {
  293. height: 20vh;
  294. background: #ddd;
  295. }
  296. ::-moz-range-thumb {
  297. background: #fff;
  298. height: 20vh;
  299. width: 10vw;
  300. border: 3px solid #999;
  301. border-radius: 0 !important;
  302. box-shadow: -100vw 0 0 100vw #555555;
  303. box-sizing: border-box;
  304. }
  305. ::-ms-fill-lower {
  306. background: #555555;
  307. }