From caf11e94744c49e1b1533b45f0a44d0aa97704df Mon Sep 17 00:00:00 2001 From: ewinslow Date: Mon, 14 Mar 2011 23:09:07 +0000 Subject: Refs #3112: Pulled out widget gear icon into elgg-icon-gear, which widgets now use git-svn-id: http://code.elgg.org/elgg/trunk@8710 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/admin.php | 20 ++++++++++++-------- views/default/css/elements/icons.php | 4 ++++ views/default/css/elements/modules.php | 15 +++++++-------- 3 files changed, 23 insertions(+), 16 deletions(-) (limited to 'views/default/css') diff --git a/views/default/css/admin.php b/views/default/css/admin.php index 74e089c00..2a107b1ca 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -599,28 +599,28 @@ input[type="submit"]:hover, .elgg-button-submit:hover, .elgg-button-action:hover .elgg-module-widget > .elgg-head a { position: absolute; top: 5px; - display: block; + display: inline-block; width: 18px; height: 18px; + padding: 2px 2px 0 0; border: 1px solid transparent; } -a.elgg-widget-collapse-button { +.elgg-widget-collapse-button { left: 5px; background:transparent url(_graphics/elgg_sprites.png) no-repeat 0px -385px; } -a.elgg-widget-collapsed { +.elgg-widget-collapsed { background-position: 0px -365px; } -a.elgg-widget-delete-button { +.elgg-widget-delete-button { right: 5px; - background:transparent url(_graphics/elgg_sprites.png) no-repeat -198px 3px; } -a.elgg-widget-edit-button { +.elgg-widget-edit-button { right: 25px; - background:transparent url(_graphics/elgg_sprites.png) no-repeat -300px -1px; } -a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover { +.elgg-module-widget .elgg-widget-edit-button:hover, +.elgg-module-widget .elgg-widget-delete-button:hover { border: 1px solid #ccc; } .elgg-module-widget > .elgg-body { @@ -1261,6 +1261,10 @@ ul.admin_plugins { width: 21px; height: 21px; } +.elgg-icon-gear { + background-position: -300px -2px; +} + .elgg-avatar > .elgg-icon-hover-menu { display: none; position: absolute; diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php index ad289e793..d0d2ea777 100644 --- a/views/default/css/elements/icons.php +++ b/views/default/css/elements/icons.php @@ -79,6 +79,10 @@ width: 21px; height: 21px; } +.elgg-icon-gear { + background-position: -300px -2px; +} + .elgg-avatar > .elgg-icon-hover-menu { display: none; position: absolute; diff --git a/views/default/css/elements/modules.php b/views/default/css/elements/modules.php index 1a5c7e593..bc30548b6 100644 --- a/views/default/css/elements/modules.php +++ b/views/default/css/elements/modules.php @@ -161,27 +161,26 @@ .elgg-module-widget > .elgg-head a { position: absolute; top: 5px; - display: block; + display: inline-block; width: 18px; height: 18px; + padding: 2px 2px 0 0; border: 1px solid transparent; } -.elgg-widget-collapse-button { +a.elgg-widget-collapse-button { left: 5px; background:transparent url(_graphics/elgg_sprites.png) no-repeat 0px -385px; } -.elgg-widget-collapsed { +a.elgg-widget-collapsed { background-position: 0px -365px; } -.elgg-widget-delete-button { +a.elgg-widget-delete-button { right: 5px; - background:transparent url(_graphics/elgg_sprites.png) no-repeat -198px 3px; } -.elgg-widget-edit-button { +a.elgg-widget-edit-button { right: 25px; - background:transparent url(_graphics/elgg_sprites.png) no-repeat -300px -1px; } -.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover { +a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover { border: 1px solid #ccc; } .elgg-module-widget > .elgg-body { -- cgit v1.2.3