@robotical/ricjs
Version:
Javascript/TS library for Robotical RIC
183 lines (151 loc) • 2.66 kB
CSS
body {
padding-top: 1rem;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.main-container {
font-size: 1rem;
}
.title {
font-size: 1.2rem;
padding: 0.5rem 0.5rem;
text-align: center;
}
.info-columns {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
padding: 0.5rem 0.5rem;
border: 1px solid #ccc;
}
.examples-container {
font-size: 1rem;
padding: 0.1rem 0.1rem;
text-align: center;
flex-grow: 1;
}
.button-row {
margin: 0.5rem 0;
padding: 0.1rem;
flex-direction: column;
display: flex;
background-color: #efefef;
}
.buttons-container {
margin-bottom: auto;
}
.button-container {
width: 100%
}
.example-name {
flex-grow: 3;
padding-right: 5px;
}
.example-button {
flex-grow: 1;
}
.example-button button {
width: auto;
}
.example-name+.example-button {
margin-left: 2%;
}
.status-container {
flex-grow: 1;
padding: 1rem;
}
.status-disconn {
background-color: #f00;
color: #efefef;
padding: 0.2rem;
}
.status-conn {
background-color: #080;
color: #efefef;
padding: 0.2rem;
}
.pix-info {
display: inline;
}
.pix-info-idx {
display: inline;
padding-right: 0.5rem;
}
.pix-info-rgb {
display: inline-block;
margin-right: 0.5rem;
min-width: 20px;
min-height: 8px;
border: 2px solid #ccc;
}
.flag-info {
display: inline;
border: 2px solid #ccc;
padding-right: 4px;
margin-right: 3px;
}
.flag-line-sep {
display: block;
margin-top: 5px;
}
#imu-status-container {
margin-top: 10px;
}
.info-status-container {
margin-top: 10px;
}
.table-striped tr:nth-child(even) {
background-color: #f2f2f2;
}
table,
th,
td {
border-collapse: collapse;
}
.table-bordered table,
th,
td {
border: 1px solid black;
font-family: "consolas", "monospace";
}
.table-head {
font-weight: bold;
}
.progress {
height: 1.0em;
width: 100%;
background-color: #c9c9c9;
position: relative;
display: inline;
}
.progress:before {
content: attr(data-label);
font-size: 0.8em;
position: absolute;
text-align: center;
top: 5px;
left: 0;
right: 0;
}
.progress .value {
background-color: #7cc4ff;
display: inline-block;
height: 100%;
}
.field-name {
display: inline;
}
.progress-line {
display: block;
}
.event-time-info {
padding-right: 10px;
}
.info-status-scroll {
max-height: 5rem;
overflow-y: scroll
}
.status-invalid {
background-color: red;
color: white;
}