diff options
-rw-r--r-- | views/default/core/account/login_dropdown.php | 2 | ||||
-rw-r--r-- | views/default/css/elements/misc.php | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/views/default/core/account/login_dropdown.php b/views/default/core/account/login_dropdown.php index fb10ffd1d..4bb373caf 100644 --- a/views/default/core/account/login_dropdown.php +++ b/views/default/core/account/login_dropdown.php @@ -25,7 +25,7 @@ $body = elgg_view_form('login', array('action' => "{$login_url}action/login"), a ?> <div id="login-dropdown"> - <a href="#" class="elgg-toggle signin" id="elgg-toggler-login-dropdown-box"> + <a href="#" class="elgg-toggle elgg-button-dropdown" id="elgg-toggler-login-dropdown-box"> <?php echo elgg_echo('login') ?> </a> <?php echo elgg_view_module('dropdown', '', $body, array('id' => 'elgg-togglee-login-dropdown-box', 'class' => 'hidden')); ?> diff --git a/views/default/css/elements/misc.php b/views/default/css/elements/misc.php index f845a65eb..dd1b01e66 100644 --- a/views/default/css/elements/misc.php +++ b/views/default/css/elements/misc.php @@ -19,7 +19,7 @@ z-index: 9599; } -.signin { +.elgg-button-dropdown { padding:2px 6px 3px 6px; text-decoration:none; font-weight:bold; @@ -32,27 +32,25 @@ border-radius:4px; } -.signin span { +.elgg-button-dropdown span { padding:4px 0 6px 12px; background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png); background-position:-150px -51px; background-repeat:no-repeat; } -.signin:hover { +.elgg-button-dropdown:hover { background-color:#71B9F7; /* color:black; */ } -.signin:hover span { +.elgg-button-dropdown:hover span { /* background-position:-150px -71px; */ } -.signin.elgg-state-active { +.elgg-button-dropdown.elgg-state-active { background:#cccccc !important; color:#666666 !important; border:1px solid #cccccc; outline:none; -} -.signin.elgg-state-active { background-position: -150px -71px; color:#333333; } |