Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13542 anikendra 1
 
2
/**
3
 * Platform
4
 * --------------------------------------------------
5
 * Platform specific tweaks
6
 */
7
 
8
.platform-ios.platform-cordova {
9
  // iOS7/8 has a status bar which sits on top of the header.
10
  // Bump down everything to make room for it. However, if
11
  // if its in Cordova, and set to fullscreen, then disregard the bump.
12
  &:not(.fullscreen) {
13
    .bar-header:not(.bar-subheader) {
14
      height: $bar-height + $ios-statusbar-height;
15
 
16
      &.item-input-inset .item-input-wrapper {
17
        margin-top: 19px !important;
18
      }
19
 
20
      > * {
21
        margin-top: $ios-statusbar-height;
22
      }
23
    }
24
    .tabs-top > .tabs,
25
    .tabs.tabs-top {
26
      top: $bar-height + $ios-statusbar-height;
27
    }
28
 
29
    .has-header,
30
    .bar-subheader {
31
      top: $bar-height + $ios-statusbar-height;
32
    }
33
    .has-subheader {
34
      top: $bar-height + $bar-subheader-height + $ios-statusbar-height;
35
    }
36
    .has-tabs-top {
37
      top: $bar-height + $tabs-height + $ios-statusbar-height;
38
    }
39
    .has-header.has-subheader.has-tabs-top {
40
      top: $bar-height + $bar-subheader-height + $tabs-height + $ios-statusbar-height;
41
    }
42
  }
43
  &.status-bar-hide {
44
    // Cordova doesn't adjust the body height correctly, this makes up for it
45
    margin-bottom: 20px;
46
  }
47
}
48
 
49
@media (orientation:landscape) {
50
  .platform-ios.platform-browser.platform-ipad {
51
    position: fixed; // required for iPad 7 Safari
52
  }
53
}
54
 
55
.platform-c:not(.enable-transitions) * {
56
  // disable transitions on grade-c devices (Android 2)
57
  -webkit-transition: none !important;
58
  transition: none !important;
59
}