Skip to content

Commit 13e1734

Browse files
committed
bring up to date, add better source scheme, remove localization edits
1 parent 52aeb5c commit 13e1734

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1932
-11303
lines changed

html/css/Workshop.css

+195-29
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ workshopicon name
5656
color: #DDD;
5757
}
5858

59-
workshopicon author, workshopicon votes
59+
workshopicon author, workshopicon votes, workshopicon size
6060
{
6161
position: absolute;
6262
bottom: 0px;
@@ -76,14 +76,20 @@ workshopicon author, workshopicon votes
7676
padding: 3px 6px;
7777

7878
}
79+
workshopicon size
80+
{
81+
top: 22px;
82+
bottom: auto;
83+
border-radius: 0 0 0 4px;
84+
}
7985

80-
workshopicon author
86+
workshopicon author, workshopicon size
8187
{
8288
right: 0px;
8389
-webkit-transition: right 100ms ease-out 200ms;
8490
}
8591

86-
workshopicon:hover author
92+
workshopicon:hover author, workshopicon:hover size
8793
{
8894
right: -200px;
8995
-webkit-transition: right 100ms ease-in 0ms;
@@ -92,9 +98,15 @@ workshopicon:hover author
9298
workshopicon votes
9399
{
94100
left: 0px;
101+
color: #4a4;
95102
-webkit-transition: left 100ms ease-out 200ms;
96103
}
97104

105+
workshopicon votes.negative
106+
{
107+
color: #a44;
108+
}
109+
98110
workshopicon:hover votes
99111
{
100112
left: -200px;
@@ -106,7 +118,6 @@ workshopicon votes
106118
bottom: 0px;
107119
right: inherit;
108120
border-radius: 0 4px 0 0;
109-
color: #DDD !important;
110121
}
111122

112123
workshopicon description
@@ -118,10 +129,11 @@ workshopicon description
118129
right: 0;
119130
text-align: justify;
120131
background-color: #777;
121-
font-size: 12px;
132+
font-size: 11px;
122133
padding: 32px 8px;
123134
color: #DDD;
124135
cursor: default;
136+
125137
opacity: 0;
126138
-webkit-transition: opacity 100ms ease-in 0ms;
127139
}
@@ -153,6 +165,13 @@ workshopmessage
153165
margin: 64px;
154166
}
155167

168+
@media screen and (max-height: 800px) {
169+
workshopmessage
170+
{
171+
margin: 16px;
172+
}
173+
}
174+
156175
workshopcontainer
157176
{
158177
position: absolute;
@@ -178,7 +197,7 @@ controls
178197

179198
controls control
180199
{
181-
font-size: 12px;
200+
font-size: 11px;
182201
display: inline-block;
183202
background-color: #333;
184203
padding: 2px 4px;
@@ -200,19 +219,149 @@ controls control:hover
200219
background-color: #666;
201220
}
202221

203-
pagnation
222+
.ugc_settings_button
223+
{
224+
height: 44px;
225+
width: 44px;
226+
227+
padding: 6px;
228+
background: #666;
229+
border-radius: 4px;
230+
box-sizing: border-box;
231+
232+
position: absolute;
233+
bottom: 4px;
234+
right: 4px;
235+
cursor: default;
236+
}
237+
.ugc_settings_button:hover
238+
{
239+
background: rgb(33, 33, 33);
240+
}
241+
242+
.ugc_settings
243+
{
244+
width: 100%;
245+
246+
padding: 10px;
247+
background: rgb(33, 33, 33);
248+
249+
z-index: 128;
250+
position: absolute;
251+
bottom: 52px;
252+
left: 0;
253+
box-sizing: border-box;
254+
255+
visibility: hidden;
256+
overflow: hidden;
257+
}
258+
.ugc_settings.active
259+
{
260+
visibility: visible;
261+
}
262+
263+
.ugc_settings span
264+
{
265+
display: block;
266+
font-weight: bold;
267+
}
268+
.ugc_settings label
269+
{
270+
position: relative;
271+
top: -2px;
272+
}
273+
274+
.ugc_settings a
204275
{
205-
background-color: #222;
276+
font-weight: bold;
277+
color: #000;
278+
padding: 4px 15px;
279+
background: rgb(90, 90, 90);
280+
display: block;
281+
margin-top: 2px;
282+
text-align: center;
283+
border-radius: 4px;
284+
cursor: default;
285+
}
286+
.ugc_settings a:hover
287+
{
288+
colo2r: #ff7;
289+
background: rgb(151, 15, 15);
290+
}
291+
292+
.ugc_settings_cat
293+
{
294+
vertical-align: top;
295+
display: inline-block;
296+
color: rgb(252, 252, 252);
297+
padding: 0px 1%;
298+
margin: 0 auto;
299+
}
300+
301+
.create_preset
302+
{
303+
min-width: 350px;
304+
}
305+
306+
.preset_content
307+
{
308+
min-width: 500px;
309+
margin-bottom: 5px;
310+
}
311+
.preset_list
312+
{
313+
background: rgb(58, 58, 58, 255);
314+
width: 150px;
315+
display: inline-block;
316+
max-height: 400px;
317+
min-height: 230px;
318+
overflow-y: scroll;
319+
overflow-x: hidden;
320+
}
321+
.preset_list font
322+
{
323+
display: block;
324+
padding: 5px;
325+
cursor: default;
326+
}
327+
.preset_list font:hover
328+
{
329+
background: #ddd;
330+
}
331+
.preset_list font.active
332+
{
333+
background: #ccc;
334+
}
335+
.preset_data
336+
{
337+
width: 345px;
338+
padding-left: 5px;
339+
display: inline-block;
340+
vertical-align: top;
341+
cursor: default;
342+
}
343+
344+
pagination
345+
{
346+
background-color: rgb(36, 36, 36);
206347
border-radius: 4px;
207348
margin: 0 auto;
208349
padding: 4px 4px;
209-
white-space: nowrap;
210-
margin-left: 10%;
211-
margin-right: 10%;
350+
/*white-space: nowrap;*/
351+
max-width: 500px;
352+
z-index: 64; /* Ensure it is above other elements in case something goes wrong */
212353
}
213354

355+
@media screen and (max-width: 840px)
356+
{
357+
pagination
358+
{
359+
margin: 0;
360+
margin-right: 48px;
361+
}
362+
}
214363

215-
pagnation .back, pagnation .next
364+
pagination .back, pagination .next
216365
{
217366
display: block;
218367
float: left;
@@ -224,49 +373,66 @@ pagnation .back, pagnation .next
224373
background-position: center center;
225374
}
226375

227-
pagnation .next
376+
pagination .next
228377
{
229378
float: right;
230379
background-image: url('../img/arrow_right.png');
231380
}
232381

233-
workshopicon.installed
382+
pagination .pages
234383
{
235-
border-color: #676;
384+
overflow: hidden;
385+
margin-top: 6px;
236386
}
237387

238-
workshopicon.installed name
388+
pagination span.pagenum
239389
{
240-
background-color: #676;
390+
font-size: 14px;
241391
}
242-
243-
workshopicon.installed author
392+
pagination a.page
244393
{
245-
background-color: #676;
394+
opacity: 0.5;
395+
}
396+
pagination a.page.active
397+
{
398+
opacity: 1;
246399
}
247400

248-
workshopicon.installed votes
401+
workshopicon.installed
402+
{
403+
border-color: #676;
404+
}
405+
workshopicon.installed name, workshopicon.installed author, workshopicon.installed votes, workshopicon.installed size
249406
{
250-
background-color: #676;
407+
background: #676;
251408
}
252409

253410
workshopicon.disabled
254411
{
255412
border-color: #766;
256413
}
257-
258-
workshopicon.disabled name
414+
workshopicon.disabled name, workshopicon.disabled author, workshopicon.disabled votes, workshopicon.disabled size
259415
{
260-
background-color: #766;
416+
background: #766;
261417
}
262418

263-
workshopicon.disabled author
419+
workshopicon.invalid
420+
{
421+
border-color: #d22;
422+
}
423+
workshopicon.invalid name, workshopicon.invalid author, workshopicon.invalid votes, workshopicon.invalid size
264424
{
265-
background-color: #766;
425+
background: #d22;
426+
color: #fff;
266427
}
267428

268-
workshopicon.disabled votes
429+
workshopicon.invalid.disabled
430+
{
431+
border-color: #922;
432+
}
433+
workshopicon.invalid.disabled name, workshopicon.invalid.disabled author, workshopicon.invalid.disabled votes, workshopicon.invalid.disabled size
269434
{
270-
background-color: #766;
435+
background: #922;
436+
color: #766;
271437
}
272438

0 commit comments

Comments
 (0)