view sat_templates/default/static/file.css @ 147:33c7ce833d3f

install: setup.py fix + moved "default" dir in a "sat_templates" dir: the merge request at https://bugs.goffi.org/mr/view/3 was a good basis, but not fully working ("default" dir was removed), this patch fixes it, and do some improvments: - moved "default" in "sat_templates" dir, which correspond to the python module, so it can be found easily from python - added VERSION, and mercurial hash detection, in the same way as for Cagou and backend - slight modification of classifiers - replaces tabs coming from MR by spaces
author Goffi <goffi@goffi.org>
date Sat, 02 Jun 2018 17:25:43 +0200
parents default/static/file.css@4f27ce980ced
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;
    }
}