aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/elements/buttons.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-14 21:50:34 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-14 21:50:34 +0000
commitd3b5a8a53771dee9788608d1a30135ca0fa7c6aa (patch)
tree3c6202684991301a68802d307bec9eb4308dcd88 /views/default/css/elements/buttons.php
parentd27572e839f8f5d035471ce79aa2c2797b9bd086 (diff)
downloadelgg-d3b5a8a53771dee9788608d1a30135ca0fa7c6aa.tar.gz
elgg-d3b5a8a53771dee9788608d1a30135ca0fa7c6aa.tar.bz2
Fixes #3109: added non-vendor-prefixed css property declarations where applicable. Cleaned up various other aspects of the css
git-svn-id: http://code.elgg.org/elgg/trunk@8703 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css/elements/buttons.php')
-rw-r--r--views/default/css/elements/buttons.php26
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;