Skip to content

Commit b5ca35e

Browse files
committed
CSS: Add styles for job media slideshow, and also disabled button.link buttons
1 parent a0e1ce5 commit b5ca35e

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

htdocs/css/style.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,11 @@ body.dark div.box_unit {
10171017

10181018
object { display: none; }
10191019

1020+
button.link.disabled {
1021+
opacity: 0.5;
1022+
pointer-events: none;
1023+
}
1024+
10201025
div.header_title.error {
10211026
font-size: 27px;
10221027
color: var(--red);
@@ -1825,6 +1830,51 @@ body.dark .pxc_tt_content {
18251830
padding-left: 15px;
18261831
}
18271832

1833+
.job_slide_container {
1834+
margin-top: 12px;
1835+
aspect-ratio: 16 / 9;
1836+
overflow: hidden;
1837+
display: grid;
1838+
place-items: center;
1839+
}
1840+
1841+
.job_slide_container > :is(img, video, audio) {
1842+
aspect-ratio: 16 / 9;
1843+
width: 100%;
1844+
height: 100%;
1845+
object-fit: contain;
1846+
object-position: center;
1847+
display: block;
1848+
}
1849+
1850+
.job_slide_container > audio {
1851+
background-color: rgba(128, 128, 128, 0.075);
1852+
background-size: contain;
1853+
background-position: center;
1854+
background-repeat: no-repeat;
1855+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-size='30'%3E🔊%3C/text%3E%3C/svg%3E");
1856+
}
1857+
1858+
.job_slide_container > div {
1859+
width: 100%;
1860+
height: 100%;
1861+
aspect-ratio: 16 / 9;
1862+
background-size: contain;
1863+
background-position: center;
1864+
background-repeat: no-repeat;
1865+
}
1866+
1867+
.job_slide_caption {
1868+
margin-top: 12px;
1869+
font-size: 13px;
1870+
font-weight: bold;
1871+
text-align: center;
1872+
color: var(--label-color);
1873+
}
1874+
.job_slide_caption i.mdi:before {
1875+
scale: 1.3;
1876+
}
1877+
18281878
/* Snapshots Page */
18291879

18301880
div.data_grid > ul.grid_row_header > div.st_col_header {

0 commit comments

Comments
 (0)