summaryrefslogtreecommitdiff
path: root/views/default/css/elements/buttons.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/css/elements/buttons.php')
-rw-r--r--views/default/css/elements/buttons.php202
1 files changed, 143 insertions, 59 deletions
diff --git a/views/default/css/elements/buttons.php b/views/default/css/elements/buttons.php
index e9c99cf..2d53ed1 100644
--- a/views/default/css/elements/buttons.php
+++ b/views/default/css/elements/buttons.php
@@ -12,114 +12,197 @@
/* Base */
.elgg-button {
- font-size: 14px;
+ font-size: 13px;
font-weight: bold;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
-
width: auto;
- padding: 2px 4px;
+ padding: 4px 15px;
cursor: pointer;
+ border: 1px solid #bbb;
outline: none;
+ color: #666;
+ text-decoration: 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);
+ box-shadow: 0px 1px 1px #888;
+
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+
+
+ background: #eeeeee; /* Old browsers */
+ background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C */
+}
+
+.elgg-button:hover {
+ background: #dbdbdb; /* Old browsers */
+ background: -moz-linear-gradient(top, #dbdbdb 0%, #b7b7b7 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dbdbdb), color-stop(100%,#b7b7b7)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #dbdbdb 0%,#b7b7b7 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #dbdbdb 0%,#b7b7b7 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #dbdbdb 0%,#b7b7b7 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #dbdbdb 0%,#b7b7b7 100%); /* W3C */
}
+
+
a.elgg-button {
- padding: 3px 6px;
+ text-decoration: none;
}
/* Submit: This button should convey, "you're about to take some definitive action" */
.elgg-button-submit {
- color: white;
- text-shadow: 1px 1px 0px black;
- text-decoration: none;
- border: 1px solid #4690d6;
- background: #4690d6 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
+ color: #ddd;
+ text-shadow: 0 -1px 0px #000;
+ box-shadow: 0px 1px 2px #333;
+ border: none;
+
+ background: #444444; /* Old browsers */
+ background: -moz-linear-gradient(top, #444444 0%, #000000 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(100%,#000000)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #444444 0%,#000000 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #444444 0%,#000000 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #444444 0%,#000000 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #444444 0%,#000000 100%); /* W3C */
+
}
.elgg-button-submit:hover {
- border-color: #0054a7;
- text-decoration: none;
- color: white;
- background: #0054a7 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
+ color: #eee;
+ text-shadow: 0 1px 1px #222;
+
+ background: #6b6b6b; /* Old browsers */
+ background: -moz-linear-gradient(top, #6b6b6b 1%, #0f0f0f 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#6b6b6b), color-stop(100%,#0f0f0f)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #6b6b6b 1%,#0f0f0f 100%); /* W3C */
+
}
.elgg-button-submit.elgg-state-disabled {
- background: #999;
- border-color: #999;
+ background: #45484d;
+ color: #888;
cursor: default;
}
+
/* Cancel: This button should convey a negative but easily reversible action (e.g., turning off a plugin) */
.elgg-button-cancel {
- color: #333;
- background: #ddd url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
- border: 1px solid #999;
+ color: #888;
+
+
+
}
.elgg-button-cancel:hover {
- color: #444;
- background-color: #999;
- background-position: left 10px;
- text-decoration: none;
+ color: #BA1C1C;
+
}
/* Action: This button should convey a normal, inconsequential action, such as clicking a link */
.elgg-button-action {
- background: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 0;
- border:1px solid #999;
- color: #333;
- padding: 2px 15px;
- text-align: center;
- font-weight: bold;
- text-decoration: none;
- text-shadow: 0 1px 0 white;
- cursor: pointer;
+ color: #ddd;
+ text-shadow: 0 -1px 0px #000;
+ border: none;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
+
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
+ background: #444444; /* Old browsers */
+ background: -moz-linear-gradient(top, #444444 0%, #000000 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(100%,#000000)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #444444 0%,#000000 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #444444 0%,#000000 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #444444 0%,#000000 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #444444 0%,#000000 100%); /* W3C */
}
+
.elgg-button-action:hover,
.elgg-button-action:focus {
- background: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 -15px;
- color: #111;
- text-decoration: none;
- border: 1px solid #999;
+ color: #eee;
+
+ background: #6b6b6b; /* Old browsers */
+ background: -moz-linear-gradient(top, #6b6b6b 1%, #0f0f0f 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#6b6b6b), color-stop(100%,#0f0f0f)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #6b6b6b 1%,#0f0f0f 100%); /* W3C */
+
+
+}
+
+
+.elgg-button-action.elgg-state-disabled {
+ background: #45484d;
+ color: #888;
+ cursor: default;
}
/* Delete: This button should convey "be careful before you click me" */
.elgg-button-delete {
- color: #bbb;
- text-decoration: none;
- border: 1px solid #333;
- background: #555 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
- text-shadow: 1px 1px 0px black;
+ color: #d36900;
+ text-shadow: 0 -1px 0px #111;
+ border: none;
+
+ background: #45484d; /* Old browsers */
+ background: -moz-linear-gradient(top, #45484d 0%, #000000 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#45484d), color-stop(100%,#000000)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #45484d 0%,#000000 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #45484d 0%,#000000 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #45484d 0%,#000000 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #45484d 0%,#000000 100%); /* W3C */
}
+
+
+
+
+
.elgg-button-delete:hover {
- color: #999;
- background-color: #333;
- background-position: left 10px;
+ color: #d36900;
+
+ bbackground: #6b6b6b; /* Old browsers */
+ background: -moz-linear-gradient(top, #6b6b6b 1%, #0f0f0f 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#6b6b6b), color-stop(100%,#0f0f0f)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #6b6b6b 1%,#0f0f0f 100%); /* W3C */
text-decoration: none;
}
+.elgg-button-delete .elgg-state-disabled {
+ color: #d36900;
+ background-color: #333;
+ text-shadow: 0 -1px 0px #111;
+ border: 1px solid #999;
+}
+
+.elgg-button-delete .elgg-state-disabled:hover {
+ color: #d36900;
+ background-color: #333;
+ text-shadow: 0 -1px 0px #111;
+ border: 1px solid #999;
+}
+
+
+
+
.elgg-button-dropdown {
padding:3px 6px;
text-decoration:none;
display:block;
- font-weight:bold;
+ font-weight:normal;
position:relative;
margin-left:0;
- color: white;
- border:1px solid #71B9F7;
+ color: #333;
+ border:1px solid #333;
-webkit-border-radius:4px;
-moz-border-radius:4px;
@@ -140,7 +223,8 @@ a.elgg-button {
}
.elgg-button-dropdown:hover {
- background-color:#71B9F7;
+ color: #333;
+ background-color: #d86c2c;
text-decoration:none;
}