Add a subtle icon style
This commit is contained in:
parent
13a5ea9534
commit
d1250e76a4
|
|
@ -24,7 +24,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "@/styles/_variables.scss";
|
@import "~styles/variables";
|
||||||
|
|
||||||
.bookmark-icon {
|
.bookmark-icon {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
class="icon-button"
|
class="icon-button"
|
||||||
@click="$emit('delete')"
|
@click="$emit('delete')"
|
||||||
>
|
>
|
||||||
<trash-icon class="icon-button__icon" />
|
<trash-icon class="icon-button__icon icon-button__icon--subtle" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
class="profile-avatar__remove icon-button"
|
class="profile-avatar__remove icon-button"
|
||||||
@click="deleteAvatar()"
|
@click="deleteAvatar()"
|
||||||
>
|
>
|
||||||
<trash-icon class="profile-avatar__remove-icon icon-button__icon" />
|
<trash-icon class="profile-avatar__remove-icon icon-button__icon icon-button__icon--subtle" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<avatar-upload-form
|
<avatar-upload-form
|
||||||
|
|
|
||||||
|
|
@ -46,12 +46,16 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
border: 0;
|
||||||
|
background: transparent;
|
||||||
|
|
||||||
&__icon {
|
&__icon {
|
||||||
width: 25px;
|
@include default-icon;
|
||||||
height: 25px;
|
|
||||||
fill: $color-silver-dark;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
|
|
||||||
|
&--subtle {
|
||||||
|
fill: $color-silver-dark;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -230,3 +230,8 @@
|
||||||
resize: none;
|
resize: none;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin default-icon {
|
||||||
|
width: $default-icon-dimension;
|
||||||
|
height: $default-icon-dimension;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -82,3 +82,5 @@ $footer-width: 800px;
|
||||||
$news-width: 550px;
|
$news-width: 550px;
|
||||||
|
|
||||||
$screen-width: 1200px;
|
$screen-width: 1200px;
|
||||||
|
|
||||||
|
$default-icon-dimension: 25px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue