Commit bc2ddbe1 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '3879-suppress-mergeable-selector-in-ee-only-files' into 'master'

Suppress MergeableSelector warning candidates in EE-only files

Closes #3879

See merge request gitlab-org/gitlab-ee!3225
parents 2bb54170 6b36e925
...@@ -5,14 +5,14 @@ ...@@ -5,14 +5,14 @@
top: 52px; top: 52px;
} }
/* Secondary Nav Overrides - Old Nav */
.page-with-sidebar.has-trial-banner { .page-with-sidebar.has-trial-banner {
/* Secondary Nav Overrides - Old Nav */
margin-top: 102px; margin-top: 102px;
}
/* Sidebar Nav Overrides - New Nav */ /* Sidebar Nav Overrides - New Nav */
.page-with-sidebar.has-trial-banner .nav-sidebar { .nav-sidebar {
top: 102px; top: 102px;
}
} }
/* Trial Banner */ /* Trial Banner */
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
.close { .close {
color: $white-dark; color: $white-dark;
opacity: 0.7; opacity: 0.7;
position: absolute;
top: 12px;
right: $gl-padding;
&:hover { &:hover {
color: $black; color: $black;
...@@ -45,12 +48,6 @@ ...@@ -45,12 +48,6 @@
text-decoration: underline; text-decoration: underline;
} }
} }
.close {
position: absolute;
top: 12px;
right: $gl-padding;
}
} }
/* Trial License Install Modal */ /* Trial License Install Modal */
...@@ -74,9 +71,6 @@ ...@@ -74,9 +71,6 @@
.confirmation-desc { .confirmation-desc {
max-width: 80%; max-width: 80%;
margin: auto; margin: auto;
}
.confirmation-desc {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
...@@ -87,10 +81,8 @@ ...@@ -87,10 +81,8 @@
overflow-y: auto; overflow-y: auto;
} }
} }
}
/* Pure CSS License Key Preview Toggle */ /* Pure CSS License Key Preview Toggle */
.modal-upload-trial-license {
.trial-license-preview, .trial-license-preview,
.show-license, .show-license,
.hide-license:target { .hide-license:target {
......
...@@ -129,77 +129,89 @@ ...@@ -129,77 +129,89 @@
/** /**
* Deploy boards * Deploy boards
*/ */
.deploy-board {
padding: 10px;
background-color: $gray-light;
min-height: 20px;
.deploy-board > div { .fa-spinner {
display: flex; margin: 0 auto;
justify-content: space-between; width: 20px;
display: block;
font-size: 20px;
}
.deploy-board-information { > div {
order: 1;
display: flex; display: flex;
width: 70px; justify-content: space-between;
flex-wrap: wrap;
justify-content: center;
margin: 20px 0 20px 5px;
> span { .deploy-board-information {
text-align: center; order: 1;
} display: flex;
width: 70px;
flex-wrap: wrap;
justify-content: center;
margin: 20px 0 20px 5px;
.percentage { > span {
color: $gl-text-color; text-align: center;
} }
.text { .percentage {
color: $gl-text-color-secondary; color: $gl-text-color;
}
.text {
color: $gl-text-color-secondary;
}
} }
}
.deploy-board-instances { .deploy-board-instances {
order: 2; order: 2;
margin-left: 20px; margin-left: 20px;
width: 100%; width: 100%;
.text { .text {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
font-size: 12px; font-size: 12px;
} }
.deploy-board-instances-container { .deploy-board-instances-container {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row; flex-direction: row;
margin-top: -8px; margin-top: -8px;
}
} }
}
.deploy-board-actions { .deploy-board-actions {
order: 3; order: 3;
align-self: center; align-self: center;
min-width: 150px; min-width: 150px;
margin-left: 10px; margin-left: 10px;
} }
&.deploy-board-error-message { &.deploy-board-error-message {
justify-content: center; justify-content: center;
} }
.deploy-board-empty-state-svg { .deploy-board-empty-state-svg {
order: 1; order: 1;
width: 90px; width: 90px;
margin: auto 0 auto 20px; margin: auto 0 auto 20px;
} }
.deploy-board-empty-state-text { .deploy-board-empty-state-text {
order: 2; order: 2;
flex-wrap: wrap; flex-wrap: wrap;
margin: auto auto 15px 0; margin: auto auto 15px 0;
.title { .title {
order: 1; order: 1;
display: flex; display: flex;
font-size: 17px; font-size: 17px;
line-height: 40px; line-height: 40px;
}
} }
} }
} }
...@@ -272,18 +284,7 @@ ...@@ -272,18 +284,7 @@
} }
} }
.deploy-board {
padding: 10px;
background-color: $gray-light;
min-height: 20px;
.fa-spinner {
margin: 0 auto;
width: 20px;
display: block;
font-size: 20px;
}
}
.gl-responsive-table-row { .gl-responsive-table-row {
.branch-commit { .branch-commit {
......
...@@ -558,17 +558,6 @@ a.deploy-project-label { ...@@ -558,17 +558,6 @@ a.deploy-project-label {
} }
} }
.fork-thumbnail-container {
display: flex;
flex-wrap: wrap;
margin-left: -$gl-padding;
margin-right: -$gl-padding;
> h5 {
width: 100%;
}
}
.project-template { .project-template {
> .form-group { > .form-group {
margin-bottom: 0; margin-bottom: 0;
...@@ -1056,19 +1045,16 @@ a.allowed-to-push { ...@@ -1056,19 +1045,16 @@ a.allowed-to-push {
border-right: solid 1px transparent; border-right: solid 1px transparent;
} }
} }
}
.disabled-item {
@extend .btn.disabled;
}
.protected-branches-list,
.protected-tags-list {
.flash-container { .flash-container {
padding: 0; padding: 0;
} }
} }
.disabled-item {
@extend .btn.disabled;
}
.protected-tags-list { .protected-tags-list {
.dropdown-menu-toggle { .dropdown-menu-toggle {
width: 100%; width: 100%;
......
...@@ -40,34 +40,33 @@ ...@@ -40,34 +40,33 @@
} }
} }
}
.user-callout.promotion-callout.promotion-empty-page { &.promotion-empty-page {
margin-top: 56px; margin-top: 56px;
} }
.user-callout.promotion-callout.promotion-advanced-search { &.promotion-advanced-search {
margin: 0; margin: 0;
border-bottom: solid 1px $border-color; border-bottom: solid 1px $border-color;
h5 { h5 {
margin-top: 0; margin-top: 0;
} }
.bordered-box.content-block { .bordered-box.content-block {
border: none; border: none;
padding: 20px 0; padding: 20px 0;
justify-content: left; justify-content: left;
svg { svg {
height: auto; height: auto;
}
} }
}
.user-callout-copy { .user-callout-copy {
margin-left: 0; margin-left: 0;
}
} }
} }
.promotion-modal { .promotion-modal {
......
---
title: Suppress MergeableSelector warning candidates in EE-only files
merge_request: 3225
author: Takuya Noguchi
type: other
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