mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-06-20 05:45:49 +00:00
Now, only the first demo will be shown from a group of demos with the same target ID. Icons are shown next to each grouped download, which allow the users to open/close the groups (forming virtual "folders"). This simplifies the demos page a lot, without any changes to the existing data. This feature is a progressive enhancement: the demos page will still look the same when Javascript is disabled
94 lines
1.2 KiB
CSS
94 lines
1.2 KiB
CSS
.chart {
|
|
border: 0px;
|
|
border-spacing: 0px;
|
|
margin: 0px auto 1em;
|
|
padding: 0px;
|
|
width: 95%;
|
|
}
|
|
|
|
.chart caption {
|
|
background: rgb(168, 39, 9) url('../images/table-head.png');
|
|
color: rgb(255, 255, 255);
|
|
font-weight: bold;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.chart a {
|
|
color: rgb(0, 0, 0);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.chart a:hover {
|
|
color: rgb(255, 0, 0);
|
|
}
|
|
|
|
.chart tr,
|
|
.chart th,
|
|
.chart td {
|
|
margin: 0px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.chart th,
|
|
.chart td {
|
|
border: 1px solid rgb(192, 192, 192);
|
|
}
|
|
|
|
.chart th {
|
|
font-weight: normal;
|
|
text-align: left;
|
|
}
|
|
|
|
.chart td.details {
|
|
padding: 1em 3em;
|
|
}
|
|
|
|
/* query row colors */
|
|
.chart .color0 {
|
|
background-color: rgb(224, 224, 224);
|
|
}
|
|
.chart .color1 {
|
|
background-color: rgb(192, 192, 192);
|
|
}
|
|
.chart .color2 {
|
|
background-color: rgb(255, 255, 255);
|
|
}
|
|
.chart .color4 {
|
|
background-color: rgb(153, 153, 153);
|
|
}
|
|
|
|
.gameDemos tr {
|
|
padding: 0px;
|
|
}
|
|
|
|
.gameDemos th {
|
|
padding: 2px;
|
|
}
|
|
|
|
.gameDemos td {
|
|
padding: 0px 2px;
|
|
}
|
|
|
|
.gameDemos td img.downloadImage {
|
|
vertical-align: middle;
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.gameDemos td img.noSubcat {
|
|
vertical-align: middle;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.gameDemos td img.subcatToggle {
|
|
vertical-align: middle;
|
|
width: 14px;
|
|
height: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.gameDemos .gameTarget {
|
|
width: 15%;
|
|
}
|