mirror of
https://github.com/flarum/core.git
synced 2025-07-28 04:00:40 +02:00
Major CSS revamp
- Get rid of Bootstrap (except we still rely on some JS) - Use BEM class names - Rework variables/theme config - Fix various bugs, including some on mobile The CSS is still not ideal – it needs to be cleaned up some more. But that can be a focus for after beta.
This commit is contained in:
@@ -19,15 +19,15 @@ export default class NotificationsDropdown extends Component {
|
||||
const unread = user.unreadNotificationsCount();
|
||||
|
||||
return (
|
||||
<div className="dropdown btn-group notifications-dropdown">
|
||||
<div className="Dropdown NotificationsDropdown">
|
||||
<a href="javascript:;"
|
||||
className={'dropdown-toggle btn btn-default btn-rounded btn-naked btn-icon' + (unread ? ' unread' : '')}
|
||||
className={'Dropdown-toggle Button Button--flat NotificationsDropdown-button' + (unread ? ' unread' : '')}
|
||||
data-toggle="dropdown"
|
||||
onclick={this.onclick.bind(this)}>
|
||||
<span className="notifications-icon">{unread || icon('bell')}</span>
|
||||
<span className="label">Notifications</span>
|
||||
<span className="Button-icon">{unread || icon('bell')}</span>
|
||||
<span className="Button-label">Notifications</span>
|
||||
</a>
|
||||
<div className="dropdown-menu dropdown-menu-right">
|
||||
<div className="Dropdown-menu Dropdown-menu--right">
|
||||
{this.showing ? NotificationList.component() : ''}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user