diustyles.css 6.6 KB

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