python-gallery/gallery/user/themes/default/ui/background.sass
Michał bb98701430 Unifying style of the gallery
Fixed HTML and Sass layout
Moved upload and login pages to popups
Added deletion confirmation
2023-01-25 15:13:56 +00:00

46 lines
869 B
Sass

.background-decoration
margin: 0
padding: 0
width: 100%
height: 100vh
position: fixed
top: 0
left: 0
background-color: $white
background-image: linear-gradient(to right, darken($white, 1%) 15%, darken($white, 10%) 35%, darken($white, 1%) 50%)
background-size: 1000px 640px
animation: imgLoading 1.8s linear infinite forwards
user-select: none
overflow: hidden
img
position: absolute
top: 0
left: 0
width: 100%
height: 100%
filter: blur(1rem)
transform: scale(1.1)
object-fit: cover
object-position: center center
span
position: absolute
top: 0
left: 0
width: 100%
height: 100%
background-image: linear-gradient(to bottom, rgba($white, 0), rgba($white, 1))
z-index: +1