index.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. body {
  2. font-family: Arial, sans-serif;
  3. margin: 0;
  4. padding: 0;
  5. display: flex;
  6. flex-direction: column;
  7. align-items: center;
  8. justify-content: center;
  9. height: 100vh;
  10. }
  11. .container {
  12. display: flex;
  13. width: 100%;
  14. height: 100%;
  15. box-sizing: border-box;
  16. border: 1px solid #ccc;
  17. }
  18. .labels {
  19. width: 17%;
  20. border-right: 1px solid #ccc;
  21. padding: 20px;
  22. }
  23. .label-button {
  24. display: block;
  25. width: 50%;
  26. padding: 10px;
  27. margin-bottom: 10px;
  28. border: none;
  29. cursor: pointer;
  30. text-align: left;
  31. font-size: 20px;
  32. margin-top: 5%;
  33. background:none;
  34. }
  35. .label-button:hover {
  36. background-color: #ddd;
  37. }
  38. .content {
  39. width: 80%;
  40. padding: 20px;
  41. }
  42. .page {
  43. display: none;
  44. width: 100%;
  45. height: 95%;
  46. }
  47. #page1
  48. {
  49. background-color:bisque;
  50. overflow-y: auto;
  51. }
  52. #page2
  53. {
  54. background-color:bisque;
  55. overflow-y: auto;
  56. }
  57. #page2_header
  58. {
  59. height: 8%;
  60. }
  61. #page2_title
  62. {
  63. width: 30%;
  64. height: 100%;
  65. float: left;
  66. margin-left: 30%;
  67. }
  68. #page2_button
  69. {
  70. width: 25%;
  71. height: 100%;
  72. float: left;
  73. margin-left: 10%;
  74. }
  75. #page2_button button
  76. {
  77. width: 20%;
  78. height: 60%;
  79. font-size: 20px;
  80. margin-top: 5%;
  81. }
  82. #page2_pagination
  83. {
  84. width: 40%;
  85. height: 5%;
  86. float: left;
  87. margin-left: 40%;
  88. }
  89. #page3_pagination
  90. {
  91. width: 40%;
  92. height: 5%;
  93. float: left;
  94. margin-left: 40%;
  95. }
  96. #page3
  97. {
  98. background-color:bisque;
  99. }
  100. #page4
  101. {
  102. background-color:bisque;
  103. }
  104. .page.active {
  105. display: block;
  106. width: 100%;
  107. height: 100%;
  108. border: 1px solid #ccc;
  109. background-color:bisque;
  110. }
  111. .page.active h2
  112. {
  113. font-size: 30px;
  114. margin-left: 45%;
  115. }
  116. #total_Voltage
  117. {
  118. width: 30%;
  119. height: 25%;
  120. float: left;
  121. margin-left: 15%;
  122. margin-top: 2%;
  123. border: 1px solid #ccc;
  124. }
  125. #total_Voltage td
  126. {
  127. width: 100px;
  128. height: 50px;
  129. margin-left: 10%;
  130. }
  131. #total_Current
  132. {
  133. width: 30%;
  134. height: 25%;
  135. float: left;
  136. margin-left: 15%;
  137. margin-top: 2%;
  138. border: 1px solid #ccc;
  139. }
  140. #total_Power
  141. {
  142. width: 30%;
  143. height: 25%;
  144. float: left;
  145. margin-left: 15%;
  146. margin-top: 2%;
  147. border: 1px solid #ccc;
  148. }
  149. #total_power_consumption
  150. {
  151. width: 30%;
  152. height: 25%;
  153. float: left;
  154. margin-left: 15%;
  155. margin-top: 2%;
  156. border: 1px solid #ccc;
  157. }
  158. #total_freq
  159. {
  160. width: 30%;
  161. height: 25%;
  162. float: left;
  163. margin-left: 15%;
  164. margin-top: 2%;
  165. border: 1px solid #ccc;
  166. }
  167. #Operation
  168. {
  169. width: 30%;
  170. height: 15%;
  171. float: left;
  172. margin-left: 15%;
  173. margin-top: 2%;
  174. border: 1px solid #ccc;
  175. }
  176. #Operation button
  177. {
  178. width: 20%;
  179. height: 35%;
  180. font-size: 20px;
  181. margin-top: 2%;
  182. float: left;
  183. margin-left: 15%;
  184. margin-top: 10%;
  185. }
  186. #Voltage_label
  187. {
  188. font-size: 30px;
  189. margin-left: 30%;
  190. margin-top: 5%;
  191. }
  192. td
  193. {
  194. width: 200px;
  195. font-size: 30px;
  196. text-align: center;
  197. border: 1px solid #ccc;
  198. }
  199. th
  200. {
  201. width: 200px;
  202. font-size: 30px;
  203. text-align: center;
  204. border: 1px solid #ccc;
  205. }
  206. #Voltage
  207. {
  208. font-size: 30px;
  209. text-align: center;
  210. float: left;
  211. margin-left: 20%;
  212. margin-top: 1%;
  213. }
  214. #Voltage nav
  215. {
  216. float: left;
  217. font-size: 30px;
  218. }
  219. #L1
  220. {
  221. width: 300px;
  222. height: 50px;
  223. float: left;
  224. }
  225. #L2
  226. {
  227. width: 300px;
  228. height: 50px;
  229. float: left;
  230. }
  231. #L3
  232. {
  233. width: 300px;
  234. height: 50px;
  235. float: left;
  236. margin-top: 1%;
  237. }
  238. #V
  239. {
  240. font-size: 40px;
  241. text-align: center;
  242. float: left;
  243. margin-top: 8%;
  244. margin-left: 1%;
  245. }
  246. #Current
  247. {
  248. font-size: 30px;
  249. text-align: center;
  250. float: left;
  251. margin-left: 28%;
  252. margin-top: 1%;
  253. }
  254. #Current nav
  255. {
  256. float: left;
  257. font-size: 30px;
  258. }
  259. #Power
  260. {
  261. font-size: 30px;
  262. text-align: center;
  263. float: left;
  264. margin-left: 20%;
  265. margin-top: 1%;
  266. }
  267. #Power nav
  268. {
  269. float: left;
  270. font-size: 30px;
  271. }
  272. #power_consumption
  273. {
  274. font-size: 30px;
  275. text-align: center;
  276. float: left;
  277. margin-left: 25%;
  278. margin-top: 1%;
  279. }
  280. #power_consumption nav
  281. {
  282. float: left;
  283. font-size: 30px;
  284. }
  285. #freq
  286. {
  287. font-size: 30px;
  288. text-align: center;
  289. float: left;
  290. margin-left: 20%;
  291. margin-top: 1%;
  292. }
  293. #freq nav
  294. {
  295. float: left;
  296. font-size: 30px;
  297. }
  298. td
  299. {
  300. font-size: 20px;
  301. }
  302. td button
  303. {
  304. width: 80px;
  305. height: 50px;
  306. font-size: 20px;
  307. border: 1px solid #ccc;
  308. cursor: pointer;
  309. }
  310. th
  311. {
  312. font-size: 20px;
  313. }
  314. #page3 table
  315. {
  316. margin-left: 2%;
  317. }
  318. #page3 tbody
  319. {
  320. width: 100%;
  321. height: 100%;
  322. }
  323. #page3 td
  324. {
  325. width: 300px;
  326. height:50px;
  327. }
  328. #page4 table
  329. {
  330. margin-left: 1%;
  331. }
  332. #tbody button
  333. {
  334. width: 100%;
  335. height: 120%;
  336. }
  337. #tbody button
  338. {
  339. width: 100%;
  340. height: 120%;
  341. }
  342. .modal {
  343. display: none;
  344. position: fixed;
  345. z-index: 1;
  346. left: 0;
  347. top: 0;
  348. width: 100%;
  349. height: 100%;
  350. overflow: auto;
  351. background-color: rgb(0,0,0);
  352. background-color: rgba(0,0,0,0.4);
  353. padding-top: 60px;
  354. }
  355. .modal-content {
  356. background-color: #fefefe;
  357. margin: 5% auto;
  358. margin-left: 40%;
  359. padding: 20px;
  360. border: 1px solid #888;
  361. width: 30%;
  362. }
  363. .close {
  364. color: #aaa;
  365. float: right;
  366. font-size: 28px;
  367. font-weight: bold;
  368. }
  369. .close:hover,
  370. .close:focus {
  371. color: black;
  372. text-decoration: none;
  373. cursor: pointer;
  374. }