Skip to content

Commit

Permalink
Replace bitmap-font PNGs buttons with HTML/CSS anchors and buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
bauhouse committed Jun 30, 2009
1 parent 55452b9 commit 6b5839a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
24 changes: 15 additions & 9 deletions symphony/assets/admin.css
Expand Up @@ -237,21 +237,27 @@ pre code {

/* Buttons */
a.button {
position: absolute;
right: 0;
bottom: 3px;
padding-top: 15px;
height: 0;
width: 0;
overflow: hidden;
background-color: #597bc6;
color: #fff;
float:right;
padding: 0 1em .1em 1em;
margin: 0;
line-height:2em;
height:2em;
font-size: .8em;
text-decoration: none;
text-transform: uppercase;
text-shadow: none;
letter-spacing:.1em;
cursor: pointer;
border-radius: 1em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
}
a.button:hover,
a.button.active {
background-color: #222;
}
a.create {
padding-left: 66px;
background: #81b934 url("images/create.png");
background-color: #81b934;
}
17 changes: 10 additions & 7 deletions symphony/assets/forms.css
Expand Up @@ -191,18 +191,21 @@ div.actions button {
float: left;
margin-right: 1em;
border: none;
padding: 0;
overflow: hidden;
background-color: #887;
color: #fff;
line-height: 15px;
height: 15px;
cursor: pointer;

padding: 0 1em .2em 1em;
line-height:2em;
height:2em;
text-transform: uppercase;
letter-spacing: .1em;

border-radius: 1em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
}
button.delete {
width: 51px;
background-image: url("images/delete.png");
text-indent: 200%;
}
button.delete:hover {
background-color: #d43;
Expand Down

0 comments on commit 6b5839a

Please sign in to comment.