Add grid feature to osd preview

10.8-maintenance
Asizon 2020-12-16 23:51:09 +01:00
parent 0f8a2911d9
commit d9f3e9df71
3 changed files with 11 additions and 1 deletions

View File

@ -501,6 +501,11 @@ progress[value]::-webkit-progress-bar {
background-size: cover;
}
.tab-osd .preview:active {
background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../../images/osd-bg-1-grid.png), url(../../images/osd-bg-1.jpg);
background-size: cover;
}
/* these two items replace the look of the checkboxes in only CSS */
.tab-osd input[type='checkbox']:after {
line-height: 1.5em;

View File

@ -454,7 +454,7 @@ button {
float: left;
position: sticky;
top: 0;
margin-left: calc((100% - 362px) / 2);
margin-left: calc((100% - 360px) / 3);
/* please don't copy the generic background image from another project
@ -466,6 +466,11 @@ button {
border-bottom-right-radius: 3px;
}
.tab-osd .preview:active {
background: url(../../images/osd-bg-1-grid.png), url(../../images/osd-bg-1.jpg);
background-size: cover;
}
.tab-osd .alarms label {
display: block;
width:100%;

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB