File tree Expand file tree Collapse file tree 5 files changed +69
-7
lines changed Expand file tree Collapse file tree 5 files changed +69
-7
lines changed Original file line number Diff line number Diff line change 28
28
" components/tabs/tabs.md" ,
29
29
" components/toggle/toggle.md" ,
30
30
" components/toolbar/toolbar.md" ;
31
+
32
+
33
+ // Material Design w/ iOS Platform
34
+ @import
35
+ " platform/cordova.md" ;
Original file line number Diff line number Diff line change 28
28
" components/tabs/tabs.wp" ,
29
29
" components/toggle/toggle.wp" ,
30
30
" components/toolbar/toolbar.wp" ;
31
+
32
+
33
+ // Windows w/ iOS Platform
34
+ @import
35
+ " platform/cordova.wp" ;
Original file line number Diff line number Diff line change 3
3
// iOS Cordova
4
4
// --------------------------------------------------
5
5
6
- $cordova-ios-toolbar -padding : 20px !default ;
6
+ $cordova-ios-statusbar -padding : 20px !default ;
7
7
8
8
9
9
& .platform-cordova.platform-ios {
10
10
11
11
ion-navbar-section {
12
- height : $toolbar-ios-height + $cordova-ios-toolbar -padding ;
13
- min-height : $toolbar-ios-height + $cordova-ios-toolbar -padding ;
12
+ height : calc ( #{ $toolbar-ios-height } + #{ $cordova-ios-statusbar -padding } ) ;
13
+ min-height : calc ( #{ $toolbar-ios-height } + #{ $cordova-ios-statusbar -padding } ) ;
14
14
}
15
15
16
16
ion-navbar ion-title ,
17
17
ion-navbar ion-segment , {
18
- padding-top : $cordova-ios-toolbar -padding ;
18
+ padding-top : $cordova-ios-statusbar -padding ;
19
19
}
20
20
21
21
ion-navbar ,
@@ -28,10 +28,10 @@ $cordova-ios-toolbar-padding: 20px !default;
28
28
ion-page .modal > ion-toolbar :first-child ,
29
29
ion-page .modal > ion-toolbar :first-child ion-title ,
30
30
ion-page .modal > ion-toolbar :first-child ion-segment , {
31
- padding-top : $toolbar-ios-padding + $cordova-ios-toolbar -padding ;
31
+ padding-top : calc ( #{ $toolbar-ios-padding } + #{ $cordova-ios-statusbar -padding } ) ;
32
32
33
- height : $toolbar-ios-height + $cordova-ios-toolbar -padding ;
34
- min-height : $toolbar-ios-height + $cordova-ios-toolbar -padding ;
33
+ height : calc ( #{ $toolbar-ios-height } + #{ $cordova-ios-statusbar -padding } ) ;
34
+ min-height : calc ( #{ $toolbar-ios-height } + #{ $cordova-ios-statusbar -padding } ) ;
35
35
}
36
36
37
37
}
Original file line number Diff line number Diff line change
1
+ @import " ../globals.core" ;
2
+
3
+ // iOS Cordova
4
+ // --------------------------------------------------
5
+
6
+ $cordova-ios-statusbar-padding : 20px !default ;
7
+
8
+
9
+ & .platform-cordova.platform-ios {
10
+
11
+ ion-navbar-section {
12
+ height : calc (#{$toolbar-md-height } + #{$cordova-ios-statusbar-padding } );
13
+ min-height : calc (#{$toolbar-md-height } + #{$cordova-ios-statusbar-padding } );
14
+ }
15
+
16
+ ion-navbar ,
17
+ ion-app > ion-toolbar :first-child ,
18
+ ion-menu > ion-toolbar :first-child ,
19
+ ion-page .modal > ion-toolbar :first-child {
20
+ padding-top : calc (#{$toolbar-md-padding } + #{$cordova-ios-statusbar-padding } );
21
+
22
+ height : calc (#{$toolbar-md-height } + #{$cordova-ios-statusbar-padding } );
23
+ min-height : calc (#{$toolbar-md-height } + #{$cordova-ios-statusbar-padding } );
24
+ }
25
+
26
+ }
Original file line number Diff line number Diff line change
1
+ @import " ../globals.core" ;
2
+
3
+ // iOS Cordova
4
+ // --------------------------------------------------
5
+
6
+ $cordova-ios-statusbar-padding : 20px !default ;
7
+
8
+
9
+ & .platform-cordova.platform-ios {
10
+
11
+ ion-navbar-section {
12
+ height : calc (#{$toolbar-wp-height } + #{$cordova-ios-statusbar-padding } );
13
+ min-height : calc (#{$toolbar-wp-height } + #{$cordova-ios-statusbar-padding } );
14
+ }
15
+
16
+ ion-navbar ,
17
+ ion-app > ion-toolbar :first-child ,
18
+ ion-menu > ion-toolbar :first-child ,
19
+ ion-page .modal > ion-toolbar :first-child {
20
+ padding-top : calc (#{$toolbar-wp-padding } + #{$cordova-ios-statusbar-padding } );
21
+
22
+ height : calc (#{$toolbar-wp-height } + #{$cordova-ios-statusbar-padding } );
23
+ min-height : calc (#{$toolbar-wp-height } + #{$cordova-ios-statusbar-padding } );
24
+ }
25
+
26
+ }
You can’t perform that action at this time.
0 commit comments