1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 03:41:12 +00:00

Merge pull request #3796 from haiwen/shared-dir-view-grid

[shared dir view] added 'grid mode'
This commit is contained in:
Daniel Pan
2019-07-03 20:26:24 +08:00
committed by GitHub
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;
}