passepartout-apple/screenshots/html/ipad/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

72 lines
882 B
CSS

.ipad #background {
width: 2048px;
height: 2732px;
}
.ipad #background header {
height: 10em;
}
.ipad #background .heading {
font-size: 1.4em;
}
.ipad #box {
left: 60%;
bottom: -95%;
}
.ipad #ipad {
display: block;
}
#ipad .screenshot {
width: 1600px;
top: 100px;
}
#ipad .frame {
width: 1780px;
top: -68px;
}
.screen-01.ipad .heading {
padding: 3.5em;
}
.screen-02.ipad .heading {
padding: 1em;
}
.screen-03.ipad .heading {
padding: 2em;
}
.screen-04.ipad .heading {
padding: 3em;
}
.screen-05.ipad .heading {
padding: 4em;
}
.screen-01 #ipad :nth-child(1) {
display: block;
}
.screen-02 #ipad :nth-child(2) {
display: block;
}
.screen-03 #ipad :nth-child(3) {
display: block;
}
.screen-04 #ipad :nth-child(4) {
display: block;
}
.screen-05 #ipad :nth-child(5) {
display: block;
}