blob: f25b54a8383eb7212fb379bd90db1588607a8b9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Place all the styles related to the GamesController controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
#games-table {
border-spacing: 0;
width: 100%;
tr {
&.odd {
background-color: #fff;
}
&.even {
background-color: #edf;
}
}
td {
padding: 0.5em;
}
thead {
th {
border-bottom: 1px solid #aaa;
text-align: left;
padding: 0.5em;
a {
text-decoration: none;
&:visited {
color: blue;
}
}
.current {
padding-right: 12px;
background-repeat: no-repeat;
background-position: right center;
&.asc {
background-image: image-url("up_arrow.gif");
}
&.desc {
background-image: image-url("down_arrow.gif");
}
}
}
}
}
.game-progress p {
margin: 0;
}
.game-title {
display: block;
& + span {
margin-top: 0.25em;
}
}
.game-started, .game-finished {
display: block;
font-size: 0.8em;
color: #777;
}
h2#games-title {
background-color: #d6aeff;
display: block;
font-size: 20px;
font-family: 'Roboto', sans-serif;
padding: 0.5em 20px;
border-top: 1px solid #edf;
border-bottom: 1px solid #edf;
}
|