Skip to content

Commit

Permalink
Add big gift icon to update dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
gruehle committed Aug 23, 2012
1 parent 1327dec commit e29182c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/htmlContent/main-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ <h2>{{BRACKETS}}</h2>
<h1 class="dialog-title">{{UPDATE_AVAILABLE_TITLE}}</h1>
</div>
<div class="modal-body">
<img class="update-icon" src="styles/images/brackets_icon.svg">
<img class="update-icon" src="styles/images/update_large_icon.svg">
<div class="update-text">
<p class="dialog-message">{{UPDATE_MESSAGE}}</p>
<div class="update-info">
Expand Down
8 changes: 6 additions & 2 deletions src/styles/brackets_patterns_override.less
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,10 @@
position: relative;
.update-icon {
position: absolute;
left: 10px; // relative to border of modal-body
top: 11px;
left: 30px; // relative to border of modal-body
top: 20px;
width: 80px;
height: 80px;
}
.update-text {
// Icon is 120px, so we need at least that much left padding/margin to avoid overlap
Expand All @@ -392,6 +394,8 @@
position: absolute;
left: 10px; // relative to border of modal-body (bounds outside padding)
top: 11px;
width: 60px;
height: 60px;
}
.about-text {
// Icon is 120px, so we need at least that much left padding/margin to avoid overlap
Expand Down

0 comments on commit e29182c

Please sign in to comment.