Skip to content

Commit

Permalink
Merge pull request mozilla-b2g#7317 from KevinGrandon/bug_820145_new_…
Browse files Browse the repository at this point in the history
…icons

Bug 820145 - Update edit/compose icons
  • Loading branch information
vingtetun committed Jan 7, 2013
2 parents b2515d8 + de65797 commit cba0de2
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/communications/contacts/index.html
Expand Up @@ -171,7 +171,7 @@ <h1 data-l10n-id="contacts">Contacts</h1>
<header id='details-view-header'> <header id='details-view-header'>
<button id="details-back" class="negative"><span class="icon icon-back" data-l10n-id="back">back</span></button> <button id="details-back" class="negative"><span class="icon icon-back" data-l10n-id="back">back</span></button>
<menu type="toolbar"> <menu type="toolbar">
<button role="menuitem" id="edit-contact-button"><span class="icon icon-edit" <button role="menuitem" id="edit-contact-button"><span class="icon icon-edit-contact"
data-l10n-id="edit" data-l10n-id="edit">edit</span></button> data-l10n-id="edit" data-l10n-id="edit">edit</span></button>
</menu> </menu>
<h1 id='contact-name-title'></h1> <h1 id='contact-name-title'></h1>
Expand Down
4 changes: 4 additions & 0 deletions apps/communications/contacts/style/contacts.css
Expand Up @@ -17,6 +17,10 @@ section[role="region"] > header:first-child sup {
top: 0; top: 0;
} }


section[role="region"] > header:first-child .icon.icon-edit-contact {
background: url(images/edit-contact.png) no-repeat center center;
}

.contact-header img { .contact-header img {
width: 100%; width: 100%;
height: 7.6rem; height: 7.6rem;
Expand Down
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 apps/email/index.html
Expand Up @@ -122,7 +122,7 @@ <h3>
</a> </a>
<menu type="toolbar"> <menu type="toolbar">
<a href="#" class="msg-compose-btn"> <a href="#" class="msg-compose-btn">
<span class="icon icon-add">add</span> <span class="icon icon-compose">compose</span>
</a> </a>
</menu> </menu>
<h1 class="msg-list-header-folder-label header-label"></h1> <h1 class="msg-list-header-folder-label header-label"></h1>
Expand Down
3 changes: 2 additions & 1 deletion apps/sms/index.html
Expand Up @@ -13,6 +13,7 @@
<link rel="stylesheet" type="text/css" href="shared/style/confirm.css"> <link rel="stylesheet" type="text/css" href="shared/style/confirm.css">
<link rel="stylesheet" type="text/css" href="shared/style_unstable/progress_activity.css"> <link rel="stylesheet" type="text/css" href="shared/style_unstable/progress_activity.css">
<link rel="stylesheet" type="text/css" href="shared/style_unstable/lists.css"> <link rel="stylesheet" type="text/css" href="shared/style_unstable/lists.css">
<link rel="stylesheet" type="text/css" href="/shared/style_unstable/tabs.css">


<!-- App styles --> <!-- App styles -->
<link rel="stylesheet" type="text/css" href="style/root.css"> <link rel="stylesheet" type="text/css" href="style/root.css">
Expand Down Expand Up @@ -54,7 +55,7 @@
<header class="view-header regular-header"> <header class="view-header regular-header">
<menu type="toolbar"> <menu type="toolbar">
<a href="#new" id="icon-add"> <a href="#new" id="icon-add">
<span class="icon icon-add"></span> <span class="icon icon-compose"></span>
</a> </a>
<a href="#edit" id="icon-edit-threads"> <a href="#edit" id="icon-edit-threads">
<span class="icon icon-edit"></span> <span class="icon icon-edit"></span>
Expand Down
4 changes: 4 additions & 0 deletions shared/style/headers.css
Expand Up @@ -179,6 +179,10 @@ section[role="region"] > header:first-child .icon.icon-add {
background-image: url(headers/images/icons/add.png); background-image: url(headers/images/icons/add.png);
} }


section[role="region"] > header:first-child .icon.icon-compose {
background-image: url(headers/images/icons/compose.png);
}

section[role="region"] > header:first-child .icon.icon-edit { section[role="region"] > header:first-child .icon.icon-edit {
background-image: url(headers/images/icons/edit.png); background-image: url(headers/images/icons/edit.png);
} }
Expand Down
Binary file added shared/style/headers/images/icons/compose.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 shared/style/headers/images/icons/edit.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 cba0de2

Please sign in to comment.