mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-14 10:00:20 +00:00
further improve UX of gallery skeleton loaders
This commit is contained in:
parent
7f49989446
commit
d3b32a29a8
2 changed files with 8 additions and 10 deletions
|
|
@ -151,21 +151,19 @@ input:invalid {
|
|||
grid-auto-rows: auto;
|
||||
justify-content: center;
|
||||
grid-gap: 2rem;
|
||||
padding: 2rem 4rem
|
||||
padding: 2rem 4rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#home.loading .gallery {
|
||||
overflow-y: initial !important;
|
||||
#home.loading .gallery.browse {
|
||||
height: 30rem !important;
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
|
||||
#home.loading {
|
||||
height: 50rem !important
|
||||
}
|
||||
|
||||
#home.loading:after {
|
||||
#home.loading .gallery.browse:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 40rem;
|
||||
bottom: 0;
|
||||
height: 10rem;
|
||||
width: 100%;
|
||||
background: linear-gradient(0deg, rgba(37, 40, 44, 1) 0%, rgba(37, 40, 44, 1) 15%, rgba(37, 40, 44, .45) 70%, rgba(37, 40, 44, 0) 100%);
|
||||
|
|
|
|||
|
|
@ -530,7 +530,7 @@
|
|||
<div class="input-group shadow-lg">
|
||||
<div class="input-group-prepend">
|
||||
<span
|
||||
class="input-group-text d-flex material-icons bg-dark text-muted pr-0 font-size-18">search</span>
|
||||
class="input-group-text d-flex material-icons bg-dark pr-0 font-size-18">search</span>
|
||||
</div>
|
||||
<input type="text" class="form-control bg-dark border-left-0 shadow-none" autocomplete="off"
|
||||
id="searchText" data-option="search" placeholder="Any">
|
||||
|
|
|
|||
Loading…
Reference in a new issue