view sat_templates/templates/default/static/file.css @ 243:2b8d18a9df00

bulma (photo/album): change for dynamic content: - added drop zone and file selector to upload photos - moved item template to its own file, so it can be used for dynamic content - added delete button - changes to manage progression bar and other stuff
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +0200
parents e9f0a4215e46
children
line wrap: on
line source

#files {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.file {
    padding: 0 0 0.5em;
    width: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    overflow-wrap: break-word;
}

.file:hover {
    background: #ddd;
    overflow: visible;
}

.file a {
    text-decoration: none;
    outline: none;
}

.file a:focus img {
    outline: 3px solid #bbb;
}

.file__icon {
    height: 3em;
    display: block;
    margin: 0 auto;
}

.file__thumbnail {
    max-width: 300px;
    height: 125px;
    display: block;
    margin: 0 auto;
}


@media (min-width: 500px) {
    .file {
        padding: 1em;
        width: 170px;
    }
}