Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mylinks

  • Loading branch information...
commit df0e0a0e513f8091e60f1249c438e98be0292df5 1 parent ae9e96b
@mrhanlon mrhanlon authored
View
6 themes/ibp_theme/css/ibp-custom.css
@@ -109,15 +109,15 @@
#top-bar #block-menu-menu-my-links ul li ul li a:hover {
background-color: #6a6a6a; }
-#top-bar #block-menu-menu-my-links > .content > .menu > li.first > a {
+#top-bar #block-menu-menu-my-links .my-links > a {
z-index: 11; }
-#top-bar #block-menu-menu-my-links > .content > .menu > li.first > a:after {
+#top-bar #block-menu-menu-my-links .my-links > a:after {
content: url(../images/arrow_down_blue.png);
position: relative;
left: 6px; }
-#top-bar #block-menu-menu-my-links > .content > .menu > li.my-links-visible > a {
+#top-bar #block-menu-menu-my-links .my-links.my-links-visible > a {
top: 2px;
margin: 4px 0 0;
padding: 6px 12px 14px;
View
7 themes/ibp_theme/js/my-links.js
@@ -1,8 +1,11 @@
(function($) {
$(document).ready(
function() {
- var mylinks_trg = $('#block-menu-menu-my-links > .content > .menu > li.first'),
- mylinks = mylinks_trg.children('ul');
+ var mylinks = $('#block-menu-menu-my-links ul ul'),
+ mylinks_trg = mylinks.parent();
+
+ mylinks_trg.addClass('my-links');
+
function show_my_links() {
mylinks.slideDown('fast');
mylinks_trg.addClass('my-links-visible');
View
6 themes/ibp_theme/stylesheets/ibp-custom.scss
@@ -130,17 +130,17 @@
background-color: #6a6a6a;
}
-#top-bar #block-menu-menu-my-links > .content > .menu > li.first > a {
+#top-bar #block-menu-menu-my-links .my-links > a {
z-index: 11;
}
-#top-bar #block-menu-menu-my-links > .content > .menu > li.first > a:after {
+#top-bar #block-menu-menu-my-links .my-links > a:after {
content: url(../images/arrow_down_blue.png);
position: relative;
left: 6px;
}
-#top-bar #block-menu-menu-my-links > .content > .menu > li.my-links-visible > a {
+#top-bar #block-menu-menu-my-links .my-links.my-links-visible > a {
top: 2px;
margin: 4px 0 0;
padding: 6px 12px 14px;
Please sign in to comment.
Something went wrong with that request. Please try again.