迁移A05并恢复认证页水墨背景
This commit is contained in:
@@ -74,7 +74,6 @@ Assert-Contains -Content $entry -Expected '<AuthPageShell' -Message 'A01 must co
|
||||
foreach ($forbidden in @(
|
||||
'class="page-canvas"',
|
||||
'class="page-backdrop"',
|
||||
'a01-red-hall-ink-backdrop-v1.png',
|
||||
'mode="scaleToFill"',
|
||||
'--auth-paper-start',
|
||||
'1665rpx'
|
||||
@@ -82,6 +81,7 @@ foreach ($forbidden in @(
|
||||
Assert-NotContains -Content $entry -Unexpected $forbidden -Message "A01 still uses rejected page coordinates: $forbidden"
|
||||
Assert-NotContains -Content $shell -Unexpected $forbidden -Message "The adaptive shell uses rejected page coordinates: $forbidden"
|
||||
}
|
||||
Assert-Contains -Content $shell -Expected 'a01-red-hall-ink-backdrop-v1.png' -Message 'The shared auth shell must preserve the approved paper scenery as decoration.'
|
||||
|
||||
$pageRule = [regex]::Match($shell, '(?ms)^\.auth-shell\s*\{(?<Body>.*?)^\}')
|
||||
$headerRule = [regex]::Match($shell, '(?ms)^\.auth-shell__header\s*\{(?<Body>.*?)^\}')
|
||||
|
||||
@@ -21,7 +21,10 @@ foreach ($required in @(
|
||||
'a01-vnext-header-v1.png',
|
||||
'mode="widthFix"',
|
||||
'class="auth-shell__paper"',
|
||||
'a01-red-hall-ink-backdrop-v1.png',
|
||||
'auth-page-paper.jpg',
|
||||
'background-position: center calc(-48.18vw), center top;',
|
||||
'background-repeat: no-repeat, repeat-y;',
|
||||
'<slot />',
|
||||
'<slot name="overlay" />',
|
||||
'min-height: var(--app-viewport-height);'
|
||||
|
||||
Reference in New Issue
Block a user