betaflight-configurator/tabs/dataflash.css

179 lines
3.3 KiB
CSS
Raw Normal View History

.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 .note {
padding: 5px;
border: 1px dashed silver;
margin-bottom: 8px;
}
.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 .buttons a {
display: block;
float: right;
margin-left: 10px;
height: 28px;
line-height: 28px;
padding: 0 15px 0 15px;
text-align: center;
font-weight: bold;
border: 1px solid silver;
background-color: #ececec;
}
.tab-dataflash .buttons a:hover {
background-color: #dedcdc;
}
.tab-dataflash .buttons a.disabled {
cursor: default;
color: #999;
pointer-events: none;
}
.tab-dataflash .dataflash-progress {
display: none;
}
.tab-dataflash .dataflash-contents {
margin:9px 16px;
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;
}
.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:#bcf;
}
.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;
}
.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;
}
.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;
}