2014-01-10 07:14:55 -05:00
|
|
|
html {
|
|
|
|
overflow-y: scroll;
|
2014-01-22 21:07:01 -05:00
|
|
|
|
|
|
|
&.touch .tooltip { display: none !important; }
|
2015-12-02 09:04:29 -05:00
|
|
|
}
|
2015-01-14 21:42:25 -05:00
|
|
|
|
2015-12-02 09:04:29 -05:00
|
|
|
body {
|
2015-12-03 12:51:44 -05:00
|
|
|
&.navless {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $white-light !important;
|
2015-12-03 12:51:44 -05:00
|
|
|
}
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
padding-top: 0;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container .content {
|
2016-03-18 17:18:00 -04:00
|
|
|
margin: 0;
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
2015-01-14 20:22:36 -05:00
|
|
|
|
2015-01-14 21:42:25 -05:00
|
|
|
.navless-container {
|
2015-12-03 12:51:44 -05:00
|
|
|
margin-top: $header-height;
|
|
|
|
padding-top: $gl-padding * 2;
|
2015-01-14 21:42:25 -05:00
|
|
|
}
|
2015-08-26 05:51:28 -04:00
|
|
|
|
|
|
|
.container-limited {
|
|
|
|
max-width: $fixed-layout-width;
|
2016-11-30 15:37:54 -05:00
|
|
|
|
|
|
|
&.limit-container-width {
|
|
|
|
max-width: $limited-layout-width;
|
|
|
|
}
|
2015-08-26 05:51:28 -04:00
|
|
|
}
|
2016-10-18 13:03:10 -04:00
|
|
|
|
2016-12-16 15:30:28 -05:00
|
|
|
.alert-wrapper {
|
|
|
|
.alert {
|
|
|
|
margin-bottom: 0;
|
2016-12-20 18:21:02 -05:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
}
|
2016-12-16 15:30:28 -05:00
|
|
|
}
|
2016-12-16 15:38:01 -05:00
|
|
|
|
2017-01-03 14:13:47 -05:00
|
|
|
.alert-link-group {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Center alert text and alert action links on smaller screens */
|
|
|
|
@media (max-width: $screen-sm-max) {
|
|
|
|
.alert {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-link-group {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-16 15:38:01 -05:00
|
|
|
/* Stripe the background colors so that adjacent alert-warnings are distinct from one another */
|
|
|
|
.alert-warning {
|
|
|
|
transition: background-color 0.15s, border-color 0.15s;
|
|
|
|
background-color: lighten($gl-warning, 4%);
|
|
|
|
border-color: lighten($gl-warning, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning + .alert-warning {
|
|
|
|
background-color: $gl-warning;
|
|
|
|
border-color: $gl-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning + .alert-warning + .alert-warning {
|
|
|
|
background-color: darken($gl-warning, 4%);
|
|
|
|
border-color: darken($gl-warning, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning + .alert-warning + .alert-warning + .alert-warning {
|
|
|
|
background-color: darken($gl-warning, 8%);
|
|
|
|
border-color: darken($gl-warning, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning:only-of-type {
|
|
|
|
background-color: $gl-warning;
|
|
|
|
border-color: $gl-warning;
|
|
|
|
}
|
2016-12-16 15:30:28 -05:00
|
|
|
}
|
|
|
|
|
2016-10-18 13:03:10 -04:00
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|