discourse/app/assets/stylesheets/common
Joffrey JAFFEUX c25b8abd70
FEATURE: allows plugins to add a global notice (#8552)
* FEATURE: allows plugins to add a global notice

Usage:

```
api.addGlobalNotice(id, text, options = {});
```

Options can be:

```
dismissable // Will display a button to hide the notice if true
html // will prepend html to the next if present
level // alert level, will usee css class of alert component
persistentDismiss // if true won't show notice again on reload
onDismiss // execute a custom action on dismiss
visibility // defines custom logic for notice visibility
```

Co-authored-by: Robin Ward <robin.ward@gmail.com>
2019-12-27 09:06:36 +01:00
..
admin FIX: Give expanded CSS/HTML editor >0 height 2019-12-20 10:37:23 -05:00
base FEATURE: allows plugins to add a global notice (#8552) 2019-12-27 09:06:36 +01:00
components REFACTOR: Convert main button styles into a central mixin 2019-12-13 14:09:48 -05:00
foundation UX: adds hover effect on lightboxed images (#8416) 2019-11-26 15:06:30 +01:00
select-kit UX: Minor user admin page adjustments, accomodating for long group names 2019-12-18 09:26:03 -05:00
d-editor.scss UX: Better composer hyperlink modal (#8160) 2019-10-08 16:19:07 -04:00
input_tip.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
printer-friendly.scss DEV: Add before button hook in post-menu. (#7550) 2019-05-15 22:48:23 +03:00
topic-entrance.scss Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
topic-timeline.scss UX: Align timeline controls to the top 2019-09-04 17:28:54 -07:00