forked from MouseyPounds/stardew-checkup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stardew-checkup.css
236 lines (234 loc) · 4.34 KB
/
stardew-checkup.css
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
/* stardew-checkup.css
* https://mouseypounds.github.io/stardew-checkup/
*/
html {
min-height: 100%;
background-attachment: fixed;
background-color: #80a0f0; /* fallback color if gradients are not supported */
background-image: -webkit-linear-gradient(top, #80a0f0, #c0ffff, #40c040); /* For Chrome 25 and Safari 6, iOS 6.1, Android 4.3 */
background-image: -moz-linear-gradient(top, #80a0f0, #c0ffff, #40c040); /* For Firefox (3.6 to 15) */
background-image: -o-linear-gradient(top, #80a0f0, #c0ffff, #40c040); /* For old Opera (11.1 to 12.0) */
background-image: linear-gradient(to bottom, #80a0f0, #c0ffff, #40c040); /* Standard syntax; must be last */
}
body {
margin: 15px;
color: #603000;
}
a:link, a:visited { color: #804000; }
a:hover { color: #d08000; }
a:active { color: #ffa000; }
h3 {
margin: 20px 0 4px;
display: inline-block;
}
.panel {
background-color: #ffe0b0;
padding: .5em 2em .5em 1em;
margin: 5px;
border: 5px solid #804000;
border-radius: 15px;
}
#header {
padding-right: 5em;
}
#footer {
text-align: center;
padding-right: 1em;
margin-bottom: 3em;
}
#input-container { display: none; }
#output-container { display: none; }
#progress-container { display: none; }
.initial_hide { display: none; }
.error {
font-weight: bold;
font-size: 150%;
color: #ff0000;
}
.path {
font-family: monospace;
}
.ach,.warn,.note {
font-style: italic;
}
.pts, .strong {
font-weight: bold;
}
.ach_yes,.ms_yes,.pt_yes {
color: #004000;
}
.ach_yes:before,.ms_yes:before {
content: "\2714 ";
margin-right: 3px;
}
.ach_no,.ms_no,.pt_no {
color: #c00000;
}
.ach_no:before,.ach_imp:before,.ms_no:before,.ms_imp:before {
content: "\2718 ";
margin-right: 3px;
}
.ach_imp,.ms_imp,.pt_imp {
color: #888;
}
.ach_list {
list-style: none;
padding-left: 50px;
margin-top: 0px;
margin-bottom: 4px;
text-indent: -15px;
}
.result:before {
content: "\25c8 ";
margin-right: 3px;
}
.result {
padding-left: 15px;
}
.explain:before {
content: "* ";
margin-right: 3px;
}
.explain {
padding-left: 15px;
font-style: italic;
}
.need:before,.warn:before {
content: "! ";
font-weight: bold;
margin-right: 3px;
}
.need {
margin-left: 38px;
}
.need > ul, .need > ol {
margin-left: 3.5em;
margin-top: 0px;
}
.need ol, .need ul {
padding-left: 1.5em;
}
ol.outer, ul.outer {
margin-top: 0;
padding-left: 3em;
}
ol.compact, ul.compact {
margin-top: 0;
padding-left: 1em;
}
table.output {
border: none;
border-collapse: collapse;
width: 100%;
table-layout: fixed;
}
.output td {
vertical-align: top;
}
tr td:not(:first-child) {
border-left: 1px solid;
}
#PlayerList {
position: fixed;
left: 0;
bottom: 0;
padding: 3px;
max-height: 90%;
width: 100%;
overflow: auto;
background-color: #603000;
color: #eecc99;
display: none;
}
#PlayerList > table {
border: none;
width: 99%;
table-layout: fixed;
}
#PlayerList tr td:not(:first-child) {
border: 2px solid #eecc99;
}
#PlayerList td {
text-align: center;
cursor: pointer;
padding: 4px;
}
#PlayerList td.on:hover, #PlayerList td.off:hover {
color: #ffe0b0;
background-color: #906030;
}
#PlayerList td.on {
color: #eecc99;
background-color: #804000;
}
#PlayerList td.off {
color: #906030;
background-color: #603000;
}
#TOC {
position: fixed;
right: 0;
top: 0;
padding: 0;
max-height: 90%;
max-width: 200px;
overflow: auto;
background-color: #eecc99;
box-shadow: -2px 2px 25px #603000;
}
#TOC, #TOC-details {
display:none;
}
#TOC:hover #TOC-details {
display:block;
}
#TOC > h1, #TOC li a {
padding: 5px 10px;
display: block;
}
#TOC > h1 {
margin: 0;
font-size: 18px;
line-height: 24px;
background-color: #804000;
color: #eecc99;
}
#TOC ul {
list-style: none;
margin: 0;
padding: 0;
}
#TOC li a {
color: #60300;
text-decoration: none;
}
#TOC li a:hover {
background-color: #ffe0b0;
}
.radio_set {
display: inline-block;
width: 18em;
}
/* tooltip implementation based on code from Andrea Ligios
https://stackoverflow.com/questions/7117073/how-to-add-a-tooltip-to-a-div
http://jsfiddle.net/AndreaLigios/jtLbpy62/
*/
[data-tooltip]:before {
position: absolute;
content: attr(data-tooltip);
opacity: 0;
box-shadow: 2px 2px 1px #603000;
padding: .5em;
color: #603000;
white-space: pre;
}
[data-tooltip]:hover:before {
opacity: 0.9;
background: #ec9;
margin-top: -1.5em;
margin-left: .5em;
z-index: 2;
}
[data-tooltip]:not([data-tooltip-persistent]):before {
pointer-events: none;
}