From 6b5839a6f75b8362d6706797eec3008aacf05976 Mon Sep 17 00:00:00 2001 From: bauhouse Date: Tue, 30 Jun 2009 12:39:14 -0700 Subject: [PATCH] Replace bitmap-font PNGs buttons with HTML/CSS anchors and buttons --- symphony/assets/admin.css | 24 +++++++++++++++--------- symphony/assets/forms.css | 17 ++++++++++------- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/symphony/assets/admin.css b/symphony/assets/admin.css index 813969c69f..786a2b1467 100755 --- a/symphony/assets/admin.css +++ b/symphony/assets/admin.css @@ -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; } \ No newline at end of file diff --git a/symphony/assets/forms.css b/symphony/assets/forms.css index 34c4493a76..807ac85b63 100755 --- a/symphony/assets/forms.css +++ b/symphony/assets/forms.css @@ -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;