diff options
author | Ismayil Khayredinov <ismayil.khayredinov@hypejunction.com> | 2011-12-15 05:20:57 +0100 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-12-18 17:59:39 -0500 |
commit | bd5c0005158ca136fe87b34dacdf75491e69ed03 (patch) | |
tree | 11b11cf73ed880a63256a1f7e43f67fcb6d830fd /views/default/css/elements | |
parent | 2aa0e3846b60a44c6f2dbfe2f9a690776533dca3 (diff) | |
download | elgg-bd5c0005158ca136fe87b34dacdf75491e69ed03.tar.gz elgg-bd5c0005158ca136fe87b34dacdf75491e69ed03.tar.bz2 |
Fix #4200: Converting widgets controls into an elgg menu
Diffstat (limited to 'views/default/css/elements')
-rw-r--r-- | views/default/css/elements/modules.php | 15 | ||||
-rw-r--r-- | views/default/css/elements/navigation.php | 24 |
2 files changed, 23 insertions, 16 deletions
diff --git a/views/default/css/elements/modules.php b/views/default/css/elements/modules.php index ef85d4dd5..7750c208f 100644 --- a/views/default/css/elements/modules.php +++ b/views/default/css/elements/modules.php @@ -158,16 +158,7 @@ .elgg-module-widget.elgg-state-draggable > .elgg-head { cursor: move; } -.elgg-module-widget > .elgg-head a { - position: absolute; - top: 4px; - display: inline-block; - width: 18px; - height: 18px; - padding: 2px 2px 0 0; -} a.elgg-widget-collapse-button { - left: 5px; color: #c5c5c5; } a.elgg-widget-collapse-button:hover, @@ -181,12 +172,6 @@ a.elgg-widget-collapse-button:before { a.elgg-widget-collapsed:before { content: "\25BA"; } -a.elgg-widget-delete-button { - right: 5px; -} -a.elgg-widget-edit-button { - right: 25px; -} .elgg-module-widget > .elgg-body { background-color: white; width: 100%; diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index d5b20896a..62f370069 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -534,4 +534,26 @@ *************************************** */ .elgg-menu-extras { margin-bottom: 15px; -}
\ No newline at end of file +} + +/* *************************************** + WIDGET MENU +*************************************** */ +.elgg-menu-widget > li { + position: absolute; + top: 4px; + display: inline-block; + width: 18px; + height: 18px; + padding: 2px 2px 0 0; +} + +.elgg-menu-widget > .elgg-menu-item-collapse { + left: 5px; +} +.elgg-menu-widget > .elgg-menu-item-delete { + right: 5px; +} +.elgg-menu-widget > .elgg-menu-item-settings { + right: 25px; +} |