about summary refs log tree commit diff stats
path: root/app/assets
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/images/down_arrow.gifbin0 -> 843 bytes
-rw-r--r--app/assets/images/up_arrow.gifbin0 -> 835 bytes
-rw-r--r--app/assets/javascripts/entries.coffee3
-rw-r--r--app/assets/stylesheets/main/games.scss40
4 files changed, 40 insertions, 3 deletions
diff --git a/app/assets/images/down_arrow.gif b/app/assets/images/down_arrow.gif new file mode 100644 index 0000000..3438db3 --- /dev/null +++ b/app/assets/images/down_arrow.gif
Binary files differ
diff --git a/app/assets/images/up_arrow.gif b/app/assets/images/up_arrow.gif new file mode 100644 index 0000000..6438c97 --- /dev/null +++ b/app/assets/images/up_arrow.gif
Binary files differ
diff --git a/app/assets/javascripts/entries.coffee b/app/assets/javascripts/entries.coffee deleted file mode 100644 index 24f83d1..0000000 --- a/app/assets/javascripts/entries.coffee +++ /dev/null
@@ -1,3 +0,0 @@
1# Place all the behaviors and hooks related to the matching controller here.
2# All this logic will automatically be available in application.js.
3# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/stylesheets/main/games.scss b/app/assets/stylesheets/main/games.scss index 98aca43..901d30d 100644 --- a/app/assets/stylesheets/main/games.scss +++ b/app/assets/stylesheets/main/games.scss
@@ -18,6 +18,36 @@
18 td { 18 td {
19 padding: 0.5em; 19 padding: 0.5em;
20 } 20 }
21
22 thead {
23 th {
24 border-bottom: 1px solid #aaa;
25 text-align: left;
26 padding: 0.5em;
27
28 a {
29 text-decoration: none;
30
31 &:visited {
32 color: blue;
33 }
34 }
35
36 .current {
37 padding-right: 12px;
38 background-repeat: no-repeat;
39 background-position: right center;
40
41 &.asc {
42 background-image: image-url("up_arrow.gif");
43 }
44
45 &.desc {
46 background-image: image-url("down_arrow.gif");
47 }
48 }
49 }
50 }
21} 51}
22 52
23.game-progress p { 53.game-progress p {
@@ -34,3 +64,13 @@
34 font-size: 0.8em; 64 font-size: 0.8em;
35 color: #777; 65 color: #777;
36} 66}
67
68h2#games-title {
69 background-color: #d6aeff;
70 display: block;
71 font-size: 20px;
72 font-family: 'Roboto', sans-serif;
73 padding: 0.5em 20px;
74 border-top: 1px solid #edf;
75 border-bottom: 1px solid #edf;
76}