betaflight-configurator/tabs/dataflash.css

223 lines
4.2 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;
width: 100%;
color: black;
}
.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;
float: left;
}
.tab-dataflash .buttons a {
margin-top: 9px;
margin-bottom: 0px;
margin-right: 10px;
background-color: #59aa29;
border-radius: 3px;
border: 1px solid #4c8829;
color: #fff;
float: left;
font-family: 'open_sansbold', Arial;
font-size: 12px;
text-shadow: 0px 1px rgba(0, 0, 0, 0.25);
display: block;
cursor: pointer;
transition: all ease 0.2s;
padding: 0px;
padding-left: 9px;
padding-right: 9px;
line-height: 28px;
}
.tab-dataflash .buttons a:hover {
background-color: #6ac435;
border: 1px solid #4d9324;
text-shadow: 0px 1px rgba(0, 0, 0, 0.25);
color: #fff;
transition: all ease 0.2s;
}
.tab-dataflash .buttons a:active {
background-color: #4d9324;
transition: all ease 0.0s;
box-shadow: inset 0px 1px 5px rgba(0, 0, 0, 0.35);
}
.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;
}
}