1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

[library] added new 'settings' dialog(includes setting panels for (#7002)

'history', 'auto deletion', 'extended properties', and 'face
recognition')

- deleted 'history settings', 'auto deletion setting' in the dropdown
  menu & context menu of 'my library' & 'department library' items.
- fixed bug in the context menu of 'department library' items.
- deleted the 'more' menu(included 'extended properties' & 'face
  recognition') for library 'views'.
- click the 'extended properties' prompt in 'views', the new 'settings'
  dialog will be shown.
This commit is contained in:
llj
2024-11-06 20:12:39 +08:00
committed by GitHub
parent d32ca4e8fd
commit b04cc17872
13 changed files with 262 additions and 220 deletions

View File

@@ -0,0 +1,53 @@
.lib-settings-dialog {
max-width: 760px;
}
@media (min-width: 768px) {
.lib-settings-dialog .modal-content {
min-height: 534px;
}
}
.lib-setting-nav {
border-bottom: 1px solid rgba(0,40,100,0.12) !important;
}
@media (min-width: 768px) {
.lib-setting-nav {
min-width: 240px;
border-bottom: none;
border-right: 1px solid rgba(0,40,100,0.12) !important;
}
}
.lib-setting-nav .nav-pills .nav-item .nav-link {
margin: 0;
padding: 0 10px;
height: 32px;
flex: 1 1 auto;
}
.lib-setting-nav .nav-pills .nav-item .nav-link.active {
background: #f5f5f5;
color: inherit;
position: relative;
}
.lib-setting-nav .nav-pills .nav-item .nav-link.active::before {
content: '';
display: block;
width: 4px;
height: 24px;
background-color: #ff8000;
border-radius: 2px;
position: absolute;
top: 4px;
left: -8px;
z-index: 0;
}
.lib-settings-dialog .tab-pane {
height: 100%;
display: flex;
flex-direction: column;
}