Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use a sprite instead of multiple images (Closes #21)
  • Loading branch information
zoffixznet committed Nov 7, 2015
1 parent 1877371 commit cf95cb4
Show file tree
Hide file tree
Showing 23 changed files with 1,129 additions and 57 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -7,5 +7,7 @@ _build
Build
web/github-token
web/assets/images/logos
web/assets/css/sprite.css
web/assets/js/jquery.tablesorter.min.js
web/index.html
web/proto.json
29 changes: 12 additions & 17 deletions web/assets/css/style.css
Expand Up @@ -8,12 +8,9 @@ body {
a {color:inherit;}
a img {border:none;}

.project-logo {
.module_name .sprite {
float: right;
}
.project-logo img {
width: 32px;
}

#header {
margin:0 0 3em;
Expand All @@ -26,8 +23,7 @@ a img {border:none;}
padding:0 1em;
position:relative;
}
#header img{
border:0 none;
#header .s-camelia-logo{
float:right;
position:relative;
right:-2em;
Expand Down Expand Up @@ -114,14 +110,10 @@ dl.table-display {
border-top: 1px solid #999;
}

.badges img {
height: 20px;
.badges i {
vertical-align: middle;
}

img.valign {
vertical-align: middle;
}
#module_list > table {
width: 100%;
margin-top: 20px;
Expand Down Expand Up @@ -223,17 +215,20 @@ tr:nth-child(odd) td {
}

table.tablesorter thead tr .header {
background: url(../images/bg.gif) no-repeat center right;
cursor: pointer;
}

table.tablesorter thead tr .headerSortUp {
background-image: url(../images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
background-image: url(../images/desc.gif);
table.tablesorter thead tr .header i {
float: right;
margin-top: 3px;
margin-left: -21px;
}

table.tablesorter thead tr .headerSortDown,
table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}

.legend .sprite {
vertical-align: middle;
}
Binary file removed web/assets/images/asc.gif
Binary file not shown.
Binary file removed web/assets/images/bg.gif
Binary file not shown.
Binary file removed web/assets/images/desc.gif
Binary file not shown.
Binary file added web/assets/images/headerNeutral.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/assets/images/headerSortDown.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/assets/images/headerSortUp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/assets/images/panda.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/assets/images/panda_nos11.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/assets/images/readme.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/assets/images/tests.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/assets/images/unachieved.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf95cb4

Please sign in to comment.