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