mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-16 22:17:59 +00:00
181 lines
3.6 KiB
CSS
181 lines
3.6 KiB
CSS
.notification-list-dialog {
|
|
width: calc(100% - 20rem);
|
|
max-width: calc(100% - 1rem);
|
|
height: calc(100% - 56px);
|
|
}
|
|
|
|
.notification-list-dialog .notification-list-content {
|
|
height: 100%;
|
|
}
|
|
|
|
.notification-header-close {
|
|
display: flex;
|
|
}
|
|
|
|
.notification-header-close .seahub-modal-btn {
|
|
padding: 14px 12px;
|
|
}
|
|
|
|
.notification-header-close .notification-dropdown-toggle {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 24px;
|
|
width: 24px
|
|
}
|
|
|
|
.notification-header-close .dropdown-menu {
|
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.notification-header-close .dtable-dropdown-menu.large.dropdown-menu .dropdown-item {
|
|
padding: 0.25rem 1.5rem;
|
|
min-height: unset;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
min-height: 27rem;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body .notice-dialog-side {
|
|
border-right: 1px solid #eee;
|
|
display: flex;
|
|
flex: 0 0 20%;
|
|
padding: 12px 8px;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body .notice-dialog-side .nav-item {
|
|
position: relative;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body .notice-dialog-side .nav-item .nav-link {
|
|
border: none;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body .notice-dialog-side .nav-item .nav-link.active {
|
|
background-color: #F5F5F5;
|
|
color: #212529;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body .notice-dialog-side .nav-item .nav-link.active::before {
|
|
content: '';
|
|
position: absolute;
|
|
display: block;
|
|
width: 3px;
|
|
height: 26px;
|
|
left: -5px;
|
|
top: 2px;
|
|
background-color: #ff9800;
|
|
border-radius: 2px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body .notice-dialog-main {
|
|
display: flex;
|
|
flex: 0 0 80%;
|
|
overflow: inherit;
|
|
}
|
|
|
|
.notification-modal-body .notification-dialog-body {
|
|
overflow: auto;
|
|
padding: 1rem;
|
|
height: 100%;
|
|
}
|
|
|
|
.notification-dialog-body table {
|
|
width: 100%;
|
|
table-layout: fixed;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.notification-modal-body .notification-dialog-body .paginator {
|
|
height: 38px;
|
|
}
|
|
|
|
.notification-dialog-body table thead tr {
|
|
height: 2.1875rem;
|
|
}
|
|
|
|
.notification-dialog-body table th {
|
|
padding: 0.3125rem 0.1875rem;
|
|
border-bottom: 1px solid #eee;
|
|
text-align: left;
|
|
font-weight: normal;
|
|
line-height: 1.6;
|
|
color: #9c9c9c;
|
|
}
|
|
|
|
.notification-dialog-body table tbody tr:hover {
|
|
background: #f5f5f5;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.notification-dialog-body table td {
|
|
padding: 0.5rem 0.1875rem;
|
|
border-bottom: none;
|
|
color: #212529;
|
|
font-size: 14px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.notification-dialog-body table td ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.notification-dialog-body .notification-user-name {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.notification-dialog-body .notification-item .avatar {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.notification-dialog-body .notification-item .notification-point {
|
|
top: calc(50% - 4px);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.notification-list-dialog {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body {
|
|
display: block;
|
|
}
|
|
|
|
.notification-list-content .notification-modal-body .notice-dialog-side {
|
|
display: block;
|
|
padding: 0;
|
|
}
|
|
|
|
.notification-list-content .notification-item .notification-user-name {
|
|
display: none;
|
|
}
|
|
|
|
.notification-list-content .notice-dialog-main {
|
|
height: 100%;
|
|
}
|
|
|
|
.notification-list-content .notice-dialog-side>ul {
|
|
flex-direction: row !important;
|
|
}
|
|
|
|
.notification-list-content .notice-dialog-side>ul>li {
|
|
width: 50% !important;
|
|
}
|
|
|
|
.notification-list-content .notice-dialog-side>ul>li .nav-link:before {
|
|
display: none;
|
|
}
|
|
}
|