Commit 8e97ebba authored by Mark Florian's avatar Mark Florian

Merge branch '36857-phase-1' into 'master'

Deprecate Gitlab UI class-name clashes

See merge request gitlab-org/gitlab!27610
parents a1b3a364 a66f00c7
...@@ -240,7 +240,7 @@ export default { ...@@ -240,7 +240,7 @@ export default {
class="d-flex-center text-truncate" class="d-flex-center text-truncate"
> >
<gl-icon name="warning" :size="16" class="flex-shrink-0" /> <gl-icon name="warning" :size="16" class="flex-shrink-0" />
<span class="text-truncate gl-pl-1"> <span class="text-truncate gl-pl-1-deprecated-no-really-do-not-use-me">
<gl-sprintf <gl-sprintf
:message=" :message="
hasMultipleAlerts ? multipleAlertsSummary.message : singleAlertSummary.message hasMultipleAlerts ? multipleAlertsSummary.message : singleAlertSummary.message
......
...@@ -268,7 +268,7 @@ export default { ...@@ -268,7 +268,7 @@ export default {
<slot name="topLeft"></slot> <slot name="topLeft"></slot>
<h5 <h5
ref="graphTitle" ref="graphTitle"
class="prometheus-graph-title gl-font-size-large font-weight-bold text-truncate append-right-8" class="prometheus-graph-title gl-font-lg font-weight-bold text-truncate append-right-8"
> >
{{ title }} {{ title }}
</h5> </h5>
......
...@@ -69,7 +69,9 @@ export default { ...@@ -69,7 +69,9 @@ export default {
> >
<ci-icon :status="group.status" /> <ci-icon :status="group.status" />
<span class="ci-status-text text-truncate mw-70p gl-pl-1 d-inline-block align-bottom"> <span
class="ci-status-text text-truncate mw-70p gl-pl-1-deprecated-no-really-do-not-use-me d-inline-block align-bottom"
>
{{ group.name }} {{ group.name }}
</span> </span>
......
...@@ -27,7 +27,9 @@ export default { ...@@ -27,7 +27,9 @@ export default {
<template> <template>
<span class="ci-job-name-component mw-100"> <span class="ci-job-name-component mw-100">
<ci-icon :status="status" /> <ci-icon :status="status" />
<span class="ci-status-text text-truncate mw-70p gl-pl-1 d-inline-block align-bottom"> <span
class="ci-status-text text-truncate mw-70p gl-pl-1-deprecated-no-really-do-not-use-me d-inline-block align-bottom"
>
{{ name }} {{ name }}
</span> </span>
</span> </span>
......
...@@ -80,7 +80,9 @@ export default { ...@@ -80,7 +80,9 @@ export default {
<span class="js-short monospace">{{ shortSha(index) }}</span> <span class="js-short monospace">{{ shortSha(index) }}</span>
</template> </template>
<template slot="expanded"> <template slot="expanded">
<span class="js-expanded monospace gl-pl-1">{{ sha(index) }}</span> <span class="js-expanded monospace gl-pl-1-deprecated-no-really-do-not-use-me">{{
sha(index)
}}</span>
</template> </template>
</expand-button> </expand-button>
<clipboard-button <clipboard-button
......
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
<template> <template>
<div class="card-header d-flex align-items-center bg-white pr-0"> <div class="card-header d-flex align-items-center bg-white pr-0">
<h2 class="card-title my-2 mr-auto gl-font-size-20"> <h2 class="card-title my-2 mr-auto gl-font-size-20-deprecated-no-really-do-not-use-me">
<gl-link v-if="selfLink" :href="selfLink" class="font-size-inherit"> <gl-link v-if="selfLink" :href="selfLink" class="font-size-inherit">
{{ release.name }} {{ release.name }}
</gl-link> </gl-link>
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
:href="deployment.url" :href="deployment.url"
target="_blank" target="_blank"
rel="noopener noreferrer nofollow" rel="noopener noreferrer nofollow"
class="js-deploy-meta gl-font-size-12" class="js-deploy-meta gl-font-sm"
> >
{{ deployment.name }} {{ deployment.name }}
</gl-link> </gl-link>
......
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
<div class="mr-widget-extension d-flex align-items-center pl-3"> <div class="mr-widget-extension d-flex align-items-center pl-3">
<div v-if="hasError" class="ci-widget media"> <div v-if="hasError" class="ci-widget media">
<div class="media-body"> <div class="media-body">
<span class="gl-font-size-small mr-widget-margin-left gl-line-height-24 js-error-state">{{ <span class="gl-font-sm mr-widget-margin-left gl-line-height-24 js-error-state">{{
title title
}}</span> }}</span>
</div> </div>
......
...@@ -169,15 +169,15 @@ export default { ...@@ -169,15 +169,15 @@ export default {
menu-class="date-time-picker-menu" menu-class="date-time-picker-menu"
toggle-class="date-time-picker-toggle text-truncate" toggle-class="date-time-picker-toggle text-truncate"
> >
<div class="d-flex justify-content-between gl-p-2"> <div class="d-flex justify-content-between gl-p-2-deprecated-no-really-do-not-use-me">
<gl-form-group <gl-form-group
v-if="customEnabled" v-if="customEnabled"
:label="__('Custom range')" :label="__('Custom range')"
label-for="custom-from-time" label-for="custom-from-time"
label-class="gl-pb-1" label-class="gl-pb-1-deprecated-no-really-do-not-use-me"
class="custom-time-range-form-group col-md-7 gl-pl-1 gl-pr-0 m-0" class="custom-time-range-form-group col-md-7 gl-pl-1-deprecated-no-really-do-not-use-me gl-pr-0 m-0"
> >
<div class="gl-pt-2"> <div class="gl-pt-2-deprecated-no-really-do-not-use-me">
<date-time-picker-input <date-time-picker-input
id="custom-time-from" id="custom-time-from"
v-model="startInput" v-model="startInput"
...@@ -198,9 +198,12 @@ export default { ...@@ -198,9 +198,12 @@ export default {
</gl-deprecated-button> </gl-deprecated-button>
</gl-form-group> </gl-form-group>
</gl-form-group> </gl-form-group>
<gl-form-group label-for="group-id-dropdown" class="col-md-5 gl-pl-1 gl-pr-1 m-0"> <gl-form-group
label-for="group-id-dropdown"
class="col-md-5 gl-pl-1-deprecated-no-really-do-not-use-me gl-pr-1-deprecated-no-really-do-not-use-me m-0"
>
<template #label> <template #label>
<span class="gl-pl-5">{{ __('Quick range') }}</span> <span class="gl-pl-5-deprecated-no-really-do-not-use-me">{{ __('Quick range') }}</span>
</template> </template>
<gl-dropdown-item <gl-dropdown-item
......
...@@ -516,11 +516,36 @@ img.emoji { ...@@ -516,11 +516,36 @@ img.emoji {
These will be replaced when the Gitlab UI utilities are included. These will be replaced when the Gitlab UI utilities are included.
**/ **/
@each $index, $padding in $spacing-scale { @each $index, $padding in $spacing-scale {
#{'.gl-p-#{$index}'} { padding: $padding; } #{'.gl-p-#{$index}-deprecated-no-really-do-not-use-me'} { padding: $padding; }
#{'.gl-pl-#{$index}'} { padding-left: $padding; } #{'.gl-pl-#{$index}-deprecated-no-really-do-not-use-me'} { padding-left: $padding; }
#{'.gl-pr-#{$index}'} { padding-right: $padding; } #{'.gl-pr-#{$index}-deprecated-no-really-do-not-use-me'} { padding-right: $padding; }
#{'.gl-pt-#{$index}'} { padding-top: $padding; } #{'.gl-pt-#{$index}-deprecated-no-really-do-not-use-me'} { padding-top: $padding; }
#{'.gl-pb-#{$index}'} { padding-bottom: $padding; } #{'.gl-pb-#{$index}-deprecated-no-really-do-not-use-me'} { padding-bottom: $padding; }
}
/**
The zero-indexed classes will not change and do not need to be updated.
These can be removed when the Gitlab UI class include is merged.
**/
.gl-p-0 {
padding: 0;
}
.gl-pl-0 {
padding-left: 0;
}
.gl-pr-0 {
padding-right: 0;
}
.gl-pt-0 {
padding-top: 0;
}
.gl-pb-0 {
padding-bottom: 0;
} }
/** /**
...@@ -611,15 +636,13 @@ img.emoji { ...@@ -611,15 +636,13 @@ img.emoji {
} }
} }
.gl-font-size-small { font-size: $gl-font-size-small; } .gl-font-sm { font-size: $gl-font-size-small; }
.gl-font-size-large { font-size: $gl-font-size-large; } .gl-font-lg { font-size: $gl-font-size-large; }
.gl-font-base { font-size: $gl-font-size-14; }
.gl-line-height-24 { line-height: $gl-line-height-24; } .gl-line-height-24 { line-height: $gl-line-height-24; }
.gl-font-size-0 { font-size: 0; } .gl-font-size-0 { font-size: 0; }
.gl-font-size-12 { font-size: $gl-font-size-12; }
.gl-font-size-14 { font-size: $gl-font-size-14; }
.gl-font-size-16 { font-size: $gl-font-size-16; }
.gl-font-size-28 { font-size: $gl-font-size-28; } .gl-font-size-28 { font-size: $gl-font-size-28; }
.gl-font-size-42 { font-size: $gl-font-size-42; } .gl-font-size-42 { font-size: $gl-font-size-42; }
......
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
- if status.has_details? - if status.has_details?
= link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item d-flex', data: { toggle: 'tooltip', title: tooltip, container: 'body' } do = link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item d-flex', data: { toggle: 'tooltip', title: tooltip, container: 'body' } do
%span{ class: klass }= sprite_icon(status.icon) %span{ class: klass }= sprite_icon(status.icon)
%span.ci-build-text.text-truncate.mw-70p.gl-pl-1= subject.name %span.ci-build-text.text-truncate.mw-70p.gl-pl-1-deprecated-no-really-do-not-use-me= subject.name
- else - else
.menu-item.mini-pipeline-graph-dropdown-item.d-flex{ data: { toggle: 'tooltip', title: tooltip, container: 'body' } } .menu-item.mini-pipeline-graph-dropdown-item.d-flex{ data: { toggle: 'tooltip', title: tooltip, container: 'body' } }
%span{ class: klass }= sprite_icon(status.icon) %span{ class: klass }= sprite_icon(status.icon)
%span.ci-build-text.text-truncate.mw-70p.gl-pl-1= subject.name %span.ci-build-text.text-truncate.mw-70p.gl-pl-1-deprecated-no-really-do-not-use-me= subject.name
- if status.has_action? - if status.has_action?
= link_to status.action_path, class: "ci-action-icon-container ci-action-icon-wrapper js-ci-action-icon", method: status.action_method, data: { toggle: 'tooltip', title: status.action_title, container: 'body' } do = link_to status.action_path, class: "ci-action-icon-container ci-action-icon-wrapper js-ci-action-icon", method: status.action_method, data: { toggle: 'tooltip', title: status.action_title, container: 'body' } do
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
= _("GitLab is a single application for the entire software development lifecycle. From project planning and source code management to CI/CD, monitoring, and security.") = _("GitLab is a single application for the entire software development lifecycle. From project planning and source code management to CI/CD, monitoring, and security.")
.col-lg-5.order-12 .col-lg-5.order-12
.text-center.mb-3 .text-center.mb-3
%h2.font-weight-bold.gl-font-size-20= _('Register for GitLab') %h2.font-weight-bold.gl-font-size-20-deprecated-no-really-do-not-use-me= _('Register for GitLab')
= render 'devise/shared/experimental_separate_sign_up_flow_box' = render 'devise/shared/experimental_separate_sign_up_flow_box'
= render 'devise/shared/sign_in_link' = render 'devise/shared/sign_in_link'
- else - else
......
.template-selectors-menu.gl-pl-2 .template-selectors-menu.gl-pl-2-deprecated-no-really-do-not-use-me
.template-selector-dropdowns-wrap .template-selector-dropdowns-wrap
.template-type-selector.js-template-type-selector-wrap.hidden .template-type-selector.js-template-type-selector-wrap.hidden
- toggle_text = should_suggest_gitlab_ci_yml? ? '.gitlab-ci.yml' : 'Select a template type' - toggle_text = should_suggest_gitlab_ci_yml? ? '.gitlab-ci.yml' : 'Select a template type'
......
- page_title _('Contributors') - page_title _('Contributors')
.sub-header-block.bg-gray-light.gl-p-3 .sub-header-block.bg-gray-light.gl-p-3-deprecated-no-really-do-not-use-me
.tree-ref-holder.inline.vertical-align-middle .tree-ref-holder.inline.vertical-align-middle
= render 'shared/ref_switcher', destination: 'graphs' = render 'shared/ref_switcher', destination: 'graphs'
= link_to s_('Commits|History'), project_commits_path(@project, current_ref), class: 'btn' = link_to s_('Commits|History'), project_commits_path(@project, current_ref), class: 'btn'
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
- source_title, target_title = format_mr_branch_names(@merge_request) - source_title, target_title = format_mr_branch_names(@merge_request)
.form-group.row.d-flex.gl-pl-3.gl-pr-3.branch-selector .form-group.row.d-flex.gl-pl-3-deprecated-no-really-do-not-use-me.gl-pr-3-deprecated-no-really-do-not-use-me.branch-selector
.align-self-center .align-self-center
%span %span
= _('From <code>%{source_title}</code> into').html_safe % { source_title: source_title } = _('From <code>%{source_title}</code> into').html_safe % { source_title: source_title }
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
> >
<template v-else>{{ metric.value }}</template> <template v-else>{{ metric.value }}</template>
</h3> </h3>
<p class="text-secondary gl-font-size-small mb-2">{{ metric.label }}</p> <p class="text-secondary gl-font-sm mb-2">{{ metric.label }}</p>
</div> </div>
</div> </div>
</template> </template>
......
...@@ -213,7 +213,7 @@ export default { ...@@ -213,7 +213,7 @@ export default {
<div class="d-flex justify-content-between align-items-center mb-2"> <div class="d-flex justify-content-between align-items-center mb-2">
<label class="m-0">{{ $options.wipLimitText }}</label> <label class="m-0">{{ $options.wipLimitText }}</label>
<gl-deprecated-button <gl-deprecated-button
class="js-edit-button h-100 border-0 gl-line-height-14 text-dark" class="js-edit-button h-100 border-0 gl-line-height-14-deprecated-no-really-do-not-use-me text-dark"
variant="link" variant="link"
@click="showInput" @click="showInput"
>{{ $options.editLinkText }}</gl-deprecated-button >{{ $options.editLinkText }}</gl-deprecated-button
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
<template v-if="wipLimitIsSet"> <template v-if="wipLimitIsSet">
<span class="m-1">-</span> <span class="m-1">-</span>
<gl-deprecated-button <gl-deprecated-button
class="js-remove-limit h-100 border-0 gl-line-height-14 text-secondary" class="js-remove-limit h-100 border-0 gl-line-height-14-deprecated-no-really-do-not-use-me text-secondary"
variant="link" variant="link"
@click="clearWipLimit" @click="clearWipLimit"
>{{ $options.removeLimitText }}</gl-deprecated-button >{{ $options.removeLimitText }}</gl-deprecated-button
......
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
<icon :size="18" name="close" /> <icon :size="18" name="close" />
</router-link> </router-link>
<div class="overflow-hidden d-flex align-items-center"> <div class="overflow-hidden d-flex align-items-center">
<h2 class="m-0 str-truncated-100 gl-font-size-14">{{ filename }}</h2> <h2 class="m-0 str-truncated-100 gl-font-base">{{ filename }}</h2>
<small v-if="updatedAt" class="text-secondary">{{ updatedText }}</small> <small v-if="updatedAt" class="text-secondary">{{ updatedText }}</small>
</div> </div>
<pagination :id="id" class="ml-auto flex-shrink-0" /> <pagination :id="id" class="ml-auto flex-shrink-0" />
......
...@@ -308,7 +308,9 @@ export default { ...@@ -308,7 +308,9 @@ export default {
</div> </div>
</div> </div>
<div class="image-notes"> <div class="image-notes">
<h2 class="gl-font-size-20 font-weight-bold mt-0">{{ issue.title }}</h2> <h2 class="gl-font-size-20-deprecated-no-really-do-not-use-me font-weight-bold mt-0">
{{ issue.title }}
</h2>
<a class="text-tertiary text-decoration-none mb-3 d-block" :href="issue.webUrl">{{ <a class="text-tertiary text-decoration-none mb-3 d-block" :href="issue.webUrl">{{
issue.webPath issue.webPath
}}</a> }}</a>
...@@ -348,7 +350,7 @@ export default { ...@@ -348,7 +350,7 @@ export default {
/> />
</apollo-mutation> </apollo-mutation>
</template> </template>
<h2 v-else class="new-discussion-disclaimer gl-font-size-14 m-0"> <h2 v-else class="new-discussion-disclaimer gl-font-base m-0">
{{ __("Click the image where you'd like to start a new discussion") }} {{ __("Click the image where you'd like to start a new discussion") }}
</h2> </h2>
</div> </div>
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
<div class="deploy-board-information"> <div class="deploy-board-information">
<section class="deploy-board-status"> <section class="deploy-board-status">
<span v-gl-tooltip :title="instanceIsCompletedText"> <span v-gl-tooltip :title="instanceIsCompletedText">
<span ref="percentage" class="text-center text-plain gl-font-size-large" <span ref="percentage" class="text-center text-plain gl-font-lg"
>{{ deployBoardData.completion }}%</span >{{ deployBoardData.completion }}%</span
> >
<span class="text text-center text-secondary">{{ __('Complete') }}</span> <span class="text text-center text-secondary">{{ __('Complete') }}</span>
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
</section> </section>
<section class="deploy-board-instances"> <section class="deploy-board-instances">
<span class="deploy-board-instances-text gl-font-size-14 text-secondary"> <span class="deploy-board-instances-text gl-font-base text-secondary">
{{ instanceTitle }} ({{ instanceCount }}) {{ instanceTitle }} ({{ instanceCount }})
</span> </span>
......
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
class="d-inline-flex align-items-center cursor-pointer" class="d-inline-flex align-items-center cursor-pointer"
> >
<gl-icon name="canceled-circle" :size="14" class="mr-1 text-secondary-300" /> <gl-icon name="canceled-circle" :size="14" class="mr-1 text-secondary-300" />
<span ref="disabledText" class="text-secondary-600 gl-font-size-small">{{ <span ref="disabledText" class="text-secondary-600 gl-font-sm">{{
__('Synchronization disabled') __('Synchronization disabled')
}}</span> }}</span>
</div> </div>
...@@ -126,12 +126,9 @@ export default { ...@@ -126,12 +126,9 @@ export default {
<section> <section>
<p>{{ __('Synchronization of container repositories is disabled.') }}</p> <p>{{ __('Synchronization of container repositories is disabled.') }}</p>
<div class="mt-3"> <div class="mt-3">
<gl-link <gl-link class="gl-font-sm" :href="$options.replicationHelpUrl" target="_blank">{{
class="gl-font-size-small" __('Learn how to enable synchronization')
:href="$options.replicationHelpUrl" }}</gl-link>
target="_blank"
>{{ __('Learn how to enable synchronization') }}</gl-link
>
</div> </div>
</section> </section>
</gl-popover> </gl-popover>
......
...@@ -58,15 +58,12 @@ export default { ...@@ -58,15 +58,12 @@ export default {
/> />
</span> </span>
<span class="inline"> <span class="inline">
<span <span v-if="node.current" class="rounded-pill gl-font-sm p-1 text-white bg-success-400">
v-if="node.current"
class="rounded-pill gl-font-size-12 p-1 text-white bg-success-400"
>
{{ s__('Current node') }} {{ s__('Current node') }}
</span> </span>
<span <span
v-if="node.primary" v-if="node.primary"
class="ml-1 rounded-pill gl-font-size-12 p-1 text-white bg-primary-600" class="ml-1 rounded-pill gl-font-sm p-1 text-white bg-primary-600"
> >
{{ s__('Primary') }} {{ s__('Primary') }}
</span> </span>
......
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
/> />
<gl-popover :target="() => $refs.lastUpdated.$el" placement="top" triggers="hover focus"> <gl-popover :target="() => $refs.lastUpdated.$el" placement="top" triggers="hover focus">
<p>{{ syncTimeAgo.popoverText }}</p> <p>{{ syncTimeAgo.popoverText }}</p>
<gl-link class="mt-3 gl-font-size-small" :href="syncHelp.link" target="_blank">{{ <gl-link class="mt-3 gl-font-sm" :href="syncHelp.link" target="_blank">{{
syncHelp.text syncHelp.text
}}</gl-link> }}</gl-link>
</gl-popover> </gl-popover>
......
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
<span class="font-weight-bold">{{ itemValue.failureCount.toLocaleString() }}</span> <span class="font-weight-bold">{{ itemValue.failureCount.toLocaleString() }}</span>
</div> </div>
<div v-if="detailsPath" class="mt-3"> <div v-if="detailsPath" class="mt-3">
<gl-link class="gl-font-size-small" :href="detailsPath" target="_blank">{{ <gl-link class="gl-font-sm" :href="detailsPath" target="_blank">{{
__('More information') __('More information')
}}</gl-link> }}</gl-link>
</div> </div>
......
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
<template> <template>
<div class="mb-3"> <div class="mb-3">
<h3 class="gl-font-size-16">{{ __('Activity') }}</h3> <h3 class="gl-font-lg">{{ __('Activity') }}</h3>
<div ref="commit-info" class="info-well"> <div ref="commit-info" class="info-well">
<div v-if="packagePipeline" class="well-segment"> <div v-if="packagePipeline" class="well-segment">
......
...@@ -31,7 +31,9 @@ export default { ...@@ -31,7 +31,9 @@ export default {
<template> <template>
<div class="flex-column"> <div class="flex-column">
<h1 class="gl-font-size-20 prepend-top-8 append-bottom-4">{{ packageEntity.name }}</h1> <h1 class="gl-font-size-20-deprecated-no-really-do-not-use-me prepend-top-8 append-bottom-4">
{{ packageEntity.name }}
</h1>
<div class="d-flex align-items-center text-secondary"> <div class="d-flex align-items-center text-secondary">
<gl-icon name="eye" class="append-right-8" /> <gl-icon name="eye" class="append-right-8" />
......
...@@ -160,7 +160,9 @@ export default { ...@@ -160,7 +160,9 @@ export default {
</div> </div>
<div <div
class="linked-issues-card-body bg-gray-light" class="linked-issues-card-body bg-gray-light"
:class="{ 'gl-p-3': isFormVisible || shouldShowTokenBody }" :class="{
'gl-p-3-deprecated-no-really-do-not-use-me': isFormVisible || shouldShowTokenBody,
}"
> >
<div <div
v-if="isFormVisible" v-if="isFormVisible"
......
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
<template> <template>
<div> <div>
<h4 v-if="heading" class="gl-font-size-14 mt-0">{{ heading }}</h4> <h4 v-if="heading" class="gl-font-base mt-0">{{ heading }}</h4>
<div <div
class="related-issues-token-body bordered-box bg-white" class="related-issues-token-body bordered-box bg-white"
:class="{ 'sortable-container': canReorder }" :class="{ 'sortable-container': canReorder }"
......
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
:value="epicWeightPercentage" :value="epicWeightPercentage"
aria-hidden="true" aria-hidden="true"
/> />
<div class="gl-font-size-small d-flex align-items-center text-nowrap"> <div class="gl-font-sm d-flex align-items-center text-nowrap">
<icon class="append-right-2" :size="12" name="weight" /> <icon class="append-right-2" :size="12" name="weight" />
<p class="m-0" :aria-label="epicWeightPercentageText">{{ epicWeightPercentage }}%</p> <p class="m-0" :aria-label="epicWeightPercentageText">{{ epicWeightPercentage }}%</p>
</div> </div>
......
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
placement="left" placement="left"
triggers="manual" triggers="manual"
> >
<p class="gl-font-size-14"> <p class="gl-font-base">
{{ __('You can now export your security dashboard to a CSV report.') }} {{ __('You can now export your security dashboard to a CSV report.') }}
</p> </p>
<gl-link <gl-link
......
...@@ -28,7 +28,10 @@ export default { ...@@ -28,7 +28,10 @@ export default {
<div class="p-2 bg-gray-light d-flex justify-content-center"> <div class="p-2 bg-gray-light d-flex justify-content-center">
<severity-badge :severity="severity" /> <severity-badge :severity="severity" />
</div> </div>
<div ref="body" class="pt-3 pb-3 gl-font-size-20 text-center"> <div
ref="body"
class="pt-3 pb-3 gl-font-size-20-deprecated-no-really-do-not-use-me text-center"
>
<span v-if="isLoading">&mdash;</span> <span v-else>{{ count }}</span> <span v-if="isLoading">&mdash;</span> <span v-else>{{ count }}</span>
</div> </div>
</div> </div>
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
<span <span
v-gl-tooltip v-gl-tooltip
:title="severityGroup.description" :title="severityGroup.description"
class="font-weight-bold mr-3 gl-font-size-16" class="font-weight-bold mr-3 gl-font-lg"
:class="cssForSeverityGroup(severityGroup)" :class="cssForSeverityGroup(severityGroup)"
> >
{{ severityGroup.type }} {{ severityGroup.type }}
......
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
<div class="d-lg-none"> <div class="d-lg-none">
<div @click="toggleCollapse"> <div @click="toggleCollapse">
<h4 <h4
class="d-flex justify-content-between gl-font-size-16" class="d-flex justify-content-between gl-font-lg"
:class="{ 'prepend-bottom-32': !collapsed }" :class="{ 'prepend-bottom-32': !collapsed }"
> >
<div class="d-flex"> <div class="d-flex">
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
</div> </div>
<div class="d-none d-lg-block"> <div class="d-none d-lg-block">
<div class="append-bottom-20"> <div class="append-bottom-20">
<h4 class="gl-font-size-20"> <h4 class="gl-font-size-20-deprecated-no-really-do-not-use-me">
{{ titleWithName }} {{ titleWithName }}
</h4> </h4>
</div> </div>
......
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
</div> </div>
</div> </div>
<div class="border-bottom prepend-top-default append-bottom-default"></div> <div class="border-bottom prepend-top-default append-bottom-default"></div>
<div class="d-flex justify-content-between bold gl-font-size-large"> <div class="d-flex justify-content-between bold gl-font-lg">
<div>{{ $options.i18n.total }}</div> <div>{{ $options.i18n.total }}</div>
<div class="js-total-amount">{{ formatAmount(totalAmount, usersPresent) }}</div> <div class="js-total-amount">{{ formatAmount(totalAmount, usersPresent) }}</div>
</div> </div>
......
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
:title="copyToClipboard.mrId" :title="copyToClipboard.mrId"
:text="appMetadata.mergeRequestId.toString()" :text="appMetadata.mergeRequestId.toString()"
:modal-id="modalId" :modal-id="modalId"
css-classes="border-0 gl-pt-0 gl-pr-0 gl-pl-1 gl-pb-0" css-classes="border-0 gl-pt-0 gl-pr-0 gl-pl-1-deprecated-no-really-do-not-use-me gl-pb-0"
/> />
</p> </p>
<p v-html="instructionText.step4"></p> <p v-html="instructionText.step4"></p>
......
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
}; };
</script> </script>
<template> <template>
<div class="license-packages d-inline gl-font-size-12"> <div class="license-packages d-inline gl-font-sm">
<div class="js-license-dependencies d-inline">{{ packageString }}</div> <div class="js-license-dependencies d-inline">{{ packageString }}</div>
<button <button
v-if="!showAllPackages && remainingPackages" v-if="!showAllPackages && remainingPackages"
......
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
<div <div
v-if="item.location" v-if="item.location"
:data-testid="`location-${item.id}`" :data-testid="`location-${item.id}`"
class="gl-text-color-secondary gl-font-size-small" class="gl-text-color-secondary gl-font-sm"
> >
<div v-if="shouldShowProjectNamespace"> <div v-if="shouldShowProjectNamespace">
{{ item.project.nameWithNamespace }} {{ item.project.nameWithNamespace }}
......
- page_title _('Your profile') - page_title _('Your profile')
.row.flex-grow-1.bg-gray-light .row.flex-grow-1.bg-gray-light
.d-flex.flex-column.align-items-center.w-100.gl-p-3 .d-flex.flex-column.align-items-center.w-100.gl-p-3-deprecated-no-really-do-not-use-me
.edit-profile.login-page.d-flex.flex-column.align-items-center.pt-lg-3 .edit-profile.login-page.d-flex.flex-column.align-items-center.pt-lg-3
- if in_subscription_flow? - if in_subscription_flow?
#progress-bar #progress-bar
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
%p %p
.center= _('In order to personalize your experience with GitLab<br>we would like to know a bit more about you.').html_safe .center= _('In order to personalize your experience with GitLab<br>we would like to know a bit more about you.').html_safe
= form_for(current_user, url: users_sign_up_update_registration_path, html: { class: 'card w-100 gl-p-3', 'aria-live' => 'assertive' }) do |f| = form_for(current_user, url: users_sign_up_update_registration_path, html: { class: 'card w-100 gl-p-3-deprecated-no-really-do-not-use-me', 'aria-live' => 'assertive' }) do |f|
.devise-errors .devise-errors
= render 'devise/shared/error_messages', resource: current_user = render 'devise/shared/error_messages', resource: current_user
.row .row
......
- page_title _('Your GitLab group') - page_title _('Your GitLab group')
.row.flex-grow-1.bg-gray-light .row.flex-grow-1.bg-gray-light
.d-flex.flex-column.align-items-center.w-100.gl-p-3 .d-flex.flex-column.align-items-center.w-100.gl-p-3-deprecated-no-really-do-not-use-me
%section.gl-banner.gl-banner-introduction.gl-p-2.px-lg-6 %section.gl-banner.gl-banner-introduction.gl-p-2-deprecated-no-really-do-not-use-me.px-lg-6
.gl-banner-illustration.d-flex .gl-banner-illustration.d-flex
= image_tag('illustrations/subscription-success.svg', class: 'mw-xs') = image_tag('illustrations/subscription-success.svg', class: 'mw-xs')
.gl-banner-content.d-flex.flex-column.justify-content-center .gl-banner-content.d-flex.flex-column.justify-content-center
%h3= _('Thanks for your purchase!') %h3= _('Thanks for your purchase!')
- number_of_users = n_('1 user', '%{num} users', params[:quantity].to_i) % { num: params[:quantity] } - number_of_users = n_('1 user', '%{num} users', params[:quantity].to_i) % { num: params[:quantity] }
%p= _('You have successfully purchased a %{plan} plan subscription for %{seats}. You’ll receive a receipt via email.') % { plan: plan_title, seats: number_of_users } %p= _('You have successfully purchased a %{plan} plan subscription for %{seats}. You’ll receive a receipt via email.') % { plan: plan_title, seats: number_of_users }
.edit-group.d-flex.flex-column.align-items-center.gl-pt-5 .edit-group.d-flex.flex-column.align-items-center.gl-pt-5-deprecated-no-really-do-not-use-me
- if params[:new_user] - if params[:new_user]
#progress-bar #progress-bar
%h2.center= _('Create a group for your organization') %h2.center= _('Create a group for your organization')
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
%div= _('A group represents your organization in GitLab.') %div= _('A group represents your organization in GitLab.')
%div= _('Your %{plan} plan will be applied to your group.' % { plan: plan_title }) %div= _('Your %{plan} plan will be applied to your group.' % { plan: plan_title })
= form_for [:subscriptions, @group], html: { class: 'gl-show-field-errors card w-100 gl-p-3' } do |f| = form_for [:subscriptions, @group], html: { class: 'gl-show-field-errors card w-100 gl-p-3-deprecated-no-really-do-not-use-me' } do |f|
= hidden_field_tag :new_user, params[:new_user] = hidden_field_tag :new_user, params[:new_user]
= form_errors(@group) = form_errors(@group)
.row .row
......
...@@ -31,7 +31,7 @@ exports[`RecentActivityCard matches the snapshot 1`] = ` ...@@ -31,7 +31,7 @@ exports[`RecentActivityCard matches the snapshot 1`] = `
</h3> </h3>
<p <p
class="text-secondary gl-font-size-small mb-2" class="text-secondary gl-font-sm mb-2"
> >
New Issues New Issues
</p> </p>
...@@ -46,7 +46,7 @@ exports[`RecentActivityCard matches the snapshot 1`] = ` ...@@ -46,7 +46,7 @@ exports[`RecentActivityCard matches the snapshot 1`] = `
</h3> </h3>
<p <p
class="text-secondary gl-font-size-small mb-2" class="text-secondary gl-font-sm mb-2"
> >
Deploys Deploys
</p> </p>
...@@ -61,7 +61,7 @@ exports[`RecentActivityCard matches the snapshot 1`] = ` ...@@ -61,7 +61,7 @@ exports[`RecentActivityCard matches the snapshot 1`] = `
</h3> </h3>
<p <p
class="text-secondary gl-font-size-small mb-2" class="text-secondary gl-font-sm mb-2"
> >
Deployment Frequency Deployment Frequency
</p> </p>
......
...@@ -31,7 +31,7 @@ exports[`GroupActivity component matches the snapshot 1`] = ` ...@@ -31,7 +31,7 @@ exports[`GroupActivity component matches the snapshot 1`] = `
</h3> </h3>
<p <p
class="text-secondary gl-font-size-small mb-2" class="text-secondary gl-font-sm mb-2"
> >
Merge Requests created Merge Requests created
</p> </p>
...@@ -46,7 +46,7 @@ exports[`GroupActivity component matches the snapshot 1`] = ` ...@@ -46,7 +46,7 @@ exports[`GroupActivity component matches the snapshot 1`] = `
</h3> </h3>
<p <p
class="text-secondary gl-font-size-small mb-2" class="text-secondary gl-font-sm mb-2"
> >
Issues created Issues created
</p> </p>
...@@ -61,7 +61,7 @@ exports[`GroupActivity component matches the snapshot 1`] = ` ...@@ -61,7 +61,7 @@ exports[`GroupActivity component matches the snapshot 1`] = `
</h3> </h3>
<p <p
class="text-secondary gl-font-size-small mb-2" class="text-secondary gl-font-sm mb-2"
> >
New Members created New Members created
</p> </p>
......
...@@ -18,7 +18,7 @@ exports[`Design management toolbar component renders design and updated data 1`] ...@@ -18,7 +18,7 @@ exports[`Design management toolbar component renders design and updated data 1`]
class="overflow-hidden d-flex align-items-center" class="overflow-hidden d-flex align-items-center"
> >
<h2 <h2
class="m-0 str-truncated-100 gl-font-size-14" class="m-0 str-truncated-100 gl-font-base"
> >
test.jpg test.jpg
</h2> </h2>
......
...@@ -33,9 +33,11 @@ exports[`Design management design index page renders design index 1`] = ` ...@@ -33,9 +33,11 @@ exports[`Design management design index page renders design index 1`] = `
class="image-notes" class="image-notes"
> >
<h2 <h2
class="gl-font-size-20 font-weight-bold mt-0" class="gl-font-size-20-deprecated-no-really-do-not-use-me font-weight-bold mt-0"
> >
My precious issue
My precious issue
</h2> </h2>
<a <a
...@@ -127,9 +129,11 @@ exports[`Design management design index page with error GlAlert is rendered in c ...@@ -127,9 +129,11 @@ exports[`Design management design index page with error GlAlert is rendered in c
class="image-notes" class="image-notes"
> >
<h2 <h2
class="gl-font-size-20 font-weight-bold mt-0" class="gl-font-size-20-deprecated-no-really-do-not-use-me font-weight-bold mt-0"
> >
My precious issue
My precious issue
</h2> </h2>
<a <a
...@@ -146,7 +150,7 @@ exports[`Design management design index page with error GlAlert is rendered in c ...@@ -146,7 +150,7 @@ exports[`Design management design index page with error GlAlert is rendered in c
/> />
<h2 <h2
class="new-discussion-disclaimer gl-font-size-14 m-0" class="new-discussion-disclaimer gl-font-base m-0"
> >
Click the image where you'd like to start a new discussion Click the image where you'd like to start a new discussion
......
...@@ -5,7 +5,7 @@ exports[`PackageActivity render to match the default snapshot when no pipeline 1 ...@@ -5,7 +5,7 @@ exports[`PackageActivity render to match the default snapshot when no pipeline 1
class="mb-3" class="mb-3"
> >
<h3 <h3
class="gl-font-size-16" class="gl-font-lg"
> >
Activity Activity
</h3> </h3>
...@@ -39,7 +39,7 @@ exports[`PackageActivity render to match the default snapshot when there is a pi ...@@ -39,7 +39,7 @@ exports[`PackageActivity render to match the default snapshot when there is a pi
class="mb-3" class="mb-3"
> >
<h3 <h3
class="gl-font-size-16" class="gl-font-lg"
> >
Activity Activity
</h3> </h3>
......
...@@ -5,9 +5,11 @@ exports[`PackageTitle renders with tags 1`] = ` ...@@ -5,9 +5,11 @@ exports[`PackageTitle renders with tags 1`] = `
class="flex-column" class="flex-column"
> >
<h1 <h1
class="gl-font-size-20 prepend-top-8 append-bottom-4" class="gl-font-size-20-deprecated-no-really-do-not-use-me prepend-top-8 append-bottom-4"
> >
Test package Test package
</h1> </h1>
<div <div
...@@ -78,9 +80,11 @@ exports[`PackageTitle renders without tags 1`] = ` ...@@ -78,9 +80,11 @@ exports[`PackageTitle renders without tags 1`] = `
class="flex-column" class="flex-column"
> >
<h1 <h1
class="gl-font-size-20 prepend-top-8 append-bottom-4" class="gl-font-size-20-deprecated-no-really-do-not-use-me prepend-top-8 append-bottom-4"
> >
Test package Test package
</h1> </h1>
<div <div
......
...@@ -61,7 +61,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -61,7 +61,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
class="d-flex align-items-center font-weight-normal p-0 m-0" class="d-flex align-items-center font-weight-normal p-0 m-0"
> >
<span <span
class="font-weight-bold mr-3 gl-font-size-16 gl-text-red-900" class="font-weight-bold mr-3 gl-font-lg gl-text-red-900"
> >
F F
...@@ -137,7 +137,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -137,7 +137,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
class="d-flex align-items-center font-weight-normal p-0 m-0" class="d-flex align-items-center font-weight-normal p-0 m-0"
> >
<span <span
class="font-weight-bold mr-3 gl-font-size-16 gl-text-red-700" class="font-weight-bold mr-3 gl-font-lg gl-text-red-700"
> >
D D
...@@ -213,7 +213,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -213,7 +213,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
class="d-flex align-items-center font-weight-normal p-0 m-0" class="d-flex align-items-center font-weight-normal p-0 m-0"
> >
<span <span
class="font-weight-bold mr-3 gl-font-size-16 gl-text-orange-600" class="font-weight-bold mr-3 gl-font-lg gl-text-orange-600"
> >
C C
...@@ -289,7 +289,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -289,7 +289,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
class="d-flex align-items-center font-weight-normal p-0 m-0" class="d-flex align-items-center font-weight-normal p-0 m-0"
> >
<span <span
class="font-weight-bold mr-3 gl-font-size-16 gl-text-orange-400" class="font-weight-bold mr-3 gl-font-lg gl-text-orange-400"
> >
B B
...@@ -365,7 +365,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -365,7 +365,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
class="d-flex align-items-center font-weight-normal p-0 m-0" class="d-flex align-items-center font-weight-normal p-0 m-0"
> >
<span <span
class="font-weight-bold mr-3 gl-font-size-16 gl-text-green-500" class="font-weight-bold mr-3 gl-font-lg gl-text-green-500"
> >
A A
......
...@@ -13,7 +13,7 @@ exports[`AlertWidget Alert firing displays a warning icon and matches snapshot 1 ...@@ -13,7 +13,7 @@ exports[`AlertWidget Alert firing displays a warning icon and matches snapshot 1
/> />
<span <span
class="text-truncate gl-pl-1" class="text-truncate gl-pl-1-deprecated-no-really-do-not-use-me"
> >
Firing: Firing:
alert-label &gt; 42 alert-label &gt; 42
...@@ -35,7 +35,7 @@ exports[`AlertWidget Alert not firing displays a warning icon and matches snapsh ...@@ -35,7 +35,7 @@ exports[`AlertWidget Alert not firing displays a warning icon and matches snapsh
/> />
<span <span
class="text-truncate gl-pl-1" class="text-truncate gl-pl-1-deprecated-no-really-do-not-use-me"
> >
alert-label &gt; 42 alert-label &gt; 42
</span> </span>
......
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