index.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. body {
  2. background-color: black;
  3. overflow: hidden;
  4. }
  5. .unselectable {
  6. -webkit-touch-callout: none; /* iOS Safari */
  7. -webkit-user-select: none; /* Chrome/Safari/Opera */
  8. -khtml-user-select: none; /* Konqueror */
  9. -moz-user-select: none; /* Firefox */
  10. -ms-user-select: none; /* Internet Explorer/Edge */
  11. user-select: none; /* Non-prefixed version, currently
  12. not supported by any browser */
  13. }
  14. /* remove input number arrows in Chrome, Safari, Edge, Opera */
  15. input::-webkit-outer-spin-button,
  16. input::-webkit-inner-spin-button {
  17. -webkit-appearance: none;
  18. margin: 0;
  19. }
  20. /* remove input number arrows in Firefox */
  21. input[type=number] {
  22. -moz-appearance: textfield;
  23. }
  24. .sidePanel {
  25. position: absolute;
  26. width: 250px;
  27. height: calc(100% - 60px);
  28. background-color: rgba(70, 70, 80, 0.9);
  29. padding: 30px;
  30. overflow-y: auto;
  31. }
  32. ::-webkit-scrollbar {
  33. width: 10px;
  34. height: 12px;
  35. }
  36. ::-webkit-scrollbar-thumb {
  37. background: rgba(120, 120, 140, 1);
  38. border-radius: 4px;
  39. /*box-shadow: inset 6px 7px 11px #b6b6c0;*/
  40. }
  41. ::-webkit-scrollbar-track{
  42. background: transparent;
  43. border-radius: 9px;
  44. }
  45. .sidePanel>* {
  46. box-sizing: border-box;
  47. width: 100%;
  48. padding: 20px;
  49. border: solid rgba(120, 120, 140, 1) 5px;
  50. border-radius: 20px;
  51. }
  52. .sidePanel>*>* {
  53. width: 100%;
  54. text-align: center;
  55. }
  56. .sidePanel>*:not(:first-child) {
  57. margin-top: 40px;
  58. }
  59. .sidePanel>*>*:not(:first-child) {
  60. margin-top: 10px;
  61. }
  62. .sidePanel .schemeName {
  63. width: calc(100% - calc(2 * 6px));
  64. padding: 0 6px;
  65. font-family: base_font;
  66. font-weight: bold;
  67. font-size: 20px;
  68. text-align: center;
  69. background-color: lightgrey;
  70. border: none;
  71. border-radius: 6px;
  72. outline: none;
  73. }
  74. .sidePanel button {
  75. font-family: base_font;
  76. font-weight: bold;
  77. font-size: 25px;
  78. border: none;
  79. border-radius: 50px;
  80. outline: none;
  81. }
  82. .sidePanel .controls .loadButton {
  83. margin-top: 25px;
  84. }
  85. .sidePanel .coverageInfo {
  86. font-family: base_font;
  87. font-size: 23px;
  88. color: LightSteelBlue;
  89. }
  90. .animated:not(:hover) {
  91. transition-duration: 0.3s;
  92. }
  93. .animated:hover {
  94. transition-duration: 0.5s;
  95. transform: scale(1.1);
  96. }
  97. .animated-green:not(:hover) {
  98. background-color: limegreen;
  99. }
  100. .animated-green:hover {
  101. background-color: rgb(150, 220, 150);
  102. }
  103. .animated-blue:not(:hover) {
  104. background-color: deepskyblue;
  105. }
  106. .animated-blue:hover {
  107. background-color: rgb(140, 200, 240);
  108. }
  109. .animated-lightblue:not(:hover) {
  110. background-color: LightSteelBlue;
  111. }
  112. .animated-lightblue:hover {
  113. background-color: rgb(210, 230, 250);
  114. }
  115. .animated-red:not(:hover) {
  116. background-color: LightCoral;
  117. }
  118. .animated-red:hover {
  119. background-color: rgb(220, 150, 150);
  120. }
  121. .sidePanel .block:not(:hover) {
  122. transition-duration: 0.3s;
  123. }
  124. .sidePanel .block:hover {
  125. transition-duration: 0.5s;
  126. transform: scale(1.15);
  127. }
  128. .sidePanel .block:not(:first-child) {
  129. margin-top: 20px;
  130. }
  131. .blockToAdd .name {
  132. background-color: transparent;
  133. width: 60%;
  134. border: none;
  135. padding: none;
  136. outline: none;
  137. }
  138. .inputsOutputsNumber {
  139. width: 100%;
  140. background: linear-gradient(90deg, transparent 0%, deepskyblue 30%, limegreen 70%, transparent 100%);
  141. margin-top: 10px;
  142. border-radius: 20%;
  143. }
  144. .inputsOutputsNumber>* {
  145. display: inline-block;
  146. width: 50%;
  147. }
  148. .inputsOutputsNumber input {
  149. width: 100%;
  150. background-color: transparent;
  151. font-family: base_font;
  152. font-size: 20px;
  153. font-weight: bold;
  154. text-align: center;
  155. border: none;
  156. padding: none;
  157. outline: none;
  158. }
  159. .inputsOutputsGroups {
  160. display: flex;
  161. justify-content: space-between;
  162. width : 100%;
  163. }
  164. .inputsOutputsGroups>* {
  165. width: calc(50% - 5px);
  166. height: 100%;
  167. border-radius: 5px;
  168. }
  169. .inputsGroups {
  170. background-color: deepskyblue;
  171. }
  172. .outputsGroups {
  173. background-color: limegreen;
  174. }
  175. .inputsOutputsGroups>*>* {
  176. padding: 3px 0;
  177. font-family: base_font;
  178. font-weight: bold;
  179. font-size: 20px;
  180. }
  181. .addBlockButton {
  182. width: 100%;
  183. height: 30px;
  184. font-size: 25px;
  185. border: none;
  186. border-radius: 30px;
  187. margin-top: 10px;
  188. outline: none;
  189. }
  190. .testsEditor {
  191. width: 100%;
  192. height: 100%;
  193. }
  194. .testsEditor .noInputsOutputsMessage {
  195. font-family: base_font;
  196. font-weight: bold;
  197. font-size: 25px;
  198. }
  199. .testsEditor .tables {
  200. display: flex;
  201. flex-wrap: nowrap;
  202. }
  203. .testsTableWrapper {
  204. }
  205. .testsTable {
  206. border-collapse: collapse;
  207. height: 100%;
  208. }
  209. .testsTable td {
  210. color: grey;
  211. height: 40px;
  212. font-size: 25px;
  213. padding: 10px;
  214. }
  215. .testsTable tr:not(:last-child) td {
  216. border-bottom: 1px solid grey;
  217. }
  218. .testsTable tr td:not(:last-child) {
  219. border-right: 1px solid grey;
  220. }
  221. .testsTable.inputs tr td:first-child {
  222. border: none;
  223. }
  224. .testsTable .checkbox.checked {
  225. transition-duration: 0.2s;
  226. }
  227. .testsTable .checkbox.unchecked {
  228. transition-duration: 0.2s;
  229. }
  230. .testsTable.inputs .checkbox.checked {
  231. background-color: limegreen;
  232. }
  233. .testsTable.inputs .checkbox.unchecked {
  234. background-color: rgb(170, 220, 170);
  235. }
  236. .testsTable.outputs .checkbox.checked {
  237. background-color: skyblue;
  238. }
  239. .testsTable.outputs .checkbox.unchecked {
  240. background-color: rgb(190, 220, 240);
  241. }
  242. .removeRowButton {
  243. width: 25px;
  244. height: 25px;
  245. background-color: LightCoral;
  246. color: lightgrey;
  247. font-weight: bold;
  248. font-size: 20px;
  249. border: none;
  250. border-radius: 5px;
  251. padding: 7px;
  252. outline: none;
  253. }
  254. .addRowButton {
  255. width: 50%;
  256. margin-left: auto;
  257. margin-right: auto;
  258. margin-top: 12px;
  259. background-color: LimeGreen;
  260. color: lightgrey;
  261. font-weight: bold;
  262. font-size: 20px;
  263. border: none;
  264. border-radius: 5px;
  265. padding: 7px;
  266. outline: none;
  267. }
  268. .blocksArea {
  269. width: 100vw;
  270. height: 100vh;
  271. background-color: black;
  272. }
  273. .schemeArea {
  274. width: 100%;
  275. height: 100%;
  276. }
  277. .blocksWrapper {
  278. position: absolute;
  279. }
  280. .block {
  281. }
  282. .block .content {
  283. display: flex;
  284. justify-content: space-around;
  285. align-content: center;
  286. background-color: lightgrey;
  287. padding: 15px 0px;
  288. border-radius: 45px;
  289. outline: none;
  290. }
  291. @font-face {
  292. font-family: 'base_font';
  293. font-style: normal;
  294. font-weight: 400;
  295. src: url(KellySlab-Regular.ttf);
  296. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  297. }
  298. .block .name {
  299. text-align: center;
  300. font-family: 'base_font';
  301. font-weight: bold;
  302. font-size: 30px;
  303. color: black;
  304. margin-top: auto;
  305. margin-bottom: auto;
  306. padding: 0 8px;
  307. }
  308. .inputs,
  309. .outputs {
  310. height: 100%;
  311. margin: 0;
  312. padding: 0px 15px;
  313. }
  314. .input,
  315. .output {
  316. width: 30px;
  317. height: 30px;
  318. border: solid black 15px;
  319. border-radius: 50%;
  320. }
  321. .input:not(:last-child),
  322. .output:not(:last-child) {
  323. margin-bottom: 12px;
  324. }
  325. .input {
  326. background-color: limegreen;
  327. }
  328. .output {
  329. background-color: deepskyblue;
  330. }
  331. .groupSize {
  332. padding-top: 25%;
  333. font-family: base_font;
  334. font-weight: bold;
  335. text-align: center;
  336. }
  337. .wire {
  338. position: fixed;
  339. transform-origin: 0 center 0;
  340. z-index: 1;
  341. }