2014-09-02 18:07:02 +05:30
|
|
|
html {
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
&.touch .tooltip {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2015-12-23 02:04:40 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
&.navless {
|
2020-04-22 19:07:51 +05:30
|
|
|
background-color: $white !important;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
&.board-card-content {
|
2017-08-17 22:00:37 +05:30
|
|
|
background-color: $gray-darker;
|
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.container-fluid,
|
|
|
|
.container-limited {
|
|
|
|
background-color: $gray-darker;
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.container-fluid {
|
|
|
|
&.limit-container-width {
|
|
|
|
.flash-container.sticky {
|
|
|
|
max-width: $limited-layout-width;
|
2019-12-26 22:10:19 +05:30
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2019-12-04 20:38:33 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
.content-wrapper-margin {
|
2018-03-17 18:26:18 +05:30
|
|
|
margin-top: $header-height;
|
2021-09-04 01:27:46 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.content-wrapper {
|
2017-08-17 22:00:37 +05:30
|
|
|
padding-bottom: 100px;
|
|
|
|
}
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
.container {
|
|
|
|
padding-top: 0;
|
|
|
|
z-index: 5;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.content {
|
|
|
|
margin: 0;
|
2019-02-15 15:39:39 +05:30
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) { margin-top: 20px; }
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
.container .title {
|
|
|
|
padding-left: 15px !important;
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
.navless-container {
|
2015-12-23 02:04:40 +05:30
|
|
|
margin-top: $header-height;
|
|
|
|
padding-top: $gl-padding * 2;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2015-09-25 12:07:36 +05:30
|
|
|
|
|
|
|
.container-limited {
|
|
|
|
max-width: $fixed-layout-width;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
&.limit-container-width {
|
|
|
|
max-width: $limited-layout-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-wrapper {
|
|
|
|
.alert {
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-link-group {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2018-11-20 20:47:30 +05:30
|
|
|
.flex-alert {
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.alert-message {
|
|
|
|
flex: 1;
|
|
|
|
padding-right: 40px;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.alert-link-group {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-20 20:47:30 +05:30
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
.alert-link-group {
|
|
|
|
float: none;
|
|
|
|
margin-top: $gl-padding-8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
/* 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: $orange-500;
|
|
|
|
border-color: $orange-500;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
&:only-of-type {
|
|
|
|
background-color: $orange-500;
|
|
|
|
border-color: $orange-500;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
+ .alert-warning {
|
|
|
|
background-color: $orange-600;
|
|
|
|
border-color: $orange-600;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
+ .alert-warning {
|
|
|
|
background-color: $orange-700;
|
|
|
|
border-color: $orange-700;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
+ .alert-warning {
|
|
|
|
background-color: $orange-800;
|
|
|
|
border-color: $orange-800;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
.gl--flex-full {
|
|
|
|
@include gl-display-flex;
|
|
|
|
@include gl-align-items-stretch;
|
|
|
|
@include gl-overflow-hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.with-performance-bar .layout-page {
|
2022-03-02 08:16:31 +05:30
|
|
|
margin-top: calc(#{$header-height} + #{$performance-bar-height});
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
2018-11-20 20:47:30 +05:30
|
|
|
|
|
|
|
.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 {
|
|
|
|
padding-bottom: 0;
|
|
|
|
flex: 1;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-01-26 12:08:38 +05:30
|
|
|
|
|
|
|
.gl-drawer-responsive {
|
|
|
|
// Both width & min-width
|
|
|
|
// are defined as per Pajamas
|
|
|
|
// See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44902#note_429056182
|
|
|
|
width: 28%;
|
|
|
|
min-width: 400px;
|
|
|
|
padding-left: $gl-padding;
|
|
|
|
padding-right: $gl-padding;
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: $gray-10;
|
|
|
|
border-left: 1px solid $gray-100;
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
min-width: unset;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// These overrides should not happen here,
|
|
|
|
// we should ideally have support for custom
|
|
|
|
// header and body classes in `GlDrawer`.
|
|
|
|
.gl-drawer-header,
|
|
|
|
.gl-drawer-body > * {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-03-02 08:16:31 +05:30
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
.logged-out-marketing-header-candidate {
|
|
|
|
--header-height: 72px;
|
|
|
|
}
|
|
|
|
}
|