Commit 36143d41 authored by Clement Ho's avatar Clement Ho

Ran migration script

parent e8490c41
.badge { .badge.badge-pill {
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
background-color: $badge-bg; background-color: $badge-bg;
color: $badge-color; color: $badge-color;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
flex: 0 0 100%; flex: 0 0 100%;
margin-bottom: 15px; margin-bottom: 15px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
flex: 0 0 49%; flex: 0 0 49%;
&:nth-child(odd) { &:nth-child(odd) {
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius-default; border-radius: $border-radius-default;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 50px 30px; padding: 50px 30px;
...@@ -89,12 +89,12 @@ ...@@ -89,12 +89,12 @@
} }
.blank-state-body { .blank-state-body {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
text-align: center; text-align: center;
margin-top: 20px; margin-top: 20px;
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
padding-left: 20px; padding-left: 20px;
} }
} }
......
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
text-align: center; text-align: center;
.avatar { .avatar {
...@@ -315,7 +315,7 @@ ...@@ -315,7 +315,7 @@
} }
} }
@media (max-width: $screen-sm-min) { @include media-breakpoint-down(sm) {
flex-direction: column; flex-direction: column;
.inner-content { .inner-content {
...@@ -342,7 +342,7 @@ ...@@ -342,7 +342,7 @@
.btn { .btn {
margin: $btn-side-margin 5px; margin: $btn-side-margin 5px;
@media(max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
width: 100%; width: 100%;
} }
} }
......
...@@ -401,7 +401,7 @@ ...@@ -401,7 +401,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.btn-wide-on-xs { .btn-wide-on-xs {
width: 100%; width: 100%;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
border-top: 0; border-top: 0;
direction: rtl; direction: rtl;
@media (min-width: $screen-sm-min) and (max-width: $screen-md-max) { @media (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, sm)) {
overflow-x: auto; overflow-x: auto;
} }
} }
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
align-items: flex-end; align-items: flex-end;
} }
&:not(:last-child) { &:not(:last-child) {
margin-bottom: $gl-btn-padding; margin-bottom: $gl-btn-padding;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
margin-bottom: 3 * $gl-btn-padding; margin-bottom: 3 * $gl-btn-padding;
} }
} }
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
.ci-variable-body-item:last-child { .ci-variable-body-item:last-child {
margin-right: $ci-variable-remove-button-width; margin-right: $ci-variable-remove-button-width;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
margin-right: 0; margin-right: 0;
} }
} }
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
display: none; display: none;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.ci-variable-row-body { .ci-variable-row-body {
margin-right: $ci-variable-remove-button-width; margin-right: $ci-variable-remove-button-width;
} }
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
align-items: flex-start; align-items: flex-start;
width: 100%; width: 100%;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: block; display: block;
} }
} }
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
&:not(:last-child) { &:not(:last-child) {
margin-right: $gl-btn-padding; margin-right: $gl-btn-padding;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
margin-right: 0; margin-right: 0;
margin-bottom: $gl-btn-padding; margin-bottom: $gl-btn-padding;
} }
......
...@@ -70,7 +70,7 @@ pre { ...@@ -70,7 +70,7 @@ pre {
padding: 0; padding: 0;
} }
&.well-pre { &.card.card-body-pre {
border: 1px solid $well-pre-bg; border: 1px solid $well-pre-bg;
background: $gray-light; background: $gray-light;
border-radius: 0; border-radius: 0;
...@@ -218,7 +218,7 @@ li.note { ...@@ -218,7 +218,7 @@ li.note {
} }
.git_error_tips { .git_error_tips {
@extend .col-md-6; @extend .col-lg-6;
text-align: left; text-align: left;
margin-top: 40px; margin-top: 40px;
...@@ -308,7 +308,7 @@ img.emoji { ...@@ -308,7 +308,7 @@ img.emoji {
.btn-sign-in { .btn-sign-in {
text-shadow: none; text-shadow: none;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-top: 8px; margin-top: 8px;
} }
} }
...@@ -327,7 +327,7 @@ img.emoji { ...@@ -327,7 +327,7 @@ img.emoji {
} }
} }
.well { .card.card-body {
margin-bottom: $gl-padding; margin-bottom: $gl-padding;
hr { hr {
...@@ -336,7 +336,7 @@ img.emoji { ...@@ -336,7 +336,7 @@ img.emoji {
} }
.search_box { .search_box {
@extend .well; @extend .card.card-body;
text-align: center; text-align: center;
} }
......
.page-with-contextual-sidebar { .page-with-contextual-sidebar {
transition: padding-left $sidebar-transition-duration; transition: padding-left $sidebar-transition-duration;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
padding-left: $contextual-sidebar-collapsed-width; padding-left: $contextual-sidebar-collapsed-width;
} }
@media (min-width: $screen-lg-min) { @include media-breakpoint-up(lg) {
padding-left: $contextual-sidebar-width; padding-left: $contextual-sidebar-width;
} }
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
} }
.page-with-icon-sidebar { .page-with-icon-sidebar {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
padding-left: $contextual-sidebar-collapsed-width; padding-left: $contextual-sidebar-collapsed-width;
} }
} }
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
&:not(.sidebar-collapsed-desktop) { &:not(.sidebar-collapsed-desktop) {
@media (min-width: $screen-sm-min) and (max-width: $screen-md-max) { @media (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, sm)) {
box-shadow: inset -2px 0 0 $border-color, box-shadow: inset -2px 0 0 $border-color,
2px 1px 3px $dropdown-shadow-color; 2px 1px 3px $dropdown-shadow-color;
} }
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
overflow-x: hidden; overflow-x: hidden;
} }
.badge:not(.fly-out-badge), .badge.badge-pill:not(.fly-out-badge),
.sidebar-context-title, .sidebar-context-title,
.nav-item-name { .nav-item-name {
display: none; display: none;
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
left: (-$contextual-sidebar-width); left: (-$contextual-sidebar-width);
} }
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
width: 100%; width: 100%;
overflow: auto; overflow: auto;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
overflow: hidden; overflow: hidden;
} }
} }
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
> li { > li {
> a { > a {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-right: 2px; margin-right: 2px;
} }
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
} }
.sidebar-sub-level-items { .sidebar-sub-level-items {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
} }
} }
.badge { .badge.badge-pill {
background-color: $inactive-badge-background; background-color: $inactive-badge-background;
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
padding-left: 11px; padding-left: 11px;
} }
.badge { .badge.badge-pill {
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
} }
...@@ -339,7 +339,7 @@ ...@@ -339,7 +339,7 @@
} }
.toggle-sidebar-button { .toggle-sidebar-button {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: none; display: none;
} }
} }
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -429,7 +429,7 @@ ...@@ -429,7 +429,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
+ .breadcrumbs-links { + .breadcrumbs-links {
padding-left: $gl-padding; padding-left: $gl-padding;
border-left: 1px solid $gl-text-color-quaternary; border-left: 1px solid $gl-text-color-quaternary;
...@@ -437,7 +437,7 @@ ...@@ -437,7 +437,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.close-nav-button { .close-nav-button {
display: flex; display: flex;
} }
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
max-height: $dropdown-max-height; max-height: $dropdown-max-height;
overflow-y: auto; overflow-y: auto;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
width: 100%; width: 100%;
} }
} }
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
text-decoration: none; text-decoration: none;
.badge { .badge.badge-pill {
background-color: darken($dropdown-link-hover-bg, 5%); background-color: darken($dropdown-link-hover-bg, 5%);
} }
} }
...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
.badge + span:not(.badge) { .badge.badge-pill + span:not(.badge.badge-pill) {
// Expects up to 3 digits on the badge // Expects up to 3 digits on the badge
margin-right: 40px; margin-right: 40px;
} }
...@@ -469,7 +469,7 @@ ...@@ -469,7 +469,7 @@
.dropdown-select { .dropdown-select {
width: $dropdown-width; width: $dropdown-width;
@media (max-width: $screen-sm-min) { @include media-breakpoint-down(sm) {
width: 100%; width: 100%;
} }
} }
...@@ -780,7 +780,7 @@ ...@@ -780,7 +780,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.navbar-gitlab { .navbar-gitlab {
li.header-projects, li.header-projects,
li.header-more, li.header-more,
...@@ -835,7 +835,7 @@ header.header-content .dropdown-menu.projects-dropdown-menu { ...@@ -835,7 +835,7 @@ header.header-content .dropdown-menu.projects-dropdown-menu {
width: 70%; width: 70%;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
height: auto; height: auto;
...@@ -894,7 +894,7 @@ header.header-content .dropdown-menu.projects-dropdown-menu { ...@@ -894,7 +894,7 @@ header.header-content .dropdown-menu.projects-dropdown-menu {
height: 284px; height: 284px;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.projects-list-frequent-container { .projects-list-frequent-container {
width: auto; width: auto;
height: auto; height: auto;
...@@ -936,7 +936,7 @@ header.header-content .dropdown-menu.projects-dropdown-menu { ...@@ -936,7 +936,7 @@ header.header-content .dropdown-menu.projects-dropdown-menu {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.project-item-metadata-container { .project-item-metadata-container {
float: none; float: none;
} }
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
padding: 8px $gl-padding; padding: 8px $gl-padding;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
text-align: left; text-align: left;
} }
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
&.wiki { &.wiki {
padding: $gl-padding; padding: $gl-padding;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
padding: $gl-padding * 2; padding: $gl-padding * 2;
} }
} }
...@@ -364,7 +364,7 @@ span.idiff { ...@@ -364,7 +364,7 @@ span.idiff {
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: block; display: block;
.file-actions { .file-actions {
...@@ -396,7 +396,7 @@ span.idiff { ...@@ -396,7 +396,7 @@ span.idiff {
margin-right: 1.5em; margin-right: 1.5em;
} }
.label-lfs { .badge.badge-pill-lfs {
color: $common-gray-light; color: $common-gray-light;
border: 1px solid $common-gray-light; border: 1px solid $common-gray-light;
} }
...@@ -9,19 +9,19 @@ ...@@ -9,19 +9,19 @@
float: right; float: right;
margin-right: 0; margin-right: 0;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
float: none; float: none;
} }
} }
} }
.filters-section { .filters-section {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: inline-block; display: inline-block;
} }
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
.filter-item:not(:last-child) { .filter-item:not(:last-child) {
margin-right: 6px; margin-right: 6px;
} }
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.filter-item { .filter-item {
display: block; display: block;
margin: 0 0 10px; margin: 0 0 10px;
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
@media (max-width: $screen-xs-min) { @include media-breakpoint-down(xs) {
-webkit-flex-direction: column; -webkit-flex-direction: column;
flex-direction: column; flex-direction: column;
} }
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
border: 1px solid $border-color; border: 1px solid $border-color;
background-color: $white-light; background-color: $white-light;
@media (max-width: $screen-xs-min) { @include media-breakpoint-down(xs) {
-webkit-flex: 1 1 auto; -webkit-flex: 1 1 auto;
flex: 1 1 auto; flex: 1 1 auto;
margin-bottom: 10px; margin-bottom: 10px;
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
max-width: 280px; max-width: 280px;
overflow: auto; overflow: auto;
@media (max-width: $screen-xs-min) { @include media-breakpoint-down(xs) {
width: auto; width: auto;
left: 0; left: 0;
right: 0; right: 0;
...@@ -315,7 +315,7 @@ ...@@ -315,7 +315,7 @@
.filtered-search-history-dropdown { .filtered-search-history-dropdown {
width: 40%; width: 40%;
@media (max-width: $screen-xs-min) { @include media-breakpoint-down(xs) {
left: 0; left: 0;
right: 0; right: 0;
max-width: none; max-width: none;
...@@ -353,7 +353,7 @@ ...@@ -353,7 +353,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.issues-details-filters { .issues-details-filters {
padding: 0 0 10px; padding: 0 0 10px;
background-color: $white-light; background-color: $white-light;
...@@ -361,7 +361,7 @@ ...@@ -361,7 +361,7 @@
} }
} }
@media (max-width: $screen-xs) { @include media-breakpoint-down(sm) {
.filter-dropdown-container { .filter-dropdown-container {
.dropdown-toggle, .dropdown-toggle,
.dropdown, .dropdown,
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
} }
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
ul.notes { ul.notes {
.flash-container.timeline-content { .flash-container.timeline-content {
margin-left: 0; margin-left: 0;
......
...@@ -31,13 +31,13 @@ label { ...@@ -31,13 +31,13 @@ label {
margin: 0; margin: 0;
} }
&.label-light { &.badge.badge-pill-light {
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
} }
} }
.control-label { .form-control-label {
@extend .col-sm-2; @extend .col-md-2;
} }
.inline-input-group { .inline-input-group {
...@@ -48,21 +48,21 @@ label { ...@@ -48,21 +48,21 @@ label {
width: 150px; width: 150px;
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
.custom-form-control { .custom-form-control {
width: 150px; width: 150px;
} }
} }
/* Medium devices (desktops, 992px and up) */ /* Medium devices (desktops, 992px and up) */
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
.custom-form-control { .custom-form-control {
width: 170px; width: 170px;
} }
} }
/* Large devices (large desktops, 1200px and up) */ /* Large devices (large desktops, 1200px and up) */
@media (min-width: $screen-lg-min) { @include media-breakpoint-up(lg) {
.custom-form-control { .custom-form-control {
width: 200px; width: 200px;
} }
...@@ -72,7 +72,7 @@ label { ...@@ -72,7 +72,7 @@ label {
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
.control-label { .form-control-label {
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
padding-top: 4px; padding-top: 4px;
} }
...@@ -102,10 +102,10 @@ label { ...@@ -102,10 +102,10 @@ label {
} }
} }
@media(max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding: 0 $gl-padding; padding: 0 $gl-padding;
.control-label, .form-control-label,
.text-block { .text-block {
padding-left: 0; padding-left: 0;
} }
...@@ -155,8 +155,8 @@ label { ...@@ -155,8 +155,8 @@ label {
margin-top: 35px; margin-top: 35px;
} }
.form-group .control-label, .form-group .form-control-label,
.form-group .control-label-full-width { .form-group .form-control-label-full-width {
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
} }
...@@ -221,7 +221,7 @@ label { ...@@ -221,7 +221,7 @@ label {
} }
} }
@media(max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.remember-me { .remember-me {
.remember-me-checkbox { .remember-me-checkbox {
margin-top: 0; margin-top: 0;
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
&:hover, &:hover,
&:focus { &:focus {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
background-color: rgba($color-200, 0.2); background-color: rgba($color-200, 0.2);
} }
...@@ -165,14 +165,14 @@ ...@@ -165,14 +165,14 @@
} }
} }
.sidebar-top-level-items > li.active .badge { .sidebar-top-level-items > li.active .badge.badge-pill {
color: $color-800; color: $color-800;
} }
.nav-links li.active a { .nav-links li.active a {
border-bottom-color: $color-500; border-bottom-color: $color-500;
.badge { .badge.badge-pill {
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
} }
} }
...@@ -340,7 +340,7 @@ body { ...@@ -340,7 +340,7 @@ body {
} }
} }
.sidebar-top-level-items > li.active .badge { .sidebar-top-level-items > li.active .badge.badge-pill {
color: $theme-gray-900; color: $theme-gray-900;
} }
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
border-radius: $border-radius-default; border-radius: $border-radius-default;
.tanuki-logo { .tanuki-logo {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-right: 8px; margin-right: 8px;
} }
} }
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
} }
&.menu-expanded { &.menu-expanded {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.title-container { .title-container {
display: none; display: none;
} }
...@@ -133,13 +133,13 @@ ...@@ -133,13 +133,13 @@
border-top: 0; border-top: 0;
padding: 0; padding: 0;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex: 1 1 auto; flex: 1 1 auto;
} }
.nav { .nav {
> li:not(.hidden-xs) a { > li:not(.d-none) a {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
margin-left: 0; margin-left: 0;
min-width: 100%; min-width: 100%;
} }
...@@ -181,14 +181,14 @@ ...@@ -181,14 +181,14 @@
} }
.navbar-nav { .navbar-nav {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
padding-right: 10px; padding-right: 10px;
} }
li { li {
.badge { .badge.badge-pill {
box-shadow: none; box-shadow: none;
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
} }
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
.nav > li { .nav > li {
&.header-user { &.header-user {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding-left: 10px; padding-left: 10px;
} }
} }
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
padding: 6px 8px; padding: 6px 8px;
height: 32px; height: 32px;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding: 0; padding: 0;
} }
...@@ -378,7 +378,7 @@ ...@@ -378,7 +378,7 @@
margin-bottom: 0; margin-bottom: 0;
line-height: 16px; line-height: 16px;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex-wrap: wrap; flex-wrap: wrap;
} }
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
.breadcrumb-item-text { .breadcrumb-item-text {
text-decoration: inherit; text-decoration: inherit;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
@include str-truncated(128px); @include str-truncated(128px);
} }
} }
...@@ -452,7 +452,7 @@ ...@@ -452,7 +452,7 @@
.navbar-nav { .navbar-nav {
li { li {
.badge { .badge.badge-pill {
position: inherit; position: inherit;
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
margin-left: -6px; margin-left: -6px;
...@@ -478,7 +478,7 @@ ...@@ -478,7 +478,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.navbar-gitlab .container-fluid { .navbar-gitlab .container-fluid {
font-size: 18px; font-size: 18px;
...@@ -493,7 +493,7 @@ ...@@ -493,7 +493,7 @@
margin-left: -8px; margin-left: -8px;
margin-right: -10px; margin-right: -10px;
.nav > li:not(.hidden-xs) { .nav > li:not(.d-none) {
display: table-cell !important; display: table-cell !important;
width: 25%; width: 25%;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
padding: 5px 11px; padding: 5px 11px;
margin-top: 4px; margin-top: 4px;
/* Small devices (tablets, 768px and up) */ /* Small devices (tablets, 768px and up) */
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
padding: 0 $gl-btn-padding; padding: 0 $gl-btn-padding;
margin-top: 5px; margin-top: 5px;
} }
......
...@@ -74,7 +74,7 @@ body { ...@@ -74,7 +74,7 @@ body {
} }
/* Center alert text and alert action links on smaller screens */ /* Center alert text and alert action links on smaller screens */
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
.alert { .alert {
text-align: center; text-align: center;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Well styled list * Well styled list
* *
*/ */
.well-list { .card.card-body-list {
position: relative; position: relative;
margin: 0; margin: 0;
padding: 0; padding: 0;
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
} }
} }
.well-title { .card.card-body-title {
font-size: $list-font-size; font-size: $list-font-size;
line-height: 18px; line-height: 18px;
} }
...@@ -154,7 +154,7 @@ ul.content-list { ...@@ -154,7 +154,7 @@ ul.content-list {
&:last-child { &:last-child {
margin-right: 0; margin-right: 0;
@media(max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
margin: 0 auto; margin: 0 auto;
} }
} }
...@@ -168,7 +168,7 @@ ul.content-list { ...@@ -168,7 +168,7 @@ ul.content-list {
.member-controls { .member-controls {
float: none; float: none;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: right; float: right;
} }
} }
...@@ -223,7 +223,7 @@ ul.content-list { ...@@ -223,7 +223,7 @@ ul.content-list {
} }
} }
.label-default { .badge.badge-pill-default {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
...@@ -232,7 +232,7 @@ ul.content-list { ...@@ -232,7 +232,7 @@ ul.content-list {
} }
} }
.panel > .content-list > li { .card > .content-list > li {
padding: $gl-padding-top $gl-padding; padding: $gl-padding-top $gl-padding;
} }
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
} }
.md-header-tab { .md-header-tab {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex: 1; flex: 1;
width: 100%; width: 100%;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
&.active { &.active {
display: block; display: block;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex: none; flex: none;
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
margin-left: $gl-padding; margin-left: $gl-padding;
margin-right: -5px; margin-right: -5px;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
} }
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.atwho-view-ul { .atwho-view-ul {
width: 350px; width: 350px;
} }
......
/** Common mobile (screen XS, SM) styles **/ /** Common mobile (screen XS, SM) styles **/
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.container .content { .container .content {
margin-top: 20px; margin-top: 20px;
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
font-size: 12px; font-size: 12px;
margin-right: 3px; margin-right: 3px;
.badge { .badge.badge-pill {
display: none; display: none;
} }
} }
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
} }
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
.issues-filters { .issues-filters {
.milestone-filter { .milestone-filter {
display: none; display: none;
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
margin-left: $grid-size; margin-left: $grid-size;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex-direction: column; flex-direction: column;
.btn + .btn { .btn + .btn {
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
} }
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
.btn:first-of-type { .btn:first-of-type {
margin-left: auto; margin-left: auto;
} }
...@@ -74,7 +74,7 @@ body.modal-open { ...@@ -74,7 +74,7 @@ body.modal-open {
} }
} }
@media (min-width: $screen-lg-min) { @include media-breakpoint-up(lg) {
.modal-full { .modal-full {
width: 98%; width: 98%;
} }
...@@ -84,7 +84,7 @@ body.modal-open { ...@@ -84,7 +84,7 @@ body.modal-open {
background-color: $black-transparent; background-color: $black-transparent;
z-index: 2100; z-index: 2100;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
.modal-dialog { .modal-dialog {
margin: 30px auto; margin: 30px auto;
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
padding: 10px 0; padding: 10px 0;
margin-bottom: 0; margin-bottom: 0;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
margin-right: 3px; margin-right: 3px;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.btn { .btn {
width: 100%; width: 100%;
margin-top: 10px; margin-top: 10px;
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
@extend .avatar-inline; @extend .avatar-inline;
margin-left: 0; margin-left: 0;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-left: 4px; margin-left: 4px;
} }
} }
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
} }
} }
.panel > .gl-pagination { .card > .gl-pagination {
margin: 0; margin: 0;
} }
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
/** /**
* Small screen pagination * Small screen pagination
*/ */
@media (max-width: $screen-xs-min) { @include media-breakpoint-down(xs) {
.gl-pagination { .gl-pagination {
.pagination li a { .pagination li a {
padding: 6px 10px; padding: 6px 10px;
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
/** /**
* Medium screen pagination * Medium screen pagination
*/ */
@media (min-width: $screen-xs-min) and (max-width: $screen-md-max) { @media (min-width: map-get($grid-breakpoints, xs)) and (max-width: map-get($grid-breakpoints, sm)) {
.gl-pagination { .gl-pagination {
.page { .page {
display: none; display: none;
......
.panel { .card {
margin-bottom: $gl-padding; margin-bottom: $gl-padding;
} }
.panel-slim { .card-slim {
@extend .panel; @extend .card;
margin-bottom: $gl-vert-padding; margin-bottom: $gl-vert-padding;
} }
.panel-heading { .card-heading {
padding: $gl-vert-padding $gl-padding; padding: $gl-vert-padding $gl-padding;
line-height: 36px; line-height: 36px;
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
line-height: 20px; line-height: 20px;
} }
.badge { .badge.badge-pill {
margin-top: -2px; margin-top: -2px;
margin-left: 5px; margin-left: 5px;
} }
...@@ -41,11 +41,11 @@ ...@@ -41,11 +41,11 @@
} }
} }
.panel-empty-heading { .card-empty-heading {
border-bottom: 0; border-bottom: 0;
} }
.panel-body { .card-body {
padding: $gl-padding; padding: $gl-padding;
.form-actions { .form-actions {
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
} }
} }
.panel-title { .card-title {
font-size: inherit; font-size: inherit;
line-height: inherit; line-height: inherit;
} }
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.gl-responsive-table-row-layout { .gl-responsive-table-row-layout {
width: 100%; width: 100%;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
margin-top: 10px; margin-top: 10px;
border: 1px solid $border-color; border: 1px solid $border-color;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
margin: 0; margin: 0;
padding: $gl-padding 0; padding: $gl-padding 0;
border: 0; border: 0;
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
&.section-#{$width} { &.section-#{$width} {
flex: 0 0 #{$width + '%'}; flex: 0 0 #{$width + '%'};
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
max-width: #{$width + '%'}; max-width: #{$width + '%'};
} }
} }
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
display: flex; display: flex;
align-self: stretch; align-self: stretch;
padding: 10px; padding: 10px;
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
&.section-wrap { &.section-wrap {
white-space: normal; white-space: normal;
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
flex-wrap: wrap; flex-wrap: wrap;
} }
} }
...@@ -76,11 +76,11 @@ ...@@ -76,11 +76,11 @@
} }
.table-button-footer { .table-button-footer {
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
text-align: right; text-align: right;
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
display: block; display: block;
align-self: stretch; align-self: stretch;
min-height: 0; min-height: 0;
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
.table-row-header { .table-row-header {
font-size: 13px; font-size: 13px;
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
display: none; display: none;
} }
} }
...@@ -132,13 +132,13 @@ ...@@ -132,13 +132,13 @@
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
text-align: left; text-align: left;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
display: none; display: none;
} }
} }
.table-mobile-content { .table-mobile-content {
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
@include flex-max-width(60); @include flex-max-width(60);
text-align: right; text-align: right;
} }
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
flex: 0 0 90%; flex: 0 0 90%;
} }
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
color: $black; color: $black;
border-bottom: 2px solid $gray-darkest; border-bottom: 2px solid $gray-darkest;
.badge { .badge.badge-pill {
color: $black; color: $black;
} }
} }
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
color: $black; color: $black;
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
.badge { .badge.badge-pill {
color: $black; color: $black;
} }
} }
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
white-space: normal; white-space: normal;
/* Small devices (phones, tablets, 768px and lower) */ /* Small devices (phones, tablets, 768px and lower) */
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
width: 100%; width: 100%;
} }
} }
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
} }
/* Small devices (phones, tablets, 768px and lower) */ /* Small devices (phones, tablets, 768px and lower) */
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
width: 100%; width: 100%;
&.mobile-separator { &.mobile-separator {
...@@ -124,21 +124,21 @@ ...@@ -124,21 +124,21 @@
position: relative; position: relative;
/* Medium devices (desktops, 992px and up) */ /* Medium devices (desktops, 992px and up) */
@media (min-width: $screen-md-min) { width: 200px; } @include media-breakpoint-up(md) { width: 200px; }
/* Large devices (large desktops, 1200px and up) */ /* Large devices (large desktops, 1200px and up) */
@media (min-width: $screen-lg-min) { width: 250px; } @include media-breakpoint-up(lg) { width: 250px; }
&.input-short { &.input-short {
/* Medium devices (desktops, 992px and up) */ /* Medium devices (desktops, 992px and up) */
@media (min-width: $screen-md-min) { width: 170px; } @include media-breakpoint-up(md) { width: 170px; }
/* Large devices (large desktops, 1200px and up) */ /* Large devices (large desktops, 1200px and up) */
@media (min-width: $screen-lg-min) { width: 210px; } @include media-breakpoint-up(lg) { width: 210px; }
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding-bottom: 0; padding-bottom: 0;
width: 100%; width: 100%;
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
.nav-controls { .nav-controls {
width: auto; width: auto;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
width: 100%; width: 100%;
} }
} }
...@@ -204,7 +204,7 @@ ...@@ -204,7 +204,7 @@
width: 100%; width: 100%;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex-flow: row wrap; flex-flow: row wrap;
.nav-controls { .nav-controls {
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
max-width: 300px; max-width: 300px;
width: auto; width: auto;
@media(max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
max-width: 250px; max-width: 250px;
} }
} }
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
.right-sidebar-collapsed { .right-sidebar-collapsed {
padding-right: 0; padding-right: 0;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
&:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper { &:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper {
padding-right: $gutter_collapsed_width; padding-right: $gutter_collapsed_width;
} }
...@@ -65,13 +65,13 @@ ...@@ -65,13 +65,13 @@
display: inline-flex; display: inline-flex;
} }
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { @include media-breakpoint-only(sm) {
&:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper { &:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper {
padding-right: $gutter_collapsed_width; padding-right: $gutter_collapsed_width;
} }
} }
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
.content-wrapper { .content-wrapper {
padding-right: $gutter_width; padding-right: $gutter_width;
} }
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
} }
.snippet-actions { .snippet-actions {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: right; float: right;
} }
} }
......
...@@ -48,7 +48,7 @@ table { ...@@ -48,7 +48,7 @@ table {
} }
.responsive-table { .responsive-table {
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
th { th {
width: 100%; width: 100%;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
padding: 0; padding: 0;
&::before { &::before {
@include notes-media('max', $screen-xs-min) { @include notes-media('max', map-get($grid-breakpoints, xs)) {
background: none; background: none;
} }
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
.timeline-entry-inner { .timeline-entry-inner {
position: relative; position: relative;
@include notes-media('max', $screen-xs-min) { @include notes-media('max', map-get($grid-breakpoints, xs)) {
.timeline-icon { .timeline-icon {
display: none; display: none;
} }
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
cursor: not-allowed; cursor: not-allowed;
} }
@media (max-width: $screen-xs-min) { @include media-breakpoint-down(xs) {
width: 50px; width: 50px;
&::before, &::before,
......
...@@ -49,15 +49,15 @@ ...@@ -49,15 +49,15 @@
@include clearfix(); @include clearfix();
} }
.center-block { .mx-auto {
@include center-block(); @include center-block();
} }
.pull-right { .float-right {
float: right !important; float: right !important;
} }
.pull-left { .float-left {
float: left !important; float: left !important;
} }
...@@ -99,20 +99,20 @@ summary { ...@@ -99,20 +99,20 @@ summary {
@import "bootstrap/responsive-utilities"; @import "bootstrap/responsive-utilities";
// Labels // Labels
.label { .badge.badge-pill {
padding: 4px 5px; padding: 4px 5px;
font-size: 12px; font-size: 12px;
font-style: normal; font-style: normal;
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
display: inline-block; display: inline-block;
&.label-gray { &.badge.badge-pill-gray {
background-color: $label-gray-bg; background-color: $label-gray-bg;
color: $gl-text-color; color: $gl-text-color;
text-shadow: none; text-shadow: none;
} }
&.label-inverse { &.badge.badge-pill-inverse {
background-color: $label-inverse-bg; background-color: $label-inverse-bg;
} }
} }
...@@ -132,10 +132,10 @@ summary { ...@@ -132,10 +132,10 @@ summary {
* *
*/ */
.panel { .card {
box-shadow: none; box-shadow: none;
.panel-body { .card-body {
form, form,
pre { pre {
margin: 0; margin: 0;
...@@ -147,7 +147,7 @@ summary { ...@@ -147,7 +147,7 @@ summary {
} }
} }
.panel-footer { .card-footer {
.pagination { .pagination {
margin: 0; margin: 0;
} }
...@@ -161,8 +161,8 @@ summary { ...@@ -161,8 +161,8 @@ summary {
} }
} }
&.panel-small { &.card-small {
.panel-heading { .card-heading {
padding: 6px 15px; padding: 6px 15px;
font-size: 13px; font-size: 13px;
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
...@@ -173,20 +173,20 @@ summary { ...@@ -173,20 +173,20 @@ summary {
} }
} }
&.panel-without-border { &.card-without-border {
border: 0; border: 0;
} }
&.panel-without-margin { &.card-without-margin {
margin: 0; margin: 0;
} }
} }
.panel-succes .panel-heading, .card-succes .card-heading,
.panel-info .panel-heading, .card-info .card-heading,
.panel-danger .panel-heading, .card-danger .card-heading,
.panel-warning .panel-heading, .card-warning .card-heading,
.panel-primary .panel-heading, .card-primary .card-heading,
.alert { .alert {
a:not(.btn) { a:not(.btn) {
@extend .alert-link; @extend .alert-link;
......
...@@ -386,7 +386,7 @@ h4 { ...@@ -386,7 +386,7 @@ h4 {
} }
.text-right-lg { .text-right-lg {
@media (min-width: $screen-lg-min) { @include media-breakpoint-up(lg) {
text-align: right; text-align: right;
} }
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
border-radius: $border-radius-default; border-radius: $border-radius-default;
margin-bottom: $gl-padding; margin-bottom: $gl-padding;
.well-segment { .card.card-body-segment {
padding: $gl-padding; padding: $gl-padding;
&:not(:last-of-type) { &:not(:last-of-type) {
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
} }
} }
.label.label-gray { .badge.badge-pill.badge.badge-pill-gray {
background-color: $well-expand-item; background-color: $well-expand-item;
} }
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
} }
} }
.well-centered { .card.card-body-centered {
h1 { h1 {
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
text-align: center; text-align: center;
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
.boards-app { .boards-app {
position: relative; position: relative;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
transition: width $sidebar-transition-duration; transition: width $sidebar-transition-duration;
width: 100%; width: 100%;
...@@ -83,11 +83,11 @@ ...@@ -83,11 +83,11 @@
white-space: nowrap; white-space: nowrap;
min-height: 200px; min-height: 200px;
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { @include media-breakpoint-only(sm) {
height: calc(100vh - #{$issue-board-list-difference-sm}); height: calc(100vh - #{$issue-board-list-difference-sm});
} }
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
height: calc(100vh - #{$issue-board-list-difference-md}); height: calc(100vh - #{$issue-board-list-difference-md});
} }
...@@ -96,13 +96,13 @@ ...@@ -96,13 +96,13 @@
100vh - #{$issue-board-list-difference-xs} - #{$performance-bar-height} 100vh - #{$issue-board-list-difference-xs} - #{$performance-bar-height}
); );
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { @include media-breakpoint-only(sm) {
height: calc( height: calc(
100vh - #{$issue-board-list-difference-sm} - #{$performance-bar-height} 100vh - #{$issue-board-list-difference-sm} - #{$performance-bar-height}
); );
} }
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
height: calc( height: calc(
100vh - #{$issue-board-list-difference-md} - #{$performance-bar-height} 100vh - #{$issue-board-list-difference-md} - #{$performance-bar-height}
); );
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
white-space: normal; white-space: normal;
vertical-align: top; vertical-align: top;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 400px; width: 400px;
} }
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
margin-bottom: 8px; margin-bottom: 8px;
} }
.label-color { .badge.badge-pill-color {
position: relative; position: relative;
top: 2px; top: 2px;
display: inline-block; display: inline-block;
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
} }
} }
.label { .badge.badge-pill {
border: 0; border: 0;
outline: 0; outline: 0;
} }
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
.card-footer { .card-footer {
margin: 0 0 5px; margin: 0 0 5px;
.label { .badge.badge-pill {
margin-top: 5px; margin-top: 5px;
margin-right: 6px; margin-right: 6px;
} }
...@@ -562,11 +562,11 @@ ...@@ -562,11 +562,11 @@
.add-issues-list-column { .add-issues-list-column {
width: 100%; width: 100%;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 50%; width: 50%;
} }
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
width: (100% / 3); width: (100% / 3);
} }
} }
...@@ -635,7 +635,7 @@ ...@@ -635,7 +635,7 @@
display: none; display: none;
margin-right: 10px; margin-right: 10px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: block; display: block;
} }
} }
...@@ -643,7 +643,7 @@ ...@@ -643,7 +643,7 @@
.dropdown-menu-toggle { .dropdown-menu-toggle {
width: 100px; width: 100px;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
width: 140px; width: 140px;
} }
} }
......
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
} }
.header-action-buttons { .header-action-buttons {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.sidebar-toggle-btn { .sidebar-toggle-btn {
margin-top: 0; margin-top: 0;
margin-left: 10px; margin-left: 10px;
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
background-color: $white-light; background-color: $white-light;
} }
.label { .badge.badge-pill {
margin-left: 2px; margin-left: 2px;
} }
...@@ -303,7 +303,7 @@ ...@@ -303,7 +303,7 @@
} }
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
display: block; display: block;
.btn { .btn {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
} }
.commit-hash-full { .commit-hash-full {
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
width: 80px; width: 80px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
} }
.commit-actions { .commit-actions {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
.fa-spinner { .fa-spinner {
font-size: 12px; font-size: 12px;
} }
......
...@@ -53,19 +53,19 @@ $space-between-cards: 8px; ...@@ -53,19 +53,19 @@ $space-between-cards: 8px;
padding: $space-between-cards / 2; padding: $space-between-cards / 2;
position: relative; position: relative;
@media (min-width: $screen-xs-min) { @include media-breakpoint-up(xs) {
width: percentage(1 / 4); width: percentage(1 / 4);
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: percentage(1 / 5); width: percentage(1 / 5);
} }
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
width: percentage(1 / 6); width: percentage(1 / 6);
} }
@media (min-width: $screen-lg-min) { @include media-breakpoint-up(lg) {
width: percentage(1 / 10); width: percentage(1 / 10);
} }
} }
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
max-width: 480px; max-width: 480px;
padding: 0 $gl-padding; padding: 0 $gl-padding;
@media (max-width: $screen-sm-min) { @include media-breakpoint-down(sm) {
margin: 0 auto; margin: 0 auto;
} }
} }
...@@ -75,13 +75,13 @@ ...@@ -75,13 +75,13 @@
} }
} }
.panel { .card {
.content-block { .content-block {
padding: 24px 0; padding: 24px 0;
border-bottom: 0; border-bottom: 0;
position: relative; position: relative;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding: 6px 0 24px; padding: 6px 0 24px;
} }
} }
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
.column { .column {
text-align: center; text-align: center;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding: 15px 0; padding: 15px 0;
} }
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
} }
&:last-child { &:last-child {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
text-align: center; text-align: center;
} }
} }
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
.stage-panel { .stage-panel {
min-width: 968px; min-width: 968px;
.panel-heading { .card-heading {
padding: 0; padding: 0;
background-color: transparent; background-color: transparent;
} }
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
white-space: nowrap; white-space: nowrap;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: block; display: block;
} }
} }
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
display: flex; display: flex;
flex-grow: 1; flex-grow: 1;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
flex-shrink: 0; flex-shrink: 0;
flex: 0 0 auto; flex: 0 0 auto;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
width: 100%; width: 100%;
margin-top: 10px; margin-top: 10px;
......
...@@ -581,14 +581,14 @@ ...@@ -581,14 +581,14 @@
} }
.commit-stat-summary { .commit-stat-summary {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-left: -$gl-padding; margin-left: -$gl-padding;
padding-left: $gl-padding; padding-left: $gl-padding;
background-color: $white-light; background-color: $white-light;
} }
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
position: -webkit-sticky; position: -webkit-sticky;
position: sticky; position: sticky;
top: 24px; top: 24px;
...@@ -617,7 +617,7 @@ ...@@ -617,7 +617,7 @@
} }
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
.with-performance-bar { .with-performance-bar {
.diff-files-changed.diff-files-changed-merge-request { .diff-files-changed.diff-files-changed-merge-request {
top: 76px + $performance-bar-height; top: 76px + $performance-bar-height;
...@@ -630,7 +630,7 @@ ...@@ -630,7 +630,7 @@
width: 100%; width: 100%;
z-index: 150; z-index: 150;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
left: $gl-padding; left: $gl-padding;
} }
...@@ -761,9 +761,9 @@ ...@@ -761,9 +761,9 @@
} }
} }
.frame .badge, .frame .badge.badge-pill,
.image-diff-avatar-link .badge, .image-diff-avatar-link .badge.badge-pill,
.notes > .badge { .notes > .badge.badge-pill {
position: absolute; position: absolute;
background-color: $blue-400; background-color: $blue-400;
color: $white-light; color: $white-light;
...@@ -777,7 +777,7 @@ ...@@ -777,7 +777,7 @@
} }
} }
.frame .badge, .frame .badge.badge-pill,
.frame .image-comment-badge { .frame .image-comment-badge {
// Center align badges on the frame // Center align badges on the frame
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
...@@ -800,14 +800,14 @@ ...@@ -800,14 +800,14 @@
.image-diff-avatar-link { .image-diff-avatar-link {
position: relative; position: relative;
.badge, .badge.badge-pill,
.image-comment-badge { .image-comment-badge {
top: 25px; top: 25px;
right: 8px; right: 8px;
} }
} }
.notes > .badge { .notes > .badge.badge-pill {
display: none; display: none;
left: -13px; left: -13px;
} }
...@@ -830,7 +830,7 @@ ...@@ -830,7 +830,7 @@
display: none; display: none;
} }
.notes > .badge { .notes > .badge.badge-pill {
display: block; display: block;
} }
} }
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
padding-top: 7px; padding-top: 7px;
padding-bottom: 7px; padding-bottom: 7px;
.pull-right { .float-right {
height: 20px; height: 20px;
} }
} }
...@@ -63,11 +63,11 @@ ...@@ -63,11 +63,11 @@
max-width: 450px; max-width: 450px;
float: left; float: left;
@media(max-width: $screen-md-max) { @media(max-width: map-get($grid-breakpoints, lg)-1) {
width: 280px; width: 280px;
} }
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
width: 180px; width: 180px;
} }
} }
...@@ -111,10 +111,10 @@ ...@@ -111,10 +111,10 @@
} }
@media(max-width: $screen-xs-max){ @include media-breakpoint-down(xs){
.file-editor { .file-editor {
.file-title { .file-title {
.pull-right { .float-right {
height: auto; height: auto;
} }
} }
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
vertical-align: top; vertical-align: top;
display: inline-block; display: inline-block;
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
display: block; display: block;
margin: 19px 0 12px; margin: 19px 0 12px;
} }
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
padding: 0 0 0 14px; padding: 0 0 0 14px;
border-left: 1px solid $border-color; border-left: 1px solid $border-color;
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
display: block; display: block;
width: 100%; width: 100%;
margin: 5px 0; margin: 5px 0;
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
margin-top: 6px; margin-top: 6px;
line-height: 21px; line-height: 21px;
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
display: block; display: block;
margin: 5px 0; margin: 5px 0;
} }
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
vertical-align: top; vertical-align: top;
margin: 5px 0 0 8px; margin: 5px 0 0 8px;
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
display: block; display: block;
width: 100%; width: 100%;
margin: 0 0 16px; margin: 0 0 16px;
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
font-family: $regular_font; font-family: $regular_font;
margin-top: -5px; margin-top: -5px;
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
display: block; display: block;
width: 100%; width: 100%;
margin: 5px 0; margin: 5px 0;
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
width: 250px; width: 250px;
vertical-align: top; vertical-align: top;
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
display: block; display: block;
width: 100%; width: 100%;
margin: 5px 0; margin: 5px 0;
...@@ -237,7 +237,7 @@ ...@@ -237,7 +237,7 @@
display: inline-block; display: inline-block;
margin: 7px 0 0 10px; margin: 7px 0 0 10px;
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
display: block; display: block;
width: 100%; width: 100%;
margin: 20px 0; margin: 20px 0;
......
@media (max-width: $screen-md-max) { @include media-breakpoint-down(md) {
.deployments-container { .deployments-container {
width: 100%; width: 100%;
overflow: auto; overflow: auto;
...@@ -138,15 +138,15 @@ ...@@ -138,15 +138,15 @@
border-left: 0; border-left: 0;
border-right: 0; border-right: 0;
@media (min-width: $screen-sm-max) { @media (min-width: map-get($grid-breakpoints, md)-1) {
border-top: 0; border-top: 0;
} }
} }
.x-axis path, .x-axis path,
.y-axis path, .y-axis path,
.label-x-axis-line, .badge.badge-pill-x-axis-line,
.label-y-axis-line { .badge.badge-pill-y-axis-line {
fill: none; fill: none;
stroke-width: 1; stroke-width: 1;
shape-rendering: crispEdges; shape-rendering: crispEdges;
...@@ -157,8 +157,8 @@ ...@@ -157,8 +157,8 @@
stroke: $stat-graph-axis-fill; stroke: $stat-graph-axis-fill;
} }
.label-x-axis-line, .badge.badge-pill-x-axis-line,
.label-y-axis-line { .badge.badge-pill-y-axis-line {
stroke: $border-color; stroke: $border-color;
} }
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
font-size: 16px; font-size: 16px;
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
min-width: 100%; min-width: 100%;
} }
} }
...@@ -353,7 +353,7 @@ ...@@ -353,7 +353,7 @@
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
} }
.label-axis-text { .badge.badge-pill-axis-text {
fill: $black; fill: $black;
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
font-size: 10px; font-size: 10px;
...@@ -401,8 +401,8 @@ ...@@ -401,8 +401,8 @@
} }
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
.label-axis-text, .badge.badge-pill-axis-text,
.text-metric-usage, .text-metric-usage,
.legend-axis-text { .legend-axis-text {
font-size: 8px; font-size: 8px;
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
.md { .md {
font-size: $gl-font-size; font-size: $gl-font-size;
.label { .badge.badge-pill {
color: $gl-text-color; color: $gl-text-color;
} }
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.event-item { .event-item {
padding-left: 0; padding-left: 0;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@include str-truncated(90%); @include str-truncated(90%);
} }
.dashboard .side .panel .panel-heading .input-group { .dashboard .side .card .card-heading .input-group {
.form-control { .form-control {
height: 42px; height: 42px;
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
} }
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
&, &,
.dropdown, .dropdown,
.dropdown .dropdown-toggle, .dropdown .dropdown-toggle,
...@@ -145,14 +145,14 @@ ...@@ -145,14 +145,14 @@
padding: 50px 100px; padding: 50px 100px;
overflow: hidden; overflow: hidden;
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
padding: 50px 0; padding: 50px 0;
} }
svg { svg {
float: right; float: right;
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
float: none; float: none;
display: block; display: block;
width: 250px; width: 250px;
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
width: 460px; width: 460px;
margin-top: 120px; margin-top: 120px;
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
float: none; float: none;
margin-top: 60px; margin-top: 60px;
width: auto; width: auto;
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
max-width: 480px; max-width: 480px;
padding: 0 $gl-padding; padding: 0 $gl-padding;
@media (max-width: $screen-sm-min) { @include media-breakpoint-down(sm) {
margin: 0 auto; margin: 0 auto;
} }
} }
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
.key { .key {
@extend .label; @extend .badge.badge-pill;
@extend .label-inverse; @extend .badge.badge-pill-inverse;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
padding: 3px 5px; padding: 3px 5px;
} }
......
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
/* Extra small devices (phones, less than 768px) */ /* Extra small devices (phones, less than 768px) */
display: none; display: none;
/* Small devices (tablets, 768px and up) */ /* Small devices (tablets, 768px and up) */
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: block; display: block;
} }
...@@ -622,7 +622,7 @@ ...@@ -622,7 +622,7 @@
} }
.issuable-form-padding-top { .issuable-form-padding-top {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
padding-top: 7px; padding-top: 7px;
} }
} }
...@@ -636,7 +636,7 @@ ...@@ -636,7 +636,7 @@
padding-left: 9px; padding-left: 9px;
padding-right: 9px; padding-right: 9px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: inline-block; display: inline-block;
height: auto; height: auto;
align-self: center; align-self: center;
...@@ -644,7 +644,7 @@ ...@@ -644,7 +644,7 @@
} }
.issuable-gutter-toggle { .issuable-gutter-toggle {
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
margin-left: $btn-side-margin; margin-left: $btn-side-margin;
} }
} }
...@@ -662,7 +662,7 @@ ...@@ -662,7 +662,7 @@
width: 100%; width: 100%;
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
margin-bottom: $gl-padding; margin-bottom: $gl-padding;
} }
} }
...@@ -703,7 +703,7 @@ ...@@ -703,7 +703,7 @@
} }
} }
@media(max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.issuable-meta { .issuable-meta {
.controls li { .controls li {
margin-right: 0; margin-right: 0;
...@@ -738,7 +738,7 @@ ...@@ -738,7 +738,7 @@
} }
} }
@media(max-width: $screen-md-max) { @media(max-width: map-get($grid-breakpoints, lg)-1) {
.task-status, .task-status,
.issuable-due-date, .issuable-due-date,
.project-ref-path { .project-ref-path {
......
...@@ -143,7 +143,7 @@ ul.related-merge-requests > li { ...@@ -143,7 +143,7 @@ ul.related-merge-requests > li {
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.detail-page-header { .detail-page-header {
.issuable-meta { .issuable-meta {
line-height: 18px; line-height: 18px;
...@@ -247,7 +247,7 @@ ul.related-merge-requests > li { ...@@ -247,7 +247,7 @@ ul.related-merge-requests > li {
display: block; display: block;
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
.emoji-block .row { .emoji-block .row {
display: flex; display: flex;
......
...@@ -57,30 +57,30 @@ ...@@ -57,30 +57,30 @@
border-bottom-left-radius: $border-radius-base; border-bottom-left-radius: $border-radius-base;
} }
.label-row { .badge.badge-pill-row {
.label-name { .badge.badge-pill-name {
display: inline-block; display: inline-block;
margin-bottom: 10px; margin-bottom: 10px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 200px; width: 200px;
margin-left: $gl-padding * 2; margin-left: $gl-padding * 2;
margin-bottom: 0; margin-bottom: 0;
} }
.label { .badge.badge-pill {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
max-width: 100%; max-width: 100%;
} }
} }
.label-type { .badge.badge-pill-type {
display: block; display: block;
margin-bottom: 10px; margin-bottom: 10px;
margin-left: 50px; margin-left: 50px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: inline-block; display: inline-block;
width: 100px; width: 100px;
margin-left: 10px; margin-left: 10px;
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
} }
} }
.label-description { .badge.badge-pill-description {
display: block; display: block;
margin-bottom: 10px; margin-bottom: 10px;
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
color: $blue-600; color: $blue-600;
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: inline-block; display: inline-block;
max-width: 50%; max-width: 50%;
margin-left: 10px; margin-left: 10px;
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
} }
} }
.label { .badge.badge-pill {
padding: 4px $grid-size; padding: 4px $grid-size;
font-size: $label-font-size; font-size: $label-font-size;
position: relative; position: relative;
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
} }
.manage-labels-list { .manage-labels-list {
@media(min-width: $screen-md-min) { @media(min-width: map-get($grid-breakpoints, md)) {
&.content-list li { &.content-list li {
padding: $gl-padding 0; padding: $gl-padding 0;
} }
...@@ -171,12 +171,12 @@ ...@@ -171,12 +171,12 @@
} }
.dropdown { .dropdown {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: right; float: right;
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.dropdown-menu { .dropdown-menu {
min-width: 100%; min-width: 100%;
} }
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
font-size: 0; font-size: 0;
padding: 12px 16px; padding: 12px 16px;
.label-row { .badge.badge-pill-row {
margin-top: 4px; margin-top: 4px;
margin-bottom: 4px; margin-bottom: 4px;
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
} }
} }
.label-remove { .badge.badge-pill-remove {
border-left: 1px solid $label-remove-border; border-left: 1px solid $label-remove-border;
z-index: 3; z-index: 3;
border-radius: $label-border-radius; border-radius: $label-border-radius;
...@@ -270,11 +270,11 @@ ...@@ -270,11 +270,11 @@
} }
} }
.label-options-toggle { .badge.badge-pill-options-toggle {
width: 100%; width: 100%;
} }
.label-subscription { .badge.badge-pill-subscription {
vertical-align: middle; vertical-align: middle;
.dropdown-group-label a { .dropdown-group-label a {
...@@ -282,39 +282,39 @@ ...@@ -282,39 +282,39 @@
} }
} }
.label-subscribe-button { .badge.badge-pill-subscribe-button {
@media(min-width: $screen-md-min) { @media(min-width: map-get($grid-breakpoints, md)) {
min-width: 105px; min-width: 105px;
margin-left: $gl-padding; margin-left: $gl-padding;
} }
.label-subscribe-button-icon { .badge.badge-pill-subscribe-button-icon {
&[disabled] { &[disabled] {
opacity: 0.5; opacity: 0.5;
pointer-events: none; pointer-events: none;
} }
} }
.label-subscribe-button-loading { .badge.badge-pill-subscribe-button-loading {
display: none; display: none;
} }
&.disabled { &.disabled {
.label-subscribe-button-icon { .badge.badge-pill-subscribe-button-icon {
display: none; display: none;
} }
.label-subscribe-button-loading { .badge.badge-pill-subscribe-button-loading {
display: block; display: block;
} }
} }
} }
.label-link { .badge.badge-pill-link {
display: inline-flex; display: inline-flex;
vertical-align: top; vertical-align: top;
.label { .badge.badge-pill {
vertical-align: inherit; vertical-align: inherit;
font-size: $label-font-size; font-size: $label-font-size;
} }
......
...@@ -207,9 +207,9 @@ ...@@ -207,9 +207,9 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.login-page { .login-page {
.col-sm-5.pull-right { .col-md-5.float-right {
float: none !important; float: none !important;
margin-bottom: 45px; margin-bottom: 45px;
} }
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
.navless-container { .navless-container {
padding: 65px 15px; // height of footer + bottom padding of email confirmation link padding: 65px 15px; // height of footer + bottom padding of email confirmation link
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding: 0 15px 65px; padding: 0 15px 65px;
} }
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
.member { .member {
.list-item-name { .list-item-name {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: left; float: left;
width: 50%; width: 50%;
} }
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
} }
.controls { .controls {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
} }
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
.form-horizontal { .form-horizontal {
margin-top: 20px; margin-top: 20px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
margin-top: 3px; margin-top: 3px;
...@@ -45,20 +45,20 @@ ...@@ -45,20 +45,20 @@
.btn-remove { .btn-remove {
width: 100%; width: 100%;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: auto; width: auto;
} }
} }
&.existing-title { &.existing-title {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: left; float: left;
} }
} }
} }
.member-form-control { .member-form-control {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding-bottom: 5px; padding-bottom: 5px;
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
.member-search-form { .member-search-form {
position: relative; position: relative;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: right; float: right;
} }
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
width: 100%; width: 100%;
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-top: 0; margin-top: 0;
width: 155px; width: 155px;
} }
...@@ -96,16 +96,16 @@ ...@@ -96,16 +96,16 @@
width: 100%; width: 100%;
padding-right: 35px; padding-right: 35px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 250px; width: 250px;
} }
&.input-short { &.input-short {
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
width: 170px; width: 170px;
} }
@media (min-width: $screen-lg-min) { @include media-breakpoint-up(lg) {
width: 210px; width: 210px;
} }
} }
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
border: 0; border: 0;
outline: 0; outline: 0;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
right: 160px; right: 160px;
} }
} }
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@media (max-width: $screen-sm-min) { @include media-breakpoint-down(sm) {
display: block; display: block;
.flex-project-title { .flex-project-title {
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.badge { .badge.badge-pill {
height: 17px; height: 17px;
line-height: 16px; line-height: 16px;
margin-right: 5px; margin-right: 5px;
...@@ -166,14 +166,14 @@ ...@@ -166,14 +166,14 @@
} }
} }
.panel { .card {
.panel-heading { .card-heading {
.badge { .badge.badge-pill {
margin-top: 0; margin-top: 0;
} }
@media (max-width: $screen-sm-min) { @include media-breakpoint-down(sm) {
.badge { .badge.badge-pill {
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
} }
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
margin-right: 0; margin-right: 0;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: block; display: block;
.controls > .btn { .controls > .btn {
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
} }
} }
.panel-mobile { .card-mobile {
.content-list.members-list li { .content-list.members-list li {
display: block; display: block;
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
color: $gl-text-color; color: $gl-text-color;
display: flex; display: flex;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex-wrap: wrap; flex-wrap: wrap;
} }
} }
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
text-transform: capitalize; text-transform: capitalize;
} }
.label-branch { .badge.badge-pill-branch {
@extend .ref-name; @extend .ref-name;
color: $gl-text-color; color: $gl-text-color;
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
overflow: hidden; overflow: hidden;
word-break: break-all; word-break: break-all;
&.label-truncated { &.badge.badge-pill-truncated {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 250px; width: 250px;
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
display: inline-block; display: inline-block;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
p { p {
font-size: 13px; font-size: 13px;
} }
...@@ -498,18 +498,18 @@ ...@@ -498,18 +498,18 @@
} }
} }
.panel-new-merge-request { .card-new-merge-request {
.panel-heading { .card-heading {
padding: 5px 10px; padding: 5px 10px;
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
line-height: 25px; line-height: 25px;
} }
.panel-body { .card-body {
padding: 10px 5px; padding: 10px 5px;
} }
.panel-footer { .card-footer {
padding: 0; padding: 0;
.btn { .btn {
...@@ -523,7 +523,7 @@ ...@@ -523,7 +523,7 @@
} }
.item-title { .item-title {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 45%; width: 45%;
} }
} }
...@@ -554,7 +554,7 @@ ...@@ -554,7 +554,7 @@
margin-bottom: 0; margin-bottom: 0;
} }
@media (min-width: $screen-xs-min) { @include media-breakpoint-up(xs) {
float: left; float: left;
width: 50%; width: 50%;
margin-bottom: 0; margin-bottom: 0;
...@@ -652,7 +652,7 @@ ...@@ -652,7 +652,7 @@
background-color: $white-light; background-color: $white-light;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
position: sticky; position: sticky;
position: -webkit-sticky; position: -webkit-sticky;
} }
...@@ -661,7 +661,7 @@ ...@@ -661,7 +661,7 @@
left: 0; left: 0;
transition: right .15s; transition: right .15s;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
right: 0; right: 0;
} }
...@@ -704,7 +704,7 @@ ...@@ -704,7 +704,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
flex-direction: column-reverse; flex-direction: column-reverse;
} }
} }
...@@ -740,7 +740,7 @@ ...@@ -740,7 +740,7 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@media (min-width: $screen-xs) { @include media-breakpoint-up(xs) {
flex-wrap: nowrap; flex-wrap: nowrap;
white-space: nowrap; white-space: nowrap;
} }
...@@ -757,7 +757,7 @@ ...@@ -757,7 +757,7 @@
min-width: 100px; min-width: 100px;
max-width: 150px; max-width: 150px;
@media (min-width: $screen-xs) { @include media-breakpoint-up(xs) {
min-width: 0; min-width: 0;
max-width: 100%; max-width: 100%;
} }
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
} }
} }
.panel-heading { .card-heading {
line-height: $line-height-base; line-height: $line-height-base;
padding: 14px 16px; padding: 14px 16px;
display: -webkit-flex; display: -webkit-flex;
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
padding: 20px 0; padding: 20px 0;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.milestone-actions { .milestone-actions {
@include clearfix(); @include clearfix();
padding-top: $gl-vert-padding; padding-top: $gl-vert-padding;
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
width: 100%; width: 100%;
} }
@media (min-width: $screen-xs-min) { @include media-breakpoint-up(xs) {
.milestone-buttons .verbose { .milestone-buttons .verbose {
display: inline; display: inline;
} }
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
.note-image-attach { .note-image-attach {
@extend .col-md-4; @extend .col-lg-4;
margin-left: 45px; margin-left: 45px;
float: none; float: none;
} }
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
-webkit-flex-flow: row wrap; -webkit-flex-flow: row wrap;
width: 100%; width: 100%;
.pull-right { .float-right {
// Flexbox quirk to make sure right-aligned items stay right-aligned. // Flexbox quirk to make sure right-aligned items stay right-aligned.
margin-left: auto; margin-left: auto;
} }
...@@ -181,12 +181,12 @@ ...@@ -181,12 +181,12 @@
} }
.notes.notes-form > li.timeline-entry { .notes.notes-form > li.timeline-entry {
@include notes-media('max', $screen-sm-max) { @include notes-media('max', map-get($grid-breakpoints, md)-1) {
padding: 0; padding: 0;
} }
.timeline-content { .timeline-content {
@include notes-media('max', $screen-sm-max) { @include notes-media('max', map-get($grid-breakpoints, md)-1) {
margin: 0; margin: 0;
} }
} }
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
.discussion-actions { .discussion-actions {
display: table; display: table;
.btn-default path { .btn-secondary path {
fill: $gray-darkest; fill: $gray-darkest;
} }
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
outline: 0; outline: 0;
} }
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
float: left; float: left;
margin-right: $gl-padding; margin-right: $gl-padding;
...@@ -341,13 +341,13 @@ ...@@ -341,13 +341,13 @@
line-height: 16px; line-height: 16px;
margin-top: 2px; margin-top: 2px;
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
float: left; float: left;
} }
} }
.note-form-actions { .note-form-actions {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.btn { .btn {
float: none; float: none;
width: 100%; width: 100%;
...@@ -366,7 +366,7 @@ ...@@ -366,7 +366,7 @@
left: 127px; left: 127px;
top: 2px; top: 2px;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
position: relative; position: relative;
top: 0; top: 0;
left: 0; left: 0;
...@@ -401,7 +401,7 @@ ...@@ -401,7 +401,7 @@
width: 298px; width: 298px;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: flex; display: flex;
width: 100%; width: 100%;
margin-bottom: 10px; margin-bottom: 10px;
...@@ -423,7 +423,7 @@ ...@@ -423,7 +423,7 @@
.uploading-container { .uploading-container {
float: right; float: right;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
float: left; float: left;
margin-top: 5px; margin-top: 5px;
} }
...@@ -435,7 +435,7 @@ ...@@ -435,7 +435,7 @@
} }
.uploading-error-message { .uploading-error-message {
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
&::after { &::after {
content: "\a"; content: "\a";
white-space: pre; white-space: pre;
......
...@@ -22,7 +22,7 @@ ul.notes { ...@@ -22,7 +22,7 @@ ul.notes {
.discussion-body { .discussion-body {
padding-top: 8px; padding-top: 8px;
.panel { .card {
margin-bottom: 0; margin-bottom: 0;
} }
} }
...@@ -42,7 +42,7 @@ ul.notes { ...@@ -42,7 +42,7 @@ ul.notes {
position: relative; position: relative;
border-bottom: 0; border-bottom: 0;
@include notes-media('min', $screen-sm-min) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
padding-left: $note-icon-gutter-width; padding-left: $note-icon-gutter-width;
} }
...@@ -66,7 +66,7 @@ ul.notes { ...@@ -66,7 +66,7 @@ ul.notes {
} }
.timeline-icon { .timeline-icon {
@include notes-media('min', $screen-sm-min) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-left: -$note-icon-gutter-width; margin-left: -$note-icon-gutter-width;
} }
} }
...@@ -74,7 +74,7 @@ ul.notes { ...@@ -74,7 +74,7 @@ ul.notes {
.timeline-content { .timeline-content {
margin-left: $note-icon-gutter-width; margin-left: $note-icon-gutter-width;
@include notes-media('min', $screen-sm-min) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-left: 0; margin-left: 0;
} }
} }
...@@ -148,7 +148,7 @@ ul.notes { ...@@ -148,7 +148,7 @@ ul.notes {
.note-header { .note-header {
@include notes-media('max', $screen-xs-min) { @include notes-media('max', map-get($grid-breakpoints, xs)) {
.inline { .inline {
display: block; display: block;
} }
...@@ -211,7 +211,7 @@ ul.notes { ...@@ -211,7 +211,7 @@ ul.notes {
.timeline-icon { .timeline-icon {
float: left; float: left;
@include notes-media('min', $screen-sm-min) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-left: 0; margin-left: 0;
width: auto; width: auto;
} }
...@@ -225,7 +225,7 @@ ul.notes { ...@@ -225,7 +225,7 @@ ul.notes {
} }
.timeline-content { .timeline-content {
@include notes-media('min', $screen-sm-min) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-left: 30px; margin-left: 30px;
} }
} }
...@@ -400,7 +400,7 @@ ul.notes { ...@@ -400,7 +400,7 @@ ul.notes {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@include notes-media('max', $screen-xs-max) { @include notes-media('max', map-get($grid-breakpoints, sm)-1) {
flex-flow: row wrap; flex-flow: row wrap;
} }
} }
...@@ -419,7 +419,7 @@ ul.notes { ...@@ -419,7 +419,7 @@ ul.notes {
} }
.note-header-author-name { .note-header-author-name {
@include notes-media('max', $screen-xs-max) { @include notes-media('max', map-get($grid-breakpoints, sm)-1) {
display: none; display: none;
} }
} }
...@@ -427,7 +427,7 @@ ul.notes { ...@@ -427,7 +427,7 @@ ul.notes {
.note-headline-light { .note-headline-light {
display: inline; display: inline;
@include notes-media('max', $screen-xs-min) { @include notes-media('max', map-get($grid-breakpoints, xs)) {
display: block; display: block;
} }
} }
...@@ -465,7 +465,7 @@ ul.notes { ...@@ -465,7 +465,7 @@ ul.notes {
margin-left: 10px; margin-left: 10px;
color: $gray-darkest; color: $gray-darkest;
@include notes-media('max', $screen-md-max) { @include notes-media('max', map-get($grid-breakpoints, lg)-1) {
float: none; float: none;
margin-left: 0; margin-left: 0;
} }
...@@ -483,7 +483,7 @@ ul.notes { ...@@ -483,7 +483,7 @@ ul.notes {
margin-left: 10px; margin-left: 10px;
color: $gray-darkest; color: $gray-darkest;
@include notes-media('max', $screen-xs-max) { @include notes-media('max', map-get($grid-breakpoints, sm)-1) {
float: none; float: none;
margin-left: 0; margin-left: 0;
} }
...@@ -663,7 +663,7 @@ ul.notes { ...@@ -663,7 +663,7 @@ ul.notes {
} }
.line-resolve-all-container { .line-resolve-all-container {
@include notes-media('min', $screen-sm-min) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-right: 0; margin-right: 0;
padding-left: $gl-padding; padding-left: $gl-padding;
} }
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
.cron-preset-radio-input { .cron-preset-radio-input {
display: inline-block; display: inline-block;
@media (max-width: $screen-md-max) { @include media-breakpoint-down(md) {
display: block; display: block;
margin: 0 0 5px 5px; margin: 0 0 5px 5px;
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.ci-table { .ci-table {
.label { .badge.badge-pill {
margin-bottom: 3px; margin-bottom: 3px;
} }
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
.pipeline-actions { .pipeline-actions {
min-width: 170px; //Guarantees buttons don't break in several lines. min-width: 170px; //Guarantees buttons don't break in several lines.
.btn-default { .btn-secondary {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
.btn-group { .btn-group {
&.open { &.open {
.btn-default { .btn-secondary {
background-color: $white-normal; background-color: $white-normal;
border-color: $border-white-normal; border-color: $border-white-normal;
} }
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
} }
} }
@media (max-width: $screen-md-max) { @include media-breakpoint-down(md) {
.content-list { .content-list {
&.builds-content-list { &.builds-content-list {
width: 100%; width: 100%;
...@@ -151,14 +151,14 @@ ...@@ -151,14 +151,14 @@
color: $gl-link-color; color: $gl-link-color;
} }
.label { .badge.badge-pill {
margin-right: 4px; margin-right: 4px;
} }
.label-container { .badge.badge-pill-container {
font-size: 0; font-size: 0;
.label { .badge.badge-pill {
margin-top: 5px; margin-top: 5px;
} }
} }
...@@ -220,14 +220,14 @@ ...@@ -220,14 +220,14 @@
box-shadow: none; box-shadow: none;
} }
.pipeline-tags .label-container { .pipeline-tags .badge.badge-pill-container {
white-space: normal; white-space: normal;
} }
} }
.stage-cell { .stage-cell {
&.table-section { &.table-section {
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
min-width: 160px; /* Hack alert: Without this the mini graph pipeline won't work properly*/ min-width: 160px; /* Hack alert: Without this the mini graph pipeline won't work properly*/
margin-right: -4px; margin-right: -4px;
} }
...@@ -823,7 +823,7 @@ button.mini-pipeline-graph-dropdown-toggle { ...@@ -823,7 +823,7 @@ button.mini-pipeline-graph-dropdown-toggle {
display: block; display: block;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
max-width: 60%; max-width: 60%;
} }
} }
...@@ -910,7 +910,7 @@ button.mini-pipeline-graph-dropdown-toggle { ...@@ -910,7 +910,7 @@ button.mini-pipeline-graph-dropdown-toggle {
transform: translate(-50%, 0); transform: translate(-50%, 0);
border-width: 0 5px 6px; border-width: 0 5px 6px;
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
left: 100%; left: 100%;
margin-left: -12px; margin-left: -12px;
} }
...@@ -932,7 +932,7 @@ button.mini-pipeline-graph-dropdown-toggle { ...@@ -932,7 +932,7 @@ button.mini-pipeline-graph-dropdown-toggle {
&.dropdown-menu { &.dropdown-menu {
transform: translate(-80%, 0); transform: translate(-80%, 0);
@media(min-width: $screen-md-min) { @media(min-width: map-get($grid-breakpoints, md)) {
transform: translate(-50%, 0); transform: translate(-50%, 0);
right: auto; right: auto;
left: 50%; left: 50%;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
} }
.avatar-image { .avatar-image {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: left; float: left;
margin-bottom: 0; margin-bottom: 0;
} }
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
.key-list-item { .key-list-item {
.key-list-item-info { .key-list-item-info {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: left; float: left;
} }
} }
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
.modal-dialog { .modal-dialog {
width: 380px; width: 380px;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
width: auto; width: auto;
} }
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
left: 0; left: 0;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.cover-block { .cover-block {
padding-top: 20px; padding-top: 20px;
} }
...@@ -357,7 +357,7 @@ table.u2f-registrations { ...@@ -357,7 +357,7 @@ table.u2f-registrations {
} }
} }
@media(max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
text-align: center; text-align: center;
.bordered-box { .bordered-box {
...@@ -410,7 +410,7 @@ table.u2f-registrations { ...@@ -410,7 +410,7 @@ table.u2f-registrations {
margin-right: $gl-padding / 4; margin-right: $gl-padding / 4;
} }
.label-verification-status { .badge.badge-pill-verification-status {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.input-group > div { .input-group > div {
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
} }
+ .select2 a, + .select2 a,
+ .btn-default { + .btn-secondary {
border-radius: 0 $border-radius-base $border-radius-base 0; border-radius: 0 $border-radius-base $border-radius-base 0;
} }
} }
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
border: 1px solid $border-color; border: 1px solid $border-color;
padding: 10px 32px; padding: 10px 32px;
@media (max-width: $screen-xs-min) { @include media-breakpoint-down(xs) {
padding: 10px 20px; padding: 10px 20px;
} }
} }
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
max-width: 400px; max-width: 400px;
} }
@media (max-width: $screen-xs-min) { @include media-breakpoint-down(xs) {
padding-left: 20px; padding-left: 20px;
} }
} }
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
padding-top: 24px; padding-top: 24px;
padding-bottom: 24px; padding-bottom: 24px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
} }
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
} }
.download-button { .download-button {
@media (max-width: $screen-md-max) { @include media-breakpoint-down(md) {
margin-left: 0; margin-left: 0;
} }
} }
...@@ -355,7 +355,7 @@ ...@@ -355,7 +355,7 @@
} }
.deploy-key-content { .deploy-key-content {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
float: left; float: left;
&:last-child { &:last-child {
...@@ -365,7 +365,7 @@ ...@@ -365,7 +365,7 @@
} }
.deploy-key-projects { .deploy-key-projects {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
line-height: 42px; line-height: 42px;
} }
} }
...@@ -427,11 +427,11 @@ a.deploy-project-label { ...@@ -427,11 +427,11 @@ a.deploy-project-label {
height: 200px; height: 200px;
width: calc((100% / 2) - #{$gl-padding * 2}); width: calc((100% / 2) - #{$gl-padding * 2});
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
width: calc((100% / 4) - #{$gl-padding * 2}); width: calc((100% / 4) - #{$gl-padding * 2});
} }
@media (min-width: $screen-lg-min) { @include media-breakpoint-up(lg) {
width: calc((100% / 5) - #{$gl-padding * 2}); width: calc((100% / 5) - #{$gl-padding * 2});
} }
...@@ -520,7 +520,7 @@ a.deploy-project-label { ...@@ -520,7 +520,7 @@ a.deploy-project-label {
.template-input-group { .template-input-group {
position: relative; position: relative;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: flex; display: flex;
} }
...@@ -584,12 +584,12 @@ a.deploy-project-label { ...@@ -584,12 +584,12 @@ a.deploy-project-label {
margin: 0 auto 4px; margin: 0 auto 4px;
font-size: 24px; font-size: 24px;
@media (min-width: $screen-xs-max) { @media (min-width: map-get($grid-breakpoints, sm)-1) {
top: 0; top: 0;
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.btn-template-icon { .btn-template-icon {
display: inline-block; display: inline-block;
height: 14px; height: 14px;
...@@ -608,31 +608,31 @@ a.deploy-project-label { ...@@ -608,31 +608,31 @@ a.deploy-project-label {
.create-project-options { .create-project-options {
display: flex; display: flex;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
display: block; display: block;
} }
.first-column { .first-column {
@media (min-width: $screen-xs-min) { @include media-breakpoint-up(xs) {
max-width: 50%; max-width: 50%;
padding-right: 30px; padding-right: 30px;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
max-width: 100%; max-width: 100%;
width: 100%; width: 100%;
} }
} }
.second-column { .second-column {
@media (min-width: $screen-xs-min) { @include media-breakpoint-up(xs) {
width: 50%; width: 50%;
flex: 1; flex: 1;
padding-left: 30px; padding-left: 30px;
position: relative; position: relative;
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
max-width: 100%; max-width: 100%;
width: 100%; width: 100%;
padding-left: 0; padding-left: 0;
...@@ -640,7 +640,7 @@ a.deploy-project-label { ...@@ -640,7 +640,7 @@ a.deploy-project-label {
} }
// Mobile // Mobile
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
padding-top: 30px; padding-top: 30px;
} }
...@@ -660,7 +660,7 @@ a.deploy-project-label { ...@@ -660,7 +660,7 @@ a.deploy-project-label {
line-height: 20px; line-height: 20px;
// Mobile // Mobile
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
left: 50%; left: 50%;
top: 0; top: 0;
transform: translateX(-50%); transform: translateX(-50%);
...@@ -680,7 +680,7 @@ a.deploy-project-label { ...@@ -680,7 +680,7 @@ a.deploy-project-label {
top: 0; top: 0;
// Mobile // Mobile
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
top: 10px; top: 10px;
left: 10px; left: 10px;
right: 10px; right: 10px;
...@@ -718,7 +718,7 @@ a.deploy-project-label { ...@@ -718,7 +718,7 @@ a.deploy-project-label {
vertical-align: top; vertical-align: top;
margin-top: 0; margin-top: 0;
@media (min-width: $screen-lg-min) { @include media-breakpoint-up(lg) {
float: right; float: right;
} }
} }
...@@ -849,7 +849,7 @@ pre.light-well { ...@@ -849,7 +849,7 @@ pre.light-well {
} }
} }
.panel .projects-list li { .card .projects-list li {
padding: 10px 15px; padding: 10px 15px;
margin: 0; margin: 0;
} }
...@@ -966,7 +966,7 @@ pre.light-well { ...@@ -966,7 +966,7 @@ pre.light-well {
.dropdown-menu-projects { .dropdown-menu-projects {
width: 300px; width: 300px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 500px; width: 500px;
} }
...@@ -980,7 +980,7 @@ pre.light-well { ...@@ -980,7 +980,7 @@ pre.light-well {
.inline-input-group { .inline-input-group {
width: 100%; width: 100%;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 300px; width: 300px;
} }
} }
...@@ -991,7 +991,7 @@ pre.light-well { ...@@ -991,7 +991,7 @@ pre.light-well {
text-align: center; text-align: center;
margin-top: -20px; margin-top: -20px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-top: 0; margin-top: 0;
width: auto; width: auto;
} }
...@@ -1030,7 +1030,7 @@ pre.light-well { ...@@ -1030,7 +1030,7 @@ pre.light-well {
} }
&.form-group { &.form-group {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-bottom: 0; margin-bottom: 0;
} }
} }
...@@ -1058,12 +1058,12 @@ pre.light-well { ...@@ -1058,12 +1058,12 @@ pre.light-well {
.project-feature { .project-feature {
padding-top: 10px; padding-top: 10px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
padding-left: 45px; padding-left: 45px;
} }
&.nested { &.nested {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
padding-left: 90px; padding-left: 90px;
} }
} }
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
padding: 4px 9px; padding: 4px 9px;
} }
.btn-default { .btn-secondary {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
} }
@media (max-width: $screen-md-max) { @include media-breakpoint-down(md) {
.runners-content { .runners-content {
width: 100%; width: 100%;
overflow: auto; overflow: auto;
......
...@@ -166,7 +166,7 @@ input[type="checkbox"]:hover { ...@@ -166,7 +166,7 @@ input[type="checkbox"]:hover {
} }
.search-holder { .search-holder {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
} }
...@@ -178,7 +178,7 @@ input[type="checkbox"]:hover { ...@@ -178,7 +178,7 @@ input[type="checkbox"]:hover {
position: relative; position: relative;
margin-right: 0; margin-right: 0;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-right: 5px; margin-right: 5px;
} }
} }
...@@ -202,7 +202,7 @@ input[type="checkbox"]:hover { ...@@ -202,7 +202,7 @@ input[type="checkbox"]:hover {
width: 100%; width: 100%;
margin-top: 5px; margin-top: 5px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: auto; width: auto;
margin-top: 0; margin-top: 0;
margin-left: 5px; margin-left: 5px;
...@@ -210,7 +210,7 @@ input[type="checkbox"]:hover { ...@@ -210,7 +210,7 @@ input[type="checkbox"]:hover {
} }
.dropdown { .dropdown {
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
} }
...@@ -220,7 +220,7 @@ input[type="checkbox"]:hover { ...@@ -220,7 +220,7 @@ input[type="checkbox"]:hover {
width: 100%; width: 100%;
margin-top: 5px; margin-top: 5px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 180px; width: 180px;
margin-top: 0; margin-top: 0;
} }
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
animation: none; animation: none;
} }
@media(max-width: $screen-sm-max) { @media(max-width: map-get($grid-breakpoints, md)-1) {
padding-right: 20px; padding-right: 20px;
} }
...@@ -98,12 +98,12 @@ ...@@ -98,12 +98,12 @@
} }
.bs-callout, .bs-callout,
.checkbox:first-child, .form-check:first-child,
.help-block { .help-block {
margin-top: 0; margin-top: 0;
} }
.label-light { .badge.badge-pill-light {
margin-bottom: 0; margin-bottom: 0;
} }
} }
...@@ -131,12 +131,12 @@ ...@@ -131,12 +131,12 @@
color: $gl-danger; color: $gl-danger;
} }
.service-settings .control-label { .service-settings .form-control-label {
padding-top: 0; padding-top: 0;
} }
.integration-settings-form { .integration-settings-form {
.well { .card.card-body {
padding: $gl-padding / 2; padding: $gl-padding / 2;
box-shadow: none; box-shadow: none;
} }
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
} }
.visibility-level-setting { .visibility-level-setting {
.radio { .form-check {
margin-bottom: 10px; margin-bottom: 10px;
i.fa { i.fa {
...@@ -199,22 +199,22 @@ ...@@ -199,22 +199,22 @@
} }
.prometheus-metrics-monitoring { .prometheus-metrics-monitoring {
.panel { .card {
.panel-toggle { .card-toggle {
width: 14px; width: 14px;
} }
.badge { .badge.badge-pill {
font-size: 12px; font-size: 12px;
line-height: 12px; line-height: 12px;
} }
.panel-heading .badge-count { .card-heading .badge.badge-pill-count {
color: $white-light; color: $white-light;
background: $common-gray-dark; background: $common-gray-dark;
} }
.panel-body { .card-body {
padding: 0; padding: 0;
} }
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
li { li {
padding: $gl-padding; padding: $gl-padding;
.badge { .badge.badge-pill {
margin-left: 5px; margin-left: 5px;
background: $badge-bg; background: $badge-bg;
} }
......
.triggers-container { .triggers-container {
.label-container { .badge.badge-pill-container {
display: inline-block; display: inline-block;
margin-left: 10px; margin-left: 10px;
} }
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
@include make-md-column(6); @include make-md-column(6);
margin-top: 10px; margin-top: 10px;
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
width: 100%; width: 100%;
} }
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
} }
} }
.visible-xs-inline { .d-block.d-sm-none-inline {
.ci-status-link { .ci-status-link {
position: relative; position: relative;
top: 2px; top: 2px;
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
color: $gl-grayish-blue; color: $gl-grayish-blue;
font-size: $gl-font-size; font-size: $gl-font-size;
.label { .badge.badge-pill {
color: $gl-text-color; color: $gl-text-color;
} }
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
} }
} }
@media (max-width: $screen-sm-max) { @include media-breakpoint-down(sm) {
.todos-filters { .todos-filters {
.dropdown-menu-toggle { .dropdown-menu-toggle {
width: 130px; width: 130px;
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.todo { .todo {
.avatar { .avatar {
display: none; display: none;
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
-webkit-flex-direction: row; -webkit-flex-direction: row;
flex-direction: row; flex-direction: row;
padding-top: 80px; padding-top: 80px;
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
width: 300px; width: 300px;
margin-right: 0; margin-right: 0;
-webkit-order: 2; -webkit-order: 2;
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
.todos-all-done { .todos-all-done {
padding-top: 20px; padding-top: 20px;
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
padding-top: 50px; padding-top: 50px;
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
display: flex; display: flex;
.tree-ref-container { .tree-ref-container {
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
} }
} }
@media (max-width: $screen-xs-max) { @include media-breakpoint-down(xs) {
.repo-breadcrumb { .repo-breadcrumb {
margin-top: 10px; margin-top: 10px;
position: relative; position: relative;
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
margin-left: 5px; margin-left: 5px;
} }
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) { @include media-breakpoint-only(md) {
@include str-truncated(450px); @include str-truncated(450px);
} }
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
display: block; display: block;
} }
@media (min-width: $screen-sm-min) { @include media-breakpoint-up(sm) {
&.has-sidebar-toggle { &.has-sidebar-toggle {
padding-right: 40px; padding-right: 40px;
} }
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
} }
} }
@media (min-width: $screen-md-min) { @include media-breakpoint-up(md) {
&.has-sidebar-toggle { &.has-sidebar-toggle {
padding-right: 0; padding-right: 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment