1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 10:50:24 +00:00

[shared dir view] added 'grid mode'

This commit is contained in:
llj
2019-07-03 16:12:10 +08:00
parent c24ecf8b50
commit 47fdd666d7
3 changed files with 136 additions and 12 deletions

View File

@@ -26,3 +26,34 @@ body {
background: #f2f2f2;
border-radius: 2px;
}
.sf-view-mode-btn {
padding: 0;
height: 30px;
min-width: 2rem;
color: #aaa;
background-color: #fff;
border: 1px solid #ccc;
line-height: 29px;
font-size: 18px;
border-radius: 2px;
}
.sf-view-mode-btn.current-mode {
background-color: #ccc;
color: #fff;
}
.zip-btn {
height: 30px;
line-height: 30px;
padding: 0 10px;
}
.grid-item .action-icon {
position: absolute;
top: 10px;
right: 24px;
padding: 3px 5px;
background: #fff;
border: 1px solid #eee;
border-radius: 3px;
margin: 0;
}