static/style.css

Fri, 18 Sep 2020 23:51:45 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 18 Sep 2020 23:51:45 +0300
changeset 145
fde18c4d6784
parent 72
62d0b5b9d797
permissions
-rw-r--r--

refactoring: moved context-dependant data to new class LDrawContext. ldcheck no longer writes the config file, and looks for it in sensible locations like ~/.config and /etc. LDraw libraries can now be specified on the command line.


body
{
    font-family: sans-serif;
    margin: 0;
}

.ldraw-code
{
    font-family: monospace;
}

.problems-list
{
    list-style: none;
}

.problems-list li
{
    padding: 5px;
    border: 1px solid black;
    border-radius: 10px;
    margin-bottom: 3px;
}

.problems-list li.problem-hold
{
    background-color: #b44;
    border-color: red;
    color: white;
    background-image: url(../static/hold.svg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 32px;
}

.problem-content
{
    display: inline-block;
    padding-left: 40px;
}

.problems-list li.problem-warning
{
    background-color: #def;
    border-color: #024;
    color: black;
    background-image: url(../static/warning.svg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 32px;
}

.problem-icon
{
    float: left;
    margin-right: 10px;
}

.top-form
{
    background: white;
    background: linear-gradient(
        to bottom,
        #cceecf 0%,
        #cceecf 85%,
        #163 100%
    );
    padding-bottom: 2vh;
    padding-top: 2vh;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
}

.report-container
{
    background: linear-gradient(
        to bottom,
        #ccc 0,
        #fff 1vh,
        #fff 100%
    );
    min-height: 10vh;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2vh;
}

.problem-description
{
    display: inline-block;
}

mercurial