static cssTemplate()

in resources/perf.webkit.org/public/v3/components/instant-file-uploader.js [219:275]


    static cssTemplate()
    {
        return `
            ul:empty {
                display: none;
            }

            ul, li {
                margin: 0;
                padding: 0;
                list-style: none;
            }

            li {
                position: relative;
                margin-bottom: 0.25rem;
                padding-left: 1.5rem;
                padding-bottom: 0.25rem;
                border-bottom: solid 1px #eee;
            }

            li:last-child {
                border-bottom: none;
            }

            li > close-button {
                position: absolute;
                left: 0;
                top: 50%;
                margin-top: -0.5rem;
            }

            li > progress {
                display: block;
            }

            code {
                font-size: 1.1rem;
                font-weight: inherit;
            }

            small {
                font-size: 0.8rem;
                font-weight: inherit;
                color: #666;
            }

            small.meta {
                display: block;
            }

            .hasError {
                color: #c60;
                font-weight: normal;
            }
        `;
    }