mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-02-20 20:29:04 +00:00
Updates
* File name, album/owner and size in thumbs view will no longer be clipped. Instead their overflow will be hidden in the form of ellipsis. * Updated screenshot in README.md.
This commit is contained in:
parent
ceda9e67f7
commit
4a2b7b3693
@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
[](https://raw.githubusercontent.com/kanadeko/Kuro/master/LICENSE)
|
||||
[](https://discord.gg/5g6vgwn)
|
||||
|
||||
|
@ -13,11 +13,11 @@
|
||||
<link rel="stylesheet" type="text/css" href="libs/bulma/bulma.min.css?v=8FbubjpYRC">
|
||||
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v=qXMCPUL26R">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css?v=vZEyc9zyh6">
|
||||
<link rel="stylesheet" type="text/css" href="css/dashboard.css?v=kCjupdRSXT">
|
||||
<link rel="stylesheet" type="text/css" href="css/dashboard.css?v=RLPtEH87fK">
|
||||
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v=8FbubjpYRC"></script>
|
||||
<script type="text/javascript" src="libs/axios/axios.min.js?v=8FbubjpYRC"></script>
|
||||
<script type="text/javascript" src="libs/clipboard.js/clipboard.min.js?v=8FbubjpYRC"></script>
|
||||
<script type="text/javascript" src="js/dashboard.js?v=kCjupdRSXT"></script>
|
||||
<script type="text/javascript" src="js/dashboard.js?v=RLPtEH87fK"></script>
|
||||
|
||||
<!-- Open Graph tags -->
|
||||
<meta property="og:type" content="website" />
|
||||
|
@ -117,7 +117,7 @@ html {
|
||||
background-color: rgba(49, 54, 59, .75);
|
||||
}
|
||||
|
||||
.image-container .name {
|
||||
.image-container .details {
|
||||
position: absolute;
|
||||
left: .75rem;
|
||||
bottom: .75rem;
|
||||
@ -128,7 +128,13 @@ html {
|
||||
font-size: .75rem;
|
||||
}
|
||||
|
||||
.image-container .name span {
|
||||
.image-container .details p {
|
||||
display: block;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.image-container .details p span {
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
@ -140,14 +146,14 @@ html {
|
||||
}
|
||||
|
||||
.no-touch .image-container .controls,
|
||||
.no-touch .image-container .name {
|
||||
.no-touch .image-container .details {
|
||||
opacity: 0;
|
||||
transition: opacity .25s;
|
||||
}
|
||||
|
||||
.no-touch .image-container:hover .file-checkbox,
|
||||
.no-touch .image-container:hover .controls,
|
||||
.no-touch .image-container:hover .name {
|
||||
.no-touch .image-container:hover .details {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
@ -213,8 +213,8 @@ panel.getUploads = (album, page, element) => {
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="name">
|
||||
<p><span>${file.name}</span></p>
|
||||
<div class="details">
|
||||
<p><span class="name">${file.name}</span></p>
|
||||
<p>${displayAlbumOrUser ? `<span>${displayAlbumOrUser}</span> – ` : ''}${file.size}</div>
|
||||
`
|
||||
table.appendChild(div)
|
||||
|
Loading…
Reference in New Issue
Block a user