file_upload.less 1.16 KiB
/*
Copyright (C) 2015 IRSTEA
All rights reserved.
*/
@import "variables.less";
.fileinput-entry {
    .cancel, .delete {
        margin-left: 0.2em;
    .description {
        display: inline;
        width: auto;
        height: auto;
        padding: @padding-xs-vertical @padding-xs-horizontal;
        margin: 0 0.2em;
    .progress {
        height: (@line-height-computed / 2);
        margin: (@line-height-computed / 4) 0;
    .progress-text {
        float: right;
    .error {
        display: none;
    &.alert {
        padding: @padding-xs-vertical @padding-xs-horizontal;
        margin-bottom: 0;
        .name:after {
            content: " :";
        .error {
            display: inline;
            &:after {
                content: ".";
        .size, .description {
            display: none;
.fileinput-multiple .fileinput-entry {
    margin-bottom: (@line-height-computed / 2);
.fileinput-multiple, .fileinput-single {
    height: auto !important;
    min-height: @input-height-base;
.template-upload .size {
    &:before { content: "("; }
    &:after  { content: ")"; }