html { height: 100%; } body { background-color: rgba(40, 40, 50, 1); user-select: none; margin: 0px; height: 100%; display: flex; justify-content: center; align-items: center; } /* ---------- ---------- ---------- [Navbar div] ---------- ---------- ---------- */ .nav_bar { display: flex; height: 100vh; width: 15vw; color: #ffffff; flex-direction: column; justify-content: flex-start; align-items: center; background-color: rgba(50, 50, 60, 1); } .nav_bar_instance_list { display: flex; background-color: rgba(50, 50, 60, 1); height: calc(100% - 5vh); width: 100%; justify-content: flex-start; flex-direction: column; align-items: center; overflow-y: auto; } .nav_bar_instance { display: flex; align-items: center; height: 7vh; background-color: rgba(70, 70, 80, 1); border-radius: 5px ; width: calc(100% - 8px - 8px); margin-top: 4px; margin-bottom: 4px; } .nav_bar_instance_icon { width: 15%; margin-left: 2%; } .nav_bar_instance_details { display: flex; flex-direction: column; margin-left: 2%; width: 69%; font-family: 'Segoe UI'; font-size: 1.75vh; } .nav_bar_instance_settings { width: 10%; margin-right: 2%; cursor: pointer; } .nav_bar_instance_status_0 { border: 2px solid #FF3232; } .nav_bar_instance_status_1 { border: 2px solid #46C800; } .nav_bar_instance_status_2 { border: 2px solid #FF9614; } .nav_bar_user { display: flex; height: 5vh; width: 100%; flex-wrap: nowrap; flex-direction: row; justify-content: space-evenly; align-items: center; background-color: rgba(70, 70, 80, 1); } .nav_bar_user_controls { width: 1vw; border: 2px solid #ffffff; padding: 0.2vw; border-radius: 5px; cursor: pointer; } .navbar_user_name { font-size: 1.75vh; color: #ffffff; font-family: 'Segoe UI'; } .navbar_user_id { font-size: 1.75vh; color: #aaaaaa; font-family: 'Segoe UI'; } /* ---------- ---------- ---------- [Navbar div] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Instance div] ---------- ---------- ---------- */ .instance { width: calc(100vw - 15vw - 5px); display: flex; flex-direction: row; justify-content: center; align-items: center; visibility: hidden; } .instance_panel { display: none; flex-direction: column; width: calc(60vw); margin-right: 5px; height: 80vh; background-color: rgba(50, 50, 60, 1); border: 4px solid rgba(60, 60, 70, 1); border-radius: 5px; } /* ---------- ---------- ---------- [Instance div] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Instance console] ---------- ---------- ---------- */ .instance_console { background-color: rgba(50, 50, 60, 1); border-radius: 5px; height: 100%; } .console_text_div { background-color: rgba(50, 50, 60, 1); height: calc(100% - 3% - 5px); scroll-snap-type: y proximity; overscroll-behavior-y: contain; overflow-y: scroll; overflow-x: hidden; padding: 0vh; } .console_text_div a { white-space: pre-line; color:#ffffff; font-family: monospace; } .console_text_div::-webkit-scrollbar { width: 8px; scrollbar-color: red; } .console_text_div::-webkit-scrollbar-button { display: none; } .console_text_div::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); } .console_text_div::-webkit-scrollbar-thumb { background: #888; } .console_text_div::-webkit-scrollbar-thumb { background: #888; } .console_text_div::-webkit-scrollbar-thumb:hover { background: #555; } .console_text_input_div { height: 3%; display: flex; } .console_text_input_div input { background-color: rgba(70, 70, 80, 1); color: #ffffff; border: 0px solid transparent; border-bottom-left-radius: 2.5px; padding: 0.5vh; box-sizing: border-box; outline: none; width: calc(100% - 10% - 5px); } .console_text_input_div button { background-color: rgba(70, 70, 80, 1); color: #ffffff; border: 0px solid transparent; border-bottom-right-radius: 2.5px; padding: 0.5vh; transition: border 0.2s; width: 10%; } /* ---------- ---------- ---------- [Instance console] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Instance info div] ---------- ---------- ---------- */ .instance_info { display: flex; align-items: center; height: 7vh; border: 4px solid rgba(70, 70, 80, 1); background-color: rgba(50, 50, 60, 1); border-radius: 5px ; margin-top: 0.3vh; margin-bottom: 0.3vh; margin-left: 0.3vw; margin-right: 0.3vw; } .instance_info_icon { width: 15%; margin-left: 2%; } .instance_info_details { display: flex; color: #ffffff; flex-direction: column; margin-left: 2%; width: 69%; font-size: 1.75vh; font-family: 'Segoe UI'; } /* ---------- ---------- ---------- [Instance info div] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Instance control div] ---------- ---------- ---------- */ .instance_control { display: none; flex-direction: column; width: calc(15vw); margin-left: 5px; height: 80vh; background-color: rgba(50, 50, 60, 1); border: 4px solid rgba(60, 60, 70, 1); border-radius: 5px; justify-content: space-between; overflow-x: hidden; overflow-y: auto; } .instance_control_top { margin-top: 0.3vh; } .instance_control_bottom { margin-bottom: 0.3vh; } /* ---------- ---------- ---------- [Instance control div] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Instance settings] ---------- ---------- ---------- */ .instance_settings { display: flex; flex-direction: column; border-radius: 5px; } .instance_settings button { color: #ffffff; background-color: rgba(70, 70, 80, 1); border: 2px solid rgba(90, 90, 100, 1); border-radius: 2.5px; padding: 0.5vh; margin-top: 0.3vh; margin-bottom: 0.3vh; margin-left: 0.3vw; margin-right: 0.3vw; width: calc(100% - 0.3vw - 0.3vw); } .instance_settings button:hover { background-color: rgba(90, 90, 100, 1); border: 2px solid rgba(150, 145, 160, 1); cursor: pointer; } .instance_settings a { color: #ffffff; } /* ---------- ---------- ---------- [Instance settings] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Instance custom control] ---------- ---------- ---------- */ .instance_custom_control { display: none; flex-direction: column; border: 4px solid rgba(70, 70, 80, 1); background-color: rgba(50, 50, 60, 1); border-radius: 5px; padding: 0.5vh; margin-top: 0.3vh; margin-bottom: 0.3vh; margin-left: 0.3vw; margin-right: 0.3vw; } .instance_custom_control button { color: #ffffff; background-color: rgba(70, 70, 80, 1); border: 2px solid rgba(90, 90, 100, 1); border-radius: 2.5px; padding: 0.5vh; margin-top: 0.3vh; margin-bottom: 0.3vh; margin-left: 0.3vw; margin-right: 0.3vw; width: calc(100% - 0.3vw - 0.3vw); } .instance_custom_control button:hover { background-color: rgba(90, 90, 100, 1); border: 2px solid rgba(150, 145, 160, 1); cursor: pointer; } /* ---------- ---------- ---------- [Instance custom control] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [CPU] ---------- ---------- ---------- */ .instance_stat_cpu { display: flex; border: 4px solid rgba(70, 70, 80, 1); border-radius: 5px; padding: 0.5vh; margin-top: 0.3vh; margin-bottom: 0.3vh; margin-left: 0.3vw; margin-right: 0.3vw; } .instance_stat_cpu div { display: flex; flex-direction: column; width: 95%; } .instance_stat_cpu div a { color: #ffffff; font-family: 'Segoe UI'; font-size: 1.4vh; } .instance_stat_cpu img { height: 5vh; margin-right: 4px; } /* ---------- ---------- ---------- [CPU] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [RAM] ---------- ---------- ---------- */ .instance_stat_ram { display: flex; border: 4px solid rgba(70, 70, 80, 1); border-radius: 5px; padding: 0.5vh; margin-top: 0.3vh; margin-bottom: 0.3vh; margin-left: 0.3vw; margin-right: 0.3vw; } .instance_stat_ram div { display: flex; flex-direction: column; width: 95%; } .instance_stat_ram div a { color: #ffffff; font-family: 'Segoe UI'; font-size: 1.4vh; } .instance_stat_ram img { height: 5vh; margin-right: 4px; } /* ---------- ---------- ---------- [RAM] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Storage] ---------- ---------- ---------- */ .instance_stat_storage { display: flex; border: 4px solid rgba(70, 70, 80, 1); border-radius: 5px; padding: 0.5vh; margin-top: 0.3vh; margin-bottom: 0.3vh; margin-left: 0.3vw; margin-right: 0.3vw; } .instance_stat_storage div { display: flex; flex-direction: column; width: 95%; } .instance_stat_storage div a { color: #ffffff; font-family: 'Segoe UI'; font-size: 1.4vh; } .instance_stat_storage img { height: 5vh; margin-right: 4px; } /* ---------- ---------- ---------- [Storage] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Stat bar] ---------- ---------- ---------- */ .stat_bar_border { border: 2px solid rgba(90, 90, 100, 1); border-radius: 4px; } .stat_bar_border div { transition: width 200ms; border-radius: 2px; height: 10px; width: 0%; } /* ---------- ---------- ---------- [Stat bar] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Instance control buttons] ---------- ---------- ---------- */ .control_button_div { display: flex; justify-content: space-between; margin-top: 0.3vh; margin-bottom: 0.3vh; margin-left: 0.3vw; margin-right: 0.3vw; overflow: hidden; } .control_button_div button { color: #ffffff; background-color: rgba(70, 70, 80, 1); border: 2px solid rgba(90, 90, 100, 1); border-radius: 2.5px; padding: 2%; } /* ---------- ---------- ---------- [Instance control buttons] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Start Restart Shutdown] ---------- ---------- ---------- */ .control_button_1 { width: 32%; } .control_button_1:hover { background-color: rgba(90, 90, 100, 1); border: 2px solid rgba(150, 145, 160, 1); cursor: pointer; } /* ---------- ---------- ---------- [Start Restart Shutdown] ---------- ---------- ---------- */ /* ---------- ---------- ---------- [Force-Stop Force-Reset] ---------- ---------- ---------- */ .control_button_2 { width: 49%; } .control_button_2:hover { background-color: #BC66FF; border: 2px solid rgba(150, 145, 160, 1); cursor: pointer; } /* ---------- ---------- ---------- [Force-Stop Force-Reset] ---------- ---------- ---------- */