2014-01-10 12:14:55 +00:00
|
|
|
html {
|
|
|
|
overflow-y: scroll;
|
2014-01-23 02:07:01 +00:00
|
|
|
|
|
|
|
&.touch .tooltip { display: none !important; }
|
2015-12-02 14:04:29 +00:00
|
|
|
}
|
2015-01-15 02:42:25 +00:00
|
|
|
|
2015-12-02 14:04:29 +00:00
|
|
|
body {
|
2015-12-03 17:51:44 +00:00
|
|
|
&.navless {
|
2016-11-30 13:25:25 +00:00
|
|
|
background-color: $white-light !important;
|
2015-12-03 17:51:44 +00:00
|
|
|
}
|
2017-02-15 13:49:14 +00:00
|
|
|
|
|
|
|
&.card-content {
|
|
|
|
background-color: $gray-darker;
|
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.container-fluid,
|
|
|
|
.container-limited {
|
|
|
|
background-color: $gray-darker;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
|
|
|
|
2017-03-20 21:16:55 +00:00
|
|
|
.content-wrapper {
|
|
|
|
padding-bottom: 100px;
|
2017-04-17 20:54:26 +00:00
|
|
|
|
|
|
|
&:not(.page-with-layout-nav) {
|
|
|
|
margin-top: $header-height;
|
|
|
|
}
|
2017-03-20 21:16:55 +00:00
|
|
|
}
|
|
|
|
|
2014-01-10 12:14:55 +00:00
|
|
|
.container {
|
|
|
|
padding-top: 0;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container .content {
|
2016-03-18 21:18:00 +00:00
|
|
|
margin: 0;
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
2015-01-15 01:22:36 +00:00
|
|
|
|
2015-01-15 02:42:25 +00:00
|
|
|
.navless-container {
|
2015-12-03 17:51:44 +00:00
|
|
|
margin-top: $header-height;
|
|
|
|
padding-top: $gl-padding * 2;
|
2015-01-15 02:42:25 +00:00
|
|
|
}
|
2015-08-26 09:51:28 +00:00
|
|
|
|
|
|
|
.container-limited {
|
|
|
|
max-width: $fixed-layout-width;
|
2016-11-30 20:37:54 +00:00
|
|
|
|
|
|
|
&.limit-container-width {
|
|
|
|
max-width: $limited-layout-width;
|
|
|
|
}
|
2017-06-12 11:47:46 +00:00
|
|
|
|
|
|
|
&.limit-container-width-sm {
|
2017-06-23 10:33:47 +00:00
|
|
|
max-width: $limited-layout-width-sm;
|
2017-06-12 11:47:46 +00:00
|
|
|
}
|
2015-08-26 09:51:28 +00:00
|
|
|
}
|
2016-10-18 17:03:10 +00:00
|
|
|
|
2016-12-16 20:30:28 +00:00
|
|
|
.alert-wrapper {
|
|
|
|
.alert {
|
|
|
|
margin-bottom: 0;
|
2016-12-20 23:21:02 +00:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
}
|
2016-12-16 20:30:28 +00:00
|
|
|
}
|
2016-12-16 20:38:01 +00:00
|
|
|
|
2017-01-03 19:13:47 +00: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 20:38:01 +00: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;
|
2017-03-23 16:04:25 +00:00
|
|
|
background-color: $orange-500;
|
|
|
|
border-color: $orange-500;
|
2016-12-16 20:38:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning + .alert-warning {
|
2017-03-23 16:04:25 +00:00
|
|
|
background-color: $orange-600;
|
|
|
|
border-color: $orange-600;
|
2016-12-16 20:38:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning + .alert-warning + .alert-warning {
|
2017-03-23 16:04:25 +00:00
|
|
|
background-color: $orange-700;
|
|
|
|
border-color: $orange-700;
|
2016-12-16 20:38:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning + .alert-warning + .alert-warning + .alert-warning {
|
2017-03-23 16:04:25 +00:00
|
|
|
background-color: $orange-800;
|
|
|
|
border-color: $orange-800;
|
2016-12-16 20:38:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning:only-of-type {
|
2017-03-23 16:04:25 +00:00
|
|
|
background-color: $orange-500;
|
|
|
|
border-color: $orange-500;
|
2016-12-16 20:38:01 +00:00
|
|
|
}
|
2016-12-16 20:30:28 +00:00
|
|
|
}
|
|
|
|
|
2016-10-18 17:03:10 +00: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;
|
|
|
|
}
|
2017-07-18 12:00:55 +00:00
|
|
|
|
2017-07-31 08:07:51 +00:00
|
|
|
.with-performance-bar .page-with-sidebar {
|
|
|
|
margin-top: $header-height + $performance-bar-height;
|
|
|
|
}
|
2017-08-06 16:44:18 +00:00
|
|
|
|
|
|
|
[v-cloak] {
|
|
|
|
display: none;
|
|
|
|
}
|