mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-27 19:05:16 +00:00
change notice close icon style
This commit is contained in:
parent
6614fd20a6
commit
f6ede9c8a7
@ -29,20 +29,9 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.notification-container .notification-header .notification-close-icon {
|
||||
.notification-container .notification-header .seahub-modal-btn {
|
||||
position: absolute;
|
||||
right: 14px;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
color: #000;
|
||||
opacity: 0.5;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.notification-container .notification-header .notification-close-icon:hover {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.notification-container .notification-body {
|
||||
|
@ -2,6 +2,7 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Popover } from 'reactstrap';
|
||||
import { gettext } from '../../../utils/constants';
|
||||
import SeahubModalCloseIcon from '../seahub-modal-close';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@ -48,9 +49,9 @@ class NotificationPopover extends React.Component {
|
||||
placement="bottom"
|
||||
>
|
||||
<div className="notification-container" ref={ref => this.notificationContainerRef = ref}>
|
||||
<div className="notification-header">
|
||||
<div className="notification-header modal">
|
||||
{headerText}
|
||||
<span className="sf3-font sf3-font-x-01 notification-close-icon" onClick={this.props.onNotificationListToggle}></span>
|
||||
<SeahubModalCloseIcon toggle={this.props.onNotificationListToggle} />
|
||||
</div>
|
||||
<div className="notification-body">
|
||||
<div className="mark-notifications">
|
||||
|
Loading…
Reference in New Issue
Block a user