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