Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
contacts-v2: different "save" button
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Oct 30, 2013
1 parent 1ddef25 commit aa6116c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions shiny/Contacts-v2/components/contacts-create.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,32 @@
button {
background: transparent none;
border: 0;
font-family: 'Helvetica Neue Medium', HelveticaNeue-Medium, Helvetica, sans-serif;
font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, sans-serif;
font-size: 14px;
color: #999;
padding: 10px;
font-weight: bold;
color: #777;
padding: 8px;
margin: 0 16px;
}
button:focus {
outline: none;
}
button:active {
outline: none;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 3px;
}
button.save {
color: #00bbd3;
}
contacts-create-item[active], contacts-create-phone-item[active] {
background: #f7f7f7;
}
</style>
<polymer-ui-toolbar>
<button on-tap="{{cancelAction}}">Cancel</button>
<div flex></div>
<button on-tap="{{createAction}}"></button>
<button class="save" on-tap="{{createAction}}">Save</button>
</polymer-ui-toolbar>
<!-- FIXME: autofocus name input when switching to this page -->
<contacts-create-item icon="account" activeicon="account" label="Name" value="{{contact.name}}" autofocus></contacts-create-item>
Expand Down

0 comments on commit aa6116c

Please sign in to comment.