Commit 0d555545 authored by Clement Ho's avatar Clement Ho

[skip ci] fix overzealous .badge-pill renames from scss migration script

parent 43de46e2
......@@ -396,7 +396,7 @@ span.idiff {
margin-right: 1.5em;
}
.badge.badge-pill-lfs {
.label-lfs {
color: $common-gray-light;
border: 1px solid $common-gray-light;
}
......@@ -31,7 +31,7 @@ label {
margin: 0;
}
&.badge.badge-pill-light {
&.label-light {
font-weight: $gl-font-weight-bold;
}
}
......
......@@ -228,7 +228,7 @@ ul.content-list {
}
}
.badge.badge-pill-default {
.badge-secondary {
color: $gl-text-color-secondary;
}
......
......@@ -58,7 +58,7 @@
}
}
.badge.badge-pill.badge.badge-pill-gray {
.label-gray {
background-color: $well-expand-item;
}
......
......@@ -244,7 +244,7 @@
margin-bottom: 8px;
}
.badge.badge-pill-color {
.label-color {
position: relative;
top: 2px;
display: inline-block;
......@@ -297,7 +297,7 @@
}
}
.badge.badge-pill {
.badge {
border: 0;
outline: 0;
}
......@@ -399,7 +399,7 @@
.card-footer {
margin: 0 0 5px;
.badge.badge-pill {
.badge {
margin-top: 5px;
margin-right: 6px;
}
......
......@@ -145,8 +145,8 @@
.x-axis path,
.y-axis path,
.badge.badge-pill-x-axis-line,
.badge.badge-pill-y-axis-line {
.label-x-axis-line,
.label-y-axis-line {
fill: none;
stroke-width: 1;
shape-rendering: crispEdges;
......@@ -157,8 +157,8 @@
stroke: $stat-graph-axis-fill;
}
.badge.badge-pill-x-axis-line,
.badge.badge-pill-y-axis-line {
.label-x-axis-line,
.label-y-axis-line {
stroke: $border-color;
}
......@@ -357,7 +357,7 @@
font-weight: $gl-font-weight-bold;
}
.badge.badge-pill-axis-text {
.label-axis-text {
fill: $black;
font-weight: $gl-font-weight-normal;
font-size: 10px;
......@@ -402,7 +402,7 @@
}
@include media-breakpoint-down(sm) {
.badge.badge-pill-axis-text,
.label-axis-text,
.text-metric-usage,
.legend-axis-text {
font-size: 8px;
......
......@@ -57,8 +57,8 @@
border-bottom-left-radius: $border-radius-base;
}
.badge.badge-pill-row {
.badge.badge-pill-name {
.label-row {
.label-name {
display: inline-block;
margin-bottom: 10px;
......@@ -68,14 +68,14 @@
margin-bottom: 0;
}
.badge.badge-pill {
.badge {
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
}
.badge.badge-pill-type {
.label-type {
display: block;
margin-bottom: 10px;
margin-left: 50px;
......@@ -89,7 +89,7 @@
}
}
.badge.badge-pill-description {
.label-description {
display: block;
margin-bottom: 10px;
......@@ -110,7 +110,7 @@
}
}
.badge.badge-pill {
.badge {
padding: 4px $grid-size;
font-size: $label-font-size;
position: relative;
......@@ -234,7 +234,7 @@
font-size: 0;
padding: 12px 16px;
.badge.badge-pill-row {
.label-row {
margin-top: 4px;
margin-bottom: 4px;
......@@ -243,7 +243,7 @@
}
}
.badge.badge-pill-remove {
.label-remove {
border-left: 1px solid $label-remove-border;
z-index: 3;
border-radius: $label-border-radius;
......@@ -270,11 +270,11 @@
}
}
.badge.badge-pill-options-toggle {
.label-options-toggle {
width: 100%;
}
.badge.badge-pill-subscription {
.label-subscription {
vertical-align: middle;
.dropdown-group-label a {
......@@ -282,39 +282,39 @@
}
}
.badge.badge-pill-subscribe-button {
.label-subscribe-button {
@media(min-width: map-get($grid-breakpoints, md)) {
min-width: 105px;
margin-left: $gl-padding;
}
.badge.badge-pill-subscribe-button-icon {
.label-subscribe-button-icon {
&[disabled] {
opacity: 0.5;
pointer-events: none;
}
}
.badge.badge-pill-subscribe-button-loading {
.label-subscribe-button-loading {
display: none;
}
&.disabled {
.badge.badge-pill-subscribe-button-icon {
.label-subscribe-button-icon {
display: none;
}
.badge.badge-pill-subscribe-button-loading {
.label-subscribe-button-loading {
display: block;
}
}
}
.badge.badge-pill-link {
.label-link {
display: inline-flex;
vertical-align: top;
.badge.badge-pill {
.label {
vertical-align: inherit;
font-size: $label-font-size;
}
......
......@@ -174,7 +174,7 @@
text-transform: capitalize;
}
.badge.badge-pill-branch {
.label-branch {
@extend .ref-name;
color: $gl-text-color;
......@@ -182,7 +182,7 @@
overflow: hidden;
word-break: break-all;
&.badge.badge-pill-truncated {
&.label-truncated {
position: relative;
display: inline-block;
width: 250px;
......
......@@ -18,7 +18,7 @@
.ci-table {
.badge.badge-pill {
.badge {
margin-bottom: 3px;
}
......@@ -151,14 +151,14 @@
color: $gl-link-color;
}
.badge.badge-pill {
.badge {
margin-right: 4px;
}
.badge.badge-pill-container {
.label-container {
font-size: 0;
.badge.badge-pill {
.badge {
margin-top: 5px;
}
}
......@@ -220,7 +220,7 @@
box-shadow: none;
}
.pipeline-tags .badge.badge-pill-container {
.pipeline-tags .label-container {
white-space: normal;
}
}
......
......@@ -405,7 +405,7 @@ table.u2f-registrations {
margin-right: $gl-padding / 4;
}
.badge.badge-pill-verification-status {
.label-verification-status {
border-width: 1px;
border-style: solid;
......
......@@ -103,7 +103,7 @@
margin-top: 0;
}
.badge.badge-pill-light {
.label-light {
margin-bottom: 0;
}
}
......@@ -209,7 +209,7 @@
line-height: 12px;
}
.card-heading .badge.badge-pill-count {
.card-heading .label-count {
color: $white-light;
background: $common-gray-dark;
}
......
.triggers-container {
.badge.badge-pill-container {
.label-container {
display: inline-block;
margin-left: 10px;
}
......
......@@ -9,7 +9,7 @@
- if user.admin?
%span.badge.badge-success Admin
- if user.external?
%span.badge.label-default External
%span.badge.badge-secondary External
- if user == current_user
%span It's you!
.row-second-line.str-truncated-100
......
......@@ -44,7 +44,7 @@
= form_tag verify_project_pages_domain_path(@project, @domain) do
.status-badge
- text, status = @domain.unverified? ? [_('Unverified'), 'badge-danger'] : [_('Verified'), 'badge-success']
.label{ class: status }
.badge{ class: status }
= text
%button.btn.has-tooltip{ type: "submit", data: { container: 'body' }, title: _("Retry verification") }
= sprite_icon('redo')
......
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