aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-22 22:35:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-22 22:35:45 +0000
commite22a24721de8750f5b61250a38be0d87f33e2c44 (patch)
tree5063de36f1350792d5bbb126e37cfb52b0135833 /views/default
parent243215ec60e151099b366251be521b12b7c1e02b (diff)
downloadelgg-e22a24721de8750f5b61250a38be0d87f33e2c44.tar.gz
elgg-e22a24721de8750f5b61250a38be0d87f33e2c44.tar.bz2
adding elgg namespace to button css classes
git-svn-id: http://code.elgg.org/elgg/trunk@7704 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/admin/components/plugin.php4
-rw-r--r--views/default/core/account/login_walled_garden.php2
-rw-r--r--views/default/core/friends/picker.php4
-rw-r--r--views/default/css/admin.php10
-rw-r--r--views/default/css/elements/forms.php12
-rw-r--r--views/default/css/screen.php8
-rw-r--r--views/default/input/button.php2
7 files changed, 21 insertions, 21 deletions
diff --git a/views/default/admin/components/plugin.php b/views/default/admin/components/plugin.php
index ad3d0ad96..60a1e3f86 100644
--- a/views/default/admin/components/plugin.php
+++ b/views/default/admin/components/plugin.php
@@ -50,10 +50,10 @@ if ($vars['order'] < $vars['maxorder']) {
if ($active) {
$url = elgg_get_site_url()."action/admin/plugins/disable?plugin=$plugin&__elgg_token=$token&__elgg_ts=$ts";
- $enable_disable = '<a class="cancel-button" href="' . elgg_format_url($url) . '">' . elgg_echo('disable') . '</a>';
+ $enable_disable = '<a class="elgg-cancel-button" href="' . elgg_format_url($url) . '">' . elgg_echo('disable') . '</a>';
} else {
$url = elgg_get_site_url()."action/admin/plugins/enable?plugin=$plugin&__elgg_token=$token&__elgg_ts=$ts";
- $enable_disable = '<a class="submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
+ $enable_disable = '<a class="elgg-submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
}
diff --git a/views/default/core/account/login_walled_garden.php b/views/default/core/account/login_walled_garden.php
index 38a521293..8b801ed1d 100644
--- a/views/default/core/account/login_walled_garden.php
+++ b/views/default/core/account/login_walled_garden.php
@@ -76,7 +76,7 @@ $(document).ready(function() {
$('input.username').focus();
// add cancel button to inline register form
- $('#registration_form').find('input.submit-button').after("<input class='elgg-action-button disabled cancel_request' type='reset' value='Cancel'>");
+ $('#registration_form').find('input.elgg-submit-button').after("<input class='elgg-action-button disabled cancel_request' type='reset' value='Cancel'>");
function elgg_slide_hiddenform(activateLink, parentElement, toggleElement) {
$(activateLink).closest(parentElement).find(toggleElement).animate({"width": "563px", duration: 400});
diff --git a/views/default/core/friends/picker.php b/views/default/core/friends/picker.php
index 3bbe4ffe2..da647b0ac 100644
--- a/views/default/core/friends/picker.php
+++ b/views/default/core/friends/picker.php
@@ -270,8 +270,8 @@ if ($formtarget) {
?>
<div class="clearfix"></div>
<div class="friendspicker-savebuttons">
- <input type="submit" class="submit-button" value="<?php echo elgg_echo('save'); ?>" />
- <input type="button" class="cancel-button" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" />
+ <input type="submit" class="elgg-submit-button" value="<?php echo elgg_echo('save'); ?>" />
+ <input type="button" class="elgg-cancel-button" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" />
<br /></div>
</form>
diff --git a/views/default/css/admin.php b/views/default/css/admin.php
index 0c8c37cb4..c73bbfe42 100644
--- a/views/default/css/admin.php
+++ b/views/default/css/admin.php
@@ -237,7 +237,7 @@ table.mceLayout {
float:right;
margin-left:14px;
}
-.admin_area .submit-button {
+.admin_area .elgg-submit-button {
font-size: 14px;
font-weight: bold;
color: white;
@@ -257,7 +257,7 @@ table.mceLayout {
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
}
-.admin_area .submit-button:hover {
+.admin_area .elgg-submit-button:hover {
color: white;
border-color: #333333;
text-decoration:none;
@@ -301,7 +301,7 @@ table.mceLayout {
background-repeat: repeat-x;
background-position: left 10px;
}
-.admin_area .cancel-button {
+.admin_area .elgg-cancel-button {
font-size: 14px;
font-weight: bold;
text-decoration:none;
@@ -318,7 +318,7 @@ table.mceLayout {
margin:10px 0 10px 10px;
cursor: pointer;
}
-.admin_area .cancel-button:hover {
+.admin_area .elgg-cancel-button:hover {
background-color: #999999;
background-position: left 10px;
text-decoration:none;
@@ -546,7 +546,7 @@ table.mceLayout {
float: left;
width: 150px;
}
-form.admin_plugins_simpleview .submit-button {
+form.admin_plugins_simpleview .elgg-submit-button {
margin-right:20px;
}
.plugin_info {
diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php
index 603a128b7..698d5fdf3 100644
--- a/views/default/css/elements/forms.php
+++ b/views/default/css/elements/forms.php
@@ -67,7 +67,7 @@ a.longtext-control {
float:right;
margin-left:14px;
}
-.submit-button {
+.elgg-submit-button {
font-size: 14px;
font-weight: bold;
color: white;
@@ -87,7 +87,7 @@ a.longtext-control {
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
}
-.submit-button:hover {
+.elgg-submit-button:hover {
color: white;
border-color: #0054a7;
text-decoration:none;
@@ -96,12 +96,12 @@ a.longtext-control {
background-repeat: repeat-x;
background-position: left 10px;
}
-.submit-button.disabled {
+.elgg-submit-button.disabled {
background-color:#999999;
border-color:#999999;
color:#dedede;
}
-.submit-button.disabled:hover {
+.elgg-submit-button.disabled:hover {
background-color:#999999;
border-color:#999999;
color:#dedede;
@@ -141,7 +141,7 @@ input[type="submit"]:hover {
background-repeat: repeat-x;
background-position: left 10px;
}
-.cancel-button {
+.elgg-cancel-button {
font-size: 14px;
font-weight: bold;
text-decoration:none;
@@ -158,7 +158,7 @@ input[type="submit"]:hover {
margin:10px 0 10px 10px;
cursor: pointer;
}
-.cancel-button:hover {
+.elgg-cancel-button:hover {
background-color: #999999;
background-position: left 10px;
text-decoration:none;
diff --git a/views/default/css/screen.php b/views/default/css/screen.php
index 16529004f..3eb7e93a0 100644
--- a/views/default/css/screen.php
+++ b/views/default/css/screen.php
@@ -371,7 +371,7 @@ a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover {
font-weight:normal;
font-size:100%;
}
-.loginbox .submit-button {
+.loginbox .elgg-submit-button {
margin-right: 15px;
}
#login .persistent-login {
@@ -467,7 +467,7 @@ a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover {
font-weight:normal;
font-size: 100%;
}
-#login-dropdown #signin-menu .submit-button {
+#login-dropdown #signin-menu .elgg-submit-button {
margin-right:15px;
}
@@ -744,8 +744,8 @@ a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover {
.friends-picker-navigation-r:hover {
background: url("<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png") no-repeat -60px -44px;
}
-.friendspicker-savebuttons .submit-button,
-.friendspicker-savebuttons .cancel-button {
+.friendspicker-savebuttons .elgg-submit-button,
+.friendspicker-savebuttons .elgg-cancel-button {
margin:5px 20px 5px 5px;
}
#collectionMembersTable {
diff --git a/views/default/input/button.php b/views/default/input/button.php
index 1c8bdaf3c..8e58b7618 100644
--- a/views/default/input/button.php
+++ b/views/default/input/button.php
@@ -12,7 +12,7 @@ global $CONFIG;
$defaults = array(
'type' => 'button',
- 'class' => 'submit-button',
+ 'class' => 'elgg-submit-button',
);
$vars = array_merge($defaults, $vars);