diustyles.css 6.5 KB

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