BigW Consortium Gitlab

layout.scss 940 Bytes
Newer Older
Dmitriy Zaporozhets committed
1 2
html {
  overflow-y: scroll;
3 4

  &.touch .tooltip { display: none !important; }
5
}
6

7
body {
8 9 10
  &.navless {
    background-color: white !important;
  }
Dmitriy Zaporozhets committed
11 12 13 14 15 16 17 18
}

.container {
  padding-top: 0;
  z-index: 5;
}

.container .content {
19
  margin: 0;
Dmitriy Zaporozhets committed
20
}
21

22
.navless-container {
23 24
  margin-top: $header-height;
  padding-top: $gl-padding * 2;
25
}
26 27 28 29

.container-limited {
  max-width: $fixed-layout-width;
}
30 31 32 33 34 35 36 37 38 39 40 41


/* The following prevents side effects related to iOS Safari's implementation of -webkit-overflow-scrolling: touch,
which is applied to the body by jquery.nicescroling plugin to force hardware acceleration for momentum scrolling. Side
effects are commonly related to inconsisent z-index behavior (e.g. tooltips). By applying the following to direct children
of the body element here, we negate cascading side effects but allow momentum scrolling to be applied to the body  */

.navbar,
.page-gutter,
.page-with-sidebar {
  -webkit-overflow-scrolling: auto;
}