| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384 |
- body {
- font-family: Arial, sans-serif;
- margin: 0;
- padding: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- height: 100vh;
- }
- .container {
- display: flex;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- border: 1px solid #ccc;
- }
- .labels {
- width: 17%;
- border-right: 1px solid #ccc;
- padding: 20px;
- }
- .label-button {
- display: block;
- width: 50%;
- padding: 10px;
- margin-bottom: 10px;
- border: none;
- cursor: pointer;
- text-align: left;
- font-size: 20px;
- margin-top: 5%;
- background:none;
- }
- .label-button:hover {
- background-color: #ddd;
- }
- .content {
- width: 80%;
- padding: 20px;
- }
- .page {
- display: none;
- width: 100%;
- height: 95%;
- }
- #page1
- {
- background-color:bisque;
- overflow-y: auto;
- }
- #page2
- {
- background-color:bisque;
- overflow-y: auto;
- }
- #page2_header
- {
- height: 8%;
- }
- #page2_title
- {
- width: 30%;
- height: 100%;
- float: left;
- margin-left: 30%;
- }
- #page2_button
- {
- width: 25%;
- height: 100%;
- float: left;
- margin-left: 10%;
- }
- #page2_button button
- {
- width: 20%;
- height: 60%;
- font-size: 20px;
- margin-top: 5%;
- }
- #page2_pagination
- {
- width: 40%;
- height: 5%;
- float: left;
- margin-left: 40%;
- }
- #page3_pagination
- {
- width: 40%;
- height: 5%;
- float: left;
- margin-left: 40%;
- }
- #page3
- {
- background-color:bisque;
- }
- #page4
- {
- background-color:bisque;
- }
- .page.active {
- display: block;
- width: 100%;
- height: 100%;
- border: 1px solid #ccc;
- background-color:bisque;
- }
- .page.active h2
- {
- font-size: 30px;
- margin-left: 45%;
- }
- #total_Voltage
- {
- width: 30%;
- height: 25%;
- float: left;
- margin-left: 15%;
- margin-top: 2%;
- border: 1px solid #ccc;
- }
- #total_Voltage td
- {
- width: 100px;
- height: 50px;
- margin-left: 10%;
- }
- #total_Current
- {
- width: 30%;
- height: 25%;
- float: left;
- margin-left: 15%;
- margin-top: 2%;
- border: 1px solid #ccc;
- }
- #total_Power
- {
- width: 30%;
- height: 25%;
- float: left;
- margin-left: 15%;
- margin-top: 2%;
- border: 1px solid #ccc;
- }
- #total_power_consumption
- {
- width: 30%;
- height: 25%;
- float: left;
- margin-left: 15%;
- margin-top: 2%;
- border: 1px solid #ccc;
- }
- #total_freq
- {
- width: 30%;
- height: 25%;
- float: left;
- margin-left: 15%;
- margin-top: 2%;
- border: 1px solid #ccc;
- }
- #Operation
- {
- width: 30%;
- height: 15%;
- float: left;
- margin-left: 15%;
- margin-top: 2%;
- border: 1px solid #ccc;
- }
- #Operation button
- {
- width: 20%;
- height: 35%;
- font-size: 20px;
- margin-top: 2%;
- float: left;
- margin-left: 15%;
- margin-top: 10%;
- }
- #Voltage_label
- {
- font-size: 30px;
- margin-left: 30%;
- margin-top: 5%;
- }
- td
- {
- width: 200px;
- font-size: 30px;
- text-align: center;
- border: 1px solid #ccc;
- }
- th
- {
- width: 200px;
- font-size: 30px;
- text-align: center;
- border: 1px solid #ccc;
- }
- #Voltage
- {
- font-size: 30px;
- text-align: center;
- float: left;
- margin-left: 20%;
- margin-top: 1%;
- }
- #Voltage nav
- {
- float: left;
- font-size: 30px;
- }
- #L1
- {
- width: 300px;
- height: 50px;
- float: left;
- }
- #L2
- {
- width: 300px;
- height: 50px;
- float: left;
- }
- #L3
- {
- width: 300px;
- height: 50px;
- float: left;
- margin-top: 1%;
- }
- #V
- {
- font-size: 40px;
- text-align: center;
- float: left;
- margin-top: 8%;
- margin-left: 1%;
- }
- #Current
- {
- font-size: 30px;
- text-align: center;
- float: left;
- margin-left: 28%;
- margin-top: 1%;
- }
- #Current nav
- {
- float: left;
- font-size: 30px;
- }
- #Power
- {
- font-size: 30px;
- text-align: center;
- float: left;
- margin-left: 20%;
- margin-top: 1%;
- }
- #Power nav
- {
- float: left;
- font-size: 30px;
- }
- #power_consumption
- {
- font-size: 30px;
- text-align: center;
- float: left;
- margin-left: 25%;
- margin-top: 1%;
- }
- #power_consumption nav
- {
- float: left;
- font-size: 30px;
- }
- #freq
- {
- font-size: 30px;
- text-align: center;
- float: left;
- margin-left: 20%;
- margin-top: 1%;
- }
- #freq nav
- {
- float: left;
- font-size: 30px;
- }
- td
- {
- font-size: 20px;
- }
- td button
- {
- width: 80px;
- height: 50px;
- font-size: 20px;
- border: 1px solid #ccc;
- cursor: pointer;
- }
- th
- {
- font-size: 20px;
- }
- #page3 table
- {
- margin-left: 2%;
- }
- #page3 tbody
- {
- width: 100%;
- height: 100%;
- }
- #page3 td
- {
- width: 300px;
- height:50px;
- }
- #page4 table
- {
- margin-left: 1%;
- }
- #tbody button
- {
- width: 100%;
- height: 120%;
- }
- #tbody button
- {
- width: 100%;
- height: 120%;
- }
- .modal {
- display: none;
- position: fixed;
- z-index: 1;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- overflow: auto;
- background-color: rgb(0,0,0);
- background-color: rgba(0,0,0,0.4);
- padding-top: 60px;
- }
-
- .modal-content {
- background-color: #fefefe;
- margin: 5% auto;
- margin-left: 40%;
- padding: 20px;
- border: 1px solid #888;
- width: 30%;
- }
-
- .close {
- color: #aaa;
- float: right;
- font-size: 28px;
- font-weight: bold;
- }
-
- .close:hover,
- .close:focus {
- color: black;
- text-decoration: none;
- cursor: pointer;
- }
|