betaflight-configurator/tabs/firmware_flasher.css

263 lines
5.4 KiB
CSS

.tab-firmware_flasher .info {
margin: 10px 0 0 0;
position: relative;
}
.tab-firmware_flasher .info .progressLabel {
position: absolute;
width: 100%;
height: 26px;
top: 0px;
left: 0;
text-align: center;
line-height: 24px;
color: white;
font-weight: bold;
/* text-shadow: 1px 0px 2px rgba(0, 0, 0, 0.9);*/
}
.red {
background-color: #dc0000;
background-image: linear-gradient(-45deg, rgba(255, 255, 255, .3) 10%, transparent 10%, transparent 20%,
rgba(255, 255, 255, .3) 20%, rgba(255, 255, 255, .3) 30%, transparent 30%, transparent 40%,
rgba(255, 255, 255, .3) 40%, rgba(255, 255, 255, .3) 50%, transparent 50%, transparent 60%,
rgba(255, 255, 255, .3) 60%, rgba(255, 255, 255, .3) 70%, transparent 70%, transparent 80%,
rgba(255, 255, 255, .3) 80%, rgba(255, 255, 255, .3) 90%, transparent 90%, transparent 100%,
rgba(255, 255, 255, .4) 100%, transparent);
}
.darkgrey {
background-color: #575757;
}
.tab-firmware_flasher .spacer_box_title {
float: none;
}
.tab-firmware_flasher .info {
float: left;
width: 100%;
}
.tab-firmware_flasher .info .progressLabel a {
color: white;
}
.tab-firmware_flasher .info .progressLabel a:hover {
text-decoration: underline;
}
.tab-firmware_flasher .info .progress {
width: 100%;
height: 26px;
border-radius: 5px;
border: 1px solid silver;
}
.tab-firmware_flasher .info .progress {
-webkit-appearance: none;
}
.tab-firmware_flasher .info .progress::-webkit-progress-bar {
background-color: #4f4f4f;
border-radius: 4px;
box-shadow: inset 0px 0px 5px #2f2f2f;
}
.tab-firmware_flasher .info .progress::-webkit-progress-value {
background-color: #F86008;
border-radius: 4px;
}
.tab-firmware_flasher .info .progress.valid::-webkit-progress-bar {
background-color: #56ac1d;
border-radius: 4px;
}
.tab-firmware_flasher .info .progress.valid::-webkit-progress-value {
background-color: #56ac1d;
border-radius: 4px;
}
.tab-firmware_flasher .info .progress.invalid::-webkit-progress-bar {
background-color: #A62E32;
border-radius: 4px;
}
.tab-firmware_flasher .info .progress.invalid::-webkit-progress-value {
background-color: #A62E32;
border-radius: 4px;
}
.tab-firmware_flasher .options {
position: relative;
margin-bottom: 10px;
line-height: 18px;
text-align: left;
}
.tab-firmware_flasher td {
text-align: left;
}
.tab-firmware_flasher .options label input {
float: left;
margin-top: 2px;
}
.tab-firmware_flasher .options label span {
font-weight: bold;
margin-left: 6px;
}
.tab-firmware_flasher .options select {
width: 250px;
height: 20px;
border: 1px solid silver;
}
.tab-firmware_flasher .options .releases select {
width: 280px;
}
.tab-firmware_flasher .option.releases {
margin: 0 0 2px 0;
line-height: 20px;
}
.tab-firmware_flasher .options .description {
position: relative;
left: 0px;
font-style: italic;
color: #818181;
}
.tab-firmware_flasher .cf_table td:last-child {
text-align: left;
}
.tab-firmware_flasher .options .flash_on_connect_wrapper {
display: none;
}
.tab-firmware_flasher .options .manual_baud_rate select {
width: 75px;
margin-left: 19px;
}
.tab-firmware_flasher .release_info {
display: none;
}
.tab-firmware_flasher .release_info .title {
line-height: 20px;
text-align: center;
font-weight: bold;
color: white;
border-bottom: 1px solid silver;
background-color: #3f4241;
}
.tab-firmware_flasher .release_info .target {
color: blue;
}
.tab-firmware_flasher .release_info p {
padding: 5px;
}
.tab-firmware_flasher .release_info p a {
font-weight: bold;
}
.tab-firmware_flasher .release_info p a:hover {
text-decoration: underline;
}
.tab-firmware_flasher .release_info .notes {
padding: 5px;
}
.tab-firmware_flasher .git_info {
display: none;
margin-bottom: 10px;
border: 1px solid silver;
}
.tab-firmware_flasher .git_info .title {
line-height: 20px;
text-align: center;
font-weight: bold;
color: white;
border-bottom: 1px solid silver;
background-color: #3f4241;
}
.tab-firmware_flasher .git_info p {
padding: 5px;
}
.tab-firmware_flasher .git_info p a {
font-weight: bold;
}
.tab-firmware_flasher .git_info p a:hover {
text-decoration: underline;
}
.tab-firmware_flasher .buttons {
width: calc(100% - 20px);
margin-top: 10px;
bottom: 10px;
}
.tab-firmware_flasher .buttons a {
display: block;
float: left;
margin: 0 10px 0 0;
padding: 0 15px 0 15px;
height: 28px;
line-height: 28px;
text-align: center;
font-weight: bold;
border: 1px solid silver;
background-color: #ececec;
}
.tab-firmware_flasher .buttons a:hover {
background-color: #dedcdc;
}
.tab-firmware_flasher .buttons a.flash_firmware.locked {
background-color: #b8b8b8;
}
.tab-firmware_flasher .buttons a.flash_firmware.locked:hover {
cursor: default;
background-color: #b8b8b8;
}
.tab-firmware_flasher .buttons a.load_remote_file.locked {
background-color: #b8b8b8;
}
.tab-firmware_flasher .buttons a.load_remote_file.locked:hover {
cursor: default;
background-color: #b8b8b8;
}
.tab-firmware_flasher .buttons a.back {
float: right;
margin: 0;
}
.btn a.disabled {
cursor: default;
color: #fff;
background-color: #AFAFAF;
border: none;
pointer-events: none;
text-shadow: none;
opacity: 0.5;
}