|
99 | 99 | Grid.RowSpan="2" |
100 | 100 | Grid.Column="2" |
101 | 101 | MinWidth="4" |
102 | | - Margin="0,8,0,40" |
| 102 | + Margin="0,60,0,40" |
103 | 103 | HorizontalAlignment="Left" |
104 | 104 | AllowFocusOnInteraction="True" |
105 | 105 | Background="Transparent" |
|
128 | 128 | x:Name="ContentPresenter" |
129 | 129 | Grid.Row="1" |
130 | 130 | Grid.Column="2" |
131 | | - Margin="2,0,0,0" |
| 131 | + Margin="2,0,8,0" |
132 | 132 | HorizontalAlignment="Stretch"> |
133 | 133 | <Grid.RowDefinitions> |
| 134 | + <RowDefinition Height="Auto" /> |
134 | 135 | <RowDefinition Height="*" /> |
135 | 136 | <RowDefinition Height="Auto" /> |
136 | 137 | </Grid.RowDefinitions> |
137 | 138 |
|
| 139 | + <!-- Header --> |
| 140 | + <Border |
| 141 | + x:Name="ContentHeaderPresenter" |
| 142 | + Grid.Row="0" |
| 143 | + Margin="0,0,0,4" |
| 144 | + VerticalAlignment="Stretch" |
| 145 | + Background="{ThemeResource App.Theme.Toolbar.BackgroundBrush}" |
| 146 | + BackgroundSizing="InnerBorderEdge" |
| 147 | + BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" |
| 148 | + BorderThickness="1" |
| 149 | + Child="{x:Bind ContentHeader, Mode=OneWay}" |
| 150 | + CornerRadius="8" |
| 151 | + TabFocusNavigation="Local" /> |
| 152 | + |
138 | 153 | <!-- Content --> |
139 | 154 | <Border |
140 | 155 | x:Name="Content" |
141 | | - Grid.Row="0" |
| 156 | + Grid.Row="1" |
142 | 157 | VerticalAlignment="Stretch" |
143 | 158 | Background="{ThemeResource App.Theme.FileArea.BackgroundBrush}" |
144 | 159 | BackgroundSizing="InnerBorderEdge" |
145 | 160 | BorderBrush="{ThemeResource DividerStrokeColorDefaultBrush}" |
146 | | - BorderThickness="1,1,0,1" |
| 161 | + BorderThickness="1" |
147 | 162 | Child="{x:Bind InnerContent, Mode=OneWay}" |
148 | | - CornerRadius="8,0,0,8" |
| 163 | + CornerRadius="8" |
149 | 164 | TabFocusNavigation="Local" |
150 | 165 | Translation="0,0,8"> |
151 | 166 | <Border.Shadow> |
|
156 | 171 | <!-- Footer --> |
157 | 172 | <Border |
158 | 173 | x:Name="ContentFooterPresenter" |
159 | | - Grid.Row="1" |
| 174 | + Grid.Row="2" |
160 | 175 | VerticalAlignment="Stretch" |
161 | 176 | Child="{x:Bind ContentFooter, Mode=OneWay}" |
162 | 177 | TabFocusNavigation="Local" /> |
|
180 | 195 | <Setter Target="PaneColumnGrid.CornerRadius" Value="0,8,0,8" /> |
181 | 196 | <Setter Target="ContentPresenter.(Grid.Column)" Value="0" /> |
182 | 197 | <Setter Target="ContentPresenter.(Grid.ColumnSpan)" Value="3" /> |
183 | | - <Setter Target="Content.CornerRadius" Value="0" /> |
184 | | - <Setter Target="Content.BorderThickness" Value="0,1,0,1" /> |
185 | 198 | <Setter Target="SidebarResizer.Visibility" Value="Collapsed" /> |
186 | | - <Setter Target="ContentPresenter.Margin" Value="0,0,0,0" /> |
| 199 | + <Setter Target="ContentPresenter.Margin" Value="8,0,8,0" /> |
187 | 200 | <!-- Specific to collapsed pane --> |
188 | 201 | <Setter Target="PaneColumnGridTransform.TranslateX" Value="{StaticResource SidebarNegativeOpenPaneLength}" /> |
189 | 202 | <Setter Target="PaneColumnGrid.Visibility" Value="Collapsed" /> |
|
199 | 212 | <Setter Target="PaneColumnGrid.CornerRadius" Value="0,8,0,8" /> |
200 | 213 | <Setter Target="ContentPresenter.(Grid.Column)" Value="0" /> |
201 | 214 | <Setter Target="ContentPresenter.(Grid.ColumnSpan)" Value="3" /> |
202 | | - <Setter Target="Content.CornerRadius" Value="0" /> |
203 | | - <Setter Target="Content.BorderThickness" Value="0,1,0,1" /> |
204 | 215 | <Setter Target="SidebarResizer.Visibility" Value="Collapsed" /> |
205 | | - <Setter Target="ContentPresenter.Margin" Value="0,0,0,0" /> |
| 216 | + <Setter Target="ContentPresenter.Margin" Value="8,0,8,0" /> |
206 | 217 | <!-- Specific to expanded pane --> |
207 | 218 | <Setter Target="PaneLightDismissLayer.Visibility" Value="Visible" /> |
208 | 219 | <Setter Target="PaneColumnGrid.Shadow"> |
|
0 commit comments