aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-23 01:01:18 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-23 01:01:18 +0000
commit5f4543a329b229bac117c81ed2e75c1a7f6e89d9 (patch)
tree0c1ab5a6ce69b03c7e60eca45840e5f49d343b35 /views/default
parent70292f561caa6bc25e5ff97bed5b8778ddf479d7 (diff)
downloadelgg-5f4543a329b229bac117c81ed2e75c1a7f6e89d9.tar.gz
elgg-5f4543a329b229bac117c81ed2e75c1a7f6e89d9.tar.bz2
Converted delete-button to elgg-button-delete. This breaks some things because the semantics of the two are not equivalent. .delete-button just really needed to die
git-svn-id: http://code.elgg.org/elgg/trunk@8437 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/css/elements/forms.php100
1 files changed, 4 insertions, 96 deletions
diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php
index b56aeddcb..bbb895268 100644
--- a/views/default/css/elements/forms.php
+++ b/views/default/css/elements/forms.php
@@ -51,7 +51,7 @@ textarea {
}
-a.elgg-longtext-control {
+.elgg-longtext-control {
float: right;
margin-left: 14px;
font-size: 80%;
@@ -154,107 +154,15 @@ input[type="submit"]:hover,
background-color: #cccccc;
border: 1px solid #999999;
}
-/*
-.elgg-button-submit.elgg-state-disabled {
- background-color:#999999;
- border-color:#999999;
- color:#dedede;
-}
-.elgg-button-submit.elgg-state-disabled:hover {
- background-color:#999999;
- border-color:#999999;
- color:#dedede;
-}
-
-.elgg-button-action {
- margin-left: 10px;
-}
-input.elgg-button-action,
-a.elgg-button-action {
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- background-color:#cccccc;
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif);
- background-repeat: repeat-x;
- background-position: 0 0;
- border:1px solid #999999;
- color:#333333;
- padding:2px 15px 2px 15px;
- margin: 5px 0;
- text-align:center;
- font-weight:bold;
- text-decoration:none;
- text-shadow:0 1px 0 white;
- cursor:pointer;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
-}
-input.elgg-button-action:hover,
-a.elgg-button-action:hover,
-input.elgg-button-action:focus,
-a.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;
- text-decoration: none;
- background-color:#cccccc;
- border:1px solid #999999;
-}
-.elgg-button-action:active {
- background-image:none;
-}
-.elgg-button-action.elgg-state-disabled {
- color:#999999;
- padding:2px 7px 2px 7px;
-}
-.elgg-button-action.elgg-state-disabled:hover {
- background-position:0 -15px;
- color:#111111;
- border:1px solid #999999;
-}
-.elgg-button-action.elgg-state-disabled:active {
- background-image:none;
-}
-.elgg-button-action.download {
- padding: 5px 9px 5px 6px;
-}
-.elgg-button-action.download:hover {
-
-}
-.elgg-button-action.download img {
- margin-right:6px;
- position:relative;
- top:5px;
-}
-.elgg-button-action.small {
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- width: auto;
- height:8px;
- padding: 4px;
- font-size: 0.9em;
- line-height: 0.6em;
-}
-.elgg-button-action.small:hover {
- background-color: #4690d6;
- background-image: none;
- border-color: #4690d6;
- color:white;
- text-shadow:0 -1px 0 black;
-}
-
-*/
-<?php //@todo prefix with elgg- ?>
/* small round delete button */
-.delete-button {
+.elgg-button-delete {
width:14px;
height:14px;
margin:0;
float:right;
}
-.delete-button a {
+.elgg-button-delete a {
display:block;
cursor: pointer;
width:14px;
@@ -263,6 +171,6 @@ a.elgg-button-action:focus {
text-indent: -9000px;
text-align: left;
}
-.delete-button a:hover {
+.elgg-button-delete a:hover {
background-position: -200px -16px;
}