summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/Content/css/json-validator.css
blob: d4a43032e05f52a86606b2487e805688fd878637 (plain)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*********
** Main layout
*********/
#content {
    max-width: 100%;
}

#output {
    padding: 10px;
    overflow: auto;
}

#output table td {
    font-family: monospace;
}

#output table tr th,
#output table tr td {
    padding: 0 0.75rem;
    white-space: pre-wrap;
}


/*********
** Result banner
*********/
.banner {
    border: 2px solid gray;
    border-radius: 5px;
    margin-top: 1em;
    padding: 1em;
}

.banner.success {
    border-color: green;
    background: #CFC;
}

.banner.error {
    border-color: red;
    background: #FCC;
}

/*********
** Validation results
*********/
.table {
    border-bottom: 1px dashed #888888;
    margin-bottom: 5px;
}

#metadata th, #metadata td {
    text-align: left;
    padding-right: 0.7em;
}

.table {
    border: 1px solid #000000;
    background: #ffffff;
    border-radius: 5px;
    border-spacing: 1px;
    overflow: hidden;
    cursor: default;
    box-shadow: 1px 1px 1px 1px #dddddd;
}

.table tr {
    background: #eee;
}

.table tr:nth-child(even) {
    background: #fff;
}

#output div.sunlight-line-highlight-active {
    background-color: #eeeacc;
}

/*********
** Upload form
*********/
#input {
    width: 100%;
    height: 20em;
    max-height: 70%;
    margin: auto;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #000088;
    outline: none;
    box-shadow: inset 0px 0px 1px 1px rgba(0, 0, 192, .2);
}

#submit {
    font-size: 1.5em;
    border-radius: 5px;
    outline: none;
    box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, .2);
    cursor: pointer;
    border: 1px solid #008800;
    background-color: #cfc;
}