Commit 5a787e18 authored by Justin Ho's avatar Justin Ho

Fix CSS that uses old `.ic-` classes

- Remove unused styles in related_items_list
- Use utils / classes for other icons
parent a04c5ef8
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
<div class="dropdown inline"> <div class="dropdown inline">
<button class="dropdown-menu-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> <button class="dropdown-menu-toggle" type="button" data-toggle="dropdown" aria-expanded="false">
<span :style="{ backgroundColor: selected.label.color }" class="dropdown-label-box"> </span> <span :style="{ backgroundColor: selected.label.color }" class="dropdown-label-box"> </span>
{{ selected.title }} <icon name="chevron-down" /> {{ selected.title }} <icon name="chevron-down" class="dropdown-menu-toggle-icon" />
</button> </button>
<div class="dropdown-menu dropdown-menu-selectable dropdown-menu-drop-up"> <div class="dropdown-menu dropdown-menu-selectable dropdown-menu-drop-up">
<ul> <ul>
......
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
data-toggle="dropdown" data-toggle="dropdown"
aria-expanded="false" aria-expanded="false"
> >
{{ selectedProjectName }} <icon name="chevron-down" /> {{ selectedProjectName }} <icon name="chevron-down" class="dropdown-menu-toggle-icon" />
</button> </button>
<div class="dropdown-menu dropdown-menu-selectable dropdown-menu-full-width"> <div class="dropdown-menu dropdown-menu-selectable dropdown-menu-full-width">
<div class="dropdown-title">{{ __('Projects') }}</div> <div class="dropdown-title">{{ __('Projects') }}</div>
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
</script> </script>
<template> <template>
<div ref="milestoneDetails" class="issue-milestone-details"> <div ref="milestoneDetails" class="issue-milestone-details">
<icon :size="16" class="inline icon" name="clock" /> <icon :size="16" class="gl-mr-2" name="clock" />
<span class="milestone-title d-inline-block">{{ milestone.title }}</span> <span class="milestone-title d-inline-block">{{ milestone.title }}</span>
<gl-tooltip :target="() => $refs.milestoneDetails" placement="bottom" class="js-item-milestone"> <gl-tooltip :target="() => $refs.milestoneDetails" placement="bottom" class="js-item-milestone">
<span class="bold">{{ __('Milestone') }}</span> <br /> <span class="bold">{{ __('Milestone') }}</span> <br />
......
...@@ -123,21 +123,11 @@ $item-remove-button-space: 42px; ...@@ -123,21 +123,11 @@ $item-remove-button-space: 42px;
.item-milestone { .item-milestone {
text-decoration: none; text-decoration: none;
max-width: $item-milestone-max-width; max-width: $item-milestone-max-width;
.ic-clock {
margin-right: $gl-padding-4;
}
} }
.item-weight { .item-weight {
max-width: $item-weight-max-width; max-width: $item-weight-max-width;
} }
.item-milestone .ic-clock,
.item-weight .ic-weight,
.item-due-date .ic-calendar {
color: $gl-text-color-secondary;
}
} }
.item-assignees { .item-assignees {
......
...@@ -164,9 +164,8 @@ ...@@ -164,9 +164,8 @@
right: 8px; right: 8px;
} }
.ic-chevron-down { .dropdown-menu-toggle-icon {
position: absolute; position: absolute;
top: $gl-padding-8;
right: $gl-padding-8; right: $gl-padding-8;
color: $gray-darkest; color: $gray-darkest;
} }
...@@ -627,7 +626,7 @@ ...@@ -627,7 +626,7 @@
.fa, .fa,
.input-icon, .input-icon,
.ic-search { .dropdown-input-search {
position: absolute; position: absolute;
top: $gl-padding-8; top: $gl-padding-8;
right: 20px; right: 20px;
......
...@@ -34,6 +34,6 @@ export default { ...@@ -34,6 +34,6 @@ export default {
data-toggle="dropdown" data-toggle="dropdown"
> >
<span class="dropdown-toggle-text" :class="toggleTextClass">{{ buttonText }}</span> <span class="dropdown-toggle-text" :class="toggleTextClass">{{ buttonText }}</span>
<icon name="chevron-down" /> <icon name="chevron-down" class="dropdown-menu-toggle-icon" />
</button> </button>
</template> </template>
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