static cssTemplate()

in resources/perf.webkit.org/public/v3/pages/analysis-category-page.js [208:297]


    static cssTemplate()
    {
        return `
            .toolbar-container {
                text-align: center;
            }

            .analysis-task-category {
                width: calc(100% - 2rem);
                margin: 1rem;
            }

            .analysis-task-category table {
                width: 100%;
                border: 0;
                border-collapse: collapse;
            }

            .analysis-task-category td,
            .analysis-task-category th {
                border: none;
                border-collapse: collapse;
                text-align: left;
                font-size: 0.9rem;
                font-weight: normal;
            }

            .analysis-task-category thead td {
                color: #f96;
                font-weight: inherit;
                font-size: 1.1rem;
                padding: 0.2rem 0.4rem;
            }

            .analysis-task-category tbody td {
                border-top: solid 1px #eee;
                border-bottom: solid 1px #eee;
                padding: 0.2rem 0.2rem;
            }

            .analysis-task-category .bugs ul,
            .analysis-task-category .bugs li {
                padding: 0;
                margin: 0;
                list-style: none;
            }

            .analysis-task-category .status,
            .analysis-task-category .author,
            .analysis-task-category .platform {
                text-align: center;
            }

            .analysis-task-category .status span {
                display: inline;
                white-space: nowrap;
                border-radius: 0.3rem;
                padding: 0.2rem 0.3rem;
                font-size: 0.8rem;
            }

            .analysis-task-category .status .regression {
                background: #c33;
                color: #fff;
            }

            .analysis-task-category .status .progression {
                background: #36f;
                color: #fff;
            }

            .analysis-task-category .status .unchanged {
                background: #ccc;
                color: white;
            }

            .analysis-task-category .status .inconclusive {
                background: #666;
                color: white;
            }

            .analysis-task-category .status .bisecting {
                background: #ff9;
            }

            .analysis-task-category .status .unconfirmed {
                background: #f96;
            }
`;
    }