Files
BLE-mesh-sim/style.css
T

215 lines
3.8 KiB
CSS

#simContainer {
width: 100%;
height: 90%;
margin: 0 auto;
border: 1px solid #000;
box-sizing: border-box;
position: relative;
padding: 0;
overflow: hidden;
}
#controlContainer {
width: 100%;
height: 10%;
margin: 0 auto;
border: 1px solid #000;
padding: 5px;
box-sizing: border-box;
display: flex;
gap: 5px;
flex-direction: column;
justify-content: center;
align-items: center;
}
#connectionViewer, #propertyViewer {
width: 15%;
height: 90%;
margin: 0 auto;
border: 1px solid #000;
padding: 5px;
display: flex;
flex-direction: column;
justify-content: start;
align-items: start;
}
.controlButton {
width: 100%;
height: 100%;
cursor: pointer;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.rangeVis {
position: absolute;
border: 1px solid black;
border-radius: 50%;
z-index: 10;
opacity: 0.2;
background-color: red;
pointer-events: none;
}
#controlButtons {
display: flex;
flex-direction: row;
flex-grow: 1;
width: 100%;
gap: 10px;
}
#simToggles {
display: flex;
flex-direction: row;
flex-shrink: 1;
gap: 10px;
}
#simpleSettingsContent, #engineSettingsContent, #hardwareConstraintsContent, #visualizationSettingsContent {
display: flex;
flex-direction: column;
gap: 10px;
padding-left: 20px;
padding-top: 10px;
}
#simpleSettings, #hardwareConstraints, #engineSettings, #visualizationSettings {
margin-bottom: 10px;
}
#randomGraphModal, #warningModal, #successModal {
display: none;
position: absolute;
top: 0%;
left: 0%;
transform: translate(0%, 0%);
background-color: rgba(0, 0, 0, 0.5);
border: 1px solid #000;
width: 100%;
height: 100%;
z-index: 100;
}
#warningModalContent {
padding: 20px;
background-color: #fff;
border: 1px solid #ffee00;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#successModalContent {
padding: 20px;
background-color: #fff;
border: 1px solid #00ff00;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#randomGraphModalContent {
padding: 20px;
background-color: #fff;
border: 1px solid #000;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
gap: 10px;
}
#createRandomGraphConfirm, #createRandomGraphCancel {
margin-top: 10px;
}
#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: #ffffff;
border-top: 1px solid #000000;
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
padding-left: 10px;
overflow: hidden;
}
#consoleInput {
width: 100%;
height: 100%;
background-color: #ffffff;
color: #000000;
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: #ffffff;
color: #000000;
}
#cancelMarkNeighbor {
width: 100%;
margin-top: 10px;
display: none;
}