diff options
Diffstat (limited to 'views/default/css/elements/buttons.php')
-rw-r--r-- | views/default/css/elements/buttons.php | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/views/default/css/elements/buttons.php b/views/default/css/elements/buttons.php index 7937af801..bfab6d5e7 100644 --- a/views/default/css/elements/buttons.php +++ b/views/default/css/elements/buttons.php @@ -14,14 +14,19 @@ .elgg-button { font-size: 14px; font-weight: bold; + -webkit-border-radius: 5px; -moz-border-radius: 5px; + border-radius: 5px; + width: auto; padding: 2px 4px; cursor: pointer; outline: none; + -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40); -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40); + box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40); } a.elgg-button { padding: 3px 6px; @@ -79,21 +84,22 @@ a.elgg-button { text-decoration: none; text-shadow: 0 1px 0 white; cursor: pointer; + -webkit-border-radius: 5px; -moz-border-radius: 5px; + border-radius: 5px; + -webkit-box-shadow: none; -moz-box-shadow: none; + box-shadow: none; } .elgg-button-action:hover, .elgg-button-action:focus { - background-position: 0 -15px; - background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif); - background-repeat: repeat-x; - color: #111111; + background-color: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 -15px; + color: #111; text-decoration: none; - background-color: #cccccc; - border: 1px solid #999999; + border: 1px solid #999; } /* Delete: This button should convey "be careful before you click me" */ @@ -123,11 +129,15 @@ a.elgg-button { margin-left:0; color: white; border:1px solid #71B9F7; + -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; + -webkit-box-shadow: 0 0 0; -moz-box-shadow: 0 0 0; + box-shadow: 0 0 0; + /*background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png); background-position:-150px -51px; background-repeat:no-repeat;*/ @@ -144,11 +154,11 @@ a.elgg-button { } .elgg-button-dropdown.elgg-state-active { - background: #cccccc; + background: #ccc; outline: none; color: #333333; + border:1px solid #ccc; - border:1px solid #cccccc; -webkit-border-radius:4px 4px 0 0; -moz-border-radius:4px 4px 0 0; border-radius:4px 4px 0 0; |