summaryrefslogtreecommitdiff
path: root/themes/admin_wind
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-20 23:20:38 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-20 23:20:38 -0600
commit055c410126d3ec56aac34dabf1cee5a57459afaf (patch)
tree8107b88730149dccc042d5b53e45c384bcada172 /themes/admin_wind
parentbb8ece06e26c1163f6013b5c8b849cf5eff9dee5 (diff)
Fix block management UI. Block list height is now dynamically set based on the total number of available blocks which will grow without hardcoding CSS heights and setting the div to be scrollable.
Diffstat (limited to 'themes/admin_wind')
-rw-r--r--themes/admin_wind/css/screen.css25
1 files changed, 18 insertions, 7 deletions
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index 31de58f8..a889545b 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -424,16 +424,27 @@ li.g-default-group h4, li.g-default-group .g-user {
/* Block admin ~~~~~~~~~~~~~~~~~~~~~~~~~ */
-#g-admin-blocks .g-block {
- clear: none;
+.g-admin-blocks-list {
+ float: left;
+ margin: 0 2em 2em 0;
width: 30%;
}
-#g-admin-blocks .g-block .g-draggable {
- background: #e7e7e7;
- /*border: 1px solid #fff;*/
- margin-bottom: 1em;
- padding: .4em .8em;
+.g-admin-blocks-list div:last-child {
+ border: .1em solid;
+ height: 100%;
+}
+
+.g-admin-blocks-list ul {
+ height: 98%;
+ margin: .1em .1em;
+ padding: .1em;
+}
+
+.g-admin-blocks-list ul li.g-draggable {
+ background-color: #e8e8e8;
+ margin: .5em;
+ padding: .3em .8em;
}
/** *******************************************************************