Commit 448b3aa6 authored by George Tsiolis's avatar George Tsiolis

Replace icons in /cycle_analytics and /explore/groups banners

parent fa594a25
<script> <script>
import Icon from '~/vue_shared/components/icon.vue';
import iconCycleAnalyticsSplash from 'icons/_icon_cycle_analytics_splash.svg'; import iconCycleAnalyticsSplash from 'icons/_icon_cycle_analytics_splash.svg';
export default { export default {
components: {
Icon,
},
props: { props: {
documentationLink: { documentationLink: {
type: String, type: String,
...@@ -28,10 +32,10 @@ ...@@ -28,10 +32,10 @@
type="button" type="button"
@click="dismissOverviewDialog" @click="dismissOverviewDialog"
> >
<i <icon
class="fa fa-times" name="close"
aria-hidden="true"> aria-hidden="true"
</i> />
</button> </button>
<div <div
class="svg-container" class="svg-container"
......
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
.dismiss-button { .dismiss-button {
position: absolute; position: absolute;
right: 6px; right: 6px;
top: 6px; top: 12px;
cursor: pointer; cursor: pointer;
color: $blue-300; color: $blue-300;
z-index: 1; z-index: 1;
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
} }
} }
svg { .svg-container svg {
width: 136px; width: 136px;
height: 136px; height: 136px;
} }
......
...@@ -240,7 +240,7 @@ table.pipeline-project-metrics tr td { ...@@ -240,7 +240,7 @@ table.pipeline-project-metrics tr td {
} }
} }
svg { .svg-container svg {
width: 62px; width: 62px;
height: 50px; height: 50px;
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
- if cookies[:explore_groups_landing_dismissed] != 'true' - if cookies[:explore_groups_landing_dismissed] != 'true'
.explore-groups.landing.content-block.js-explore-groups-landing.hide .explore-groups.landing.content-block.js-explore-groups-landing.hide
%button.dismiss-button{ type: 'button', 'aria-label' => _('Dismiss') }= icon('times') %button.dismiss-button{ type: 'button', 'aria-label' => _('Dismiss') }= sprite_icon('close', size: 16)
.svg-container .svg-container
= custom_icon('icon_explore_groups_splash') = custom_icon('icon_explore_groups_splash')
.inner-content .inner-content
......
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