1
0
Fork 0

Fix toast close icon

This commit is contained in:
Rigel Kent 2020-03-11 11:13:24 +01:00
parent cf387740f2
commit 75264e371c
No known key found for this signature in database
GPG key ID: 5E53E96A494E452F
2 changed files with 14 additions and 1 deletions

View file

@ -41,7 +41,7 @@
<my-global-icon iconName="home"></my-global-icon> <my-global-icon iconName="home"></my-global-icon>
</a> </a>
<a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="'https://www.npmjs.com/package/peertube-plugin-' + plugin.name" i18n-title title="Go to the plugin homepage"> <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="'https://www.npmjs.com/package/peertube-plugin-' + plugin.name" i18n-title title="Go to the plugin npm package">
<my-global-icon iconName="npm"></my-global-icon> <my-global-icon iconName="npm"></my-global-icon>
</a> </a>

View file

@ -413,6 +413,19 @@ p-toast {
z-index: z(notification) !important; z-index: z(notification) !important;
} }
.ui-toast-close-icon {
font-family: "Glyphicons Halflings";
opacity: .5;
&:hover {
opacity: .8;
}
&:after {
content: "\e014";
}
}
.ui-toast-message { .ui-toast-message {
font-family: $main-fonts; font-family: $main-fonts;
background-color: var(--mainBackgroundColor) !important; background-color: var(--mainBackgroundColor) !important;