diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-11 11:13:24 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-11 11:13:24 +0100 |
commit | 75264e371c9cc46d32b072c171e59fc00fde0fe1 (patch) | |
tree | 9887d7d6d0ce7bb1aada53bb7c8ce8bf365ad1a2 /client | |
parent | cf387740f2a52c5b846d04f3bb76344b064e6886 (diff) | |
download | PeerTube-75264e371c9cc46d32b072c171e59fc00fde0fe1.tar.gz PeerTube-75264e371c9cc46d32b072c171e59fc00fde0fe1.tar.zst PeerTube-75264e371c9cc46d32b072c171e59fc00fde0fe1.zip |
Fix toast close icon
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+admin/plugins/plugin-search/plugin-search.component.html | 2 | ||||
-rw-r--r-- | client/src/sass/primeng-custom.scss | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html index fac81bd26..9f942c4b3 100644 --- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html +++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html | |||
@@ -41,7 +41,7 @@ | |||
41 | <my-global-icon iconName="home"></my-global-icon> | 41 | <my-global-icon iconName="home"></my-global-icon> |
42 | </a> | 42 | </a> |
43 | 43 | ||
44 | <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"> | 44 | <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"> |
45 | <my-global-icon iconName="npm"></my-global-icon> | 45 | <my-global-icon iconName="npm"></my-global-icon> |
46 | </a> | 46 | </a> |
47 | 47 | ||
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index e2c453228..fbba2ad5c 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss | |||
@@ -413,6 +413,19 @@ p-toast { | |||
413 | z-index: z(notification) !important; | 413 | z-index: z(notification) !important; |
414 | } | 414 | } |
415 | 415 | ||
416 | .ui-toast-close-icon { | ||
417 | font-family: "Glyphicons Halflings"; | ||
418 | |||
419 | opacity: .5; | ||
420 | &:hover { | ||
421 | opacity: .8; | ||
422 | } | ||
423 | |||
424 | &:after { | ||
425 | content: "\e014"; | ||
426 | } | ||
427 | } | ||
428 | |||
416 | .ui-toast-message { | 429 | .ui-toast-message { |
417 | font-family: $main-fonts; | 430 | font-family: $main-fonts; |
418 | background-color: var(--mainBackgroundColor) !important; | 431 | background-color: var(--mainBackgroundColor) !important; |