Commit e5b4b694 authored by Mark Florian's avatar Mark Florian

Replace CSS with utility classes

parent 6bd2afff
...@@ -868,9 +868,6 @@ $add-to-slack-popup-max-width: 400px; ...@@ -868,9 +868,6 @@ $add-to-slack-popup-max-width: 400px;
$add-to-slack-gif-max-width: 850px; $add-to-slack-gif-max-width: 850px;
$add-to-slack-well-max-width: 750px; $add-to-slack-well-max-width: 750px;
$add-to-slack-logo-size: 100px; $add-to-slack-logo-size: 100px;
$double-headed-arrow-width: 100px;
$double-headed-arrow-height: 25px;
$right-arrow-size: 16px;
/* /*
Popup Popup
......
...@@ -443,20 +443,3 @@ table.u2f-registrations, ...@@ -443,20 +443,3 @@ table.u2f-registrations,
width: 100%; width: 100%;
max-width: $add-to-slack-popup-max-width; max-width: $add-to-slack-popup-max-width;
} }
.gitlab-slack-right-arrow svg {
fill: $white-dark;
width: $right-arrow-size;
height: $right-arrow-size;
vertical-align: text-bottom;
}
.gitlab-slack-double-headed-arrow {
vertical-align: text-top;
svg {
fill: $gray-darker;
width: $double-headed-arrow-width;
height: $double-headed-arrow-height;
}
}
...@@ -88,14 +88,9 @@ export default { ...@@ -88,14 +88,9 @@ export default {
<h1>{{ __('GitLab for Slack') }}</h1> <h1>{{ __('GitLab for Slack') }}</h1>
<p>{{ __('Track your GitLab projects with GitLab for Slack.') }}</p> <p>{{ __('Track your GitLab projects with GitLab for Slack.') }}</p>
<div <div v-once class="gl-my-5 gl-display-flex gl-justify-content-center gl-align-items-center">
v-once
class="prepend-top-20 append-bottom-20 gl-display-flex gl-justify-content-center gl-align-items-center"
>
<img :src="gitlabLogoPath" class="gitlab-slack-logo" /> <img :src="gitlabLogoPath" class="gitlab-slack-logo" />
<div class="gitlab-slack-double-headed-arrow inline prepend-left-20 append-right-20"> <gl-icon name="double-headed-arrow" :size="72" class="gl-mx-5 gl-text-gray-200" />
<gl-icon name="double-headed-arrow" :size="72" />
</div>
<img :src="slackLogoPath" class="gitlab-slack-logo" /> <img :src="slackLogoPath" class="gitlab-slack-logo" />
</div> </div>
...@@ -153,9 +148,7 @@ export default { ...@@ -153,9 +148,7 @@ export default {
>/gitlab &lt;project-alias&gt; issue show &lt;id&gt;</code >/gitlab &lt;project-alias&gt; issue show &lt;id&gt;</code
> >
<span> <span>
<div class="gitlab-slack-right-arrow inline gl-mr-2"> <gl-icon name="arrow-right" class="gl-mr-2 gl-text-gray-200" />
<gl-icon name="arrow-right" />
</div>
Shows the issue with id <strong>&lt;id&gt;</strong> Shows the issue with id <strong>&lt;id&gt;</strong>
</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