betaflight-configurator/tabs/dataflash.css

187 lines
3.3 KiB
CSS

.tab-dataflash .info {
margin: 0 0 10px 0;
position: relative;
}
.tab-dataflash .info .progressLabel {
position: absolute;
width: 100%;
height: 26px;
top: 0;
left: 0;
text-align: center;
line-height: 24px;
color: white;
font-weight: bold;
/* text-shadow: 1px 0px 2px rgba(0, 0, 0, 0.9);*/
}
.tab-dataflash .properties {
margin-top: 10px;
}
.tab-dataflash .dataflash-info {
overflow: hidden;
}
.tab-dataflash .dataflash-info dt {
float: left;
width: 12em;
height: 20px;
line-height: 20px;
font-weight: bold;
}
.tab-dataflash .dataflash-info dd {
display: block;
height: 20px;
line-height: 20px;
}
.tab-dataflash .speed {
margin-top: 5px;
width: 80px;
border: 1px solid silver;
}
.tab-dataflash .info {
margin-top: 10px;
}
.tab-dataflash .info dt {
float: left;
width: 120px;
height: 20px;
line-height: 20px;
font-weight: bold;
}
.tab-dataflash .info dd {
display: block;
margin-left: 130px;
height: 20px;
line-height: 20px;
}
.tab-dataflash .buttons {
width: calc(100% - 20px);
position: absolute;
bottom: 10px;
}
.tab-dataflash .dataflash-progress {
display: none;
}
.tab-dataflash .dataflash-contents {
margin-top: 5px;
border: 1px solid silver;
background-color: #eee;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
border-radius: 6px;
}
.tab-dataflash .dataflash-contents li {
height: 26px;
position: relative;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.20);
border-radius: 4px;
}
.tab-dataflash .dataflash-contents li div {
position: absolute;
top: 26px;
margin-top: 4px;
text-align: center;
left: 0;
right: 0;
}
.tab-dataflash .dataflash-used {
background-color: #59AA29;
border-radius: 4px;
}
.tab-dataflash progress::-webkit-progress-bar {
height: 24px;
background-color: #eee;
}
.tab-dataflash progress::-webkit-progress-value {
background-color: #bcf;
}
.tab-dataflash dialog {
width: 40em;
border-radius: 5px;
}
.tab-dataflash dialog .buttons {
position: static;
margin-top: 2em;
overflow: hidden;
width: auto;
}
.tab-dataflash dialog h3 {
margin-bottom: 0.5em;
}
.dataflash-confirm-erase .dataflash-erase-progress {
height: 125px;
display: none;
border-radius: 5px;
}
.dataflash-confirm-erase.erasing .dataflash-erase-progress {
display: block;
}
.dataflash-confirm-erase.erasing h3, .dataflash-confirm-erase.erasing .erase-flash-confirm, .dataflash-confirm-erase.erasing .dataflash-confirm-erase-note
{
display: none;
}
.tab-dataflash progress {
display: block;
width: 100%;
margin: 1em 0;
}
.dataflash-saving .dataflash-saving-after {
display: none;
}
.dataflash-saving.done .dataflash-saving-before {
display: none;
}
.dataflash-saving.done .dataflash-saving-after {
display: block;
}
.require-dataflash {
display: none;
}
.tab-dataflash.supported .require-dataflash {
display: block;
}
.require-no-dataflash {
display: block;
}
.tab-dataflash.supported .require-no-dataflash {
display: none;
}
@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {
.tab-dataflash table thead tr:first-child {
font-size: 12px;
height: 22px;
}
}