aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/admin.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-25 12:12:54 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-25 12:12:54 +0000
commit561c160ed8db7f418cc5ae34e04b959be5066442 (patch)
treee8ab27d862524fd2756033c7b093e268dde760ec /views/default/css/admin.php
parent68213505bda10f90094f54a948a08d65d4d7a37c (diff)
downloadelgg-561c160ed8db7f418cc5ae34e04b959be5066442.tar.gz
elgg-561c160ed8db7f418cc5ae34e04b959be5066442.tar.bz2
converted widgets to modules
git-svn-id: http://code.elgg.org/elgg/trunk@7928 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css/admin.php')
-rw-r--r--views/default/css/admin.php29
1 files changed, 13 insertions, 16 deletions
diff --git a/views/default/css/admin.php b/views/default/css/admin.php
index 9735de87f..930ee2fe3 100644
--- a/views/default/css/admin.php
+++ b/views/default/css/admin.php
@@ -482,40 +482,37 @@ input[type="submit"]:hover, .elgg-submit-button:hover, .elgg-action-button:hover
.elgg-widgets-add-panel li a {
display: block;
}
-
-<?php //@todo Convert to elgg-state-*? ?>
-.elgg-widget-available {
+.elgg-state-available {
color: #333333;
cursor: pointer;
}
-.elgg-widget-available:hover {
+.elgg-state-available:hover {
border-color: #aaaaaa;
}
-.elgg-widget-unavailable {
+.elgg-state-unavailable {
color: #888888;
}
-<?php //@todo extend elgg-module. Still too many location-dependent/overly-qualified styles ?>
-.elgg-widget {
+.elgg-module-widget {
background-color: #dedede;
padding: 1px;
margin: 0 5px 15px;
position: relative;
}
-.elgg-widget:hover {
+.elgg-module-widget:hover {
background-color: #cccccc;
}
-.elgg-widget-title {
+.elgg-module-widget > .elgg-head {
background-color: #f5f5f5;
height: 30px;
line-height: 30px;
overflow: hidden;
}
-.elgg-widget-title h3 {
+.elgg-module-widget > .elgg-head h3 {
float: left;
padding: 0 45px 0 20px;
color: #333333;
}
-.elgg-widget-controls a {
+.elgg-module-widget > .elgg-head a {
position: absolute;
top: 5px;
display: block;
@@ -523,11 +520,14 @@ input[type="submit"]:hover, .elgg-submit-button:hover, .elgg-action-button:hover
height: 18px;
border: 1px solid transparent;
}
+.elgg-state-draggable > .elgg-head {
+ cursor: move;
+}
a.elgg-widget-collapse-button {
left: 5px;
background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat 0px -385px;
}
-.elgg-widget-controls a.elgg-widget-collapsed {
+a.elgg-widget-collapsed {
background-position: 0px -365px;
}
a.elgg-widget-delete-button {
@@ -541,7 +541,7 @@ a.elgg-widget-edit-button {
a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover {
border: 1px solid #cccccc;
}
-.elgg-widget-container {
+.elgg-module-widget > .elgg-body {
border-top: 1px solid #dedede;
background-color: white;
width: 100%;
@@ -556,9 +556,6 @@ a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover {
.elgg-widget-content {
padding: 10px;
}
-.drag-handle {
- cursor: move;
-}
.elgg-widget-placeholder {
border: 2px dashed #dedede;
margin-bottom: 15px;