passepartout-apple/screenshots/html/appletv/style.css
Davide 76a570b7b3
Autogenerate framed screenshots from HTML/CSS (#1000)
Add TV screenshots and organize PassepartoutUITests with two test plans
for generating iOS/macOS (Main) and tvOS (TV) screenshots. Revert to the
.attachment destination and use `xcparse` to export the screenshots.
Change iPad screenshots to portrait.

Then autogenerate framed screenshots in two steps:

- Export the UITests screenshots per device (`export.sh`)
- Embed the results in a HTML/CSS template and take snapshots with
Chrome headless (`compose.sh`)
- Repeat for all devices (iPhone, iPad, Mac and Apple TV)
- Save framed screenshots to the `fastlane` screenshots directory
2024-12-11 20:33:58 +01:00

56 lines
709 B
CSS

.appletv #background {
width: 3840px;
height: 2160px;
}
.appletv #background header {
height: 5em;
}
.appletv #background .heading {
font-size: 1.2em;
}
.appletv #box {
left: 50%;
top: 240%;
}
.appletv #appletv {
display: block;
}
#appletv .screenshot {
width: 2376px;
top: 100px;
}
#appletv .frame {
width: 2520px;
top: 10px;
}
.screen-01.appletv .heading {
padding: 2em;
}
.screen-02.appletv .heading {
padding: 1em;
}
.screen-03.appletv .heading {
padding: 1em;
}
.screen-01 #appletv :nth-child(1) {
display: block;
}
.screen-02 #appletv :nth-child(2) {
display: block;
}
.screen-03 #appletv :nth-child(3) {
display: block;
}