Skip to content

Commit

Permalink
Move image assets to corresponding component
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrikNoren committed Jun 23, 2014
1 parent f171939 commit 4f1d00e
Show file tree
Hide file tree
Showing 22 changed files with 45 additions and 34 deletions.
8 changes: 6 additions & 2 deletions Gruntfile.js
Expand Up @@ -154,8 +154,12 @@ module.exports = function(grunt) {
// Embed images in css
imageEmbed: {
default: {
src: [ "public/css/styles.css" ],
dest: "public/css/styles.css",
files: {
"public/css/styles.css": [ "public/css/styles.css" ],
"components/graph/graph.css": ["components/graph/graph.css"],
"components/header/header.css": ["components/header/header.css"],
"components/staging/staging.css": ["components/staging/staging.css"],
},
options: {
deleteAfterEncoding: false
}
Expand Down
Binary file removed assets/client/images/branchIcon.png
Binary file not shown.
Binary file removed assets/client/images/logBoxHoverArrowRight.png
Binary file not shown.
Binary file removed assets/client/images/panelArrowRight.png
Binary file not shown.
Binary file removed assets/client/images/remoteIcon.png
Binary file not shown.
Binary file removed assets/client/images/repositoryBackgroundArrowUp.png
Binary file not shown.
Binary file removed assets/client/images/shadowArrowRight.png
Binary file not shown.
Binary file removed assets/client/images/stagingArrowDown.png
Binary file not shown.
Binary file removed assets/client/images/tagIcon.png
Binary file not shown.
45 changes: 37 additions & 8 deletions components/graph/graph.less
Expand Up @@ -32,7 +32,7 @@
display: block;
}
.arrow {
background: url('../images/logBoxHoverArrowRight.png');
background: url('images/logBoxHoverArrowRight.png');
}
}
}
Expand All @@ -41,21 +41,28 @@
z-index: 3;
}

.logEntryBox > .panel-body {
position: relative;

padding: 10px;
margin-bottom: 0px;
width: @log-width-small;
min-height: 85px;
.logEntryBox {
.arrowRight {
position: absolute;
right: 0px;
top: 5px;
.shadow {
display: none;
background: url('images/shadowArrowRight.png');
}
.arrow {
background: url('images/panelArrowRight.png');
}
}
}

.logEntryBox > .panel-body {
position: relative;

padding: 10px;
margin-bottom: 0px;
width: @log-width-small;
min-height: 85px;

.gravatar {
display: none;
Expand Down Expand Up @@ -205,6 +212,28 @@
}
}


.remote-icon {
background: url('images/remoteIcon.png');
width: 12px;
height: 10px;
display: inline-block;
}

.branch-icon {
background: url('images/branchIcon.png');
width: 9px;
height: 10px;
display: inline-block;
}

.tag-icon {
background: url('images/tagIcon.png');
width: 5px;
height: 10px;
display: inline-block;
}

}


Expand Down
Binary file added components/graph/images/branchIcon.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 components/graph/images/logBoxHoverArrowRight.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 components/graph/images/panelArrowRight.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 components/graph/images/remoteIcon.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 components/graph/images/shadowArrowRight.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 components/graph/images/tagIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion components/header/header.less
Expand Up @@ -65,7 +65,7 @@
position: absolute;
bottom: 0px;
left: 300px;
background: url('../images/repositoryBackgroundArrowUp.png');
background: url('repositoryBackgroundArrowUp.png');
width: 30px;
height: 15px;
}
Expand Down
Binary file added components/header/repositoryBackgroundArrowUp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion components/staging/staging.less
Expand Up @@ -13,7 +13,7 @@
left: (@log-width-small + 45px);
bottom: 0px;
.arrow {
background: url('../images/stagingArrowDown.png');
background: url('stagingArrowDown.png');
}
}

Expand Down
Binary file added components/staging/stagingArrowDown.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions public/less/generic.less
Expand Up @@ -142,13 +142,11 @@ a.disabled {
position: absolute;
left: 5px;
top: 5px;
background: url('../images/shadowArrowRight.png');
}
.arrow {
position: absolute;
left: 0px;
top: 0px;
background: url('../images/panelArrowRight.png');
}
}

Expand Down
20 changes: 0 additions & 20 deletions public/less/styles.less
Expand Up @@ -32,26 +32,6 @@



.remote-icon {
background: url('../images/remoteIcon.png');
width: 12px;
height: 10px;
display: inline-block;
}

.branch-icon {
background: url('../images/branchIcon.png');
width: 9px;
height: 10px;
display: inline-block;
}

.tag-icon {
background: url('../images/tagIcon.png');
width: 5px;
height: 10px;
display: inline-block;
}

.ui-autocomplete {
background: rgba(200, 210, 230, 1);
Expand Down

0 comments on commit 4f1d00e

Please sign in to comment.