mirror of
https://github.com/wisplite/BLE-mesh-sim.git
synced 2026-10-30 13:32:21 -05:00
HUGE update. New settings location, new styles, better dark mode, console, and ROUTING!!!
This commit is contained in:
+102
-6
@@ -93,7 +93,7 @@ html, body {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
#simpleSettingsContent, #engineSettingsContent, #hardwareConstraintsContent {
|
||||
#simpleSettingsContent, #engineSettingsContent, #hardwareConstraintsContent, #visualizationSettingsContent {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
@@ -101,21 +101,21 @@ html, body {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
#simpleSettings, #hardwareConstraints, #engineSettings {
|
||||
#simpleSettings, #hardwareConstraints, #engineSettings, #visualizationSettings {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#randomGraphModal, #warningModal {
|
||||
#randomGraphModal, #warningModal, #successModal {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0%;
|
||||
left: 0%;
|
||||
transform: translate(0%, 0%);
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
padding: 20px;
|
||||
border: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#warningModalContent {
|
||||
@@ -131,6 +131,19 @@ html, body {
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
#successModalContent {
|
||||
padding: 20px;
|
||||
background-color: #2d2d2d;
|
||||
border: 2px solid #00ff00;
|
||||
border-radius: 8px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
color: #e0e0e0;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
#randomGraphModalContent {
|
||||
padding: 20px;
|
||||
background-color: #2d2d2d;
|
||||
@@ -144,6 +157,16 @@ html, body {
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
#createRandomGraphCancel {
|
||||
margin-top: 10px;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
#createRandomGraphConfirm {
|
||||
margin-top: 10px;
|
||||
background-color: #4a9eff;
|
||||
@@ -205,4 +228,77 @@ button:active {
|
||||
/* Checkbox and radio button styling */
|
||||
input[type="checkbox"], input[type="radio"] {
|
||||
accent-color: #4a9eff;
|
||||
}
|
||||
|
||||
#routingProgressContainer {
|
||||
display: none;
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#routingProgress {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
#openConsole {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#consoleContainer {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
z-index: 10;
|
||||
width: 100%;
|
||||
height: 10%;
|
||||
background-color: #000000;
|
||||
border-top: 1px solid #ffffff;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-left: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#consoleInput {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #000000;
|
||||
color: #e0e0e0;
|
||||
border: none;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#consoleInput:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
#consoleInputContainer {
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: start;
|
||||
gap: 0px;
|
||||
}
|
||||
|
||||
|
||||
#consoleOutput {
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: #000000;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
Reference in New Issue
Block a user