diustyles.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  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. .bkeyNarrow { width: 12vw; height: 25vh; }
  119. .bkeyTime { width:16vw; height:10vh; }
  120. .bkeyw { width: 25vw; height: 17vh; }
  121. .bkeym { width: 20vw; height: 17vh; }
  122. .bkeyHuge { width: 80vw; height: 80vh; }
  123. .bfieldinp { width: 18vh; height: 22vh; }
  124. .bdisp {
  125. font-weight: bold;
  126. color: #444444;
  127. margin-left: auto;
  128. background: none;
  129. border: none;
  130. }
  131. .bdisp:focus { outline:0; }
  132. .bmsg {
  133. font-weight: bold;
  134. color: #444444;
  135. background: #ADD8E6;
  136. }
  137. .bmsg:focus { outline:0; }
  138. .bstatus {
  139. font-weight: bold;
  140. color: #444444;
  141. }
  142. .bstatus:focus { outline:0; }
  143. .bdrop {
  144. font-weight: bold;
  145. color: #444444;
  146. background: none;
  147. }
  148. .bdrop:focus {
  149. outline:0;
  150. }
  151. .bdropinp {
  152. font-weight: bold;
  153. color: #444444;
  154. background: none;
  155. -webkit-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  156. -moz-transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  157. transition: margin-left 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  158. }
  159. .bdropinp.ltyellow { background: #ffffe0; }
  160. .bdropinp.mny { color: #446444; }
  161. .bdropinp.logout { color: #aa4444; }
  162. .bdropinp.highlight { background: #aaaaff; }
  163. .bdropinp:focus { outline:0; }
  164. .bdropinp:active {
  165. /* margin-left:9px; */
  166. margin-left:1vw;
  167. background: #aaaaaa;
  168. -webkit-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  169. -moz-transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  170. transition: margin-left 0.05s ease, box-shadow 0.05s ease, background 0.05s ease;
  171. -webkit-box-shadow: 0px 0px 0px #8e44ad;
  172. -moz-box-shadow: 0px 0px 0px #8e44ad;
  173. box-shadow: 0px 0px 0px #8e44ad;
  174. }
  175. /***********/
  176. .bkey:focus { outline:0; }
  177. .bkeym:focus { outline:0; }
  178. .bkeyw:focus { outline:0; }
  179. .bkeyHuge:focus { outline:0; }
  180. .bfieldinp:focus { outline:0; }
  181. .btnprv {
  182. position: absolute;
  183. left: 83vw;
  184. top: 5vh;
  185. }
  186. .btnnxt {
  187. position: absolute;
  188. left: 83vw;
  189. top: 30vh;
  190. }
  191. #mainstatus {
  192. font-family: "Courier New";
  193. font-weight:bold;
  194. font-family: monospace;
  195. font-size: 3.85vh;
  196. letter-spacing: 0.125vw;
  197. color: #d7d644;
  198. position:absolute;
  199. bottom:0;
  200. width:110%;
  201. height: 6vh;
  202. background:#555555;
  203. margin-left: -7vw;
  204. }
  205. .rowmain0 {
  206. position: absolute;
  207. top: 50%;
  208. }
  209. .rowmain1 {
  210. position: absolute;
  211. top: 70%;
  212. }
  213. .invisiblock {
  214. background-color: rgba(0,0,0,0);
  215. border: none !important;
  216. font-size: 0;
  217. position: fixed;
  218. z-index: 2;
  219. outline:0;
  220. }
  221. /* slider range css */
  222. /*
  223. * https://codepen.io/noahblon/pen/OyajvN
  224. */
  225. input[type="range"] {
  226. margin: auto;
  227. -webkit-appearance: none;
  228. position: relative;
  229. overflow: hidden;
  230. /*
  231. height: 40px;
  232. width: 200px;
  233. */
  234. height: 20vh;
  235. width: 40vw;
  236. cursor: pointer;
  237. border-radius: 0; /* iOS */
  238. }
  239. input[type="range"].wide {
  240. /*
  241. width: 400px;
  242. */
  243. width: 40vw;
  244. }
  245. input[type="range"]:focus {
  246. outline:none;
  247. }
  248. ::-webkit-slider-runnable-track {
  249. background: #ddd;
  250. }
  251. /*
  252. * 1. Set to 0 width and remove border for a slider without a thumb
  253. */
  254. ::-webkit-slider-thumb {
  255. -webkit-appearance: none;
  256. /*
  257. width: 20px;
  258. height: 40px;
  259. */
  260. height: 20vh;
  261. width: 5vw;
  262. background: #efefef;
  263. box-shadow: -100vw 0 0 100vw #555555;
  264. border: 2px solid #999;
  265. }
  266. ::-moz-range-track {
  267. /*
  268. height: 40px;
  269. */
  270. height: 20vh;
  271. background: #ddd;
  272. }
  273. ::-moz-range-thumb {
  274. background: #fff;
  275. /*
  276. height: 40px;
  277. width: 20px;
  278. */
  279. height: 20vh;
  280. width: 10vw;
  281. border: 3px solid #999;
  282. border-radius: 0 !important;
  283. box-shadow: -100vw 0 0 100vw #555555;
  284. box-sizing: border-box;
  285. }
  286. ::-ms-fill-lower {
  287. background: #555555;
  288. }