1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-21 00:15:26 +00:00
seahub/frontend/src/css/grid-view.css

87 lines
1.3 KiB
CSS
Raw Normal View History

2019-04-18 14:36:07 +00:00
.grid-view {
2019-04-22 02:16:41 +00:00
padding: 0.625rem 1rem 10rem;
2019-04-18 14:36:07 +00:00
list-style: none;
display: flex;
flex-wrap: wrap;
flex: 1;
align-content: flex-start;
}
.grid-item {
width: 134px;
padding: 10px 4px;
text-align: center;
position: relative;
line-height: 0;
}
.grid-item:hover .grid-file-img-link {
background: #f8f8f8;
}
.grid-item:hover a {
color: #eb8205;
}
.grid-file-img-link {
2019-04-19 10:40:31 +00:00
width: 96px;
height: 96px;
2019-04-18 14:36:07 +00:00
margin: 0 auto 6px;
position: relative;
border-radius: 3px;
font-size: 0;
text-align: center;
line-height: 0;
}
.grid-file-img-link .thumbnail {
max-width: 88px;
max-height: 88px;
2019-04-18 14:36:07 +00:00
padding: 1px;
background: #fff;
2019-04-18 14:36:07 +00:00
border: 1px solid #ddd;
border-radius: 1px;
2019-04-18 14:36:07 +00:00
}
.grid-file-img-link::before {
content: '';
display: inline-block;
vertical-align: middle;
height: 100%;
}
.grid-file-name {
display: inline-block;
max-width: 100%;
overflow: hidden;
word-break: keep-all;
white-space: nowrap;
text-overflow: ellipsis;
line-height: 17px;
font-size: 14px;
}
.grid-file-name-link {
2024-05-30 09:39:25 +00:00
color: #212529;
2019-04-18 14:36:07 +00:00
font-size: 0.875rem;
}
.grid-file-locked-icon {
position: absolute;
2019-04-19 01:54:29 +00:00
bottom: 0;
2019-04-18 14:36:07 +00:00
right: 10px;
width: 16px;
}
.grid-selected-active {
background-color: #f8f8f8;
}
2019-04-19 10:40:31 +00:00
.grid-link-selected-active {
color: #eb8205;
2019-04-19 10:40:31 +00:00
}
.grid-drop-show {
background: #f8f8f8;
}