styles.css 1.37 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* Prevent word breaking in the grading table */
.dttSubmissionSummary {
    white-space: nowrap;
}

.dttSubmissionSummary,
.dttSubmissionDetails {
    margin-top: 15px;
}

/* empty div between summary and detail table */
.dttSpacer {
    margin-top: 30px;
}

/****************************************************************
* Layout for the Detail view
****************************************************************/

.dttTable {
    display: inline-block;
    max-width: 100%;
    overflow: auto;
    background: white !important;
    border-radius: .1rem;
    box-shadow: 0 .2rem .5rem rgba(0,0,0,.05),0 0 .05rem rgba(0,0,0,.1);
    overflow-x: hidden;
}

.dttTableHeaderRow {
    font-weight: bold;
    color: white !important;
    background-color: gray !important;
}

.dttTableRow {
    background-color: unset !important;
    border-top: .05rem solid lightgray;
}

.dttTableHeaderRow th,
.dttTableRow td {
    padding: .9375em 1.25em;
}

.dttStacktraceDetails {
    max-height: 300px;
    max-width: 70%;
    overflow: auto;
}

.dttResultUnknown {
    border-left: 10px solid gray;
}

.dttResultSuccess {
    border-left: 10px solid green;
}

.dttResultFailure {
    border-left: 10px solid orange;
}

.dttResultCompilationError {
    border-left: 10px solid red;
}

.dttTableRow:hover {
    background-color: lightgray !important;
}

.dttTableSpacer {
    border-bottom: 2px solid darkgray;
}