2014-01-10 07:14:55 -05:00
|
|
|
html {
|
|
|
|
overflow-y: scroll;
|
2014-01-22 21:07:01 -05:00
|
|
|
|
2018-01-18 14:46:40 -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 {
|
2018-01-18 15:54:17 -05:00
|
|
|
// Improves readability for dyslexic users; supported only in Chrome/Safari so far
|
|
|
|
// scss-lint:disable PropertySpelling
|
2018-01-18 14:46:40 -05:00
|
|
|
text-decoration-skip: ink;
|
2018-01-18 15:54:17 -05:00
|
|
|
// scss-lint:enable PropertySpelling
|
2015-12-03 12:51:44 -05:00
|
|
|
&.navless {
|
2020-03-30 20:08:09 -04:00
|
|
|
background-color: $white !important;
|
2015-12-03 12:51:44 -05:00
|
|
|
}
|
2017-02-15 08:49:14 -05:00
|
|
|
|
2018-04-13 16:27:10 -04:00
|
|
|
&.board-card-content {
|
2017-02-15 08:49:14 -05:00
|
|
|
background-color: $gray-darker;
|
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.container-fluid,
|
|
|
|
.container-limited {
|
|
|
|
background-color: $gray-darker;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
|
2019-09-03 05:03:35 -04:00
|
|
|
.container-fluid {
|
|
|
|
&.limit-container-width {
|
|
|
|
.flash-container.sticky {
|
|
|
|
max-width: $limited-layout-width;
|
2019-11-08 07:06:32 -05:00
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2019-09-03 05:03:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-20 17:16:55 -04:00
|
|
|
.content-wrapper {
|
2017-12-08 16:09:48 -05:00
|
|
|
margin-top: $header-height;
|
2017-03-20 17:16:55 -04:00
|
|
|
padding-bottom: 100px;
|
|
|
|
}
|
|
|
|
|
2014-01-10 07:14:55 -05:00
|
|
|
.container {
|
|
|
|
padding-top: 0;
|
|
|
|
z-index: 5;
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.content {
|
|
|
|
margin: 0;
|
2018-11-22 21:44:39 -05:00
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) { margin-top: 20px; }
|
2017-07-12 05:50:26 -04:00
|
|
|
}
|
2018-11-22 21:50:00 -05:00
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
.container .title {
|
|
|
|
padding-left: 15px !important;
|
|
|
|
}
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
|
2018-09-07 10:32:28 -04:00
|
|
|
.flex-alert {
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.alert-message {
|
|
|
|
flex: 1;
|
|
|
|
padding-right: 40px;
|
|
|
|
}
|
2017-01-03 14:13:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-link-group {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-07 10:32:28 -04:00
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
.alert-link-group {
|
|
|
|
float: none;
|
|
|
|
margin-top: $gl-padding-8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2017-03-23 12:04:25 -04:00
|
|
|
background-color: $orange-500;
|
|
|
|
border-color: $orange-500;
|
2016-12-16 15:38:01 -05:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
&:only-of-type {
|
|
|
|
background-color: $orange-500;
|
|
|
|
border-color: $orange-500;
|
|
|
|
}
|
2016-12-16 15:38:01 -05:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
+ .alert-warning {
|
|
|
|
background-color: $orange-600;
|
|
|
|
border-color: $orange-600;
|
2016-12-16 15:38:01 -05:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
+ .alert-warning {
|
|
|
|
background-color: $orange-700;
|
|
|
|
border-color: $orange-700;
|
2016-12-16 15:38:01 -05:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
+ .alert-warning {
|
|
|
|
background-color: $orange-800;
|
|
|
|
border-color: $orange-800;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-12-16 15:38:01 -05:00
|
|
|
}
|
2016-12-16 15:30:28 -05:00
|
|
|
}
|
|
|
|
|
2017-12-08 16:19:01 -05:00
|
|
|
.with-performance-bar .layout-page {
|
2017-07-31 04:07:51 -04:00
|
|
|
margin-top: $header-height + $performance-bar-height;
|
|
|
|
}
|
2018-08-31 06:19:55 -04:00
|
|
|
|
|
|
|
.fullscreen-layout {
|
|
|
|
padding-top: 0;
|
|
|
|
height: 100vh;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
> #js-peek,
|
|
|
|
> .navbar-gitlab {
|
|
|
|
position: static;
|
|
|
|
top: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash-container {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-wrapper .flash-container .flash-alert:last-child,
|
|
|
|
.alert-wrapper .flash-container .flash-notice:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
flex: 1;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.flash-shown {
|
|
|
|
.content-wrapper {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|